1 #LyX 2.2 created this file. For more info see http://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 is numbered roman
15 % and a PDF-bookmark for the TOC is added
16 \let\myTOC\tableofcontents
17 \renewcommand\tableofcontents{%
19 \pdfbookmark[1]{\contentsname}{}
23 % provides caption formatting
24 \usepackage[labelfont={bf,sf}]{caption}[2004/07/16]
26 % provides commands to set caption
27 % beside tables/images
28 \newcommand{\TabBesBeg}[1][1.0]{%
30 \let\MyEndtable\endtable
31 \renewenvironment{table}[1]{\begin{SCtable}[#1]##1}{\end{SCtable}}}
33 \newcommand{\TabBesEnd}{%
35 \let\endtable\MyEndtable}
37 \newcommand{\FigBesBeg}[1][1.0]{%
39 \let\MyEndfigure\endfigure
40 \renewenvironment{figure}[1]{\begin{SCfigure}[#1]##1}{\end{SCfigure}}}
42 \newcommand{\FigBesEnd}{%
44 \let\endfigure\MyEndfigure}
46 % enables calculation of values,
49 % increase the bottom float placement fraction
50 \renewcommand{\bottomfraction}{0.5}
52 % avoids that floats are placed before their
53 % corresponding section starts
54 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
56 % speed up the longtable calculation
57 \setcounter{LTchunksize}{100}
59 % used for colored tables
60 \@ifundefined{textcolor}
61 {\usepackage{color}}{}
62 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
63 \definecolor{lightgrey}{gray}{0.8}
65 % check for package colortbl
66 % used for colored table cells
68 \IfFileExists{colortbl.sty}
69 {\usepackage{colortbl}
70 \setboolean{colortbl}{true}}
71 {\setboolean{colortbl}{false}}
73 % used to have extra space in table cells
74 \@ifundefined{extrarowheight}
75 {\usepackage{array}}{}
76 \setlength{\extrarowheight}{2pt}
78 % used for customized tables
81 {>{\centering\hspace{0pt}}m{#1}}
84 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
87 {>{\columncolor{#1}\hspace{0pt}}c}
89 \newcolumntype{V}{!{\vrule width 1.5pt}}
91 \newcolumntype{W}{!{\color{green}\vline}}
94 % insert additional vertical space of
95 % 1.5 mm between footnotes
97 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
99 % number algorithm floats within chapters
100 \numberwithin{algorithm}{chapter}
102 % ------------------------------------
103 % used to check for needed LaTeX packages
106 % check for package arydshln
107 % used for tables with dashed lines
108 \newboolean{arydshln}
109 \IfFileExists{arydshln.sty}
110 {\usepackage{arydshln}
111 \setboolean{arydshln}{true}}
112 {\setboolean{arydshln}{false}}
114 % check for package marginnote
115 % used for margin notes
116 \newboolean{marginnote}
117 \IfFileExists{marginnote.sty}
118 {\usepackage{marginnote}
119 \let\marginpar\marginnote
120 \setboolean{marginnote}{true}}
121 {\setboolean{marginnote}{false}}
123 % check for package sidecap
124 % used for captions on the side
126 \IfFileExists{sidecap.sty}
127 {\usepackage{sidecap}
128 \setboolean{sidecap}{true}}
129 {\setboolean{sidecap}{false}}
132 % used for surrounded fixed objects
133 \newboolean{picinpar}
134 \IfFileExists{picinpar.sty}
135 {\usepackage{picinpar}
136 \setboolean{picinpar}{true}}
137 {\setboolean{picinpar}{false}}
140 \newboolean{lettrine}
141 \IfFileExists{lettrine.sty}
142 {\usepackage{lettrine}
143 \setboolean{lettrine}{true}}
144 {\setboolean{lettrine}{false}}
148 \IfFileExists{diagbox.sty}
149 {\usepackage{diagbox}
150 \setboolean{diagbox}{true}}
151 {\setboolean{diagbox}{false}}
153 \options bibliography=totoc,index=totoc,BCOR7.5mm,titlepage,captions=tableheading,dvipsnames,table
154 \use_default_options false
159 \maintain_unincluded_children false
161 \language_package default
164 \font_roman "lmodern" "default"
165 \font_sans "lmss" "default"
166 \font_typewriter "lmtt" "default"
167 \font_math "auto" "auto"
168 \font_default_family default
169 \use_non_tex_fonts false
172 \font_sf_scale 100 100
173 \font_tt_scale 100 100
175 \default_output_format pdf2
177 \bibtex_command default
178 \index_command default
182 \pdf_title "LyX's Figure, Table, Floats, Notes, and Boxes manual"
183 \pdf_author "LyX Team, Uwe Stöhr"
184 \pdf_subject "LyX-documentation about figures, tables, floats, notes, and boxes"
185 \pdf_keywords "LyX, Tables, Figures, Floats, Boxes, Notes"
187 \pdf_bookmarksnumbered true
188 \pdf_bookmarksopen true
189 \pdf_bookmarksopenlevel 1
190 \pdf_breaklinks false
194 \pdf_pdfusetitle false
195 \pdf_quoted_options "linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue, pdfpagelayout=OneColumn, pdfnewwindow=true, pdfstartview=XYZ, plainpages=false"
198 \use_package amsmath 2
199 \use_package amssymb 2
200 \use_package cancel 0
202 \use_package mathdots 1
203 \use_package mathtools 0
204 \use_package mhchem 1
205 \use_package stackrel 0
206 \use_package stmaryrd 0
207 \use_package undertilde 0
209 \cite_engine_type default
213 \paperorientation portrait
217 \notefontcolor #0000ff
224 \paragraph_separation skip
226 \quotes_language english
229 \paperpagestyle default
230 \tracking_changes false
231 \output_changes false
234 \html_be_strict false
241 's detailed Figure, Table, Floats, Notes, Boxes and External Material manual
245 by the \SpecialChar LyX
250 \begin_layout Plain Layout
252 If you have comments or error corrections, please send them to the \SpecialChar LyX
255 \begin_inset CommandInset href
257 name "lyx-docs@lists.lyx.org"
258 target "lyx-docs@lists.lyx.org?subject=EmbeddedObjects manual"
269 \begin_inset Note Note
272 \begin_layout Plain Layout
279 \begin_inset Newline newline
283 \begin_inset Newline newline
291 \begin_layout Standard
292 \begin_inset CommandInset toc
293 LatexCommand tableofcontents
300 \begin_layout Standard
301 \begin_inset Note Note
304 \begin_layout Plain Layout
305 To export all parts of this document to PDF, PS, or DVI the \SpecialChar LaTeX
316 diagbox, lettrine, marginnote, picinpar
323 If they are not installed you can export the document anyway but the sections
324 where the packages are required won't appear in the output.
327 \begin_layout Plain Layout
328 The latest PDF-version of this document can be found here:
329 \begin_inset Newline newline
334 http://wiki.lyx.org/LyX/Manuals#EmbeddedObjects
342 \begin_layout Chapter
344 \begin_inset Index idx
347 \begin_layout Plain Layout
354 \begin_inset Index idx
357 \begin_layout Plain Layout
362 \begin_layout Plain Layout
373 \begin_layout Plain Layout
388 \begin_layout Section
390 \begin_inset Index idx
393 \begin_layout Plain Layout
394 Figures ! Graphics Dialog
400 \begin_inset CommandInset label
402 name "sec:Graphics-Dialog"
409 \begin_layout Standard
410 To insert an image into your document, place the cursor at the text position
411 you want and click on the toolbar icon
414 arg "dialog-show-new-inset graphics"
419 Insert\SpecialChar menuseparator
423 Then a dialog will appear to choose the file to load.
424 The image will appear in the output exactly at the position where it is
428 \begin_layout Standard
429 The graphics dialog can be called at any time by clicking on an image.
430 This dialog has three tabs:
433 \begin_layout Description
438 Here you can choose an image file and adjust its appearance in the output.
439 The available units for the image size are explained in appendix
444 \begin_inset CommandInset ref
446 reference "cha:Units-available-in"
451 \begin_inset Newline newline
455 \begin_inset Index idx
458 \begin_layout Plain Layout
464 You can rotate images counter-clockwise by setting a rotation angle and
466 The image will also be rotated inside \SpecialChar LyX
468 \begin_inset Newline newline
472 \begin_inset Index idx
475 \begin_layout Plain Layout
481 Images can be scaled by using a percentage value or by setting the width
482 and height explicitly.
483 If you set only the width or only the height, the other size will be determined
485 If you set both, then the image will be transformed to the given size,
486 possibly distorting it.
487 To prevent the image from distortion, use the option
489 Maintain aspect ratio
492 The image will then be scaled so that its width and height don't exceed
493 the specified dimensions.
494 \begin_inset Newline newline
497 Images can be opened in a program of your choice by right-clicking on it
498 and choosing the entry
507 The program can be set for every image format in the file format settings
512 \begin_layout Description
517 Alternatively to the usage of scaling units it is possible to set image
518 coordinates to adjust the height and width of the image in the output.
519 The coordinates can also be calculated automatically by pressing the button
549 will only print the image region within the given coordinates.
550 Normally you don't need to worry about image coordinates and can ignore
554 \begin_layout Description
571 In this tab you can modify the appearance of the image within \SpecialChar LyX
572 and \SpecialChar LaTeX
574 can specify additional \SpecialChar LaTeX
576 \begin_inset Newline newline
587 makes the image appear in the output only as a frame with the size of the
589 \begin_inset Newline newline
600 you can define or join an image settings group.
601 \begin_inset Index idx
604 \begin_layout Plain Layout
605 Figures ! Settings grouping
610 Images within such a group share their settings, so adjusting one image
611 of the group automatically also adjusts all other images of the group in
613 So you can for example change the size for a bunch of images without the
614 need to manually change each of them.
615 Joining an existing group can also be done using the context menu of the
616 image by checking the name of the desired group.
619 \begin_layout Standard
620 \begin_inset VSpace bigskip
626 \begin_layout Standard
627 This is an example image in EPS format
631 \begin_layout Plain Layout
632 Image formats are explained in section
637 \begin_inset CommandInset ref
639 reference "sec:Image-Formats"
648 within a separate, horizontally centered paragraph:
651 \begin_layout Standard
653 \begin_inset Graphics
654 filename clipart/mobius.eps
664 \begin_layout Standard
665 This is the same image like the one above but in draft mode:
668 \begin_layout Standard
670 \begin_inset Graphics
671 filename clipart/mobius.eps
682 \begin_layout Standard
683 \begin_inset Newpage newpage
689 \begin_layout Section
691 \begin_inset CommandInset label
693 name "sec:Figure-Floats"
698 \begin_inset Index idx
701 \begin_layout Plain Layout
708 \begin_inset Index idx
711 \begin_layout Plain Layout
720 \begin_layout Standard
721 For general explanations about floats, have a look at section
726 \begin_inset CommandInset ref
728 reference "sec:FloatIntroduction"
735 \begin_layout Standard
739 arg "float-insert figure"
744 Insert\SpecialChar menuseparator
745 Float\SpecialChar menuseparator
748 inserts a float with a caption that has the label
749 \begin_inset Quotes eld
757 \begin_inset Quotes erd
760 (# is the actual number).
761 You can insert the image above the caption, like in Figure
766 \begin_inset CommandInset ref
768 reference "fig:kill-plat"
772 or below the caption, like in Figure
777 \begin_inset CommandInset ref
779 reference "fig:escher"
784 More about caption placement is described in section
789 \begin_inset CommandInset ref
791 reference "sec:Caption-Placement"
798 \begin_layout Standard
799 \begin_inset Float figure
804 \begin_layout Plain Layout
806 \begin_inset Graphics
807 filename clipart/platypus.eps
817 \begin_layout Plain Layout
818 \begin_inset Caption Standard
820 \begin_layout Plain Layout
821 \begin_inset CommandInset label
827 A severely distorted platypus in a float.
840 \begin_layout Standard
841 \begin_inset Float figure
846 \begin_layout Plain Layout
847 \begin_inset Caption Standard
849 \begin_layout Plain Layout
850 \begin_inset CommandInset label
865 \begin_layout Plain Layout
867 \begin_inset Graphics
868 filename clipart/escher-lsd.eps
883 \begin_layout Standard
884 \begin_inset Index idx
887 \begin_layout Plain Layout
888 References ! to Figures
898 \begin_inset CommandInset ref
900 reference "fig:kill-plat"
905 \begin_inset CommandInset ref
907 reference "fig:escher"
911 are examples of referenced figures.
912 Figures can be referenced in the text by referencing their label.
913 To do this insert a label in the caption using the menu
915 Insert\SpecialChar menuseparator
918 or the toolbar button
925 You can now refer to the label using the menu
927 Insert\SpecialChar menuseparator
934 or the toolbar button
937 arg "dialog-show-new-inset ref"
941 It is important to use references to floats, rather than using vague references
943 \begin_inset Quotes eld
947 \begin_inset Quotes erd
950 , because \SpecialChar LaTeX
951 will reposition the floats in the final document and it might
953 \begin_inset Quotes eld
957 \begin_inset Quotes erd
961 \begin_inset Newline newline
964 Referencing is explained in detail in section
969 \begin_inset CommandInset ref
971 reference "sec:Referencing-Floats"
978 \begin_layout Standard
979 Normally only one image is inserted to a figure float, but sometimes you
980 might want to use two images with separate subcaptions.
981 This can be done by inserting image floats into existing image floats.
982 Note that only the main caption of the float is added to the List of Figures.
988 \begin_inset CommandInset ref
990 reference "fig:Two-distorted-images"
994 is an example of a figure float with two images set side by side.
995 You can also set the images one below the other.
1001 \begin_inset CommandInset ref
1003 reference "fig:Undefinable-structure"
1008 \begin_inset CommandInset ref
1010 reference "fig:A-Platypus"
1017 \begin_layout Standard
1018 \begin_inset Float figure
1023 \begin_layout Plain Layout
1024 \begin_inset space \hfill{}
1028 \begin_inset Float figure
1033 \begin_layout Plain Layout
1034 \begin_inset Caption Standard
1036 \begin_layout Plain Layout
1037 \begin_inset CommandInset label
1039 name "fig:Undefinable-structure"
1043 Undefinable structure.
1051 \begin_layout Plain Layout
1052 \begin_inset Graphics
1053 filename clipart/escher-lsd.eps
1066 \begin_inset space \hfill{}
1070 \begin_inset Float figure
1075 \begin_layout Plain Layout
1076 \begin_inset Caption Standard
1078 \begin_layout Plain Layout
1079 \begin_inset CommandInset label
1081 name "fig:A-Platypus"
1093 \begin_layout Plain Layout
1094 \begin_inset Graphics
1095 filename clipart/platypus.eps
1108 \begin_inset space \hfill{}
1114 \begin_layout Plain Layout
1115 \begin_inset Caption Standard
1117 \begin_layout Plain Layout
1118 \begin_inset CommandInset label
1120 name "fig:Two-distorted-images"
1124 Two distorted images.
1125 Both images are in the image settings group named
1126 \begin_inset Quotes eld
1130 \begin_inset Quotes erd
1146 \begin_layout Standard
1147 \begin_inset Newpage newpage
1153 \begin_layout Section
1155 \begin_inset CommandInset label
1157 name "sec:Image-Formats"
1162 \begin_inset Index idx
1165 \begin_layout Plain Layout
1172 \begin_inset Index idx
1175 \begin_layout Plain Layout
1176 Figures ! Image Formats
1184 \begin_layout Standard
1185 You can insert images in any known file format.
1186 But as explained in appendix
1187 \begin_inset space ~
1191 \begin_inset CommandInset ref
1193 reference "cha:Output-File-Formats"
1197 , each output document format allows only a few image formats.
1199 uses therefore the program
1203 in the background to convert the images to the right format.
1204 To increase your work flow by avoiding these conversions in the background,
1205 you could choose to use only the image formats that can directly be embedded
1206 in the output file format.
1207 The output file formats are explained in appendix
1208 \begin_inset space ~
1212 \begin_inset CommandInset ref
1214 reference "cha:Output-File-Formats"
1221 \begin_layout Standard
1222 Similar to fonts there are two types of image formats:
1225 \begin_layout Description
1227 \begin_inset space ~
1230 images consist of pixel values, often in a compressed form.
1231 They are therefore not fully scalable and look pixelated in large zooms.
1232 Well-known bitmap image formats are
1233 \begin_inset Quotes eld
1236 Graphics Interchange Format
1237 \begin_inset Quotes erd
1240 (GIF, file extension
1241 \begin_inset Quotes eld
1249 \begin_inset Quotes erd
1253 \begin_inset Index idx
1256 \begin_layout Plain Layout
1261 \begin_layout Plain Layout
1272 \begin_layout Plain Layout
1285 \begin_inset Quotes eld
1288 Portable Network Graphics
1289 \begin_inset Quotes erd
1292 (PNG, file extension
1293 \begin_inset Quotes eld
1301 \begin_inset Quotes erd
1305 \begin_inset Index idx
1308 \begin_layout Plain Layout
1313 \begin_layout Plain Layout
1324 \begin_layout Plain Layout
1337 \begin_inset Quotes eld
1340 Joint Photographic Experts Group
1341 \begin_inset Quotes erd
1344 (JPG, file extension
1345 \begin_inset Quotes eld
1353 \begin_inset Quotes erd
1357 \begin_inset Quotes eld
1365 \begin_inset Quotes erd
1369 \begin_inset Index idx
1372 \begin_layout Plain Layout
1377 \begin_layout Plain Layout
1388 \begin_layout Plain Layout
1403 \begin_layout Description
1405 \begin_inset space ~
1408 images consist of vectors and can therefore be scaled to any size without
1410 The scaling ability is necessary if you want to create presentations, because
1411 presentations are always scaled by the video projector.
1412 Scaling is also useful for online documents to let the user zoom into diagrams.
1413 \begin_inset Newline newline
1416 Well-known scalable image formats are
1417 \begin_inset Quotes eld
1420 Scalable Vector Graphics
1421 \begin_inset Quotes erd
1424 (SVG, file extension
1425 \begin_inset Quotes eld
1433 \begin_inset Quotes erd
1437 \begin_inset Index idx
1440 \begin_layout Plain Layout
1445 \begin_layout Plain Layout
1456 \begin_layout Plain Layout
1469 \begin_inset Quotes eld
1472 Encapsulated PostScript
1473 \begin_inset Quotes erd
1476 (EPS, file extension
1477 \begin_inset Quotes eld
1485 \begin_inset Quotes erd
1489 \begin_inset Index idx
1492 \begin_layout Plain Layout
1497 \begin_layout Plain Layout
1508 \begin_layout Plain Layout
1521 \begin_inset Quotes eld
1524 Portable Document Format
1525 \begin_inset Quotes erd
1528 (PDF, file extension
1529 \begin_inset Quotes eld
1537 \begin_inset Quotes erd
1541 \begin_inset Index idx
1544 \begin_layout Plain Layout
1551 \begin_inset Quotes eld
1555 \begin_inset Quotes erd
1558 (WMF, file extension
1559 \begin_inset Quotes eld
1567 \begin_inset Quotes erd
1571 \begin_inset Index idx
1574 \begin_layout Plain Layout
1579 \begin_layout Plain Layout
1590 \begin_layout Plain Layout
1604 \begin_inset Quotes eld
1608 \begin_inset Quotes erd
1611 , because you can convert any bitmap image to a PDF or EPS-image and the
1612 result will still be a bitmap image.
1613 In such cases only a header with the image properties is added to the original
1618 \begin_layout Plain Layout
1619 In the case of PDF, the original image is additionally compressed.
1625 The PDF-files generated by
1629 are for example bitmap images.
1632 \begin_layout Standard
1633 Normally it is not possible to convert a bitmap image into a scalable one,
1635 Only the image formats PDF and EPS can directly be embedded to PDF and
1636 PostScript output files, respectively.
1637 SVG and WMF-images are recalculated to bitmaps when the output file is
1638 generated because there is currently no adequate WMF/SVG
1639 \begin_inset Formula $\to$
1642 PDF/EPS converter available.
1645 \begin_layout Chapter
1647 \begin_inset Index idx
1650 \begin_layout Plain Layout
1659 \begin_layout Section
1661 \begin_inset Index idx
1664 \begin_layout Plain Layout
1665 Table ! Introduction
1673 \begin_layout Standard
1674 You can insert a table using either the toolbar button
1677 arg "tabular-insert"
1682 Insert\SpecialChar menuseparator
1686 The toolbar button offers you a graphical selection: move the mouse to
1687 set the column/row number of the table that should be created and then
1688 press a mouse button.
1689 When you use the menu to create a table, a dialog will appear, asking you
1690 for the number of rows and columns.
1691 \begin_inset Newline newline
1694 The default table has lines around any cell and the first row appears separated
1695 from the rest of the table.
1696 This separation occurs due to a double line: The cells of the first row
1697 have a line below them and the cells of the second row have a line above
1699 Here is an example table:
1702 \begin_layout Standard
1704 \begin_inset Tabular
1705 <lyxtabular version="3" rows="4" columns="4">
1706 <features tabularvalignment="middle">
1707 <column alignment="center" valignment="top">
1708 <column alignment="center" valignment="top">
1709 <column alignment="center" valignment="top">
1710 <column alignment="center" valignment="top">
1712 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1715 \begin_layout Plain Layout
1721 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1724 \begin_layout Plain Layout
1739 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1742 \begin_layout Plain Layout
1748 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1751 \begin_layout Plain Layout
1759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1762 \begin_layout Plain Layout
1777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1780 \begin_layout Plain Layout
1786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1789 \begin_layout Plain Layout
1795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1798 \begin_layout Plain Layout
1806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1809 \begin_layout Plain Layout
1824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1827 \begin_layout Plain Layout
1833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1836 \begin_layout Plain Layout
1842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1845 \begin_layout Plain Layout
1853 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1856 \begin_layout Plain Layout
1871 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1874 \begin_layout Plain Layout
1880 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1883 \begin_layout Plain Layout
1889 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1892 \begin_layout Plain Layout
1906 \begin_layout Section
1908 \begin_inset Index idx
1911 \begin_layout Plain Layout
1920 \begin_layout Standard
1921 You can alter a table by clicking on it with the right mouse button, which
1922 brings up the context menu.
1923 Under the menu entry
1927 you can adjust the settings of that cell and row/column respectively where
1928 the cursor is currently placed.
1931 More\SpecialChar menuseparator
1934 opens the table dialog where you can adjust more things.
1935 Most of the dialog options also work on selections.
1936 This means if you select more cells, columns or rows, the action is done
1937 for the whole selection.
1938 Note that there is a difference between selecting the
1942 of the cell, and the cell itself.
1943 \begin_inset Newline newline
1946 With the dialog option
1949 \begin_inset space ~
1954 every change you make in the dialog is directly applied.
1955 If you move the cursor to another table cell the dialog will then also
1956 be updated with the parameters of the new cell.
1957 If you change length values in the dialog you must press
1961 to get the change applied.
1962 \begin_inset Newline newline
1965 You can alter tables with the following tabs of the table dialog:
1968 \begin_layout Description
1970 \begin_inset space ~
1973 Settings Here you can set the table width
1974 \begin_inset Index idx
1977 \begin_layout Plain Layout
1983 , and the horizontal alignment and the width of the current column.
1987 \begin_inset space ~
1991 \begin_inset space ~
1996 is described in section
1997 \begin_inset space ~
2001 \begin_inset CommandInset ref
2003 reference "subsec:Special-Cell-Alignment"
2008 When you have set a width you can also adjust the vertical alignment of
2010 A given width will allow the cell to have line breaks and multiple paragraphs
2012 \begin_inset space \thinspace{}
2016 \begin_inset CommandInset ref
2018 reference "subsec:Multiple-Lines-in"
2023 If you set no width, the column is as wide as the content of its widest
2025 \begin_inset Newline newline
2028 Furthermore, you can mark one or multiple cells of one row as a multicolumn
2030 \begin_inset space \thinspace{}
2034 \begin_inset CommandInset ref
2036 reference "subsec:Multicolumns"
2040 or the cells of one column as multirow cell, see sec.
2041 \begin_inset space \thinspace{}
2045 \begin_inset CommandInset ref
2047 reference "subsec:Multirows"
2052 \begin_inset Newline newline
2055 The rotate check boxes rotate the current cell, a selection, or the whole
2056 table counter-clockwise by 90
2057 \begin_inset space \thinspace{}
2061 The rotation is not shown within \SpecialChar LyX
2062 , only in the output.
2063 For more information see sec.
2064 \begin_inset space \thinspace{}
2068 \begin_inset CommandInset ref
2070 reference "sec:Rotated-Table-Cells"
2075 \begin_inset Newline newline
2079 \begin_inset Note Greyedout
2082 \begin_layout Plain Layout
2087 Not all DVI-viewers are able to display rotations.
2093 \begin_inset Newline newline
2096 The table-wide vertical alignment is used for tables within text lines:
2097 \begin_inset Newline newline
2100 A line with tables with different alignments:
2101 \begin_inset Tabular
2102 <lyxtabular version="3" rows="2" columns="2">
2103 <features tabularvalignment="top">
2104 <column alignment="center" valignment="top" width="0pt">
2105 <column alignment="center" valignment="top">
2107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2110 \begin_layout Plain Layout
2116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2119 \begin_layout Plain Layout
2136 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2139 \begin_layout Plain Layout
2154 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2157 \begin_layout Plain Layout
2169 \begin_inset Tabular
2170 <lyxtabular version="3" rows="2" columns="2">
2171 <features tabularvalignment="middle">
2172 <column alignment="center" valignment="top">
2173 <column alignment="center" valignment="top">
2175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2178 \begin_layout Plain Layout
2184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2187 \begin_layout Plain Layout
2204 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2207 \begin_layout Plain Layout
2222 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2225 \begin_layout Plain Layout
2237 \begin_inset Tabular
2238 <lyxtabular version="3" rows="2" columns="2">
2239 <features tabularvalignment="bottom">
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 Newline newline
2308 It is also possible to enter a \SpecialChar LaTeX
2309 -argument which is needed for special table
2310 formattings, see sec.
2311 \begin_inset space \thinspace{}
2315 \begin_inset CommandInset ref
2317 reference "subsec:Multicolumn-Calculations"
2322 \begin_inset CommandInset ref
2324 reference "sec:Colored-Tables"
2331 \begin_layout Description
2332 Borders In this tab you can add and delete border lines for the current
2334 \begin_inset Newline newline
2337 Using the style option
2341 will convert the table to a formal table as described in sec.
2342 \begin_inset space \thinspace{}
2346 \begin_inset CommandInset ref
2348 reference "sec:Formal-Tables"
2353 \begin_inset Newline newline
2356 You can also add space here to table rows as described in sec.
2357 \begin_inset space \thinspace{}
2361 \begin_inset CommandInset ref
2363 reference "subsec:Row-Spacing"
2370 \begin_layout Description
2372 \begin_inset space ~
2375 table This tab is to make a table a multi-page table that can run over several
2378 \begin_inset space ~
2382 \begin_inset CommandInset ref
2384 reference "sec:Multi-page-Tables"
2389 \begin_inset CommandInset ref
2391 reference "sec:Special-Longtable-Issues"
2395 describe the multi-page table features in detail.
2398 \begin_layout Section
2400 \begin_inset Index idx
2403 \begin_layout Plain Layout
2412 \begin_layout Standard
2413 The table toolbar is an alternative to the table dialog to be able to alter
2415 It should normally appear at the bottom of \SpecialChar LyX
2416 's main window when the cursor
2418 You can alternatively switch it on to appear always, by right-clicking
2423 \begin_layout Standard
2424 The toolbar has the following icons:
2427 \begin_layout Labeling
2428 \labelwidthstring 00.00.0000
2431 arg "tabular-feature append-row"
2434 adds a row below the current cell or selection
2437 \begin_layout Labeling
2438 \labelwidthstring 00.00.0000
2441 arg "tabular-feature append-column"
2444 adds a column right beside the current cell or selection
2447 \begin_layout Labeling
2448 \labelwidthstring 00.00.0000
2451 arg "tabular-feature delete-row"
2454 deletes the current row or selection
2457 \begin_layout Labeling
2458 \labelwidthstring 00.00.0000
2461 arg "tabular-feature delete-column"
2464 deletes the current column or selection
2467 \begin_layout Labeling
2468 \labelwidthstring 00.00.0000
2471 arg "tabular-feature move-row-up"
2477 \begin_layout Labeling
2478 \labelwidthstring 00.00.0000
2481 arg "tabular-feature move-column-left"
2484 moves the column to the left
2487 \begin_layout Labeling
2488 \labelwidthstring 00.00.0000
2491 arg "tabular-feature move-row-down"
2497 \begin_layout Labeling
2498 \labelwidthstring 00.00.0000
2501 arg "tabular-feature move-column-right"
2504 moves the column to the right
2507 \begin_layout Labeling
2508 \labelwidthstring 00.00.0000
2511 arg "tabular-feature toggle-line-top"
2514 adds a line at the top of the current cell / row or of a selection
2517 \begin_layout Labeling
2518 \labelwidthstring 00.00.0000
2521 arg "tabular-feature toggle-line-bottom"
2524 adds a line at the bottom of the current cell / row or of a selection
2527 \begin_layout Labeling
2528 \labelwidthstring 00.00.0000
2531 arg "tabular-feature toggle-line-left"
2534 adds a line at the left side of the current cell / row or of a selection
2537 \begin_layout Labeling
2538 \labelwidthstring 00.00.0000
2541 arg "tabular-feature toggle-line-right"
2544 adds a line at the right side of the current cell / row or of a selection
2547 \begin_layout Labeling
2548 \labelwidthstring 00.00.0000
2551 arg "tabular-feature set-all-lines"
2554 adds lines around the current or selected cells - if the current cell no
2555 multicolumn cell this also affects the current row and column
2558 \begin_layout Labeling
2559 \labelwidthstring 00.00.0000
2562 arg "tabular-feature unset-all-lines"
2565 deletes all lines of the current or selected cells - if the current cell
2566 no multicolumn cell this also affects the current row and column
2569 \begin_layout Labeling
2570 \labelwidthstring 00.00.0000
2573 arg "tabular-feature m-align-left"
2576 left-aligns the content of the current cell / column
2579 \begin_layout Labeling
2580 \labelwidthstring 00.00.0000
2583 arg "tabular-feature m-align-center"
2586 centers the content of the current cell / column horizontally
2589 \begin_layout Labeling
2590 \labelwidthstring 00.00.0000
2593 arg "tabular-feature m-align-right"
2596 right-aligns the content of the current cell / column
2599 \begin_layout Labeling
2600 \labelwidthstring 00.00.0000
2603 arg "tabular-feature align-decimal"
2606 aligns the content of the current column at a character
2609 \begin_layout Labeling
2610 \labelwidthstring 00.00.0000
2613 arg "tabular-feature m-valign-top"
2616 aligns the content of the current cell vertically to the top
2619 \begin_layout Labeling
2620 \labelwidthstring 00.00.0000
2623 arg "tabular-feature m-valign-middle"
2626 centers the content of the current cell vertically
2629 \begin_layout Labeling
2630 \labelwidthstring 00.00.0000
2633 arg "tabular-feature m-valign-bottom"
2636 aligns the content of the current cell vertically to the bottom
2639 \begin_layout Labeling
2640 \labelwidthstring 00.00.0000
2643 arg "tabular-feature set-rotate-cell"
2646 rotates the current cell or selection counter-clockwise by 90°
2649 \begin_layout Labeling
2650 \labelwidthstring 00.00.0000
2653 arg "tabular-feature set-rotate-tabular"
2656 rotates the whole table counter-clockwise by 90°
2659 \begin_layout Labeling
2660 \labelwidthstring 00.00.0000
2663 arg "tabular-feature multicolumn"
2666 sets the current cell or selection as a multicolumn
2669 \begin_layout Labeling
2670 \labelwidthstring 00.00.0000
2673 arg "tabular-feature multirow"
2676 sets the current cell or selection as a multirow
2679 \begin_layout Standard
2680 \begin_inset Note Greyedout
2683 \begin_layout Plain Layout
2688 For the output the vertical alignment of the first cell in a row is used
2689 for all following cells in the row.
2697 \begin_layout Section
2699 \begin_inset Index idx
2702 \begin_layout Plain Layout
2711 \begin_layout Standard
2712 In addition to the table dialog and toolbar, the menu
2714 Edit\SpecialChar menuseparator
2717 allows you to add and delete border lines for the current row/column and
2718 to set the current selection as multicolumn.
2719 The menu is only available when the cursor is inside a table.
2722 \begin_layout Section
2724 \begin_inset CommandInset label
2726 name "sec:Table-Floats"
2731 \begin_inset Index idx
2734 \begin_layout Plain Layout
2741 \begin_inset Index idx
2744 \begin_layout Plain Layout
2753 \begin_layout Standard
2754 For general explanations about floats, have a look at section
2755 \begin_inset space ~
2759 \begin_inset CommandInset ref
2761 reference "sec:FloatIntroduction"
2768 \begin_layout Standard
2769 \begin_inset Float table
2775 \begin_layout Plain Layout
2776 \begin_inset Caption Standard
2778 \begin_layout Plain Layout
2779 \begin_inset CommandInset label
2781 name "tab:a table float"
2793 \begin_layout Plain Layout
2795 \begin_inset Tabular
2796 <lyxtabular version="3" rows="3" columns="3">
2797 <features tabularvalignment="middle">
2798 <column alignment="center" valignment="top" width="0pt">
2799 <column alignment="center" valignment="top" width="0pt">
2800 <column alignment="center" valignment="top" width="0pt">
2802 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2805 \begin_layout Plain Layout
2820 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2823 \begin_layout Plain Layout
2838 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2841 \begin_layout Plain Layout
2858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2861 \begin_layout Plain Layout
2876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_layout Plain Layout
2894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2897 \begin_layout Plain Layout
2914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2917 \begin_layout Plain Layout
2927 \begin_inset Formula $\int x^{2}dx$
2935 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2938 \begin_layout Plain Layout
2948 \begin_inset Formula $\left[\begin{array}{cc}
2959 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2962 \begin_layout Plain Layout
2972 \begin_inset Formula $1+1=2$
2993 \begin_layout Standard
2994 Table floats can be inserted using the menu
2996 Insert\SpecialChar menuseparator
2997 Float\SpecialChar menuseparator
3000 or the toolbar button
3003 arg "float-insert table"
3009 \begin_layout Standard
3010 The float appears as a collapsible box with a caption that has the label
3012 \begin_inset Quotes eld
3016 \begin_inset space ~
3020 \begin_inset Quotes erd
3023 (# is the actual table number).
3024 You can insert tables in the float above or below the caption.
3027 \begin_layout Standard
3029 \begin_inset space ~
3033 \begin_inset CommandInset ref
3035 reference "tab:a table float"
3039 is an example table within a table float.
3042 \begin_layout Standard
3043 Having the caption above the table is the common rule that is unfortunately
3044 not supported in \SpecialChar LaTeX
3045 's standard classes.
3046 This means that, if you are using the document classes
3062 , there will be no space between the caption and the table.
3063 To insert the needed space, add the following option to the load command
3064 of the \SpecialChar LaTeX
3070 \begin_inset Index idx
3073 \begin_layout Plain Layout
3080 in your document preamble:
3084 \begin_layout Plain Layout
3085 For more information have a look at section
3086 \begin_inset space ~
3090 \begin_inset CommandInset ref
3092 reference "sec:Caption-Placement"
3104 \begin_layout Standard
3110 \begin_layout Standard
3115 , which is described in section
3116 \begin_inset space ~
3120 \begin_inset CommandInset ref
3122 reference "sec:Caption-Formatting"
3126 , is used to adjust the caption format.
3129 \begin_layout Standard
3130 \begin_inset Index idx
3133 \begin_layout Plain Layout
3134 References ! to Tables
3139 Tables can be cross-referenced in the text by referencing their label.
3140 To do this insert a label in the caption using the menu
3142 Insert\SpecialChar menuseparator
3145 or the toolbar button
3152 You can now refer to the label using the menu
3154 Insert\SpecialChar menuseparator
3156 \begin_inset space ~
3161 or the toolbar button
3164 arg "dialog-show-new-inset ref"
3168 \begin_inset Newline newline
3171 Referencing is explained in detail in section
3172 \begin_inset space ~
3176 \begin_inset CommandInset ref
3178 reference "sec:Referencing-Floats"
3185 \begin_layout Section
3191 \begin_inset CommandInset label
3193 name "sec:Multi-page-Tables"
3198 \begin_inset Index idx
3201 \begin_layout Plain Layout
3208 \begin_inset Index idx
3211 \begin_layout Plain Layout
3212 Table ! Multi-page Table
3220 \begin_layout Standard
3221 If the table is too long to fit on one page, you can use the option
3224 \begin_inset space ~
3232 \begin_inset space ~
3237 of the table dialog to split the table automatically over more pages.
3238 Doing this enables the following options:
3241 \begin_layout Description
3242 Header: The current row is defined to be a header row that appears on all
3243 pages of the multi-page table; except for the first page, if
3246 \begin_inset space ~
3252 This is therefore called the main header.
3255 \begin_layout Description
3257 \begin_inset space ~
3260 header: The current row is defined to be a header row that appears on the
3261 first page of the multi-page table.
3264 \begin_layout Description
3265 Footer: The current row is defined to be a footer row that appears on all
3266 pages of the multi-page table; except for the last page, if
3269 \begin_inset space ~
3277 \begin_layout Description
3279 \begin_inset space ~
3282 footer: The current row is defined to be a footer row that appears on the
3283 last page of the multi-page table.
3286 \begin_layout Description
3287 Caption: The current row contains the table caption.
3288 The row is reset as single column and a caption is inserted.
3289 More about multi-page table captions is explained in sec.
3290 \begin_inset space \thinspace{}
3294 \begin_inset CommandInset ref
3296 reference "subsec:Multi-page-Table-Captions"
3303 \begin_layout Standard
3304 You can also specify a row where the table is split.
3305 See the following multi-page table to see how it works:
3308 \begin_layout Standard
3310 \begin_inset Tabular
3311 <lyxtabular version="3" rows="69" columns="3">
3312 <features islongtable="true" longtabularalignment="center">
3313 <column alignment="left" valignment="top" width="0cm">
3314 <column alignment="left" valignment="top" width="0pt">
3315 <column alignment="center" valignment="top" width="0pt">
3316 <row endfirsthead="true">
3317 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3320 \begin_layout Plain Layout
3323 Example Phone List (ignore the names)
3328 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3331 \begin_layout Plain Layout
3337 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3340 \begin_layout Plain Layout
3347 <row endfirsthead="true">
3348 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3351 \begin_layout Plain Layout
3359 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3362 \begin_layout Plain Layout
3368 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3371 \begin_layout Plain Layout
3380 <row endhead="true">
3381 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3384 \begin_layout Plain Layout
3392 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3395 \begin_layout Plain Layout
3401 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3404 \begin_layout Plain Layout
3411 <row endhead="true">
3412 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
3415 \begin_layout Plain Layout
3423 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3426 \begin_layout Plain Layout
3432 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3435 \begin_layout Plain Layout
3444 <row endfoot="true">
3445 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
3448 \begin_layout Plain Layout
3449 continued on next page
3454 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
3457 \begin_layout Plain Layout
3463 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
3466 \begin_layout Plain Layout
3474 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3477 \begin_layout Plain Layout
3485 <cell alignment="center" valignment="top" usebox="none">
3488 \begin_layout Plain Layout
3494 <cell alignment="right" valignment="top" leftline="true" rightline="true" usebox="none">
3497 \begin_layout Plain Layout
3505 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3508 \begin_layout Plain Layout
3516 <cell alignment="center" valignment="top" usebox="none">
3519 \begin_layout Plain Layout
3525 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3528 \begin_layout Plain Layout
3536 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3539 \begin_layout Plain Layout
3547 <cell alignment="center" valignment="top" usebox="none">
3550 \begin_layout Plain Layout
3556 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3559 \begin_layout Plain Layout
3567 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3570 \begin_layout Plain Layout
3578 <cell alignment="center" valignment="top" usebox="none">
3581 \begin_layout Plain Layout
3587 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3590 \begin_layout Plain Layout
3598 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3601 \begin_layout Plain Layout
3609 <cell alignment="center" valignment="top" usebox="none">
3612 \begin_layout Plain Layout
3618 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3621 \begin_layout Plain Layout
3629 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3632 \begin_layout Plain Layout
3640 <cell alignment="center" valignment="top" usebox="none">
3643 \begin_layout Plain Layout
3649 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3652 \begin_layout Plain Layout
3660 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3663 \begin_layout Plain Layout
3671 <cell alignment="center" valignment="top" usebox="none">
3674 \begin_layout Plain Layout
3680 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3683 \begin_layout Plain Layout
3691 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3694 \begin_layout Plain Layout
3702 <cell alignment="center" valignment="top" usebox="none">
3705 \begin_layout Plain Layout
3711 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3714 \begin_layout Plain Layout
3722 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3725 \begin_layout Plain Layout
3733 <cell alignment="center" valignment="top" usebox="none">
3736 \begin_layout Plain Layout
3742 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3745 \begin_layout Plain Layout
3753 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3756 \begin_layout Plain Layout
3764 <cell alignment="center" valignment="top" usebox="none">
3767 \begin_layout Plain Layout
3773 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3776 \begin_layout Plain Layout
3784 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3787 \begin_layout Plain Layout
3795 <cell alignment="center" valignment="top" usebox="none">
3798 \begin_layout Plain Layout
3804 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3807 \begin_layout Plain Layout
3815 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3818 \begin_layout Plain Layout
3826 <cell alignment="center" valignment="top" usebox="none">
3829 \begin_layout Plain Layout
3835 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3838 \begin_layout Plain Layout
3846 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3849 \begin_layout Plain Layout
3857 <cell alignment="center" valignment="top" usebox="none">
3860 \begin_layout Plain Layout
3866 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3869 \begin_layout Plain Layout
3877 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3880 \begin_layout Plain Layout
3888 <cell alignment="center" valignment="top" usebox="none">
3891 \begin_layout Plain Layout
3897 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3900 \begin_layout Plain Layout
3908 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3911 \begin_layout Plain Layout
3919 <cell alignment="center" valignment="top" usebox="none">
3922 \begin_layout Plain Layout
3928 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3931 \begin_layout Plain Layout
3939 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3942 \begin_layout Plain Layout
3950 <cell alignment="center" valignment="top" usebox="none">
3953 \begin_layout Plain Layout
3959 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3962 \begin_layout Plain Layout
3970 <cell alignment="center" valignment="top" leftline="true" usebox="none">
3973 \begin_layout Plain Layout
3981 <cell alignment="center" valignment="top" usebox="none">
3984 \begin_layout Plain Layout
3990 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
3993 \begin_layout Plain Layout
4001 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4004 \begin_layout Plain Layout
4012 <cell alignment="center" valignment="top" usebox="none">
4015 \begin_layout Plain Layout
4021 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4024 \begin_layout Plain Layout
4032 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4035 \begin_layout Plain Layout
4043 <cell alignment="center" valignment="top" usebox="none">
4046 \begin_layout Plain Layout
4052 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4055 \begin_layout Plain Layout
4063 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4066 \begin_layout Plain Layout
4074 <cell alignment="center" valignment="top" usebox="none">
4077 \begin_layout Plain Layout
4083 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4086 \begin_layout Plain Layout
4094 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4097 \begin_layout Plain Layout
4105 <cell alignment="center" valignment="top" usebox="none">
4108 \begin_layout Plain Layout
4114 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4117 \begin_layout Plain Layout
4125 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4128 \begin_layout Plain Layout
4136 <cell alignment="center" valignment="top" usebox="none">
4139 \begin_layout Plain Layout
4145 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4148 \begin_layout Plain Layout
4156 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4159 \begin_layout Plain Layout
4167 <cell alignment="center" valignment="top" usebox="none">
4170 \begin_layout Plain Layout
4176 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4179 \begin_layout Plain Layout
4187 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4190 \begin_layout Plain Layout
4198 <cell alignment="center" valignment="top" usebox="none">
4201 \begin_layout Plain Layout
4207 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4210 \begin_layout Plain Layout
4218 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4221 \begin_layout Plain Layout
4229 <cell alignment="center" valignment="top" usebox="none">
4232 \begin_layout Plain Layout
4238 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4241 \begin_layout Plain Layout
4249 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4252 \begin_layout Plain Layout
4260 <cell alignment="center" valignment="top" usebox="none">
4263 \begin_layout Plain Layout
4269 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4272 \begin_layout Plain Layout
4280 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4283 \begin_layout Plain Layout
4291 <cell alignment="center" valignment="top" usebox="none">
4294 \begin_layout Plain Layout
4300 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4303 \begin_layout Plain Layout
4311 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4314 \begin_layout Plain Layout
4322 <cell alignment="center" valignment="top" usebox="none">
4325 \begin_layout Plain Layout
4331 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4334 \begin_layout Plain Layout
4342 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4345 \begin_layout Plain Layout
4353 <cell alignment="center" valignment="top" usebox="none">
4356 \begin_layout Plain Layout
4362 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4365 \begin_layout Plain Layout
4373 <cell alignment="center" valignment="top" leftline="true" usebox="none">
4376 \begin_layout Plain Layout
4384 <cell alignment="center" valignment="top" usebox="none">
4387 \begin_layout Plain Layout
4393 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4396 \begin_layout Plain Layout
4404 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
4407 \begin_layout Plain Layout
4415 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
4418 \begin_layout Plain Layout
4424 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4427 \begin_layout Plain Layout
4435 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
4438 \begin_layout Plain Layout
4444 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4447 \begin_layout Plain Layout
4453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4456 \begin_layout Plain Layout
4464 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4467 \begin_layout Plain Layout
4475 <cell alignment="center" valignment="top" usebox="none">
4478 \begin_layout Plain Layout
4484 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4487 \begin_layout Plain Layout
4495 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4498 \begin_layout Plain Layout
4506 <cell alignment="center" valignment="top" usebox="none">
4509 \begin_layout Plain Layout
4515 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4518 \begin_layout Plain Layout
4526 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4529 \begin_layout Plain Layout
4537 <cell alignment="center" valignment="top" usebox="none">
4540 \begin_layout Plain Layout
4546 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4549 \begin_layout Plain Layout
4557 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4560 \begin_layout Plain Layout
4568 <cell alignment="center" valignment="top" usebox="none">
4571 \begin_layout Plain Layout
4577 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4580 \begin_layout Plain Layout
4588 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4591 \begin_layout Plain Layout
4599 <cell alignment="center" valignment="top" usebox="none">
4602 \begin_layout Plain Layout
4608 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4611 \begin_layout Plain Layout
4619 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4622 \begin_layout Plain Layout
4630 <cell alignment="center" valignment="top" usebox="none">
4633 \begin_layout Plain Layout
4639 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4642 \begin_layout Plain Layout
4650 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4653 \begin_layout Plain Layout
4661 <cell alignment="center" valignment="top" usebox="none">
4664 \begin_layout Plain Layout
4670 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4673 \begin_layout Plain Layout
4681 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4684 \begin_layout Plain Layout
4692 <cell alignment="center" valignment="top" usebox="none">
4695 \begin_layout Plain Layout
4701 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4704 \begin_layout Plain Layout
4712 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4715 \begin_layout Plain Layout
4723 <cell alignment="center" valignment="top" usebox="none">
4726 \begin_layout Plain Layout
4732 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4735 \begin_layout Plain Layout
4743 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4746 \begin_layout Plain Layout
4754 <cell alignment="center" valignment="top" usebox="none">
4757 \begin_layout Plain Layout
4763 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4766 \begin_layout Plain Layout
4774 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4777 \begin_layout Plain Layout
4785 <cell alignment="center" valignment="top" usebox="none">
4788 \begin_layout Plain Layout
4794 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4797 \begin_layout Plain Layout
4805 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4808 \begin_layout Plain Layout
4816 <cell alignment="center" valignment="top" usebox="none">
4819 \begin_layout Plain Layout
4825 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4828 \begin_layout Plain Layout
4836 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4839 \begin_layout Plain Layout
4847 <cell alignment="center" valignment="top" usebox="none">
4850 \begin_layout Plain Layout
4856 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4859 \begin_layout Plain Layout
4867 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4870 \begin_layout Plain Layout
4878 <cell alignment="center" valignment="top" usebox="none">
4881 \begin_layout Plain Layout
4887 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4890 \begin_layout Plain Layout
4898 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4901 \begin_layout Plain Layout
4909 <cell alignment="center" valignment="top" usebox="none">
4912 \begin_layout Plain Layout
4918 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4921 \begin_layout Plain Layout
4929 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4932 \begin_layout Plain Layout
4940 <cell alignment="center" valignment="top" usebox="none">
4943 \begin_layout Plain Layout
4949 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4952 \begin_layout Plain Layout
4960 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4963 \begin_layout Plain Layout
4971 <cell alignment="center" valignment="top" usebox="none">
4974 \begin_layout Plain Layout
4980 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
4983 \begin_layout Plain Layout
4991 <cell alignment="left" valignment="top" leftline="true" usebox="none">
4994 \begin_layout Plain Layout
5002 <cell alignment="center" valignment="top" usebox="none">
5005 \begin_layout Plain Layout
5011 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5014 \begin_layout Plain Layout
5022 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5025 \begin_layout Plain Layout
5033 <cell alignment="center" valignment="top" usebox="none">
5036 \begin_layout Plain Layout
5042 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5045 \begin_layout Plain Layout
5053 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5056 \begin_layout Plain Layout
5064 <cell alignment="center" valignment="top" usebox="none">
5067 \begin_layout Plain Layout
5073 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5076 \begin_layout Plain Layout
5084 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5087 \begin_layout Plain Layout
5095 <cell alignment="center" valignment="top" usebox="none">
5098 \begin_layout Plain Layout
5104 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5107 \begin_layout Plain Layout
5115 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5118 \begin_layout Plain Layout
5126 <cell alignment="center" valignment="top" usebox="none">
5129 \begin_layout Plain Layout
5135 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5138 \begin_layout Plain Layout
5146 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5149 \begin_layout Plain Layout
5157 <cell alignment="center" valignment="top" usebox="none">
5160 \begin_layout Plain Layout
5166 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5169 \begin_layout Plain Layout
5177 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5180 \begin_layout Plain Layout
5188 <cell alignment="center" valignment="top" usebox="none">
5191 \begin_layout Plain Layout
5197 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5200 \begin_layout Plain Layout
5208 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5211 \begin_layout Plain Layout
5219 <cell alignment="center" valignment="top" usebox="none">
5222 \begin_layout Plain Layout
5228 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5231 \begin_layout Plain Layout
5239 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5242 \begin_layout Plain Layout
5250 <cell alignment="center" valignment="top" usebox="none">
5253 \begin_layout Plain Layout
5259 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5262 \begin_layout Plain Layout
5270 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5273 \begin_layout Plain Layout
5281 <cell alignment="center" valignment="top" usebox="none">
5284 \begin_layout Plain Layout
5290 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5293 \begin_layout Plain Layout
5301 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5304 \begin_layout Plain Layout
5312 <cell alignment="center" valignment="top" usebox="none">
5315 \begin_layout Plain Layout
5321 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5324 \begin_layout Plain Layout
5332 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5335 \begin_layout Plain Layout
5343 <cell alignment="center" valignment="top" usebox="none">
5346 \begin_layout Plain Layout
5352 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5355 \begin_layout Plain Layout
5363 <cell alignment="left" valignment="top" leftline="true" usebox="none">
5366 \begin_layout Plain Layout
5374 <cell alignment="center" valignment="top" usebox="none">
5377 \begin_layout Plain Layout
5383 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
5386 \begin_layout Plain Layout
5394 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
5397 \begin_layout Plain Layout
5405 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
5408 \begin_layout Plain Layout
5414 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
5417 \begin_layout Plain Layout
5424 <row endlastfoot="true">
5425 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
5428 \begin_layout Plain Layout
5434 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
5437 \begin_layout Plain Layout
5443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5446 \begin_layout Plain Layout
5461 \begin_layout Plain Layout
5465 addtocounter{table}{-1}
5471 \begin_inset Note Note
5474 \begin_layout Plain Layout
5475 See the first greyed-out note in section
5476 \begin_inset space ~
5480 \begin_inset CommandInset ref
5482 reference "subsec:Multi-page-Table-Captions"
5486 for an explanation of this command.
5494 \begin_layout Subsection
5495 Footnotes in Multi-page tables
5496 \begin_inset CommandInset label
5498 name "subsec:Footnotes-in-Multi-page"
5503 \begin_inset Index idx
5506 \begin_layout Plain Layout
5507 Table ! Multi-page Table ! Footnotes
5515 \begin_layout Standard
5516 Footnotes can be inserted to every Multi-page table cell.
5517 They appear at the bottom of the page where the table cell with the footnote
5520 \begin_inset space ~
5524 \begin_inset CommandInset ref
5526 reference "tab:DiffCaptions"
5530 has for example a footnote.
5533 \begin_layout Subsection
5534 Multi-page Table Alignment
5535 \begin_inset Index idx
5538 \begin_layout Plain Layout
5539 Table ! Multi-page Table ! Alignment
5547 \begin_layout Standard
5548 The horizontal alignment of multi-page tables can be set in the table settings
5550 For left- and right-alignment the table will be directly at the page border.
5551 To add space between the table and the border one has to set the alignment
5552 to center and change the value of the \SpecialChar LaTeX
5565 by inserting this line as \SpecialChar TeX
5566 Code before the multi-page table:
5569 \begin_layout Standard
5579 \begin_layout Standard
5580 The value can have any of the units listed in Table
5581 \begin_inset space ~
5585 \begin_inset CommandInset ref
5587 reference "tab:Units"
5598 controls the horizontal distance from the left page border to the multi-page
5605 the distance from the right side.
5606 The default value for both lengths is
5612 , which is in this case the same as an horizontal fill in \SpecialChar LyX
5616 \begin_layout Standard
5617 The following multi-page table was centered and
5633 \begin_layout Plain Layout
5649 \begin_layout Standard
5650 \begin_inset Tabular
5651 <lyxtabular version="3" rows="5" columns="5">
5652 <features islongtable="true" longtabularalignment="center">
5653 <column alignment="center" valignment="top">
5654 <column alignment="center" valignment="top" width="0pt">
5655 <column alignment="center" valignment="top">
5656 <column alignment="center" valignment="top">
5657 <column alignment="center" valignment="top">
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5662 \begin_layout Plain Layout
5668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5671 \begin_layout Plain Layout
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_layout Plain Layout
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5689 \begin_layout Plain Layout
5695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5698 \begin_layout Plain Layout
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5709 \begin_layout Plain Layout
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5718 \begin_layout Plain Layout
5724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5727 \begin_layout Plain Layout
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5736 \begin_layout Plain Layout
5742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5745 \begin_layout Plain Layout
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5756 \begin_layout Plain Layout
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5765 \begin_layout Plain Layout
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5774 \begin_layout Plain Layout
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5783 \begin_layout Plain Layout
5789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5792 \begin_layout Plain Layout
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5803 \begin_layout Plain Layout
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5812 \begin_layout Plain Layout
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5821 \begin_layout Plain Layout
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5830 \begin_layout Plain Layout
5836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5839 \begin_layout Plain Layout
5847 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5850 \begin_layout Plain Layout
5856 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5859 \begin_layout Plain Layout
5865 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5868 \begin_layout Plain Layout
5874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
5877 \begin_layout Plain Layout
5883 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
5886 \begin_layout Plain Layout
5901 \begin_layout Plain Layout
5918 \begin_layout Plain Layout
5922 addtocounter{table}{-1}
5928 \begin_inset Note Note
5931 \begin_layout Plain Layout
5932 See the first greyed-out note in section
5933 \begin_inset space ~
5937 \begin_inset CommandInset ref
5939 reference "subsec:Multi-page-Table-Captions"
5943 for an explanation of this command.
5951 \begin_layout Subsection
5952 Multi-page Table Captions
5953 \begin_inset Index idx
5956 \begin_layout Plain Layout
5957 Table ! Multi-page Table ! Captions
5963 \begin_inset CommandInset label
5965 name "subsec:Multi-page-Table-Captions"
5972 \begin_layout Standard
5973 A multi-page table cannot be put into a table float because floats can only
5975 But the caption environment of floats can also be used for multi-page tables
5976 when you use the multi-page table option
5980 as described in sec.
5981 \begin_inset space \thinspace{}
5985 \begin_inset CommandInset ref
5987 reference "sec:Multi-page-Tables"
5992 Only one table row should contain a caption, either a header or a footer
5996 \begin_layout Standard
5997 Here is a short multi-page table to see how it works:
6000 \begin_layout Standard
6001 \begin_inset Tabular
6002 <lyxtabular version="3" rows="6" columns="5">
6003 <features islongtable="true" longtabularalignment="center">
6004 <column alignment="center" valignment="top">
6005 <column alignment="center" valignment="top">
6006 <column alignment="center" valignment="top">
6007 <column alignment="center" valignment="top">
6008 <column alignment="center" valignment="top">
6009 <row endfirsthead="true" caption="true">
6010 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6013 \begin_layout Plain Layout
6014 \begin_inset Caption Standard
6016 \begin_layout Plain Layout
6017 Multi-page table with caption
6018 \begin_inset Argument 1
6021 \begin_layout Plain Layout
6037 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6040 \begin_layout Plain Layout
6046 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6049 \begin_layout Plain Layout
6055 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6058 \begin_layout Plain Layout
6064 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6067 \begin_layout Plain Layout
6075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_layout Plain Layout
6084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_layout Plain Layout
6093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6096 \begin_layout Plain Layout
6102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6105 \begin_layout Plain Layout
6111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6114 \begin_layout Plain Layout
6122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_layout Plain Layout
6131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_layout Plain Layout
6140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6143 \begin_layout Plain Layout
6149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6152 \begin_layout Plain Layout
6158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6161 \begin_layout Plain Layout
6169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_layout Plain Layout
6178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_layout Plain Layout
6187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6190 \begin_layout Plain Layout
6196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6199 \begin_layout Plain Layout
6205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6208 \begin_layout Plain Layout
6216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6219 \begin_layout Plain Layout
6225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6228 \begin_layout Plain Layout
6234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6237 \begin_layout Plain Layout
6243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6246 \begin_layout Plain Layout
6252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6255 \begin_layout Plain Layout
6263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6266 \begin_layout Plain Layout
6272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6275 \begin_layout Plain Layout
6281 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6284 \begin_layout Plain Layout
6290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6293 \begin_layout Plain Layout
6299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6302 \begin_layout Plain Layout
6316 \begin_layout Standard
6317 \begin_inset VSpace medskip
6321 \begin_inset Note Greyedout
6324 \begin_layout Plain Layout
6328 \begin_inset space ~
6333 The table number is increased for every multi-page table, even if you did
6334 not set a caption for it.
6335 For this reason you could have the case that e.
6336 \begin_inset space \thinspace{}
6340 \begin_inset space \space{}
6344 \begin_inset space ~
6348 \begin_inset space ~
6351 2.1 in the list of tables if there are two multi-page tables without captions.
6352 To avoid this you can add the following command in \SpecialChar TeX
6353 Code after every multi-page
6354 table without a caption:
6357 \begin_layout Plain Layout
6362 addtocounter{table}{-1}
6365 \begin_layout Plain Layout
6366 This is not needed when none of your multi-page tables has a caption and
6367 you add the following code to the document preamble:
6370 \begin_layout Plain Layout
6380 \begin_inset Newline newline
6391 addtocounter{table}{-1}}
6399 \begin_layout Standard
6400 \begin_inset Note Greyedout
6403 \begin_layout Plain Layout
6407 \begin_inset space ~
6417 \begin_inset Index idx
6420 \begin_layout Plain Layout
6422 -packages ! hyperref
6435 dialog to link cross-references, the link to a multi-page table caption
6436 will always point to the beginning of the document.
6444 \begin_layout Subsubsection
6445 References to multi-page tables
6446 \begin_inset Index idx
6449 \begin_layout Plain Layout
6450 Table ! Multi-page Table ! References
6458 \begin_layout Standard
6459 \begin_inset Tabular
6460 <lyxtabular version="3" rows="6" columns="5">
6461 <features islongtable="true" longtabularalignment="center">
6462 <column alignment="center" valignment="top">
6463 <column alignment="center" valignment="top">
6464 <column alignment="center" valignment="top">
6465 <column alignment="center" valignment="top">
6466 <column alignment="center" valignment="top">
6467 <row endfirsthead="true" caption="true">
6468 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6471 \begin_layout Plain Layout
6472 \begin_inset Caption Standard
6474 \begin_layout Plain Layout
6475 Referenced multi-page table
6476 \begin_inset CommandInset label
6478 name "tab:Referenced-multi-page-table"
6492 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6495 \begin_layout Plain Layout
6501 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6504 \begin_layout Plain Layout
6510 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6513 \begin_layout Plain Layout
6519 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6522 \begin_layout Plain Layout
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6533 \begin_layout Plain Layout
6539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6542 \begin_layout Plain Layout
6548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6551 \begin_layout Plain Layout
6557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6560 \begin_layout Plain Layout
6566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6569 \begin_layout Plain Layout
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6580 \begin_layout Plain Layout
6586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6589 \begin_layout Plain Layout
6595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6598 \begin_layout Plain Layout
6604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6607 \begin_layout Plain Layout
6613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6616 \begin_layout Plain Layout
6624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6627 \begin_layout Plain Layout
6633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6636 \begin_layout Plain Layout
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_layout Plain Layout
6651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6654 \begin_layout Plain Layout
6660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6663 \begin_layout Plain Layout
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6674 \begin_layout Plain Layout
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_layout Plain Layout
6689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6692 \begin_layout Plain Layout
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6701 \begin_layout Plain Layout
6707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6710 \begin_layout Plain Layout
6718 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6721 \begin_layout Plain Layout
6727 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6730 \begin_layout Plain Layout
6736 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6739 \begin_layout Plain Layout
6745 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
6748 \begin_layout Plain Layout
6754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6757 \begin_layout Plain Layout
6771 \begin_layout Standard
6772 To reference a multi-page table, insert a label into the caption.
6775 \begin_layout Standard
6776 This is a reference to Table
6777 \begin_inset space ~
6781 \begin_inset CommandInset ref
6783 reference "tab:Referenced-multi-page-table"
6790 \begin_layout Standard
6791 The caption layout can be set together with all other captions of your document
6792 using the \SpecialChar LaTeX
6798 \begin_inset Index idx
6801 \begin_layout Plain Layout
6809 \begin_inset space ~
6813 \begin_inset CommandInset ref
6815 reference "sec:Caption-Formatting"
6822 \begin_layout Subsubsection
6824 \begin_inset Index idx
6827 \begin_layout Plain Layout
6828 Table ! Multi-page Table ! Caption Width
6836 \begin_layout Standard
6837 The maximal width of caption lines is defined by the length
6844 Its default value is 4
6845 \begin_inset space \thinspace{}
6849 To change it add the following command to your document preamble or as
6851 Code into your document before the multi-page table that should be affected
6854 \begin_layout Standard
6864 \begin_layout Standard
6869 can have one of the units listed in appendix
6870 \begin_inset space ~
6874 \begin_inset CommandInset ref
6876 reference "cha:Units-available-in"
6883 \begin_layout Standard
6884 The following tables show the difference:
6887 \begin_layout Standard
6888 \begin_inset Tabular
6889 <lyxtabular version="3" rows="6" columns="5">
6890 <features islongtable="true" longtabularalignment="center">
6891 <column alignment="center" valignment="top">
6892 <column alignment="center" valignment="top">
6893 <column alignment="center" valignment="top">
6894 <column alignment="center" valignment="top">
6895 <column alignment="center" valignment="top">
6896 <row endfirsthead="true" caption="true">
6897 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
6900 \begin_layout Plain Layout
6901 \begin_inset Caption Standard
6903 \begin_layout Plain Layout
6904 Long full title with default width long full title with default width long
6905 full title with default width
6906 \begin_inset Argument 1
6909 \begin_layout Plain Layout
6910 caption with default width
6925 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6928 \begin_layout Plain Layout
6934 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6937 \begin_layout Plain Layout
6943 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
6946 \begin_layout Plain Layout
6952 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
6955 \begin_layout Plain Layout
6963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6966 \begin_layout Plain Layout
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6975 \begin_layout Plain Layout
6981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6984 \begin_layout Plain Layout
6990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6993 \begin_layout Plain Layout
6999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7002 \begin_layout Plain Layout
7010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7013 \begin_layout Plain Layout
7019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7022 \begin_layout Plain Layout
7028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7031 \begin_layout Plain Layout
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7040 \begin_layout Plain Layout
7046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7049 \begin_layout Plain Layout
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_layout Plain Layout
7066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7069 \begin_layout Plain Layout
7075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7078 \begin_layout Plain Layout
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7087 \begin_layout Plain Layout
7093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7096 \begin_layout Plain Layout
7104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7107 \begin_layout Plain Layout
7113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_layout Plain Layout
7122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7125 \begin_layout Plain Layout
7131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7134 \begin_layout Plain Layout
7140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7143 \begin_layout Plain Layout
7151 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7154 \begin_layout Plain Layout
7160 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7163 \begin_layout Plain Layout
7169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7172 \begin_layout Plain Layout
7178 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7181 \begin_layout Plain Layout
7187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7190 \begin_layout Plain Layout
7204 \begin_layout Standard
7208 \begin_layout Plain Layout
7220 \begin_inset Tabular
7221 <lyxtabular version="3" rows="6" columns="5">
7222 <features islongtable="true" longtabularalignment="center">
7223 <column alignment="center" valignment="top">
7224 <column alignment="center" valignment="top">
7225 <column alignment="center" valignment="top">
7226 <column alignment="center" valignment="top">
7227 <column alignment="center" valignment="top">
7228 <row endfirsthead="true" caption="true">
7229 <cell multicolumn="1" alignment="center" valignment="top" usebox="none">
7232 \begin_layout Plain Layout
7233 \begin_inset Caption Standard
7235 \begin_layout Plain Layout
7236 Long full title with width set to 5
7237 \begin_inset space \thinspace{}
7240 cm long full title with width set to 5
7241 \begin_inset space \thinspace{}
7244 cm long full title with width set to 5
7245 \begin_inset space \thinspace{}
7249 \begin_inset Argument 1
7252 \begin_layout Plain Layout
7254 \begin_inset space \thinspace{}
7258 \begin_inset space \thinspace{}
7262 \begin_inset space \thinspace{}
7280 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7283 \begin_layout Plain Layout
7289 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7292 \begin_layout Plain Layout
7298 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" usebox="none">
7301 \begin_layout Plain Layout
7307 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7310 \begin_layout Plain Layout
7318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7321 \begin_layout Plain Layout
7327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7330 \begin_layout Plain Layout
7336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7339 \begin_layout Plain Layout
7345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7348 \begin_layout Plain Layout
7354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7357 \begin_layout Plain Layout
7365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7368 \begin_layout Plain Layout
7374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7377 \begin_layout Plain Layout
7383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7386 \begin_layout Plain Layout
7392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7395 \begin_layout Plain Layout
7401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7404 \begin_layout Plain Layout
7412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7415 \begin_layout Plain Layout
7421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7424 \begin_layout Plain Layout
7430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7433 \begin_layout Plain Layout
7439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7442 \begin_layout Plain Layout
7448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7451 \begin_layout Plain Layout
7459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7462 \begin_layout Plain Layout
7468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7471 \begin_layout Plain Layout
7477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7480 \begin_layout Plain Layout
7486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7489 \begin_layout Plain Layout
7495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7498 \begin_layout Plain Layout
7506 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7509 \begin_layout Plain Layout
7515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7518 \begin_layout Plain Layout
7524 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7527 \begin_layout Plain Layout
7533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
7536 \begin_layout Plain Layout
7542 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7545 \begin_layout Plain Layout
7559 \begin_layout Standard
7563 \begin_layout Plain Layout
7577 \begin_layout Standard
7578 \begin_inset Note Greyedout
7581 \begin_layout Plain Layout
7586 When the \SpecialChar LaTeX
7592 \begin_inset Index idx
7595 \begin_layout Plain Layout
7602 is used, as in this document, the full page width is used for the caption
7603 when you use the default value of 4
7604 \begin_inset space \thinspace{}
7614 To get in this case exactly a 4
7615 \begin_inset space \thinspace{}
7618 in wide caption, you can either use a value slightly different from 4.0
7619 \begin_inset space \thinspace{}
7623 \begin_inset space \thinspace{}
7627 \begin_inset space \space{}
7631 \begin_inset space \thinspace{}
7634 in, or the \SpecialChar LaTeX
7639 captionsetup{width=value}
7641 that is provided by the
7653 \begin_layout Subsubsection
7654 Different Captions for Table Pages
7655 \begin_inset Index idx
7658 \begin_layout Plain Layout
7659 Table ! Multi-page Table ! Different Captions for Pages
7667 \begin_layout Standard
7668 When the table captions for the following pages should differ from the one
7669 of the first table page, mark a empty row as header which contains a caption.
7670 Then right-click on the caption and select in the context menu
7673 \begin_inset space ~
7680 \begin_inset space ~
7684 \begin_inset CommandInset ref
7686 reference "tab:DiffCaptions"
7690 is an example of a multi-page table with different heading where the second
7691 caption does not include the table number.
7694 \begin_layout Standard
7696 \begin_inset Tabular
7697 <lyxtabular version="3" rows="59" columns="3">
7698 <features islongtable="true" longtabularalignment="center">
7699 <column alignment="left" valignment="top" width="0cm">
7700 <column alignment="left" valignment="top" width="0pt">
7701 <column alignment="center" valignment="top" width="0pt">
7702 <row endfirsthead="true" caption="true">
7703 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7706 \begin_layout Plain Layout
7707 \begin_inset Caption Standard
7709 \begin_layout Plain Layout
7711 \begin_inset CommandInset label
7713 name "tab:DiffCaptions"
7718 \begin_inset Argument 1
7721 \begin_layout Plain Layout
7737 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7740 \begin_layout Plain Layout
7746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7749 \begin_layout Plain Layout
7756 <row endfirsthead="true">
7757 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7760 \begin_layout Plain Layout
7763 Example Phone List (ignore the names)
7768 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7771 \begin_layout Plain Layout
7777 <cell multicolumn="2" alignment="center" valignment="top" usebox="none">
7780 \begin_layout Plain Layout
7787 <row endfirsthead="true">
7788 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7791 \begin_layout Plain Layout
7799 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7802 \begin_layout Plain Layout
7808 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7811 \begin_layout Plain Layout
7820 <row endhead="true" caption="true">
7821 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
7824 \begin_layout Plain Layout
7825 \begin_inset Caption Unnumbered
7827 \begin_layout Plain Layout
7828 Continued Example Phone List
7838 <cell multicolumn="2" alignment="left" valignment="top" leftline="true" usebox="none">
7841 \begin_layout Plain Layout
7847 <cell multicolumn="2" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
7850 \begin_layout Plain Layout
7857 <row endhead="true">
7858 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7861 \begin_layout Plain Layout
7869 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7872 \begin_layout Plain Layout
7878 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7881 \begin_layout Plain Layout
7888 <row endhead="true">
7889 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7892 \begin_layout Plain Layout
7900 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7903 \begin_layout Plain Layout
7909 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7912 \begin_layout Plain Layout
7921 <row endfoot="true">
7922 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
7925 \begin_layout Plain Layout
7926 continued on next page
7931 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7934 \begin_layout Plain Layout
7940 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7943 \begin_layout Plain Layout
7951 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7954 \begin_layout Plain Layout
7962 <cell alignment="left" valignment="top" rightline="true" usebox="none">
7965 \begin_layout Plain Layout
7971 <cell alignment="center" valignment="top" rightline="true" usebox="none">
7974 \begin_layout Plain Layout
7982 <cell alignment="center" valignment="top" leftline="true" usebox="none">
7985 \begin_layout Plain Layout
7993 <cell alignment="left" valignment="top" rightline="true" usebox="none">
7996 \begin_layout Plain Layout
8002 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8005 \begin_layout Plain Layout
8013 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8016 \begin_layout Plain Layout
8024 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8027 \begin_layout Plain Layout
8033 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8036 \begin_layout Plain Layout
8044 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8047 \begin_layout Plain Layout
8055 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8058 \begin_layout Plain Layout
8064 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8067 \begin_layout Plain Layout
8075 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8078 \begin_layout Plain Layout
8086 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8089 \begin_layout Plain Layout
8095 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8098 \begin_layout Plain Layout
8106 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8109 \begin_layout Plain Layout
8117 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8120 \begin_layout Plain Layout
8126 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8129 \begin_layout Plain Layout
8137 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8140 \begin_layout Plain Layout
8148 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8151 \begin_layout Plain Layout
8157 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8160 \begin_layout Plain Layout
8168 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8171 \begin_layout Plain Layout
8179 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8182 \begin_layout Plain Layout
8188 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8191 \begin_layout Plain Layout
8199 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8202 \begin_layout Plain Layout
8210 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8213 \begin_layout Plain Layout
8219 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8222 \begin_layout Plain Layout
8230 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8233 \begin_layout Plain Layout
8241 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8244 \begin_layout Plain Layout
8250 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8253 \begin_layout Plain Layout
8261 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8264 \begin_layout Plain Layout
8272 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8275 \begin_layout Plain Layout
8281 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8284 \begin_layout Plain Layout
8292 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8295 \begin_layout Plain Layout
8303 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8306 \begin_layout Plain Layout
8312 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8315 \begin_layout Plain Layout
8323 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8326 \begin_layout Plain Layout
8334 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8337 \begin_layout Plain Layout
8343 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8346 \begin_layout Plain Layout
8354 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8357 \begin_layout Plain Layout
8365 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8368 \begin_layout Plain Layout
8374 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8377 \begin_layout Plain Layout
8385 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8388 \begin_layout Plain Layout
8397 \begin_layout Plain Layout
8408 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8411 \begin_layout Plain Layout
8417 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8420 \begin_layout Plain Layout
8428 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8431 \begin_layout Plain Layout
8439 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8442 \begin_layout Plain Layout
8448 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8451 \begin_layout Plain Layout
8459 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8462 \begin_layout Plain Layout
8470 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8473 \begin_layout Plain Layout
8479 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8482 \begin_layout Plain Layout
8490 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8493 \begin_layout Plain Layout
8501 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8504 \begin_layout Plain Layout
8510 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8513 \begin_layout Plain Layout
8521 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8524 \begin_layout Plain Layout
8532 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8535 \begin_layout Plain Layout
8541 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8544 \begin_layout Plain Layout
8552 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8555 \begin_layout Plain Layout
8563 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8566 \begin_layout Plain Layout
8572 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8575 \begin_layout Plain Layout
8583 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8586 \begin_layout Plain Layout
8594 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8597 \begin_layout Plain Layout
8603 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8606 \begin_layout Plain Layout
8614 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8617 \begin_layout Plain Layout
8625 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8628 \begin_layout Plain Layout
8634 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8637 \begin_layout Plain Layout
8645 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8648 \begin_layout Plain Layout
8656 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8659 \begin_layout Plain Layout
8665 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8668 \begin_layout Plain Layout
8676 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8679 \begin_layout Plain Layout
8687 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8690 \begin_layout Plain Layout
8696 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8699 \begin_layout Plain Layout
8707 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8710 \begin_layout Plain Layout
8718 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8721 \begin_layout Plain Layout
8727 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8730 \begin_layout Plain Layout
8738 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8741 \begin_layout Plain Layout
8749 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8752 \begin_layout Plain Layout
8758 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8761 \begin_layout Plain Layout
8769 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8772 \begin_layout Plain Layout
8780 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8783 \begin_layout Plain Layout
8789 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8792 \begin_layout Plain Layout
8800 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8803 \begin_layout Plain Layout
8811 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8814 \begin_layout Plain Layout
8820 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8823 \begin_layout Plain Layout
8831 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8834 \begin_layout Plain Layout
8842 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8845 \begin_layout Plain Layout
8851 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8854 \begin_layout Plain Layout
8862 <cell alignment="center" valignment="top" leftline="true" usebox="none">
8865 \begin_layout Plain Layout
8873 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8876 \begin_layout Plain Layout
8882 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8885 \begin_layout Plain Layout
8893 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8896 \begin_layout Plain Layout
8904 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
8907 \begin_layout Plain Layout
8913 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
8916 \begin_layout Plain Layout
8924 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8927 \begin_layout Plain Layout
8933 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8936 \begin_layout Plain Layout
8942 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8945 \begin_layout Plain Layout
8953 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8956 \begin_layout Plain Layout
8964 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8967 \begin_layout Plain Layout
8973 <cell alignment="center" valignment="top" rightline="true" usebox="none">
8976 \begin_layout Plain Layout
8984 <cell alignment="left" valignment="top" leftline="true" usebox="none">
8987 \begin_layout Plain Layout
8995 <cell alignment="left" valignment="top" rightline="true" usebox="none">
8998 \begin_layout Plain Layout
9004 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9007 \begin_layout Plain Layout
9015 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9018 \begin_layout Plain Layout
9026 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9029 \begin_layout Plain Layout
9035 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9038 \begin_layout Plain Layout
9046 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9049 \begin_layout Plain Layout
9057 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9060 \begin_layout Plain Layout
9066 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9069 \begin_layout Plain Layout
9077 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9080 \begin_layout Plain Layout
9088 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9091 \begin_layout Plain Layout
9097 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9100 \begin_layout Plain Layout
9108 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9111 \begin_layout Plain Layout
9119 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9122 \begin_layout Plain Layout
9128 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9131 \begin_layout Plain Layout
9139 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9142 \begin_layout Plain Layout
9150 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9153 \begin_layout Plain Layout
9159 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9162 \begin_layout Plain Layout
9170 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9173 \begin_layout Plain Layout
9181 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9184 \begin_layout Plain Layout
9190 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9193 \begin_layout Plain Layout
9201 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9204 \begin_layout Plain Layout
9212 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9215 \begin_layout Plain Layout
9221 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9224 \begin_layout Plain Layout
9232 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9235 \begin_layout Plain Layout
9243 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9246 \begin_layout Plain Layout
9252 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9255 \begin_layout Plain Layout
9263 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9266 \begin_layout Plain Layout
9274 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9277 \begin_layout Plain Layout
9283 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9286 \begin_layout Plain Layout
9294 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9297 \begin_layout Plain Layout
9305 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9308 \begin_layout Plain Layout
9314 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9317 \begin_layout Plain Layout
9325 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9328 \begin_layout Plain Layout
9336 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9339 \begin_layout Plain Layout
9345 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9348 \begin_layout Plain Layout
9356 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9359 \begin_layout Plain Layout
9367 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9370 \begin_layout Plain Layout
9376 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9379 \begin_layout Plain Layout
9387 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9390 \begin_layout Plain Layout
9398 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9401 \begin_layout Plain Layout
9407 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9410 \begin_layout Plain Layout
9418 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9421 \begin_layout Plain Layout
9429 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9432 \begin_layout Plain Layout
9438 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9441 \begin_layout Plain Layout
9449 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9452 \begin_layout Plain Layout
9460 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9463 \begin_layout Plain Layout
9469 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9472 \begin_layout Plain Layout
9480 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9483 \begin_layout Plain Layout
9491 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9494 \begin_layout Plain Layout
9500 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9503 \begin_layout Plain Layout
9511 <cell alignment="left" valignment="top" leftline="true" usebox="none">
9514 \begin_layout Plain Layout
9522 <cell alignment="left" valignment="top" rightline="true" usebox="none">
9525 \begin_layout Plain Layout
9531 <cell alignment="center" valignment="top" rightline="true" usebox="none">
9534 \begin_layout Plain Layout
9542 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
9545 \begin_layout Plain Layout
9553 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
9556 \begin_layout Plain Layout
9562 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
9565 \begin_layout Plain Layout
9579 \begin_layout Section
9580 Special Multi-page Table Issues
9581 \begin_inset CommandInset label
9583 name "sec:Special-Longtable-Issues"
9590 \begin_layout Subsection
9591 Multi-page Table Calculation
9592 \begin_inset Index idx
9595 \begin_layout Plain Layout
9596 Table ! Multi-page Table ! Calculation
9604 \begin_layout Standard
9606 calculates the height of table pages and their page breaks using so called
9608 Chunks are parts of tables that held at the same time in \SpecialChar LaTeX
9610 The default value was historically set to only 20
9611 \begin_inset space ~
9615 If you are using multi-page tables with many pages this may slow down the
9616 creation of your document.
9617 You can safely increase the chunk size to values of 100
9618 \begin_inset space \thinspace{}
9622 \begin_inset space \thinspace{}
9625 1000 by adding this command line to your document preamble:
9628 \begin_layout Standard
9633 setcounter{LTchunksize}{100}
9636 \begin_layout Subsection
9637 Floats and Multi-page Tables
9638 \begin_inset Index idx
9641 \begin_layout Plain Layout
9642 Table ! Multi-page Table ! Floats
9650 \begin_layout Standard
9651 There might be problems when a float appears on the same page where a multi-page
9653 To avoid such a situation, insert a
9654 \begin_inset Quotes eld
9658 \begin_inset Quotes erd
9663 Insert\SpecialChar menuseparator
9664 Formatting\SpecialChar menuseparator
9666 \begin_inset space ~
9671 ) before your multi-page table.
9674 \begin_layout Subsection
9676 \begin_inset Index idx
9679 \begin_layout Plain Layout
9680 Table ! Multi-page Table ! Forced Page Breaks
9688 \begin_layout Standard
9689 By default tables are only broken between rows.
9690 If you have a cell with multiples lines and want to have a page break within
9691 the cell, insert the new line command
9692 \begin_inset Quotes eld
9704 \begin_inset Quotes erd
9708 Code at the point of the cell where it can be broken.
9717 command you have to insert in \SpecialChar TeX
9719 \begin_inset Quotes eld
9727 \begin_inset Quotes erd
9730 characters as the number of the following table columns.
9735 is the character to separate table cells.
9736 Write in \SpecialChar TeX
9741 the content of the corresponding following cell and delete the content
9743 \begin_inset Newline newline
9754 command, insert as many
9758 characters as the number of table columns before the current column.
9760 \begin_inset space ~
9764 \begin_inset CommandInset ref
9766 reference "tab:ForcedPagebreak"
9770 the cell that should be broken is in the second column followed by another
9772 Therefore the following command was inserted in the cell as \SpecialChar TeX
9775 \begin_inset Quotes eld
9783 \begin_inset Quotes erd
9789 \begin_layout Standard
9799 \begin_inset Newline newline
9805 \begin_layout Standard
9807 \begin_inset Quotes eld
9811 \begin_inset Quotes erd
9814 in the third column of the row was deleted.
9821 is only needed when a page break should definitely occur at this position,
9822 otherwise it would be a conditional break.
9823 If your footer row of the multi-page table has for a certain reason no
9824 upper line but you would have a horizontal line where the cell is broken,
9825 use this command instead:
9828 \begin_layout Standard
9836 \begin_inset Newline newline
9844 \begin_layout Standard
9845 When the cell to be broken is in the last column, the command
9848 \begin_layout Standard
9858 \begin_layout Standard
9859 must be inserted as \SpecialChar TeX
9860 Code at the beginning of the cell.
9861 This ensures that the part of the cell that will be displayed on the new
9862 page appears with the full width.
9865 \begin_layout Standard
9867 \begin_inset Tabular
9868 <lyxtabular version="3" rows="38" columns="3">
9869 <features islongtable="true" longtabularalignment="center">
9870 <column alignment="left" valignment="top" width="0cm">
9871 <column alignment="left" valignment="top" width="3cm">
9872 <column alignment="center" valignment="top" width="0pt">
9873 <row endfirsthead="true" caption="true">
9874 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9877 \begin_layout Plain Layout
9878 \begin_inset Caption Standard
9880 \begin_layout Plain Layout
9881 Table with forced page break in table cell
9882 \begin_inset CommandInset label
9884 name "tab:ForcedPagebreak"
9889 \begin_inset Argument 1
9892 \begin_layout Plain Layout
9893 Table with forced page break in table cell
9908 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9911 \begin_layout Plain Layout
9917 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9920 \begin_layout Plain Layout
9927 <row endfirsthead="true">
9928 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9931 \begin_layout Plain Layout
9934 Example Phone List (ignore the names)
9939 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9942 \begin_layout Plain Layout
9948 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9951 \begin_layout Plain Layout
9958 <row endfirsthead="true">
9959 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9962 \begin_layout Plain Layout
9970 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9973 \begin_layout Plain Layout
9979 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9982 \begin_layout Plain Layout
9991 <row endhead="true" caption="true">
9992 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9995 \begin_layout Plain Layout
9996 \begin_inset Caption Unnumbered
9998 \begin_layout Plain Layout
9999 Continued Example Phone List
10009 <cell multicolumn="2" alignment="left" valignment="top" rightline="true" usebox="none">
10012 \begin_layout Plain Layout
10018 <cell multicolumn="2" alignment="center" valignment="top" rightline="true" usebox="none">
10021 \begin_layout Plain Layout
10028 <row endhead="true">
10029 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10032 \begin_layout Plain Layout
10040 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10043 \begin_layout Plain Layout
10049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10052 \begin_layout Plain Layout
10059 <row endhead="true">
10060 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10063 \begin_layout Plain Layout
10071 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10074 \begin_layout Plain Layout
10080 <cell alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
10083 \begin_layout Plain Layout
10092 <row endfoot="true">
10093 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
10096 \begin_layout Plain Layout
10097 continued on next page
10102 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
10105 \begin_layout Plain Layout
10111 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10114 \begin_layout Plain Layout
10122 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10125 \begin_layout Plain Layout
10133 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10136 \begin_layout Plain Layout
10142 <cell alignment="right" valignment="top" rightline="true" usebox="none">
10145 \begin_layout Plain Layout
10153 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10156 \begin_layout Plain Layout
10164 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10167 \begin_layout Plain Layout
10173 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10176 \begin_layout Plain Layout
10184 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10187 \begin_layout Plain Layout
10195 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10198 \begin_layout Plain Layout
10204 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10207 \begin_layout Plain Layout
10215 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10218 \begin_layout Plain Layout
10226 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10229 \begin_layout Plain Layout
10235 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10238 \begin_layout Plain Layout
10246 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10249 \begin_layout Plain Layout
10257 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10260 \begin_layout Plain Layout
10266 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10269 \begin_layout Plain Layout
10277 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10280 \begin_layout Plain Layout
10288 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10291 \begin_layout Plain Layout
10297 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10300 \begin_layout Plain Layout
10308 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10311 \begin_layout Plain Layout
10319 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10322 \begin_layout Plain Layout
10328 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10331 \begin_layout Plain Layout
10339 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10342 \begin_layout Plain Layout
10350 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10353 \begin_layout Plain Layout
10359 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10362 \begin_layout Plain Layout
10370 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10373 \begin_layout Plain Layout
10381 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10384 \begin_layout Plain Layout
10390 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10393 \begin_layout Plain Layout
10401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10404 \begin_layout Plain Layout
10412 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10415 \begin_layout Plain Layout
10421 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10424 \begin_layout Plain Layout
10432 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10435 \begin_layout Plain Layout
10443 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10446 \begin_layout Plain Layout
10452 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10455 \begin_layout Plain Layout
10463 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10466 \begin_layout Plain Layout
10474 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10477 \begin_layout Plain Layout
10483 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10486 \begin_layout Plain Layout
10494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10497 \begin_layout Plain Layout
10505 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10508 \begin_layout Plain Layout
10514 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10517 \begin_layout Plain Layout
10525 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10528 \begin_layout Plain Layout
10536 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10539 \begin_layout Plain Layout
10545 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10548 \begin_layout Plain Layout
10556 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10559 \begin_layout Plain Layout
10567 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10570 \begin_layout Plain Layout
10576 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10579 \begin_layout Plain Layout
10587 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10590 \begin_layout Plain Layout
10598 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10601 \begin_layout Plain Layout
10607 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10610 \begin_layout Plain Layout
10618 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10621 \begin_layout Plain Layout
10629 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10632 \begin_layout Plain Layout
10638 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10641 \begin_layout Plain Layout
10649 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10652 \begin_layout Plain Layout
10660 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10663 \begin_layout Plain Layout
10669 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10672 \begin_layout Plain Layout
10680 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10683 \begin_layout Plain Layout
10691 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10694 \begin_layout Plain Layout
10700 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10703 \begin_layout Plain Layout
10711 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10714 \begin_layout Plain Layout
10722 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10725 \begin_layout Plain Layout
10731 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10734 \begin_layout Plain Layout
10742 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10745 \begin_layout Plain Layout
10753 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10756 \begin_layout Plain Layout
10762 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10765 \begin_layout Plain Layout
10773 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10776 \begin_layout Plain Layout
10784 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10787 \begin_layout Plain Layout
10793 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10796 \begin_layout Plain Layout
10804 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10807 \begin_layout Plain Layout
10815 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10818 \begin_layout Plain Layout
10820 Fürst von Montecompatri, 11.
10821 Fürst von Sulmona und Vivaro, 10.
10822 Fürst von Rossano, 5.
10823 Herzog von Canemorte, 11.
10824 Herzog von Palombara, 5.
10825 Herzog von Castelchiodato,
10829 \begin_layout Plain Layout
10840 \begin_layout Plain Layout
10848 Herzog von Poggionativo, 11.
10849 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
10850 Graf von Valinfreda, 11.
10851 Baron von Cropalati, 11.
10852 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
10857 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10860 \begin_layout Plain Layout
10868 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10871 \begin_layout Plain Layout
10879 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10882 \begin_layout Plain Layout
10888 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10891 \begin_layout Plain Layout
10899 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10902 \begin_layout Plain Layout
10910 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10913 \begin_layout Plain Layout
10919 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10922 \begin_layout Plain Layout
10930 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10933 \begin_layout Plain Layout
10941 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10944 \begin_layout Plain Layout
10950 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10953 \begin_layout Plain Layout
10961 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10964 \begin_layout Plain Layout
10972 <cell alignment="left" valignment="top" rightline="true" usebox="none">
10975 \begin_layout Plain Layout
10981 <cell alignment="center" valignment="top" rightline="true" usebox="none">
10984 \begin_layout Plain Layout
10992 <cell alignment="center" valignment="top" leftline="true" usebox="none">
10995 \begin_layout Plain Layout
11003 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11006 \begin_layout Plain Layout
11012 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11015 \begin_layout Plain Layout
11023 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11026 \begin_layout Plain Layout
11034 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11037 \begin_layout Plain Layout
11043 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11046 \begin_layout Plain Layout
11054 <cell alignment="center" valignment="top" leftline="true" usebox="none">
11057 \begin_layout Plain Layout
11065 <cell alignment="left" valignment="top" rightline="true" usebox="none">
11068 \begin_layout Plain Layout
11074 <cell alignment="center" valignment="top" rightline="true" usebox="none">
11077 \begin_layout Plain Layout
11085 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11088 \begin_layout Plain Layout
11096 <cell alignment="left" valignment="top" bottomline="true" rightline="true" usebox="none">
11099 \begin_layout Plain Layout
11105 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
11108 \begin_layout Plain Layout
11122 \begin_layout Section
11123 Multiple Lines, Columns and Rows
11126 \begin_layout Subsection
11127 Multiple Lines in Table Cells
11128 \begin_inset CommandInset label
11130 name "subsec:Multiple-Lines-in"
11135 \begin_inset Index idx
11138 \begin_layout Plain Layout
11139 Multiple Lines in Table Cells
11145 \begin_inset Index idx
11148 \begin_layout Plain Layout
11157 \begin_layout Standard
11159 \begin_inset Float table
11165 \begin_layout Plain Layout
11166 \begin_inset Caption Standard
11168 \begin_layout Plain Layout
11169 \begin_inset CommandInset label
11171 name "tab:Table-with-multiple"
11175 Table with multiple lines in cells
11183 \begin_layout Plain Layout
11185 \begin_inset Tabular
11186 <lyxtabular version="3" rows="3" columns="3">
11187 <features tabularvalignment="middle">
11188 <column alignment="center" valignment="middle" width="2.5cm">
11189 <column alignment="center" valignment="middle">
11190 <column alignment="center" valignment="middle">
11192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11195 \begin_layout Plain Layout
11197 \begin_inset Newline linebreak
11205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11208 \begin_layout Plain Layout
11214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11217 \begin_layout Plain Layout
11225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11228 \begin_layout Plain Layout
11234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11237 \begin_layout Plain Layout
11243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11246 \begin_layout Plain Layout
11254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11257 \begin_layout Plain Layout
11263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11266 \begin_layout Plain Layout
11272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11275 \begin_layout Plain Layout
11294 \begin_layout Standard
11295 Setting a fixed width for a column enables you to enter text as a paragraph
11296 with multiple lines and hyphenation.
11299 \begin_layout Standard
11301 \begin_inset space ~
11305 \begin_inset CommandInset ref
11307 reference "tab:Table-with-multiple"
11311 , create a 3×3 table, mark the first cell and right-click on it.
11312 In the appearing table dialog we set a cell width of 2.5
11313 \begin_inset space \thinspace{}
11316 cm and choose centered for the vertical and horizontal alignment.
11317 The vertical alignment is used for all cells of the row.
11318 As our text is smaller than 2.5
11319 \begin_inset space \thinspace{}
11322 cm, only one line will appear.
11323 To get two lines, a justified line break (shortcut
11326 arg "newline-insert linebreak"
11330 If the text is wider than the set cell width, it will automatically be
11331 broken to several lines.
11334 \begin_layout Standard
11335 If you have a long word in a cell with a fixed width, it cannot be hyphenated
11336 by \SpecialChar LaTeX
11337 if it is the first entry.
11338 Therefore you need to insert something to prevent the word not being the
11340 So add a horizontal space of 0
11341 \begin_inset space \thinspace{}
11344 pt before the word.
11345 As the space is zero, it doesn't change the output.
11347 \begin_inset space ~
11351 \begin_inset CommandInset ref
11353 reference "tab:Table-with-and"
11360 \begin_layout Standard
11361 \begin_inset Float table
11367 \begin_layout Plain Layout
11368 \begin_inset Caption Standard
11370 \begin_layout Plain Layout
11371 \begin_inset CommandInset label
11373 name "tab:Table-with-and"
11377 Table with and without hyphenation
11385 \begin_layout Plain Layout
11386 \begin_inset space \hfill{}
11390 \begin_inset Tabular
11391 <lyxtabular version="3" rows="3" columns="3">
11392 <features tabularvalignment="middle">
11393 <column alignment="center" valignment="middle" width="2.5cm">
11394 <column alignment="center" valignment="middle">
11395 <column alignment="center" valignment="middle">
11397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11400 \begin_layout Plain Layout
11401 verylongtablecellword
11406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11409 \begin_layout Plain Layout
11415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11418 \begin_layout Plain Layout
11426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11429 \begin_layout Plain Layout
11435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11438 \begin_layout Plain Layout
11444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11447 \begin_layout Plain Layout
11455 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11458 \begin_layout Plain Layout
11464 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11467 \begin_layout Plain Layout
11473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11476 \begin_layout Plain Layout
11488 \begin_inset space \hfill{}
11492 \begin_inset Tabular
11493 <lyxtabular version="3" rows="3" columns="3">
11494 <features tabularvalignment="middle">
11495 <column alignment="center" valignment="middle" width="2.5cm">
11496 <column alignment="center" valignment="middle">
11497 <column alignment="center" valignment="middle">
11499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11502 \begin_layout Plain Layout
11503 \begin_inset space \hspace{}
11507 verylongtablecellword
11512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11515 \begin_layout Plain Layout
11521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11524 \begin_layout Plain Layout
11532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11535 \begin_layout Plain Layout
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11544 \begin_layout Plain Layout
11550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11553 \begin_layout Plain Layout
11561 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11564 \begin_layout Plain Layout
11570 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11573 \begin_layout Plain Layout
11579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11582 \begin_layout Plain Layout
11594 \begin_inset space \hfill{}
11605 \begin_layout Subsection
11607 \begin_inset CommandInset label
11609 name "subsec:Multicolumns"
11614 \begin_inset Index idx
11617 \begin_layout Plain Layout
11624 \begin_inset Index idx
11627 \begin_layout Plain Layout
11628 Table ! Multicolumns
11636 \begin_layout Subsubsection
11640 \begin_layout Standard
11641 To merge cells over multiple columns, select as many cells within a row
11642 as you want to merge and use either the table-toolbar button
11645 arg "tabular-feature multicolumn"
11650 Edit\SpecialChar menuseparator
11651 Table\SpecialChar menuseparator
11654 , or right click on the marked cells and choose
11658 in the context menu.
11661 \begin_layout Standard
11662 Multicolumns have their own cell settings.
11663 That means changing cell borders, cell alignment, and the width only affects
11665 Here is an example table with a multicolumn cell in the first row and one
11666 in the last row without the upper border:
11669 \begin_layout Standard
11671 \begin_inset Tabular
11672 <lyxtabular version="3" rows="3" columns="4">
11673 <features firstHeadTopDL="true" firstHeadBottomDL="true" tabularvalignment="middle">
11674 <column alignment="center" valignment="top" width="0pt">
11675 <column alignment="center" valignment="middle">
11676 <column alignment="center" valignment="top" width="0in">
11677 <column alignment="center" valignment="top" width="0pt">
11679 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11682 \begin_layout Plain Layout
11688 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
11691 \begin_layout Plain Layout
11697 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11700 \begin_layout Plain Layout
11706 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11709 \begin_layout Plain Layout
11717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11720 \begin_layout Plain Layout
11735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11738 \begin_layout Plain Layout
11744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11747 \begin_layout Plain Layout
11753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11756 \begin_layout Plain Layout
11764 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11767 \begin_layout Plain Layout
11773 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11776 \begin_layout Plain Layout
11782 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11785 \begin_layout Plain Layout
11791 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11794 \begin_layout Plain Layout
11808 \begin_layout Subsubsection
11809 Multicolumn Calculations
11810 \begin_inset CommandInset label
11812 name "subsec:Multicolumn-Calculations"
11817 \begin_inset Index idx
11820 \begin_layout Plain Layout
11821 Multicolumns ! Calculations
11829 \begin_layout Standard
11831 supports multicolumns directly, but we have to take account of the cell
11832 width of the columns spanned by the multicolumn cell.
11835 \begin_layout Standard
11836 \begin_inset Float table
11842 \begin_layout Plain Layout
11843 \begin_inset Caption Standard
11845 \begin_layout Plain Layout
11846 \begin_inset CommandInset label
11848 name "tab:Table-with-centered"
11852 Table with centered multicolumn text above two columns that have exactly
11853 half the width of the multicolumn cell
11854 \begin_inset Argument 1
11857 \begin_layout Plain Layout
11858 Perfect multicolumn table
11871 \begin_layout Plain Layout
11873 \begin_inset Tabular
11874 <lyxtabular version="3" rows="3" columns="3">
11875 <features tabularvalignment="middle">
11876 <column alignment="center" valignment="middle" special=">{\centering}m{1.25cm-6.2pt}">
11877 <column alignment="center" valignment="middle">
11878 <column alignment="center" valignment="top">
11880 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11883 \begin_layout Plain Layout
11884 multiple lines multicolumn
11889 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11892 \begin_layout Plain Layout
11898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11901 \begin_layout Plain Layout
11909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11912 \begin_layout Plain Layout
11918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11921 \begin_layout Plain Layout
11927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11930 \begin_layout Plain Layout
11938 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11941 \begin_layout Plain Layout
11947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
11950 \begin_layout Plain Layout
11956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
11959 \begin_layout Plain Layout
11978 \begin_layout Standard
11979 To create for example Table
11980 \begin_inset space ~
11984 \begin_inset CommandInset ref
11986 reference "tab:Table-with-centered"
11990 , mark the first two cells in the first row of a 3×3 table and right-click
11992 Now choose for this cell
12001 \begin_inset space \thinspace{}
12004 cm in the table dialog.
12005 The merged columns should have exactly half the width of the multicolumn
12006 cell, so that you would set a width of 1.25
12007 \begin_inset space \thinspace{}
12010 cm for the first column.
12011 The second column has then automatically a width of 1.25
12012 \begin_inset space \thinspace{}
12015 cm (multicolumn width - width of first column).
12016 This was done for Table
12017 \begin_inset space ~
12021 \begin_inset CommandInset ref
12023 reference "tab:Table-without-half"
12030 \begin_layout Standard
12031 \begin_inset Float table
12036 \begin_layout Plain Layout
12037 \begin_inset Caption Standard
12039 \begin_layout Plain Layout
12040 \begin_inset CommandInset label
12042 name "tab:Table-without-half"
12046 Table where the spanned table columns are not exactly half the width of
12047 the multicolumn cell
12048 \begin_inset Argument 1
12051 \begin_layout Plain Layout
12052 Imperfect multicolumn table
12065 \begin_layout Plain Layout
12067 \begin_inset Tabular
12068 <lyxtabular version="3" rows="3" columns="3">
12069 <features tabularvalignment="middle">
12070 <column alignment="center" valignment="top" width="1.25cm">
12071 <column alignment="center" valignment="top">
12072 <column alignment="center" valignment="top">
12074 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
12077 \begin_layout Plain Layout
12078 multiple lines multicolumn
12083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12086 \begin_layout Plain Layout
12092 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12095 \begin_layout Plain Layout
12103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12106 \begin_layout Plain Layout
12112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12115 \begin_layout Plain Layout
12121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12124 \begin_layout Plain Layout
12132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12135 \begin_layout Plain Layout
12141 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12144 \begin_layout Plain Layout
12150 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12153 \begin_layout Plain Layout
12172 \begin_layout Standard
12173 You can see that the first column is not half the width of the multicolumn
12174 cell, it is a bit bigger.
12175 The reason is that the specified width of a cell
12176 \begin_inset Formula $W_{g}$
12179 is not its total width
12180 \begin_inset Formula $W_{\mathrm{tot}}$
12183 because a cell is always a bit larger than specified.
12185 \begin_inset space ~
12189 \begin_inset CommandInset ref
12191 reference "cha:Explanation-of-Equation"
12195 explains this in detail.
12198 \begin_layout Standard
12200 \begin_inset Formula $W_{g\,n}$
12203 which the user needs to set when
12207 columns are spanned can be calculated, so that each column has a total
12209 \begin_inset Formula $W_{\mathrm{tot\,multicolumn}}/n$
12213 \begin_inset Formula
12215 W_{g\,n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}
12223 \begin_layout Standard
12224 In our case we have
12225 \begin_inset Formula $n=2$
12229 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
12232 cm and the default values for the lengths, so that equation
12233 \begin_inset CommandInset ref
12240 \begin_inset Formula
12242 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}
12250 \begin_layout Standard
12251 To enable calculations in \SpecialChar LaTeX
12252 , the \SpecialChar LaTeX
12257 must be loaded with the document preamble line
12258 \begin_inset Index idx
12261 \begin_layout Plain Layout
12271 \begin_layout Standard
12279 \begin_layout Standard
12281 does not allow you to calculate lengths in the
12285 field of the table dialog.
12286 Therefore you have to format the column by inserting a \SpecialChar LaTeX
12289 Here is an overview about the arguments:
12292 \begin_layout Itemize
12297 creates cell with a fixed width, its text is vertically top-aligned
12300 \begin_layout Itemize
12305 creates cell with a fixed width, its text is vertically centered
12308 \begin_layout Itemize
12313 creates cell with a fixed width, its text is vertically bottom-aligned
12316 \begin_layout Standard
12317 By entering a \SpecialChar LaTeX
12318 -argument, all cell settings set in the table dialog are overwritt
12322 \begin_layout Standard
12323 \begin_inset Note Greyedout
12326 \begin_layout Plain Layout
12331 Due to a bug, \SpecialChar LyX
12332 shows the overwritten settings anyway.
12340 \begin_layout Standard
12341 As the text should be horizontally centered, the command
12348 You can now enter the following \SpecialChar LaTeX
12349 -argument for the first spanned column:
12352 \begin_layout Standard
12357 centering}m{1.25cm-6.2pt}
12360 \begin_layout Standard
12365 means, that the commands inside the braces are applied before the cell
12369 \begin_layout Standard
12370 Although we have chosen centered alignment for the text of the multicolumn
12371 cell, it is still left aligned.
12372 This is because \SpecialChar LyX
12373 only applies the alignment to single columns.
12374 So for the multicolumn cell we have to use the \SpecialChar LaTeX
12378 \begin_layout Standard
12386 \begin_layout Subsection
12388 \begin_inset CommandInset label
12390 name "subsec:Multirows"
12395 \begin_inset Index idx
12398 \begin_layout Plain Layout
12405 \begin_inset Index idx
12408 \begin_layout Plain Layout
12417 \begin_layout Standard
12418 To merge cells over multiple rows, select as many cells within a column
12419 as you want to merge and use either the table-toolbar button
12422 arg "tabular-feature multirow"
12427 Edit\SpecialChar menuseparator
12428 Table\SpecialChar menuseparator
12431 , or right click on the marked cells and choose
12435 in the context menu.
12438 \begin_layout Standard
12439 Here is an example table with a multirow in the first column:
12442 \begin_layout Standard
12444 \begin_inset Tabular
12445 <lyxtabular version="3" rows="3" columns="3">
12446 <features tabularvalignment="middle">
12447 <column alignment="center" valignment="top" width="0pt">
12448 <column alignment="center" valignment="top">
12449 <column alignment="center" valignment="top">
12451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12454 \begin_layout Plain Layout
12460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12463 \begin_layout Plain Layout
12469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12472 \begin_layout Plain Layout
12480 <cell multirow="3" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12483 \begin_layout Plain Layout
12489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12492 \begin_layout Plain Layout
12498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12501 \begin_layout Plain Layout
12509 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12512 \begin_layout Plain Layout
12518 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12521 \begin_layout Plain Layout
12527 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12530 \begin_layout Plain Layout
12544 \begin_layout Standard
12545 The width of multirow cells is set by setting the width and alignment for
12551 shifts the content of the multirow up/down if the offset is positive/negative.
12554 \begin_layout Standard
12555 If the column of a multirow cell has no explicit width, the multirow cell
12556 inherits the alignment of the column.
12557 Otherwise it is by default left-aligned.
12558 To override the default, renew the command
12567 \begin_layout Standard
12579 \begin_layout Standard
12580 in the document preamble.
12581 Then all entries of multirow cells in the document are centered.
12582 If centering is only needed for several tables, you can renew the command
12583 in a \SpecialChar TeX
12584 Code box just before the table instead of the preamble.
12585 If the text should be right-aligned, replace
12598 To return to left-alignment
12607 \begin_layout Standard
12608 This is an example table with a right-aligned multirow cell that has a vertical
12610 \begin_inset space \thinspace{}
12614 \begin_inset space \thinspace{}
12620 \begin_layout Standard
12626 \begin_layout Plain Layout
12640 \begin_inset Tabular
12641 <lyxtabular version="3" rows="4" columns="3">
12642 <features tabularvalignment="middle">
12643 <column alignment="center" valignment="top" width="3cm">
12644 <column alignment="center" valignment="top">
12645 <column alignment="center" valignment="top">
12647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12650 \begin_layout Plain Layout
12656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12659 \begin_layout Plain Layout
12665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12668 \begin_layout Plain Layout
12676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12679 \begin_layout Plain Layout
12685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12688 \begin_layout Plain Layout
12694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12697 \begin_layout Plain Layout
12705 <cell multirow="3" mroffset="-4mm" alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12708 \begin_layout Plain Layout
12714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12717 \begin_layout Plain Layout
12723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12726 \begin_layout Plain Layout
12734 <cell multirow="4" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12737 \begin_layout Plain Layout
12743 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12746 \begin_layout Plain Layout
12752 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12755 \begin_layout Plain Layout
12770 \begin_layout Plain Layout
12786 \begin_layout Standard
12787 To start a new line in a multirow you can use a forced line break (shortcut
12791 arg "newline-insert newline"
12794 ) but this will not respect the cell lines as demonstrated in this table:
12797 \begin_layout Standard
12800 \begin_inset Tabular
12801 <lyxtabular version="3" rows="3" columns="2">
12802 <features tabularvalignment="middle">
12803 <column alignment="left" valignment="middle" width="2cm">
12804 <column alignment="center" valignment="top">
12806 <cell multirow="3" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12809 \begin_layout Plain Layout
12811 \begin_inset Newline newline
12815 \begin_inset Newline newline
12823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12826 \begin_layout Plain Layout
12834 <cell multirow="4" alignment="left" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
12837 \begin_layout Plain Layout
12843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12846 \begin_layout Plain Layout
12854 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
12857 \begin_layout Plain Layout
12863 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
12866 \begin_layout Plain Layout
12880 \begin_layout Standard
12881 Therefore be careful with forced line breaks.
12884 \begin_layout Subsection
12885 Cells with diagonal line(s)
12888 \begin_layout Standard
12889 To tell the reader what is meant by column and row headings in a table,
12890 it is helpful to split the first cell of the table by one or two diagonal
12892 This can be achieved by loading the \SpecialChar LaTeX
12898 \begin_inset Index idx
12901 \begin_layout Plain Layout
12903 -packages ! picinpar
12908 in the document preamble.
12909 The package provides the command
12915 that is inserted as \SpecialChar TeX
12916 Code and that can take 2 or 3
12917 \begin_inset space ~
12923 \begin_layout Standard
12928 diagbox[options]{lower left}{upper right}
12931 \begin_layout Standard
12936 diagbox[options]{lower left}{upper left}{upper right}
12939 \begin_layout Standard
12940 The first scheme divides the cell by a single diagonal line and the arguments
12941 are placed below and above this line.
12942 The second scheme divides the cell by 2
12943 \begin_inset space ~
12949 \begin_layout Standard
12953 \begin_layout Plain Layout
12963 \begin_inset Note Note
12966 \begin_layout Plain Layout
12967 The following section will only be displayed when the \SpecialChar LaTeX
12980 \begin_layout Standard
12981 Here is an example table where
12987 is used in the 2-argument scheme in the first cell:
12988 \begin_inset VSpace medskip
12994 \begin_layout Standard
12996 \begin_inset Tabular
12997 <lyxtabular version="3" rows="4" columns="4">
12998 <features tabularvalignment="middle">
12999 <column alignment="center" valignment="top">
13000 <column alignment="center" valignment="top">
13001 <column alignment="center" valignment="top">
13002 <column alignment="center" valignment="top">
13004 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13007 \begin_layout Plain Layout
13011 \begin_layout Plain Layout
13024 \begin_layout Plain Layout
13035 \begin_layout Plain Layout
13047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13050 \begin_layout Plain Layout
13056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13059 \begin_layout Plain Layout
13065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13068 \begin_layout Plain Layout
13076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13079 \begin_layout Plain Layout
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13088 \begin_layout Plain Layout
13094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13097 \begin_layout Plain Layout
13103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13106 \begin_layout Plain Layout
13114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13117 \begin_layout Plain Layout
13123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13126 \begin_layout Plain Layout
13132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13135 \begin_layout Plain Layout
13141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13144 \begin_layout Plain Layout
13152 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13155 \begin_layout Plain Layout
13161 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13164 \begin_layout Plain Layout
13170 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13173 \begin_layout Plain Layout
13179 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13182 \begin_layout Plain Layout
13194 \begin_inset VSpace medskip
13200 \begin_layout Standard
13201 The 3-argument scheme is for example useful for cross-tables of sports leagues
13205 \begin_layout Standard
13208 \begin_inset Tabular
13209 <lyxtabular version="3" rows="4" columns="4">
13210 <features tabularvalignment="middle">
13211 <column alignment="center" valignment="top" width="0pt">
13212 <column alignment="center" valignment="top">
13213 <column alignment="center" valignment="top">
13214 <column alignment="center" valignment="top">
13216 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13219 \begin_layout Plain Layout
13223 \begin_layout Plain Layout
13236 \begin_layout Plain Layout
13247 \begin_layout Plain Layout
13258 \begin_layout Plain Layout
13270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13273 \begin_layout Plain Layout
13279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13282 \begin_layout Plain Layout
13288 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13291 \begin_layout Plain Layout
13299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13302 \begin_layout Plain Layout
13308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13311 \begin_layout Plain Layout
13317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13320 \begin_layout Plain Layout
13326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13329 \begin_layout Plain Layout
13337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13340 \begin_layout Plain Layout
13346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13349 \begin_layout Plain Layout
13355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13358 \begin_layout Plain Layout
13364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13367 \begin_layout Plain Layout
13375 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13378 \begin_layout Plain Layout
13384 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13387 \begin_layout Plain Layout
13393 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13396 \begin_layout Plain Layout
13402 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13405 \begin_layout Plain Layout
13419 \begin_layout Standard
13420 For larger cross-tables one might use split cells in 2 or every corner of
13421 the table like in this example:
13424 \begin_layout Standard
13427 \begin_inset Tabular
13428 <lyxtabular version="3" rows="5" columns="5">
13429 <features tabularvalignment="middle">
13430 <column alignment="center" valignment="top" width="0pt">
13431 <column alignment="center" valignment="top">
13432 <column alignment="center" valignment="top">
13433 <column alignment="center" valignment="top">
13434 <column alignment="center" valignment="top">
13436 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13439 \begin_layout Plain Layout
13443 \begin_layout Plain Layout
13456 \begin_layout Plain Layout
13467 \begin_layout Plain Layout
13478 \begin_layout Plain Layout
13490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13493 \begin_layout Plain Layout
13499 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13502 \begin_layout Plain Layout
13508 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13511 \begin_layout Plain Layout
13517 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13520 \begin_layout Plain Layout
13524 \begin_layout Plain Layout
13537 \begin_layout Plain Layout
13548 \begin_layout Plain Layout
13559 \begin_layout Plain Layout
13573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13576 \begin_layout Plain Layout
13582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13585 \begin_layout Plain Layout
13591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13594 \begin_layout Plain Layout
13600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13603 \begin_layout Plain Layout
13609 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13612 \begin_layout Plain Layout
13620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13623 \begin_layout Plain Layout
13629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13632 \begin_layout Plain Layout
13638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13641 \begin_layout Plain Layout
13647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13650 \begin_layout Plain Layout
13656 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13659 \begin_layout Plain Layout
13667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13670 \begin_layout Plain Layout
13676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13679 \begin_layout Plain Layout
13685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13688 \begin_layout Plain Layout
13694 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13697 \begin_layout Plain Layout
13703 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
13706 \begin_layout Plain Layout
13714 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13717 \begin_layout Plain Layout
13721 \begin_layout Plain Layout
13734 \begin_layout Plain Layout
13745 \begin_layout Plain Layout
13756 \begin_layout Plain Layout
13768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13771 \begin_layout Plain Layout
13777 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13780 \begin_layout Plain Layout
13786 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13789 \begin_layout Plain Layout
13795 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
13798 \begin_layout Plain Layout
13802 \begin_layout Plain Layout
13815 \begin_layout Plain Layout
13826 \begin_layout Plain Layout
13837 \begin_layout Plain Layout
13857 \begin_layout Standard
13858 To rotate the diagonal lines, the command option
13883 and represent a point of a compass.
13888 is for example the south-west corner.
13889 Thus in the lower left cell of the above table the command
13892 \begin_layout Standard
13897 diagbox[dir=SW]{Team home}{Result}{Team away}
13900 \begin_layout Standard
13902 If no direction is given, it will be NW.
13905 \begin_layout Standard
13906 The necessary width of split cells is automatically calculated.
13907 Thus if you set a fixed column width smaller than the calculated one, the
13908 cell's content will protrude the cell borders:
13911 \begin_layout Standard
13914 \begin_inset Tabular
13915 <lyxtabular version="3" rows="2" columns="2">
13916 <features tabularvalignment="middle">
13917 <column alignment="center" valignment="top" width="3cm">
13918 <column alignment="center" valignment="top">
13920 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13923 \begin_layout Plain Layout
13927 \begin_layout Plain Layout
13940 \begin_layout Plain Layout
13951 \begin_layout Plain Layout
13963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13966 \begin_layout Plain Layout
13974 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
13977 \begin_layout Plain Layout
13983 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
13986 \begin_layout Plain Layout
14000 \begin_layout Standard
14001 If you need a certain width for columns with a split cell, use the command
14006 (replace '3cm' by the width you need).
14007 In the following table the width of the first column is set to 4
14008 \begin_inset space \thinspace{}
14019 \begin_inset space \thinspace{}
14023 \begin_inset space \thinspace{}
14028 tabcolsep is necessary because the overall width is the width for the text
14029 (in this case the 4
14030 \begin_inset space \thinspace{}
14033 cm) plus two times the separation of the text and the cell border.
14034 The calculation of the width cannot be done in the command option of
14040 so one needs to create a new length which can be used later.
14041 This is done with the \SpecialChar TeX
14045 \begin_layout Standard
14053 \begin_inset Newline newline
14065 \begin_layout Standard
14069 \begin_layout Plain Layout
14078 \begin_layout Plain Layout
14094 \begin_layout Standard
14095 To enable calculations in \SpecialChar LaTeX
14096 one needs to load the package
14101 \begin_inset Index idx
14104 \begin_layout Plain Layout
14111 in the document preamble.
14114 \begin_layout Standard
14115 In this table you can now use the command
14118 \begin_layout Standard
14128 \begin_layout Standard
14132 \begin_layout Standard
14135 \begin_inset Tabular
14136 <lyxtabular version="3" rows="2" columns="2">
14137 <features tabularvalignment="middle">
14138 <column alignment="center" valignment="top" width="4cm">
14139 <column alignment="center" valignment="top">
14141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14144 \begin_layout Plain Layout
14148 \begin_layout Plain Layout
14163 \begin_layout Plain Layout
14174 \begin_layout Plain Layout
14186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14189 \begin_layout Plain Layout
14197 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14200 \begin_layout Plain Layout
14206 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14209 \begin_layout Plain Layout
14223 \begin_layout Standard
14224 Note that the split cell needs to be the widest one in the column.
14225 Otherwise the length of the diagonal line cannot be calculated correctly
14226 like in this table:
14229 \begin_layout Standard
14232 \begin_inset Tabular
14233 <lyxtabular version="3" rows="2" columns="2">
14234 <features tabularvalignment="middle">
14235 <column alignment="center" valignment="top" width="0pt">
14236 <column alignment="center" valignment="top">
14238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14241 \begin_layout Plain Layout
14245 \begin_layout Plain Layout
14258 \begin_layout Plain Layout
14269 \begin_layout Plain Layout
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14284 \begin_layout Plain Layout
14292 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14295 \begin_layout Plain Layout
14301 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14304 \begin_layout Plain Layout
14318 \begin_layout Standard
14319 In this case use the
14330 It is then not necessary to add 2
14332 tabcolsep because the cell width is now the width of the column.
14333 In this table a width of 3
14334 \begin_inset space \thinspace{}
14340 \begin_layout Standard
14343 \begin_inset Tabular
14344 <lyxtabular version="3" rows="2" columns="2">
14345 <features tabularvalignment="middle">
14346 <column alignment="center" valignment="top" width="0pt">
14347 <column alignment="center" valignment="top">
14349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14352 \begin_layout Plain Layout
14356 \begin_layout Plain Layout
14360 diagbox[width=3cm]{
14369 \begin_layout Plain Layout
14380 \begin_layout Plain Layout
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14395 \begin_layout Plain Layout
14403 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14406 \begin_layout Plain Layout
14412 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14415 \begin_layout Plain Layout
14429 \begin_layout Standard
14430 For multiple text lines in split cells one needs some extra height to fit
14431 the text to the cell.
14432 This can be achieved with the
14442 (replace '3cm' by the height you need).
14443 In the following table the command
14446 \begin_layout Standard
14451 diagbox[width=3cm,height=1.4cm]{A
14462 \begin_layout Standard
14463 is used in the first cell.
14472 creates hereby the line break.
14476 \begin_layout Plain Layout
14477 Breaking lines with
14481 is only possible when the column has a fixed width.
14489 \begin_layout Standard
14492 \begin_inset Tabular
14493 <lyxtabular version="3" rows="2" columns="2">
14494 <features tabularvalignment="middle">
14495 <column alignment="center" valignment="top">
14496 <column alignment="center" valignment="top">
14498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14501 \begin_layout Plain Layout
14505 \begin_layout Plain Layout
14509 diagbox[width=3cm,height=1.4cm]{
14518 \begin_layout Plain Layout
14533 \begin_layout Plain Layout
14544 \begin_layout Plain Layout
14559 \begin_layout Plain Layout
14571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14574 \begin_layout Plain Layout
14582 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
14585 \begin_layout Plain Layout
14591 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
14594 \begin_layout Plain Layout
14608 \begin_layout Standard
14612 \begin_layout Plain Layout
14622 \begin_inset Note Note
14625 \begin_layout Plain Layout
14626 The following will be displayed when the \SpecialChar LaTeX
14639 \begin_layout Standard
14640 You need to install the \SpecialChar LaTeX
14645 to see the following part of this section in the output.
14648 \begin_layout Standard
14652 \begin_layout Plain Layout
14664 \begin_layout Standard
14665 For more info about the \SpecialChar LaTeX
14670 , see its documentation,
14671 \begin_inset CommandInset citation
14680 \begin_layout Section
14682 \begin_inset CommandInset label
14684 name "sec:Formal-Tables"
14689 \begin_inset Index idx
14692 \begin_layout Plain Layout
14701 \begin_layout Standard
14702 Tables are often typeset in books similar to Table
14703 \begin_inset space ~
14707 \begin_inset CommandInset ref
14709 reference "tab:Example-booktabs-table"
14714 This kind of tables is called
14715 \begin_inset Quotes eld
14723 \begin_inset Quotes erd
14727 To make a table a formal table use the option
14735 tab of the table dialog.
14738 \begin_layout Standard
14739 \begin_inset Float table
14745 \begin_layout Plain Layout
14746 \begin_inset Caption Standard
14748 \begin_layout Plain Layout
14749 \begin_inset CommandInset label
14751 name "tab:Example-booktabs-table"
14755 Example booktabs-table
14763 \begin_layout Plain Layout
14765 \begin_inset Tabular
14766 <lyxtabular version="3" rows="8" columns="4">
14767 <features booktabs="true" tabularvalignment="middle">
14768 <column alignment="center" valignment="top">
14769 <column alignment="center" valignment="top">
14770 <column alignment="center" valignment="top">
14771 <column alignment="center" valignment="top">
14773 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14776 \begin_layout Plain Layout
14782 <cell alignment="center" valignment="top" topline="true" usebox="none">
14785 \begin_layout Plain Layout
14787 \begin_inset space \thinspace{}
14795 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
14798 \begin_layout Plain Layout
14800 \begin_inset space \thinspace{}
14808 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14811 \begin_layout Plain Layout
14819 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14822 \begin_layout Plain Layout
14826 \begin_layout Plain Layout
14839 \begin_layout Plain Layout
14848 Detector thickness in µm
14853 <cell alignment="center" valignment="top" usebox="none">
14856 \begin_layout Plain Layout
14862 <cell alignment="center" valignment="top" usebox="none">
14865 \begin_layout Plain Layout
14871 <cell alignment="center" valignment="top" usebox="none">
14874 \begin_layout Plain Layout
14882 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
14885 \begin_layout Plain Layout
14891 <cell alignment="center" valignment="top" topline="true" usebox="none">
14894 \begin_layout Plain Layout
14900 <cell alignment="center" valignment="top" topline="true" usebox="none">
14903 \begin_layout Plain Layout
14909 <cell alignment="center" valignment="top" topline="true" usebox="none">
14912 \begin_layout Plain Layout
14919 <row topspace="default">
14920 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14923 \begin_layout Plain Layout
14924 Spatial resolution in µm
14929 <cell alignment="center" valignment="top" usebox="none">
14932 \begin_layout Plain Layout
14938 <cell alignment="center" valignment="top" usebox="none">
14941 \begin_layout Plain Layout
14947 <cell alignment="center" valignment="top" usebox="none">
14950 \begin_layout Plain Layout
14957 <row topspace="default">
14958 <cell alignment="center" valignment="top" rightline="true" usebox="none">
14961 \begin_layout Plain Layout
14963 \begin_inset Formula $f_{\mathrm{max}}$
14971 <cell alignment="center" valignment="top" usebox="none">
14974 \begin_layout Plain Layout
14980 <cell alignment="center" valignment="top" usebox="none">
14983 \begin_layout Plain Layout
14989 <cell alignment="center" valignment="top" usebox="none">
14992 \begin_layout Plain Layout
14999 <row topspace="default">
15000 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15003 \begin_layout Plain Layout
15007 \begin_layout Plain Layout
15011 cmidrule[2pt](l{10pt}){1-1}
15016 LSF-spatial resolution
15021 <cell alignment="center" valignment="top" usebox="none">
15024 \begin_layout Plain Layout
15030 <cell alignment="center" valignment="top" usebox="none">
15033 \begin_layout Plain Layout
15039 <cell alignment="center" valignment="top" usebox="none">
15042 \begin_layout Plain Layout
15050 <cell alignment="center" valignment="top" rightline="true" usebox="none">
15053 \begin_layout Plain Layout
15059 <cell alignment="center" valignment="top" usebox="none">
15062 \begin_layout Plain Layout
15068 <cell alignment="center" valignment="top" usebox="none">
15071 \begin_layout Plain Layout
15077 <cell alignment="center" valignment="top" usebox="none">
15080 \begin_layout Plain Layout
15088 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15091 \begin_layout Plain Layout
15097 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15100 \begin_layout Plain Layout
15106 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15109 \begin_layout Plain Layout
15115 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15118 \begin_layout Plain Layout
15137 \begin_layout Standard
15138 Spaces to table rows can be added using the
15142 tab of the table dialog as described in section
15143 \begin_inset space ~
15147 \begin_inset CommandInset ref
15149 reference "subsec:Row-Spacing"
15156 \begin_layout Standard
15157 Unlike normal tables, formal tables have no vertical table lines.
15158 The horizontal table lines can be set as for normal tables but they appear
15159 with different widths in the output:
15160 \begin_inset Newline newline
15163 The first and the last table line have a default width of 0.08
15164 \begin_inset space \thinspace{}
15167 em while the other lines have a default width of 0.05
15168 \begin_inset space \thinspace{}
15174 \begin_layout Standard
15175 The default widths can be changed with the following preamble lines
15178 \begin_layout Standard
15188 \begin_inset Newline newline
15200 \begin_layout Standard
15201 This example is for the first line, the so called
15206 If you want to change the width for the last line, replace
15215 To change the width for the other lines replace
15224 You can use all units listed in appendix
15225 \begin_inset space ~
15229 \begin_inset CommandInset ref
15231 reference "cha:Units-available-in"
15238 \begin_layout Standard
15239 Lines that do not span all table columns can be created by setting a table
15240 line for multicolumn cells.
15242 will then internally use the command
15248 to create this line.
15252 \begin_layout Standard
15257 cmidrule[height](trim){startcol-endcol}
15260 \begin_layout Standard
15267 are currently not supported by \SpecialChar LyX
15268 so you have to use \SpecialChar TeX
15277 s can manually be created by inserting the command as \SpecialChar TeX
15279 cell entry of the first cell of a row.
15280 The line is then drawn in the output above the current row.
15283 \begin_layout Standard
15284 The default for the optional
15289 \begin_inset space \thinspace{}
15297 is the number of the column where the line starts and
15301 the column number where the line ends.
15306 always needs to be specified, also when the line should span only one column.
15307 The optional parameter
15324 Using for example the parameter
15328 means that the line is trimmed from its left end by 2
15329 \begin_inset space \thinspace{}
15333 If you don't specify the
15337 the line is trimmed by the default of 0.5
15338 \begin_inset space \thinspace{}
15344 \begin_layout Standard
15345 \begin_inset VSpace bigskip
15349 \begin_inset space ~
15353 \begin_inset CommandInset ref
15355 reference "tab:Example-booktabs-table"
15359 was created using the commands
15362 \begin_layout Standard
15372 \begin_layout Standard
15373 at the beginning of the second row and
15376 \begin_layout Standard
15381 cmidrule[2pt](l{10pt}){1-1}
15384 \begin_layout Standard
15388 \begin_layout Standard
15389 \begin_inset VSpace bigskip
15395 \begin_layout Standard
15396 You might want to have overlapping
15403 \begin_inset space ~
15407 \begin_inset CommandInset ref
15409 reference "tab:Special-booktabs-table"
15414 This can be achieved with the \SpecialChar TeX
15418 \begin_layout Standard
15426 \begin_layout Standard
15427 The command that was used for the second row of Table
15428 \begin_inset space ~
15432 \begin_inset CommandInset ref
15434 reference "tab:Special-booktabs-table"
15441 \begin_layout Standard
15455 \begin_layout Standard
15456 The command for the sixth row is
15459 \begin_layout Standard
15471 \begin_layout Standard
15472 \begin_inset VSpace bigskip
15478 \begin_layout Standard
15479 If you are in any way not satisfied with the border line spacing, you can
15480 use the following command to produce lines that span over all table columns
15485 \begin_layout Standard
15490 specialrule{width}{space above}{space below}
15493 \begin_layout Standard
15494 For more information about these features, refer to the manual of the \SpecialChar LaTeX
15501 \begin_inset CommandInset citation
15508 \begin_inset Index idx
15511 \begin_layout Plain Layout
15513 -packages ! booktabs
15521 \begin_layout Standard
15522 \begin_inset Float table
15528 \begin_layout Plain Layout
15529 \begin_inset Caption Standard
15531 \begin_layout Plain Layout
15532 \begin_inset CommandInset label
15534 name "tab:Special-booktabs-table"
15538 Special booktabs-table
15546 \begin_layout Plain Layout
15548 \begin_inset Tabular
15549 <lyxtabular version="3" rows="8" columns="4">
15550 <features booktabs="true" tabularvalignment="middle">
15551 <column alignment="center" valignment="top">
15552 <column alignment="center" valignment="top">
15553 <column alignment="center" valignment="top">
15554 <column alignment="center" valignment="top">
15556 <cell alignment="center" valignment="top" topline="true" usebox="none">
15559 \begin_layout Plain Layout
15565 <cell alignment="center" valignment="top" topline="true" usebox="none">
15568 \begin_layout Plain Layout
15570 \begin_inset space \thinspace{}
15578 <cell multicolumn="1" alignment="center" valignment="top" topline="true" usebox="none">
15581 \begin_layout Plain Layout
15583 \begin_inset space \thinspace{}
15591 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15594 \begin_layout Plain Layout
15602 <cell alignment="center" valignment="top" usebox="none">
15605 \begin_layout Plain Layout
15609 \begin_layout Plain Layout
15622 \begin_layout Plain Layout
15635 \begin_layout Plain Layout
15648 \begin_layout Plain Layout
15657 Detector thickness in µm
15662 <cell alignment="center" valignment="top" usebox="none">
15665 \begin_layout Plain Layout
15671 <cell alignment="center" valignment="top" usebox="none">
15674 \begin_layout Plain Layout
15680 <cell alignment="center" valignment="top" usebox="none">
15683 \begin_layout Plain Layout
15691 <cell alignment="center" valignment="top" topline="true" usebox="none">
15694 \begin_layout Plain Layout
15700 <cell alignment="center" valignment="top" topline="true" usebox="none">
15703 \begin_layout Plain Layout
15709 <cell alignment="center" valignment="top" topline="true" usebox="none">
15712 \begin_layout Plain Layout
15718 <cell alignment="center" valignment="top" topline="true" usebox="none">
15721 \begin_layout Plain Layout
15728 <row topspace="default">
15729 <cell alignment="center" valignment="top" usebox="none">
15732 \begin_layout Plain Layout
15733 Spatial resolution in µm
15738 <cell alignment="center" valignment="top" usebox="none">
15741 \begin_layout Plain Layout
15747 <cell alignment="center" valignment="top" usebox="none">
15750 \begin_layout Plain Layout
15756 <cell alignment="center" valignment="top" usebox="none">
15759 \begin_layout Plain Layout
15766 <row topspace="default">
15767 <cell alignment="center" valignment="top" usebox="none">
15770 \begin_layout Plain Layout
15772 \begin_inset Formula $f_{\mathrm{max}}$
15780 <cell alignment="center" valignment="top" usebox="none">
15783 \begin_layout Plain Layout
15789 <cell alignment="center" valignment="top" usebox="none">
15792 \begin_layout Plain Layout
15798 <cell alignment="center" valignment="top" usebox="none">
15801 \begin_layout Plain Layout
15809 <cell alignment="center" valignment="top" topline="true" usebox="none">
15812 \begin_layout Plain Layout
15816 \begin_layout Plain Layout
15829 \begin_layout Plain Layout
15838 LSF-spatial resolution
15843 <cell alignment="center" valignment="top" topline="true" usebox="none">
15846 \begin_layout Plain Layout
15852 <cell alignment="center" valignment="top" topline="true" usebox="none">
15855 \begin_layout Plain Layout
15861 <cell alignment="center" valignment="top" topline="true" usebox="none">
15864 \begin_layout Plain Layout
15872 <cell alignment="center" valignment="top" usebox="none">
15875 \begin_layout Plain Layout
15881 <cell alignment="center" valignment="top" usebox="none">
15884 \begin_layout Plain Layout
15890 <cell alignment="center" valignment="top" usebox="none">
15893 \begin_layout Plain Layout
15899 <cell alignment="center" valignment="top" usebox="none">
15902 \begin_layout Plain Layout
15910 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15913 \begin_layout Plain Layout
15919 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15922 \begin_layout Plain Layout
15928 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15931 \begin_layout Plain Layout
15937 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
15940 \begin_layout Plain Layout
15959 \begin_layout Section
15960 Vertical Table Alignment
15961 \begin_inset Index idx
15964 \begin_layout Plain Layout
15973 \begin_layout Standard
15974 To align tables vertically in a text line, the table must be inside a box.
15975 The box can then be vertically aligned as described in section
15976 \begin_inset space ~
15980 \begin_inset CommandInset ref
15982 reference "sec:Box-Dialog"
15989 \begin_layout Standard
15990 In the following example the tables are inside a minipage
15994 \begin_layout Plain Layout
15995 Minipages are described in section
15996 \begin_inset space ~
16000 \begin_inset CommandInset ref
16002 reference "sec:Minipages"
16011 box that has a width of 15
16012 \begin_inset space \thinspace{}
16018 \begin_layout Itemize
16020 \begin_inset Box Frameless
16030 height_special "totalheight"
16035 backgroundcolor "none"
16038 \begin_layout Plain Layout
16039 \begin_inset Tabular
16040 <lyxtabular version="3" rows="3" columns="3">
16041 <features tabularvalignment="middle">
16042 <column alignment="center" valignment="top">
16043 <column alignment="center" valignment="top">
16044 <column alignment="center" valignment="top">
16046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16049 \begin_layout Plain Layout
16055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16058 \begin_layout Plain Layout
16064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16067 \begin_layout Plain Layout
16075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16078 \begin_layout Plain Layout
16084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16087 \begin_layout Plain Layout
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16096 \begin_layout Plain Layout
16104 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16107 \begin_layout Plain Layout
16113 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16116 \begin_layout Plain Layout
16122 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16125 \begin_layout Plain Layout
16145 \begin_layout Plain Layout
16157 \begin_inset Box Frameless
16167 height_special "totalheight"
16172 backgroundcolor "none"
16175 \begin_layout Plain Layout
16176 \begin_inset Tabular
16177 <lyxtabular version="3" rows="3" columns="3">
16178 <features tabularvalignment="middle">
16179 <column alignment="center" valignment="top">
16180 <column alignment="center" valignment="top">
16181 <column alignment="center" valignment="top">
16183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16186 \begin_layout Plain Layout
16192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16195 \begin_layout Plain Layout
16201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16204 \begin_layout Plain Layout
16212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16215 \begin_layout Plain Layout
16221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16224 \begin_layout Plain Layout
16230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16233 \begin_layout Plain Layout
16241 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16244 \begin_layout Plain Layout
16250 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16253 \begin_layout Plain Layout
16259 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16262 \begin_layout Plain Layout
16282 \begin_layout Plain Layout
16292 \begin_layout Itemize
16294 \begin_inset Box Frameless
16304 height_special "totalheight"
16309 backgroundcolor "none"
16312 \begin_layout Plain Layout
16313 \begin_inset Tabular
16314 <lyxtabular version="3" rows="3" columns="3">
16315 <features tabularvalignment="middle">
16316 <column alignment="center" valignment="top">
16317 <column alignment="center" valignment="top">
16318 <column alignment="center" valignment="top">
16320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16323 \begin_layout Plain Layout
16329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16332 \begin_layout Plain Layout
16338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16341 \begin_layout Plain Layout
16349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16352 \begin_layout Plain Layout
16358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16361 \begin_layout Plain Layout
16367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16370 \begin_layout Plain Layout
16378 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16381 \begin_layout Plain Layout
16387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16390 \begin_layout Plain Layout
16396 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16399 \begin_layout Plain Layout
16418 \begin_layout Itemize
16420 \begin_inset Box Frameless
16430 height_special "totalheight"
16435 backgroundcolor "none"
16438 \begin_layout Plain Layout
16439 \begin_inset Tabular
16440 <lyxtabular version="3" rows="3" columns="3">
16441 <features tabularvalignment="middle">
16442 <column alignment="center" valignment="top">
16443 <column alignment="center" valignment="top">
16444 <column alignment="center" valignment="top">
16446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16449 \begin_layout Plain Layout
16455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16458 \begin_layout Plain Layout
16464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16467 \begin_layout Plain Layout
16475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16478 \begin_layout Plain Layout
16484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16487 \begin_layout Plain Layout
16493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16496 \begin_layout Plain Layout
16504 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16507 \begin_layout Plain Layout
16513 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16516 \begin_layout Plain Layout
16522 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16525 \begin_layout Plain Layout
16545 \begin_layout Plain Layout
16557 \begin_inset Box Frameless
16567 height_special "totalheight"
16572 backgroundcolor "none"
16575 \begin_layout Plain Layout
16576 \begin_inset Tabular
16577 <lyxtabular version="3" rows="3" columns="3">
16578 <features tabularvalignment="middle">
16579 <column alignment="center" valignment="top">
16580 <column alignment="center" valignment="top">
16581 <column alignment="center" valignment="top">
16583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16586 \begin_layout Plain Layout
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16595 \begin_layout Plain Layout
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16604 \begin_layout Plain Layout
16612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16615 \begin_layout Plain Layout
16621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16624 \begin_layout Plain Layout
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16633 \begin_layout Plain Layout
16641 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16644 \begin_layout Plain Layout
16650 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16653 \begin_layout Plain Layout
16659 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16662 \begin_layout Plain Layout
16682 \begin_layout Plain Layout
16692 \begin_layout Standard
16693 As you will see, the content of the first and last table row is not correctly
16695 To get this alignment, the minipage box must be set into a raisebox.
16699 \begin_layout Plain Layout
16700 Raiseboxes are described in section
16701 \begin_inset space ~
16705 \begin_inset CommandInset ref
16707 reference "subsec:Vertical-Alignment"
16716 In the example above the second table in the first item is aligned using
16717 the \SpecialChar TeX
16721 \begin_layout Standard
16731 \begin_layout Standard
16733 After the box the closing brace
16737 is inserted as \SpecialChar TeX
16739 For the second table in the last item the command
16742 \begin_layout Standard
16752 \begin_layout Standard
16756 \begin_layout Standard
16757 \begin_inset Note Greyedout
16760 \begin_layout Plain Layout
16765 The alignment of the table row content to the surrounding text line is
16767 The required value for the
16773 command for this alignment depends on the document font, the font size,
16774 and the table line thickness.
16782 \begin_layout Section
16784 \begin_inset CommandInset label
16786 name "sec:Colored-Tables"
16791 \begin_inset Index idx
16794 \begin_layout Plain Layout
16803 \begin_layout Subsection
16805 \begin_inset Index idx
16808 \begin_layout Plain Layout
16809 Table Color ! for Cells
16815 \begin_inset Index idx
16818 \begin_layout Plain Layout
16819 Color ! for Table Cells
16827 \begin_layout Standard
16828 \begin_inset Float table
16834 \begin_layout Plain Layout
16835 \begin_inset Caption Standard
16837 \begin_layout Plain Layout
16838 \begin_inset CommandInset label
16840 name "tab:Table-colored-without"
16844 Table colored without using the package
16849 \begin_inset Argument 1
16852 \begin_layout Plain Layout
16853 Table without colortbl
16866 \begin_layout Plain Layout
16868 \begin_inset Tabular
16869 <lyxtabular version="3" rows="3" columns="3">
16870 <features tabularvalignment="middle">
16871 <column alignment="center" valignment="top">
16872 <column alignment="center" valignment="top">
16873 <column alignment="center" valignment="top">
16875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16878 \begin_layout Plain Layout
16886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16889 \begin_layout Plain Layout
16897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16900 \begin_layout Plain Layout
16910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16913 \begin_layout Plain Layout
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16924 \begin_layout Plain Layout
16932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16935 \begin_layout Plain Layout
16945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16948 \begin_layout Plain Layout
16956 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16959 \begin_layout Plain Layout
16967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
16970 \begin_layout Plain Layout
16991 \begin_layout Standard
16992 If you only need colored text, mark the cells and choose a color in the
16996 \begin_inset space ~
17001 dialog (toolbar button
17004 arg "dialog-show character"
17008 This was used to create Table
17009 \begin_inset space ~
17013 \begin_inset CommandInset ref
17015 reference "tab:Table-colored-without"
17020 In any other case you have to use the \SpecialChar LaTeX
17026 \begin_inset Index idx
17029 \begin_layout Plain Layout
17031 -packages ! colortbl
17039 \begin_layout Standard
17043 \begin_layout Plain Layout
17053 \begin_inset Note Note
17056 \begin_layout Plain Layout
17057 The following section part will only be displayed when the \SpecialChar LaTeX
17070 \begin_layout Standard
17071 To create colored tables,
17075 must be loaded in the preamble with the line
17078 \begin_layout Standard
17083 usepackage{colortbl}
17086 \begin_layout Standard
17087 The color of a column is adjusted with the command
17090 \begin_layout Standard
17095 columncolor{name of color}
17098 \begin_layout Standard
17104 More about the command
17108 is contained in section
17109 \begin_inset space ~
17113 \begin_inset CommandInset ref
17115 reference "subsec:Multicolumn-Calculations"
17122 \begin_layout Standard
17123 The following color names are predefined:
17126 \begin_layout Standard
17160 \begin_layout Standard
17161 \begin_inset VSpace medskip
17167 \begin_layout Standard
17168 If you add the option
17171 \begin_layout Standard
17177 \begin_layout Standard
17178 to the document class options in the document settings, you can additionally
17180 \begin_inset space ~
17184 These colors are listed in appendix
17185 \begin_inset space ~
17189 \begin_inset CommandInset ref
17191 reference "chap:List-of-dvips-colornames"
17196 One of these colors,
17200 , is used as example in Table
17201 \begin_inset space ~
17205 \begin_inset CommandInset ref
17207 reference "tab:Table-colored-using"
17214 \begin_layout Standard
17215 \begin_inset VSpace medskip
17221 \begin_layout Standard
17222 You can also define your own color with the command
17225 \begin_layout Standard
17230 definecolor{color name}{color model}{color values}
17233 \begin_layout Standard
17234 The color model can be
17237 \begin_layout Labeling
17238 \labelwidthstring 00.00.0000
17239 cmyk: cyan, magenta, yellow, black
17242 \begin_layout Labeling
17243 \labelwidthstring 00.00.0000
17244 rgb: red, green blue
17247 \begin_layout Labeling
17248 \labelwidthstring 00.00.0000
17252 \begin_layout Standard
17253 and the color values are comma separated numbers between 0 and 1 describing
17254 the factor for the corresponding color of the color model.
17257 \begin_layout Standard
17259 \begin_inset space \thinspace{}
17263 \begin_inset space \space{}
17270 " in the preamble with
17273 \begin_layout Standard
17278 definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
17281 \begin_layout Standard
17289 \begin_layout Standard
17294 definecolor{lightgray}{gray}{0.8}
17297 \begin_layout Standard
17298 \begin_inset VSpace medskip
17304 \begin_layout Standard
17305 Lines are colored with the command
17308 \begin_layout Standard
17313 rowcolor{name of color}
17316 \begin_layout Standard
17317 and cells are colored with the command
17320 \begin_layout Standard
17325 cellcolor{name of color}
17328 \begin_layout Standard
17329 Both commands are inserted at the beginning of a cell as \SpecialChar TeX
17333 \begin_layout Standard
17334 To color characters in the table, mark the cells and use the
17337 \begin_inset space ~
17343 If a cell contains \SpecialChar TeX
17344 Code mark only the characters, otherwise the colored
17346 Code will cause \SpecialChar LaTeX
17350 \begin_layout Standard
17351 \begin_inset Note Greyedout
17354 \begin_layout Plain Layout
17359 Not all DVI-viewers are able to display self-defined colors.
17367 \begin_layout Standard
17368 \begin_inset VSpace bigskip
17374 \begin_layout Standard
17376 \begin_inset space ~
17380 \begin_inset CommandInset ref
17382 reference "tab:Table-colored-using"
17386 do the following: The color of the first column should be
17394 \begin_layout Standard
17399 columncolor{darkgreen}
17404 \begin_layout Standard
17405 as \SpecialChar LaTeX
17406 -argument for this column.
17407 The first row should be light blue, therefore the \SpecialChar TeX
17411 \begin_layout Standard
17419 \begin_layout Standard
17420 is inserted to the first cell of this row.
17421 Note that this overwrites the column color for the first cell.
17422 The last cell of the last row is colored maroon by inserting the \SpecialChar TeX
17427 \begin_layout Standard
17435 \begin_layout Standard
17436 The characters could now be colored using the menu
17438 Edit\SpecialChar menuseparator
17440 \begin_inset space ~
17448 \begin_layout Standard
17449 \begin_inset Float table
17455 \begin_layout Plain Layout
17456 \begin_inset Caption Standard
17458 \begin_layout Plain Layout
17459 \begin_inset CommandInset label
17461 name "tab:Table-colored-using"
17465 Table colored using the package
17470 \begin_inset Argument 1
17473 \begin_layout Plain Layout
17474 Table with colortbl
17487 \begin_layout Plain Layout
17489 \begin_inset Tabular
17490 <lyxtabular version="3" rows="3" columns="3">
17491 <features tabularvalignment="middle">
17492 <column alignment="center" valignment="top" special=">{\columncolor{darkgreen}\centering}c">
17493 <column alignment="center" valignment="top">
17494 <column alignment="center" valignment="top">
17496 <cell alignment="center" valignment="top" usebox="none">
17499 \begin_layout Plain Layout
17503 \begin_layout Plain Layout
17519 <cell alignment="center" valignment="top" usebox="none">
17522 \begin_layout Plain Layout
17530 <cell alignment="center" valignment="top" usebox="none">
17533 \begin_layout Plain Layout
17543 <cell alignment="center" valignment="top" usebox="none">
17546 \begin_layout Plain Layout
17554 <cell alignment="center" valignment="top" usebox="none">
17557 \begin_layout Plain Layout
17565 <cell alignment="center" valignment="top" usebox="none">
17568 \begin_layout Plain Layout
17578 <cell alignment="center" valignment="top" usebox="none">
17581 \begin_layout Plain Layout
17589 <cell alignment="center" valignment="top" usebox="none">
17592 \begin_layout Plain Layout
17600 <cell alignment="center" valignment="top" usebox="none">
17603 \begin_layout Plain Layout
17607 \begin_layout Plain Layout
17636 \begin_layout Standard
17640 \begin_layout Plain Layout
17650 \begin_inset Note Note
17653 \begin_layout Plain Layout
17654 The following will be displayed when the \SpecialChar LaTeX
17667 \begin_layout Standard
17668 You need to install the package
17672 to see the content of this section in the output.
17675 \begin_layout Standard
17679 \begin_layout Plain Layout
17691 \begin_layout Subsection
17693 \begin_inset Index idx
17696 \begin_layout Plain Layout
17697 Table Color ! for Rows
17703 \begin_inset Index idx
17706 \begin_layout Plain Layout
17707 Color ! for Table Rows
17715 \begin_layout Standard
17716 In case every second table row needs to be colored there is an alternative
17717 to the method described in the previous section: One loads the package
17723 \begin_inset Index idx
17726 \begin_layout Plain Layout
17732 \begin_layout Plain Layout
17746 in the document preamble with the command
17749 \begin_layout Standard
17754 usepackage[table]{xcolor}
17757 \begin_layout Standard
17762 automatically loads also the package
17767 \begin_inset Index idx
17770 \begin_layout Plain Layout
17772 -packages ! colortbl
17781 must be installed in your \SpecialChar LaTeX
17782 -distribution, otherwise you get \SpecialChar LaTeX
17786 \begin_layout Standard
17790 \begin_layout Plain Layout
17800 \begin_inset Note Note
17803 \begin_layout Plain Layout
17804 The following section part will only be displayed when the \SpecialChar LaTeX
17817 \begin_layout Standard
17818 The table rows are colored with the command
17821 \begin_layout Standard
17826 rowcolors[commands]{row number}{odd row color}{even row color}
17829 \begin_layout Standard
17830 that is either inserted in the document preamble or as \SpecialChar TeX
17832 first table to be colored.
17834 \begin_inset space ~
17837 number is the number of the first row which should be colored according
17838 to the odd row color.
17839 commands can be additional commands that are executed before every table
17841 So for example the command
17844 \begin_layout Standard
17849 rowcolors{1}{white}{lightgray}
17852 \begin_layout Standard
17853 leads to the coloring scheme of Table
17854 \begin_inset space ~
17858 \begin_inset CommandInset ref
17860 reference "tab:Table-rowcolors"
17868 \begin_layout Standard
17875 hline]{1}{lightgray}{cyan}
17878 \begin_layout Standard
17879 leads to the coloring scheme of Table
17880 \begin_inset space ~
17884 \begin_inset CommandInset ref
17886 reference "tab:Table-rowcolors-2"
17892 \begin_inset space ~
17896 \begin_inset space ~
17900 \begin_inset space ~
17904 \begin_inset space ~
17907 color are left empty, no color will be used so that the command
17910 \begin_layout Standard
17918 \begin_layout Standard
17919 deletes all colors.
17926 affects all tables following that command.
17929 \begin_layout Standard
17933 \begin_layout Plain Layout
17937 rowcolors{1}{white}{lightgray}
17945 \begin_layout Standard
17946 \begin_inset Float table
17952 \begin_layout Plain Layout
17953 \begin_inset Caption Standard
17955 \begin_layout Plain Layout
17956 \begin_inset CommandInset label
17958 name "tab:Table-rowcolors"
17962 Table where every second row is colored light gray.
17970 \begin_layout Plain Layout
17972 \begin_inset Tabular
17973 <lyxtabular version="3" rows="4" columns="3">
17974 <features tabularvalignment="middle">
17975 <column alignment="center" valignment="top">
17976 <column alignment="center" valignment="top" width="0pt">
17977 <column alignment="center" valignment="top" width="0pt">
17979 <cell alignment="center" valignment="top" usebox="none">
17982 \begin_layout Plain Layout
17988 <cell alignment="center" valignment="top" usebox="none">
17991 \begin_layout Plain Layout
17997 <cell alignment="center" valignment="top" usebox="none">
18000 \begin_layout Plain Layout
18008 <cell alignment="center" valignment="top" usebox="none">
18011 \begin_layout Plain Layout
18017 <cell alignment="center" valignment="top" usebox="none">
18020 \begin_layout Plain Layout
18026 <cell alignment="center" valignment="top" usebox="none">
18029 \begin_layout Plain Layout
18037 <cell alignment="center" valignment="top" usebox="none">
18040 \begin_layout Plain Layout
18046 <cell alignment="center" valignment="top" usebox="none">
18049 \begin_layout Plain Layout
18055 <cell alignment="center" valignment="top" usebox="none">
18058 \begin_layout Plain Layout
18066 <cell alignment="center" valignment="top" usebox="none">
18069 \begin_layout Plain Layout
18075 <cell alignment="center" valignment="top" usebox="none">
18078 \begin_layout Plain Layout
18084 <cell alignment="center" valignment="top" usebox="none">
18087 \begin_layout Plain Layout
18106 \begin_layout Standard
18110 \begin_layout Plain Layout
18116 hline]{1}{lightgray}{cyan}
18124 \begin_layout Standard
18125 \begin_inset Float table
18131 \begin_layout Plain Layout
18132 \begin_inset Caption Standard
18134 \begin_layout Plain Layout
18135 \begin_inset CommandInset label
18137 name "tab:Table-rowcolors-2"
18141 Table where every second row is colored cyan and at which there is a line
18150 \begin_layout Plain Layout
18152 \begin_inset Tabular
18153 <lyxtabular version="3" rows="4" columns="3">
18154 <features tabularvalignment="middle">
18155 <column alignment="center" valignment="top">
18156 <column alignment="center" valignment="top">
18157 <column alignment="center" valignment="top" width="0pt">
18159 <cell alignment="center" valignment="top" usebox="none">
18162 \begin_layout Plain Layout
18168 <cell alignment="center" valignment="top" usebox="none">
18171 \begin_layout Plain Layout
18177 <cell alignment="center" valignment="top" usebox="none">
18180 \begin_layout Plain Layout
18188 <cell alignment="center" valignment="top" usebox="none">
18191 \begin_layout Plain Layout
18197 <cell alignment="center" valignment="top" usebox="none">
18200 \begin_layout Plain Layout
18206 <cell alignment="center" valignment="top" usebox="none">
18209 \begin_layout Plain Layout
18217 <cell alignment="center" valignment="top" usebox="none">
18220 \begin_layout Plain Layout
18226 <cell alignment="center" valignment="top" usebox="none">
18229 \begin_layout Plain Layout
18235 <cell alignment="center" valignment="top" usebox="none">
18238 \begin_layout Plain Layout
18246 <cell alignment="center" valignment="top" usebox="none">
18249 \begin_layout Plain Layout
18255 <cell alignment="center" valignment="top" usebox="none">
18258 \begin_layout Plain Layout
18264 <cell alignment="center" valignment="top" usebox="none">
18267 \begin_layout Plain Layout
18286 \begin_layout Standard
18290 \begin_layout Plain Layout
18300 \begin_inset Note Note
18303 \begin_layout Plain Layout
18304 turns off the row coloring
18312 \begin_layout Standard
18316 \begin_layout Plain Layout
18326 \begin_inset Note Note
18329 \begin_layout Plain Layout
18330 The following will be displayed when the \SpecialChar LaTeX
18343 \begin_layout Standard
18344 You need to install the package
18348 to see the content of this section in the output.
18351 \begin_layout Standard
18355 \begin_layout Plain Layout
18367 \begin_layout Subsection
18369 \begin_inset Index idx
18372 \begin_layout Plain Layout
18373 Table Color ! for Lines
18379 \begin_inset Index idx
18382 \begin_layout Plain Layout
18383 Color ! for Table Lines
18391 \begin_layout Standard
18392 As described in section
18393 \begin_inset space ~
18397 \begin_inset CommandInset ref
18399 reference "subsec:Line-Thickness"
18403 , the line thickness for all lines in a table can be adjusted with the length
18412 \begin_inset space \thinspace{}
18415 pt for all tables of this section.
18419 \begin_layout Plain Layout
18425 arrayrulewidth}{1.5pt}
18433 \begin_layout Standard
18434 To color vertical lines for example with green, create the following column
18435 format in the document preamble, according to the description in section
18436 \begin_inset space ~
18440 \begin_inset CommandInset ref
18442 reference "subsec:Customized-Format"
18449 \begin_layout Standard
18454 newcolumntype{W}{!{
18461 \begin_layout Standard
18463 \begin_inset space ~
18467 \begin_inset CommandInset ref
18469 reference "tab:Table-with-vertical-colored"
18473 the \SpecialChar LaTeX
18478 was used for the last column and
18482 for the other columns.
18485 \begin_layout Standard
18486 If you want to have several colors, define more column formats.
18489 \begin_layout Standard
18490 \begin_inset Float table
18496 \begin_layout Plain Layout
18497 \begin_inset Caption Standard
18499 \begin_layout Plain Layout
18500 \begin_inset CommandInset label
18502 name "tab:Table-with-vertical-colored"
18506 Table with colored vertical lines
18514 \begin_layout Plain Layout
18516 \begin_inset Tabular
18517 <lyxtabular version="3" rows="3" columns="3">
18518 <features tabularvalignment="middle">
18519 <column alignment="center" valignment="top" special="Wc">
18520 <column alignment="center" valignment="top" special="Wc">
18521 <column alignment="center" valignment="top" special="WcW">
18523 <cell alignment="center" valignment="top" topline="true" usebox="none">
18526 \begin_layout Plain Layout
18532 <cell alignment="center" valignment="top" topline="true" usebox="none">
18535 \begin_layout Plain Layout
18541 <cell alignment="center" valignment="top" topline="true" usebox="none">
18544 \begin_layout Plain Layout
18552 <cell alignment="center" valignment="top" topline="true" usebox="none">
18555 \begin_layout Plain Layout
18561 <cell alignment="center" valignment="top" topline="true" usebox="none">
18564 \begin_layout Plain Layout
18570 <cell alignment="center" valignment="top" topline="true" usebox="none">
18573 \begin_layout Plain Layout
18581 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18584 \begin_layout Plain Layout
18590 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18593 \begin_layout Plain Layout
18599 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18602 \begin_layout Plain Layout
18621 \begin_layout Standard
18622 \begin_inset VSpace bigskip
18625 To color all horizontal lines for example with red, as in Table
18626 \begin_inset space ~
18630 \begin_inset CommandInset ref
18632 reference "tab:Table-with-horizontal-colored"
18636 , insert these commands in \SpecialChar TeX
18637 code before the table or table float:
18640 \begin_layout Standard
18650 \begin_inset Newline newline
18658 \begin_inset Newline newline
18662 \begin_inset Phantom HPhantom
18665 \begin_layout Plain Layout
18668 \begin_inset space ~
18678 arrayrulecolor{red}
18682 arrayrulecolor{black}}
18685 \begin_layout Standard
18689 \begin_layout Plain Layout
18700 \begin_layout Plain Layout
18709 \begin_layout Plain Layout
18713 arrayrulecolor{red}
18717 arrayrulecolor{black}}
18723 \begin_inset Float table
18729 \begin_layout Plain Layout
18730 \begin_inset Caption Standard
18732 \begin_layout Plain Layout
18733 \begin_inset CommandInset label
18735 name "tab:Table-with-horizontal-colored"
18739 Table with colored horizontal lines
18747 \begin_layout Plain Layout
18749 \begin_inset Tabular
18750 <lyxtabular version="3" rows="3" columns="3">
18751 <features tabularvalignment="middle">
18752 <column alignment="center" valignment="top">
18753 <column alignment="center" valignment="top">
18754 <column alignment="center" valignment="top">
18756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18759 \begin_layout Plain Layout
18765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18768 \begin_layout Plain Layout
18774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18777 \begin_layout Plain Layout
18785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18788 \begin_layout Plain Layout
18794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18797 \begin_layout Plain Layout
18803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18806 \begin_layout Plain Layout
18814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18817 \begin_layout Plain Layout
18823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
18826 \begin_layout Plain Layout
18832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
18835 \begin_layout Plain Layout
18854 \begin_layout Standard
18855 To return to the default line color black, insert this command in \SpecialChar TeX
18857 after the table or table float:
18860 \begin_layout Standard
18872 \begin_layout Standard
18874 \begin_inset space ~
18878 \begin_inset CommandInset ref
18880 reference "tab:Table-with-colored"
18884 is an example with colored vertical and horizontal lines.
18887 \begin_layout Standard
18888 \begin_inset Float table
18894 \begin_layout Plain Layout
18895 \begin_inset Caption Standard
18897 \begin_layout Plain Layout
18898 \begin_inset CommandInset label
18900 name "tab:Table-with-colored"
18904 Table with colored lines
18912 \begin_layout Plain Layout
18914 \begin_inset Tabular
18915 <lyxtabular version="3" rows="3" columns="3">
18916 <features tabularvalignment="middle">
18917 <column alignment="center" valignment="top" special="Wc">
18918 <column alignment="center" valignment="top" special="Wc">
18919 <column alignment="center" valignment="top" special="WcW">
18921 <cell alignment="center" valignment="top" topline="true" usebox="none">
18924 \begin_layout Plain Layout
18930 <cell alignment="center" valignment="top" topline="true" usebox="none">
18933 \begin_layout Plain Layout
18939 <cell alignment="center" valignment="top" topline="true" usebox="none">
18942 \begin_layout Plain Layout
18950 <cell alignment="center" valignment="top" topline="true" usebox="none">
18953 \begin_layout Plain Layout
18959 <cell alignment="center" valignment="top" topline="true" usebox="none">
18962 \begin_layout Plain Layout
18968 <cell alignment="center" valignment="top" topline="true" usebox="none">
18971 \begin_layout Plain Layout
18978 <row topspace="default">
18979 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18982 \begin_layout Plain Layout
18988 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
18991 \begin_layout Plain Layout
18997 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19000 \begin_layout Plain Layout
19019 \begin_layout Standard
19023 \begin_layout Plain Layout
19039 \begin_layout Standard
19043 \begin_layout Plain Layout
19049 arrayrulewidth}{1.2pt}
19057 \begin_layout Standard
19058 To color only some of the table lines another strategy is necessary.
19059 To color all following horizontal lines, insert this command as \SpecialChar TeX
19061 last thing in the row that should be above the first colored line:
19064 \begin_layout Standard
19073 arrayrulecolor{blue}%
19076 \begin_layout Standard
19077 To go back to black lines, add this command as first thing in the row that
19078 is above the black lines:
19081 \begin_layout Standard
19086 arrayrulecolor{black}
19089 \begin_layout Standard
19090 With this one can color table lines like in Table
19091 \begin_inset space ~
19095 \begin_inset CommandInset ref
19097 reference "tab:Table-with-different-hor"
19102 However, with this method it is not possible to color the line above the
19103 first row of a table.
19106 \begin_layout Standard
19107 \begin_inset Float table
19112 \begin_layout Plain Layout
19113 \begin_inset Caption Standard
19115 \begin_layout Plain Layout
19116 \begin_inset CommandInset label
19118 name "tab:Table-with-different-hor"
19122 Table with different horizontal line colors.
19130 \begin_layout Plain Layout
19132 \begin_inset Tabular
19133 <lyxtabular version="3" rows="6" columns="7">
19134 <features tabularvalignment="middle">
19135 <column alignment="center" valignment="top">
19136 <column alignment="center" valignment="top">
19137 <column alignment="center" valignment="top">
19138 <column alignment="center" valignment="top">
19139 <column alignment="center" valignment="top">
19140 <column alignment="center" valignment="top">
19141 <column alignment="center" valignment="top">
19143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19146 \begin_layout Plain Layout
19152 <cell alignment="center" valignment="top" topline="true" usebox="none">
19155 \begin_layout Plain Layout
19161 <cell alignment="center" valignment="top" topline="true" usebox="none">
19164 \begin_layout Plain Layout
19170 <cell alignment="center" valignment="top" topline="true" usebox="none">
19173 \begin_layout Plain Layout
19179 <cell alignment="center" valignment="top" topline="true" usebox="none">
19182 \begin_layout Plain Layout
19188 <cell alignment="center" valignment="top" topline="true" usebox="none">
19191 \begin_layout Plain Layout
19197 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19200 \begin_layout Plain Layout
19204 \begin_layout Plain Layout
19212 arrayrulecolor{blue}%
19224 <cell alignment="center" valignment="top" usebox="none">
19227 \begin_layout Plain Layout
19233 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19236 \begin_layout Plain Layout
19242 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19245 \begin_layout Plain Layout
19251 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19254 \begin_layout Plain Layout
19260 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19263 \begin_layout Plain Layout
19269 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19272 \begin_layout Plain Layout
19278 <cell alignment="center" valignment="top" usebox="none">
19281 \begin_layout Plain Layout
19289 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19292 \begin_layout Plain Layout
19296 \begin_layout Plain Layout
19300 arrayrulecolor{black}
19310 <cell alignment="center" valignment="top" usebox="none">
19313 \begin_layout Plain Layout
19319 <cell alignment="center" valignment="top" usebox="none">
19322 \begin_layout Plain Layout
19328 <cell alignment="center" valignment="top" usebox="none">
19331 \begin_layout Plain Layout
19337 <cell alignment="center" valignment="top" usebox="none">
19340 \begin_layout Plain Layout
19346 <cell alignment="center" valignment="top" usebox="none">
19349 \begin_layout Plain Layout
19355 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19358 \begin_layout Plain Layout
19366 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19369 \begin_layout Plain Layout
19375 <cell alignment="center" valignment="top" usebox="none">
19378 \begin_layout Plain Layout
19384 <cell alignment="center" valignment="top" usebox="none">
19387 \begin_layout Plain Layout
19393 <cell alignment="center" valignment="top" usebox="none">
19396 \begin_layout Plain Layout
19402 <cell alignment="center" valignment="top" usebox="none">
19405 \begin_layout Plain Layout
19411 <cell alignment="center" valignment="top" usebox="none">
19414 \begin_layout Plain Layout
19420 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19423 \begin_layout Plain Layout
19427 \begin_layout Plain Layout
19435 arrayrulecolor{green}%
19447 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
19450 \begin_layout Plain Layout
19456 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19459 \begin_layout Plain Layout
19465 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19468 \begin_layout Plain Layout
19474 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19477 \begin_layout Plain Layout
19483 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19486 \begin_layout Plain Layout
19492 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19495 \begin_layout Plain Layout
19501 <cell alignment="center" valignment="top" topline="true" bottomline="true" rightline="true" usebox="none">
19504 \begin_layout Plain Layout
19512 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
19515 \begin_layout Plain Layout
19519 \begin_layout Plain Layout
19523 arrayrulecolor{black}
19533 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19536 \begin_layout Plain Layout
19542 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19545 \begin_layout Plain Layout
19551 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19554 \begin_layout Plain Layout
19560 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19563 \begin_layout Plain Layout
19569 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
19572 \begin_layout Plain Layout
19578 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
19581 \begin_layout Plain Layout
19585 \begin_layout Plain Layout
19593 arrayrulecolor{blue}%
19616 \begin_layout Standard
19617 To change the color of vertical lines within a row, like in Table
19618 \begin_inset space ~
19622 \begin_inset CommandInset ref
19624 reference "tab:Table-with-different-ver"
19628 , one needs to use multicolumns.
19629 At first one needs to remove all vertical lines that don't run along the
19631 Now one colors all lines using the command
19634 \begin_layout Standard
19643 arrayrulecolor{blue}%
19646 \begin_layout Standard
19648 Finally one inserts this command as \SpecialChar TeX
19649 code to every cell in the row where
19650 one needs a vertical line in a different color:
19653 \begin_layout Standard
19669 \begin_layout Standard
19670 This adds a vertical line to both sides of the cell.
19671 The left one will be green, the right one red.
19672 If no color change is necessary one can omit the
19678 command in the above command.
19679 To get for example a black left line and a blue right line you can write:
19682 \begin_layout Standard
19694 \begin_layout Standard
19695 because the color blue was already set for all lines.
19700 creates hereby the vertical line while
19713 To set vertical lines without changing any color use
19716 \begin_layout Standard
19721 multicolumn{1}{|c|}{
19724 \begin_layout Standard
19725 After this command insert the cell content the normal way and end the cell
19726 with a closing brace
19730 in \SpecialChar TeX
19734 \begin_layout Standard
19735 \begin_inset Float table
19740 \begin_layout Plain Layout
19741 \begin_inset Caption Standard
19743 \begin_layout Plain Layout
19744 \begin_inset CommandInset label
19746 name "tab:Table-with-different-ver"
19750 Table with different vertical line colors in one row.
19758 \begin_layout Plain Layout
19760 \begin_inset Tabular
19761 <lyxtabular version="3" rows="5" columns="7">
19762 <features tabularvalignment="middle">
19763 <column alignment="center" valignment="top">
19764 <column alignment="center" valignment="top">
19765 <column alignment="center" valignment="top">
19766 <column alignment="center" valignment="top">
19767 <column alignment="center" valignment="top">
19768 <column alignment="center" valignment="top">
19769 <column alignment="center" valignment="top">
19771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19774 \begin_layout Plain Layout
19780 <cell alignment="center" valignment="top" topline="true" usebox="none">
19783 \begin_layout Plain Layout
19789 <cell alignment="center" valignment="top" topline="true" usebox="none">
19792 \begin_layout Plain Layout
19798 <cell alignment="center" valignment="top" topline="true" usebox="none">
19801 \begin_layout Plain Layout
19807 <cell alignment="center" valignment="top" topline="true" usebox="none">
19810 \begin_layout Plain Layout
19816 <cell alignment="center" valignment="top" topline="true" usebox="none">
19819 \begin_layout Plain Layout
19825 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
19828 \begin_layout Plain Layout
19832 \begin_layout Plain Layout
19840 arrayrulecolor{red}%
19852 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19855 \begin_layout Plain Layout
19859 \begin_layout Plain Layout
19876 \begin_layout Plain Layout
19888 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19891 \begin_layout Plain Layout
19897 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19900 \begin_layout Plain Layout
19906 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19909 \begin_layout Plain Layout
19915 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19918 \begin_layout Plain Layout
19924 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
19927 \begin_layout Plain Layout
19931 \begin_layout Plain Layout
19935 multicolumn{1}{c|}{
19944 \begin_layout Plain Layout
19956 <cell alignment="center" valignment="top" rightline="true" usebox="none">
19959 \begin_layout Plain Layout
19963 \begin_layout Plain Layout
19980 \begin_layout Plain Layout
19994 <cell alignment="center" valignment="top" leftline="true" usebox="none">
19997 \begin_layout Plain Layout
20001 \begin_layout Plain Layout
20005 arrayrulecolor{black}
20015 <cell alignment="center" valignment="top" usebox="none">
20018 \begin_layout Plain Layout
20024 <cell alignment="center" valignment="top" usebox="none">
20027 \begin_layout Plain Layout
20033 <cell alignment="center" valignment="top" usebox="none">
20036 \begin_layout Plain Layout
20042 <cell alignment="center" valignment="top" usebox="none">
20045 \begin_layout Plain Layout
20051 <cell alignment="center" valignment="top" usebox="none">
20054 \begin_layout Plain Layout
20060 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20063 \begin_layout Plain Layout
20067 \begin_layout Plain Layout
20075 arrayrulecolor{magenta}%
20087 <cell alignment="center" valignment="top" leftline="true" usebox="none">
20090 \begin_layout Plain Layout
20094 \begin_layout Plain Layout
20098 multicolumn{1}{|c!{
20111 \begin_layout Plain Layout
20123 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20126 \begin_layout Plain Layout
20130 \begin_layout Plain Layout
20147 \begin_layout Plain Layout
20159 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20162 \begin_layout Plain Layout
20166 \begin_layout Plain Layout
20183 \begin_layout Plain Layout
20195 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20198 \begin_layout Plain Layout
20202 \begin_layout Plain Layout
20219 \begin_layout Plain Layout
20231 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20234 \begin_layout Plain Layout
20238 \begin_layout Plain Layout
20255 \begin_layout Plain Layout
20267 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
20270 \begin_layout Plain Layout
20274 \begin_layout Plain Layout
20291 \begin_layout Plain Layout
20303 <cell alignment="center" valignment="top" rightline="true" usebox="none">
20306 \begin_layout Plain Layout
20310 \begin_layout Plain Layout
20314 multicolumn{1}{c|}{
20323 \begin_layout Plain Layout
20337 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
20340 \begin_layout Plain Layout
20344 \begin_layout Plain Layout
20348 arrayrulecolor{black}
20358 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20361 \begin_layout Plain Layout
20367 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20370 \begin_layout Plain Layout
20376 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20379 \begin_layout Plain Layout
20385 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20388 \begin_layout Plain Layout
20394 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
20397 \begin_layout Plain Layout
20403 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
20406 \begin_layout Plain Layout
20425 \begin_layout Standard
20430 \begin_layout Plain Layout
20436 arrayrulewidth}{0.4pt}
20444 \begin_layout Section
20445 Rotated Table Cells
20446 \begin_inset CommandInset label
20448 name "sec:Rotated-Table-Cells"
20453 \begin_inset Index idx
20456 \begin_layout Plain Layout
20457 Table ! Rotated Cells
20463 \begin_inset Index idx
20466 \begin_layout Plain Layout
20475 \begin_layout Standard
20476 \begin_inset Note Greyedout
20479 \begin_layout Plain Layout
20484 Not all DVI-viewers are able to display rotations.
20492 \begin_layout Standard
20494 \begin_inset space ~
20498 \begin_inset CommandInset ref
20500 reference "tab:Table-with-rotated-multi"
20504 is an example where 3
20505 \begin_inset space ~
20508 cells were rotated by 45
20509 \begin_inset space \thinspace{}
20515 \begin_layout Standard
20516 \begin_inset Float table
20522 \begin_layout Plain Layout
20523 \begin_inset Caption Standard
20525 \begin_layout Plain Layout
20526 \begin_inset CommandInset label
20528 name "tab:Table-with-rotated"
20532 Table with rotated cells in the first row.
20540 \begin_layout Plain Layout
20543 \begin_inset Tabular
20544 <lyxtabular version="3" rows="2" columns="3">
20545 <features tabularvalignment="middle">
20546 <column alignment="center" valignment="top" width="0pt">
20547 <column alignment="center" valignment="top" width="0pt">
20548 <column alignment="center" valignment="top" width="0pt">
20550 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20553 \begin_layout Plain Layout
20559 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20562 \begin_layout Plain Layout
20568 <cell alignment="center" valignment="top" rotate="45" usebox="none">
20571 \begin_layout Plain Layout
20579 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20582 \begin_layout Plain Layout
20588 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20591 \begin_layout Plain Layout
20597 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20600 \begin_layout Plain Layout
20619 \begin_layout Standard
20620 \begin_inset Note Greyedout
20623 \begin_layout Plain Layout
20628 Line breaks (shortcut
20631 arg "newline-insert newline"
20634 ) are not allowed in rotated cells.
20642 \begin_layout Standard
20643 If you want to rotate table cells containing line breaks, you have to put
20644 the cell content into a minipage or a parbox.
20648 \begin_layout Plain Layout
20649 For more about these boxes see sec.
20650 \begin_inset space \thinspace{}
20654 \begin_inset CommandInset ref
20656 reference "sec:Minipages"
20661 \begin_inset CommandInset ref
20663 reference "sec:Parboxes"
20672 If you rotate this cell by 90
20673 \begin_inset space \thinspace{}
20676 ° the width of the box is the height of the cell.
20678 \begin_inset space ~
20682 \begin_inset CommandInset ref
20684 reference "tab:Table-with-rotated-multi"
20688 is an example for a rotated multiline cell where the box width was set
20690 \begin_inset space \thinspace{}
20696 \begin_layout Standard
20697 \begin_inset Float table
20702 \begin_layout Plain Layout
20703 \begin_inset Caption Standard
20705 \begin_layout Plain Layout
20706 \begin_inset CommandInset label
20708 name "tab:Table-with-rotated-multi"
20712 Table with rotated multiline cell.
20720 \begin_layout Plain Layout
20723 \begin_inset Tabular
20724 <lyxtabular version="3" rows="2" columns="3">
20725 <features tabularvalignment="middle">
20726 <column alignment="center" valignment="top">
20727 <column alignment="center" valignment="top" width="0pt">
20728 <column alignment="center" valignment="top">
20730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20733 \begin_layout Plain Layout
20739 <cell alignment="center" valignment="top" topline="true" leftline="true" rotate="90" usebox="none">
20742 \begin_layout Plain Layout
20743 \begin_inset Box Frameless
20753 height_special "totalheight"
20758 backgroundcolor "none"
20761 \begin_layout Plain Layout
20763 \begin_inset Newline newline
20776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20779 \begin_layout Plain Layout
20787 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20790 \begin_layout Plain Layout
20796 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
20799 \begin_layout Plain Layout
20805 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
20808 \begin_layout Plain Layout
20827 \begin_layout Section
20828 Table Width Calculation
20829 \begin_inset CommandInset label
20831 name "sec:Table-Width-Calculation"
20838 \begin_layout Standard
20839 For wide tables it is sometimes difficult to assure that the table does
20840 not protrude over the page margin.
20841 Setting a fixed width for every column of the table is the solution, but
20842 what amount of space is needed for each column?
20845 \begin_layout Standard
20847 \begin_inset Formula $W_{\mathrm{table}}$
20850 can be calculated: Every column has the width of the specified column width
20852 \begin_inset Formula $W_{\mathrm{column}}$
20855 (that the content of the column can consume) plus two times the separation
20856 between the column content and the column border (\SpecialChar LaTeX
20864 \begin_inset space \thinspace{}
20867 pt) plus the width of a border line (\SpecialChar LaTeX
20875 \begin_inset space \thinspace{}
20879 \begin_inset Formula $n$
20883 \begin_inset space ~
20886 columns have the same width, the table width is
20887 \begin_inset Formula
20889 W_{\mathrm{table}}=n\left(W_{\mathrm{column}}+2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)+\backslash\mbox{arrayrulewidth}
20897 \begin_layout Standard
20898 The available width for a table is the space between the page margins or
20899 the width of a text column (for a two-column document) (\SpecialChar LaTeX
20907 If all table columns should have the same width and
20908 \begin_inset Formula $W_{\mathrm{table}}$
20912 \begin_inset space \thinspace{}
20918 \begin_inset Formula $W_{\mathrm{column}}$
20921 can easily be calculated.
20924 \begin_layout Standard
20925 To be able to perform calculations you need to load the \SpecialChar LaTeX
20931 \begin_inset Index idx
20934 \begin_layout Plain Layout
20941 in the document preamble.
20942 To set the width in the table dialog you have to use the field
20948 The command scheme for this field is the same that is explained in section
20949 \begin_inset space ~
20953 \begin_inset CommandInset ref
20955 reference "subsec:Multicolumn-Calculations"
20961 \begin_inset space \thinspace{}
20964 columns with an uniform width and centered text, enter there for each column
20968 \begin_layout Standard
20975 columnwidth-62.4pt)/5}
20978 \begin_layout Standard
20980 \begin_inset space \thinspace{}
20983 columns where 2 should have 0.75
20984 \begin_inset space ~
20987 times the width than the 3 others, the calculation is
20988 \begin_inset Formula
20990 \backslash\mbox{columnwidth} & =3\,W_{\mathrm{column}}+2\cdot0.75\,W_{\mathrm{column}}+\backslash\mbox{arrayrulewidth}\nonumber \\
20991 & \phantom{=\,}+5\left(2\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}\right)\nonumber \\
20992 & =4.5\,W_{\mathrm{column}}+62.4\,\mathrm{pt}\nonumber \\
20993 W_{\mathrm{column}} & =\frac{\backslash\mbox{columnwidth}-62.4\,\mathrm{pt}}{4.5}
21001 \begin_layout Standard
21002 In the table therefore the command
21005 \begin_layout Standard
21012 columnwidth-62.4pt)/
21017 \begin_layout Standard
21018 is used for the wider columns and
21021 \begin_layout Standard
21028 columnwidth-62.4pt)/
21035 \begin_layout Standard
21036 for the smaller ones:
21039 \begin_layout Standard
21040 \begin_inset Tabular
21041 <lyxtabular version="3" rows="2" columns="5">
21042 <features tabularvalignment="middle">
21043 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21044 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21045 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21046 <column alignment="center" valignment="top" width="0pt" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}*\real{0.75}}">
21047 <column alignment="center" valignment="top" width="20col%" special=">{\centering}p{(1\columnwidth-62.4pt)/\real{4.5}}">
21049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21052 \begin_layout Plain Layout
21058 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21061 \begin_layout Plain Layout
21067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21070 \begin_layout Plain Layout
21076 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21079 \begin_layout Plain Layout
21085 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21088 \begin_layout Plain Layout
21096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21099 \begin_layout Plain Layout
21100 111111 1111111 111111 111111111 11111 11111 1111
21105 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21108 \begin_layout Plain Layout
21114 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21117 \begin_layout Plain Layout
21118 2222 22222 222222 222222222 2222222 22 22222
21123 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
21126 \begin_layout Plain Layout
21132 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21135 \begin_layout Plain Layout
21136 333333 333333 333333 33333 3333333 333
21149 \begin_layout Section
21150 Table Customization
21151 \begin_inset Index idx
21154 \begin_layout Plain Layout
21155 Table Customization
21161 \begin_inset Index idx
21164 \begin_layout Plain Layout
21165 Table ! Customization
21173 \begin_layout Subsection
21175 \begin_inset CommandInset label
21177 name "subsec:Row-Spacing"
21182 \begin_inset Index idx
21185 \begin_layout Plain Layout
21186 Table Customization ! Row Spacing
21194 \begin_layout Standard
21195 You can add vertical space to table rows in the
21199 tab of the table dialog.
21200 You find there three possibilities:
21203 \begin_layout Description
21205 \begin_inset space ~
21209 \begin_inset space ~
21212 row will add space above the characters of the table row.
21213 If the table is a formal table
21217 \begin_layout Plain Layout
21218 Formal tables are explained in section
21219 \begin_inset space ~
21223 \begin_inset CommandInset ref
21225 reference "sec:Formal-Tables"
21235 will insert as default 0.5
21236 \begin_inset space \thinspace{}
21240 For normal tables the inserted space will unfortunately destroy the vertical
21241 table lines as in the following table:
21242 \begin_inset VSpace medskip
21246 \begin_inset Newline newline
21250 \begin_inset space \hspace*{}
21255 \begin_inset space \hfill{}
21259 \begin_inset Tabular
21260 <lyxtabular version="3" rows="3" columns="1">
21261 <features tabularvalignment="middle">
21262 <column alignment="center" valignment="top">
21264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21267 \begin_layout Plain Layout
21274 <row topspace="3mm">
21275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21278 \begin_layout Plain Layout
21280 \begin_inset space \thinspace{}
21283 mm space top of row
21290 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21293 \begin_layout Plain Layout
21305 \begin_inset space \hfill{}
21309 \begin_inset space \hspace*{}
21314 \begin_inset VSpace medskip
21318 \begin_inset Newline newline
21321 So inserting space in the top of row for normal tables is only useful when
21322 you don't have vertical lines.
21325 \begin_layout Description
21327 \begin_inset space ~
21331 \begin_inset space ~
21334 row will add space below the characters of the table row.
21335 If the table is a formal table \SpecialChar LyX
21336 will insert as default 0.5
21337 \begin_inset space \thinspace{}
21340 em space, for normal tables the default size is 2
21341 \begin_inset space \thinspace{}
21347 \begin_layout Description
21349 \begin_inset space ~
21352 rows adds space between the current and the following row.
21353 If the table is a formal table \SpecialChar LyX
21354 will insert as default 0.5
21355 \begin_inset space \thinspace{}
21359 For normal tables the inserted space will unfortunately destroy the vertical
21360 table lines as in the following table:
21361 \begin_inset VSpace medskip
21365 \begin_inset Newline newline
21369 \begin_inset space \hspace*{}
21374 \begin_inset space \hfill{}
21378 \begin_inset Tabular
21379 <lyxtabular version="3" rows="3" columns="1">
21380 <features tabularvalignment="middle">
21381 <column alignment="center" valignment="top">
21383 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21386 \begin_layout Plain Layout
21393 <row interlinespace="3mm">
21394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21397 \begin_layout Plain Layout
21398 \begin_inset Formula $\downarrow$
21402 \begin_inset space \thinspace{}
21405 mm space between row
21406 \begin_inset Formula $\downarrow$
21416 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21419 \begin_layout Plain Layout
21420 \begin_inset Formula $\uparrow$
21424 \begin_inset space \thinspace{}
21427 mm space between row
21428 \begin_inset Formula $\uparrow$
21442 \begin_inset space \hfill{}
21446 \begin_inset space \hspace*{}
21451 \begin_inset VSpace medskip
21455 \begin_inset Newline newline
21458 So inserting space between rows for normal tables is only useful when you
21459 don't have vertical lines.
21462 \begin_layout Standard
21463 \begin_inset VSpace bigskip
21466 When you want to add extra height to all cells of all tables, you can do
21467 this with the following preamble lines:
21470 \begin_layout Standard
21475 @ifundefined{extrarowheight}
21476 \begin_inset Newline newline
21480 \begin_inset Phantom HPhantom
21483 \begin_layout Plain Layout
21486 \begin_inset space ~
21496 usepackage{array}}{}
21497 \begin_inset Newline newline
21504 extrarowheight}{height}
21507 \begin_inset Note Note
21510 \begin_layout Plain Layout
21515 will be loaded automatically by \SpecialChar LyX
21516 when you use self defined table formats.
21517 To avoid that it being loaded twice the command
21523 is used in the above command.
21531 \begin_layout Standard
21536 can have one of the units listed in appendix
21537 \begin_inset space ~
21541 \begin_inset CommandInset ref
21543 reference "cha:Units-available-in"
21548 But this has the disadvantage that the cell texts are no longer exactly
21549 vertically centered.
21552 \begin_layout Standard
21553 If you are using font sizes larger than the normal size, the table borders
21554 are often too close to the letters.
21555 This can be corrected by inserting the command
21561 in \SpecialChar TeX
21562 Code at the beginning of a table row.
21564 \begin_inset space ~
21568 \begin_inset CommandInset ref
21570 reference "tab:Vertical-alignment-of"
21574 illustrates the effect.
21577 \begin_layout Standard
21579 \begin_inset Float table
21585 \begin_layout Plain Layout
21586 \begin_inset Caption Standard
21588 \begin_layout Plain Layout
21589 \begin_inset CommandInset label
21591 name "tab:Vertical-alignment-of"
21595 Vertical alignment of text with large font sizes.
21603 \begin_layout Plain Layout
21604 \begin_inset space \hfill{}
21608 \begin_inset Float table
21613 \begin_layout Plain Layout
21614 \begin_inset Caption Standard
21616 \begin_layout Plain Layout
21625 \begin_layout Plain Layout
21628 \begin_inset Tabular
21629 <lyxtabular version="3" rows="6" columns="1">
21630 <features tabularvalignment="middle">
21631 <column alignment="left" valignment="top">
21633 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21636 \begin_layout Plain Layout
21644 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21647 \begin_layout Plain Layout
21657 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21660 \begin_layout Plain Layout
21670 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21673 \begin_layout Plain Layout
21683 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21686 \begin_layout Plain Layout
21696 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21699 \begin_layout Plain Layout
21718 \begin_inset space \hfill{}
21722 \begin_inset Float table
21727 \begin_layout Plain Layout
21728 \begin_inset Caption Standard
21730 \begin_layout Plain Layout
21731 Table using the command
21745 \begin_layout Plain Layout
21748 \begin_inset Tabular
21749 <lyxtabular version="3" rows="6" columns="1">
21750 <features tabularvalignment="middle">
21751 <column alignment="left" valignment="top">
21753 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21756 \begin_layout Plain Layout
21764 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21767 \begin_layout Plain Layout
21773 \begin_layout Plain Layout
21789 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21792 \begin_layout Plain Layout
21798 \begin_layout Plain Layout
21814 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21817 \begin_layout Plain Layout
21823 \begin_layout Plain Layout
21839 <cell alignment="left" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21842 \begin_layout Plain Layout
21848 \begin_layout Plain Layout
21864 <cell alignment="left" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
21867 \begin_layout Plain Layout
21873 \begin_layout Plain Layout
21900 \begin_inset space \hfill{}
21911 \begin_layout Subsection
21912 Special Cell Alignment
21913 \begin_inset CommandInset label
21915 name "subsec:Special-Cell-Alignment"
21920 \begin_inset Index idx
21923 \begin_layout Plain Layout
21924 Table Customization ! Special Cell Alignment
21932 \begin_layout Standard
21933 Sometimes it looks better when the cell entries of a column are aligned
21934 with a special character, e.
21935 \begin_inset space \thinspace{}
21939 \begin_inset space \space{}
21942 with the decimal separator as in Table
21943 \begin_inset space ~
21947 \begin_inset CommandInset ref
21949 reference "tab:Table-cells-align"
21954 This alignment is achieved by setting the cursor into the column and then
21955 either pressing the toolbar button
21958 arg "tabular-feature align-decimal"
21961 or setting the alignment in the table settings to
21964 \begin_inset space ~
21968 \begin_inset space ~
21974 The alignment character can be a character of your choice and is specified
21975 in the table settings.
21978 \begin_layout Standard
21979 \begin_inset Float table
21985 \begin_layout Plain Layout
21986 \begin_inset Caption Standard
21988 \begin_layout Plain Layout
21989 \begin_inset CommandInset label
21991 name "tab:Table-cells-align"
21995 Table cells of a column aligned with the decimal separator.
22003 \begin_layout Plain Layout
22005 \begin_inset Tabular
22006 <lyxtabular version="3" rows="4" columns="1">
22007 <features booktabs="true" tabularvalignment="middle">
22008 <column alignment="decimal" decimal_point="." valignment="top" width="0pt">
22010 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22013 \begin_layout Plain Layout
22021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22024 \begin_layout Plain Layout
22032 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22035 \begin_layout Plain Layout
22043 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
22046 \begin_layout Plain Layout
22065 \begin_layout Standard
22066 \begin_inset Float table
22072 \begin_layout Plain Layout
22073 \begin_inset Caption Standard
22075 \begin_layout Plain Layout
22076 \begin_inset CommandInset label
22078 name "tab:Table-align-operator"
22082 Table cells of a column aligned with the operators.
22090 \begin_layout Plain Layout
22092 \begin_inset Tabular
22093 <lyxtabular version="3" rows="4" columns="2">
22094 <features booktabs="true" tabularvalignment="middle">
22095 <column alignment="right" valignment="top" width="0pt">
22096 <column alignment="left" valignment="top" width="0pt" special="@{}l">
22098 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22101 \begin_layout Plain Layout
22107 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22110 \begin_layout Plain Layout
22118 <cell alignment="center" valignment="top" usebox="none">
22121 \begin_layout Plain Layout
22122 \begin_inset Formula $12\,+$
22130 <cell alignment="center" valignment="top" usebox="none">
22133 \begin_layout Plain Layout
22134 \begin_inset Formula $\,6$
22144 <cell alignment="center" valignment="top" usebox="none">
22147 \begin_layout Plain Layout
22148 \begin_inset Formula $0\,-$
22156 <cell alignment="center" valignment="top" usebox="none">
22159 \begin_layout Plain Layout
22160 \begin_inset Formula $\,68$
22170 <cell alignment="center" valignment="top" usebox="none">
22173 \begin_layout Plain Layout
22174 \begin_inset Formula $-123\,/$
22182 <cell alignment="center" valignment="top" usebox="none">
22185 \begin_layout Plain Layout
22186 \begin_inset Formula $\,0$
22207 \begin_layout Standard
22208 For alignments at characters in formulas this method does not work because
22209 the field to specify the alignment character does not allow formulas.
22210 In this case one need to use the method from Table
22211 \begin_inset space ~
22215 \begin_inset CommandInset ref
22217 reference "tab:Table-align-operator"
22222 This table was created with a 4×2 table.
22223 The heading is a centered multicolumn.
22224 The first column is right-aligned and contains the first part including
22226 The second column is left aligned and contains the rest.
22227 A small space was added at the beginning of each cell of the second column
22228 to get the space that is usually around operators.
22229 To omit the space that is normally between two table columns, the following
22231 -argument was used for the second column:
22234 \begin_layout Standard
22240 \begin_layout Standard
22242 \begin_inset space ~
22246 \begin_inset CommandInset ref
22248 reference "tab:Several-table-cell"
22252 shows some example alignments.
22253 For the alignment with the relation sign, a small space was added like
22254 for the second column of Table
22255 \begin_inset space ~
22259 \begin_inset CommandInset ref
22261 reference "tab:Table-align-operator"
22268 \begin_layout Standard
22269 \begin_inset Float table
22275 \begin_layout Plain Layout
22276 \begin_inset Caption Standard
22278 \begin_layout Plain Layout
22279 \begin_inset CommandInset label
22281 name "tab:Several-table-cell"
22285 Several table cell alignments.
22293 \begin_layout Plain Layout
22295 \begin_inset Tabular
22296 <lyxtabular version="3" rows="4" columns="6">
22297 <features tabularvalignment="middle">
22298 <column alignment="right" valignment="top">
22299 <column alignment="left" valignment="top" special="@{}l">
22300 <column alignment="right" valignment="top">
22301 <column alignment="left" valignment="top" special="@{}l">
22302 <column alignment="right" valignment="top">
22303 <column alignment="left" valignment="top" special="@{}l">
22305 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22308 \begin_layout Plain Layout
22314 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22317 \begin_layout Plain Layout
22323 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
22326 \begin_layout Plain Layout
22332 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22335 \begin_layout Plain Layout
22341 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
22344 \begin_layout Plain Layout
22350 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22353 \begin_layout Plain Layout
22361 <cell alignment="center" valignment="top" usebox="none">
22364 \begin_layout Plain Layout
22370 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22373 \begin_layout Plain Layout
22375 \begin_inset space \thinspace{}
22383 <cell alignment="center" valignment="top" usebox="none">
22386 \begin_layout Plain Layout
22387 \begin_inset Formula $10\cdot$
22395 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22398 \begin_layout Plain Layout
22399 \begin_inset Formula $10^{\mbox{-}17}$
22407 <cell alignment="center" valignment="top" usebox="none">
22410 \begin_layout Plain Layout
22411 \begin_inset Formula $\Gamma(t)\propto$
22419 <cell alignment="center" valignment="top" usebox="none">
22422 \begin_layout Plain Layout
22423 \begin_inset Formula $\:\Upsilon(t)$
22433 <cell alignment="center" valignment="top" usebox="none">
22436 \begin_layout Plain Layout
22442 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22445 \begin_layout Plain Layout
22447 \begin_inset space \thinspace{}
22455 <cell alignment="center" valignment="top" usebox="none">
22458 \begin_layout Plain Layout
22459 \begin_inset Formula $5.78\cdot$
22467 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22470 \begin_layout Plain Layout
22471 \begin_inset Formula $10^{7}$
22479 <cell alignment="center" valignment="top" usebox="none">
22482 \begin_layout Plain Layout
22483 \begin_inset Formula $A\ne$
22491 <cell alignment="center" valignment="top" usebox="none">
22494 \begin_layout Plain Layout
22495 \begin_inset Formula $\:B_{\mathrm{red}}$
22505 <cell alignment="center" valignment="top" usebox="none">
22508 \begin_layout Plain Layout
22514 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22517 \begin_layout Plain Layout
22519 \begin_inset space \thinspace{}
22527 <cell alignment="center" valignment="top" usebox="none">
22530 \begin_layout Plain Layout
22532 \begin_inset Formula $33.5\cdot$
22540 <cell alignment="center" valignment="top" rightline="true" usebox="none">
22543 \begin_layout Plain Layout
22544 \begin_inset Formula $10^{4}$
22552 <cell alignment="center" valignment="top" usebox="none">
22555 \begin_layout Plain Layout
22556 \begin_inset Formula $\sin(\alpha)\ge$
22564 <cell alignment="center" valignment="top" usebox="none">
22567 \begin_layout Plain Layout
22568 \begin_inset Formula $\:\sin(\beta)$
22589 \begin_layout Subsection
22590 Customized Cell/Column Format
22591 \begin_inset CommandInset label
22593 name "subsec:Customized-Format"
22598 \begin_inset Index idx
22601 \begin_layout Plain Layout
22602 Table Customization ! Cell/Column Format
22610 \begin_layout Standard
22611 Calculating the required width for normal columns as described in section
22612 \begin_inset space ~
22616 \begin_inset CommandInset ref
22618 reference "sec:Table-Width-Calculation"
22622 or for spanned columns as described in section
22623 \begin_inset space ~
22627 \begin_inset CommandInset ref
22629 reference "subsec:Multicolumn-Calculations"
22633 is very annoying if you have several tables where a calculation is necessary.
22634 To make life easier, you can define a cell/column format in the preamble,
22635 that can be used in all tables of the document.
22636 The format is defined with the command
22639 \begin_layout Standard
22644 newcolumntype{name of format}[number of arguments]{commands}
22647 \begin_layout Standard
22648 The format name may only consist of one letter.
22673 are predefined and cannot be used.
22674 But all letters are allowed as capitals.
22677 \begin_layout Standard
22678 \begin_inset VSpace medskip
22684 \begin_layout Standard
22685 For vertically and horizontally centered multicolumn cells with a fixed
22686 width you can define the cell format
22689 \begin_layout Standard
22694 newcolumntype{M}[1]{>{
22701 \begin_layout Standard
22708 avoids the problem of hyphenating the first word, as described in section
22709 \begin_inset space ~
22713 \begin_inset CommandInset ref
22715 reference "subsec:Multiple-Lines-in"
22720 Now you can simply enter
22723 \begin_layout Standard
22729 \begin_layout Standard
22735 in the table dialog to create a multicolumn.
22738 \begin_layout Standard
22739 \begin_inset VSpace bigskip
22745 \begin_layout Standard
22746 For cells spanned by a multicolumn cell, you can define the format
22749 \begin_layout Standard
22754 newcolumntype{S}[2]{>{
22759 \begin_inset Newline newline
22763 \begin_inset Phantom HPhantom
22766 \begin_layout Plain Layout
22780 arrayrulewidth)*(1-#2))/#2}}
22783 \begin_layout Standard
22784 This format uses equation
22785 \begin_inset CommandInset ref
22791 to calculate the required width so that each spanned cell has the same
22795 \begin_layout Standard
22799 \begin_layout Standard
22802 S{width of multicolumn cell}{number of spanned columns}
22805 \begin_layout Standard
22806 as \SpecialChar LaTeX
22807 -argument of the column.
22810 \begin_layout Standard
22811 \begin_inset VSpace bigskip
22817 \begin_layout Standard
22818 For colored columns, you can define
22821 \begin_layout Standard
22826 newcolumntype{K}[1]{>{
22833 \begin_layout Standard
22835 \begin_inset Quotes eld
22839 \begin_inset Quotes erd
22842 at the end creates a column with a flexible width whose text is horizontally
22847 \begin_layout Standard
22853 \begin_layout Standard
22854 as \SpecialChar LaTeX
22858 \begin_layout Standard
22859 \begin_inset VSpace bigskip
22865 \begin_layout Standard
22867 \begin_inset space ~
22871 \begin_inset CommandInset ref
22873 reference "tab:Table-using-user-defined"
22877 use the \SpecialChar LaTeX
22881 \begin_layout Standard
22887 \begin_layout Standard
22888 for the first column and the multicolumn,
22891 \begin_layout Standard
22897 \begin_layout Standard
22898 for the last column, and
22901 \begin_layout Standard
22907 \begin_layout Standard
22908 for the cells in the second column.
22911 \begin_layout Standard
22912 \begin_inset Float table
22918 \begin_layout Plain Layout
22919 \begin_inset Caption Standard
22921 \begin_layout Plain Layout
22922 \begin_inset CommandInset label
22924 name "tab:Table-using-user-defined"
22928 Table using user-defined table formats
22936 \begin_layout Plain Layout
22938 \begin_inset Tabular
22939 <lyxtabular version="3" rows="3" columns="4">
22940 <features tabularvalignment="middle">
22941 <column alignment="center" valignment="middle" width="2.5cm" special="M{2.5cm}">
22942 <column alignment="center" valignment="middle" special="S{2.5cm}{2}">
22943 <column alignment="center" valignment="middle">
22944 <column alignment="center" valignment="middle" special="K{red}">
22946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22949 \begin_layout Plain Layout
22950 verylongtablecellword
22955 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="M{2.5cm}">
22958 \begin_layout Plain Layout
22959 multiple lines multicolumn
22964 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22967 \begin_layout Plain Layout
22973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
22976 \begin_layout Plain Layout
22984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22987 \begin_layout Plain Layout
22993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
22996 \begin_layout Plain Layout
23002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23005 \begin_layout Plain Layout
23011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23014 \begin_layout Plain Layout
23022 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23025 \begin_layout Plain Layout
23031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23034 \begin_layout Plain Layout
23040 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23043 \begin_layout Plain Layout
23049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23052 \begin_layout Plain Layout
23071 \begin_layout Subsection
23073 \begin_inset CommandInset label
23075 name "subsec:Line-Thickness"
23080 \begin_inset Index idx
23083 \begin_layout Plain Layout
23084 Table Customization ! Line Thickness
23092 \begin_layout Standard
23093 The line thickness for all lines in a table can be adjusted with the length
23101 To set for example a line thickness of 1.5
23102 \begin_inset space \thinspace{}
23106 \begin_inset space ~
23110 \begin_inset CommandInset ref
23112 reference "tab:Table-with-1.5"
23116 , insert the command
23119 \begin_layout Standard
23126 arrayrulewidth}{1.5pt}
23129 \begin_layout Standard
23130 in \SpecialChar TeX
23131 Code before the table or table float.
23132 The changed thickness is valid for all subsequent tables.
23133 To use the default value again, set
23140 \begin_inset space \thinspace{}
23143 pt in \SpecialChar TeX
23144 Code after the table or table float.
23147 \begin_layout Standard
23151 \begin_layout Plain Layout
23157 arrayrulewidth}{1.5pt}
23163 \begin_inset Float table
23168 \begin_layout Plain Layout
23169 \begin_inset Caption Standard
23171 \begin_layout Plain Layout
23172 \begin_inset CommandInset label
23174 name "tab:Table-with-1.5"
23179 \begin_inset space \thinspace{}
23190 \begin_layout Plain Layout
23192 \begin_inset Tabular
23193 <lyxtabular version="3" rows="3" columns="3">
23194 <features tabularvalignment="middle">
23195 <column alignment="center" valignment="top">
23196 <column alignment="center" valignment="top">
23197 <column alignment="center" valignment="top">
23199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23202 \begin_layout Plain Layout
23208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23211 \begin_layout Plain Layout
23217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23220 \begin_layout Plain Layout
23228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23231 \begin_layout Plain Layout
23237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23240 \begin_layout Plain Layout
23246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23249 \begin_layout Plain Layout
23257 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23260 \begin_layout Plain Layout
23266 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23269 \begin_layout Plain Layout
23275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23278 \begin_layout Plain Layout
23298 \begin_layout Plain Layout
23304 arrayrulewidth}{0.4pt}
23312 \begin_layout Standard
23313 \begin_inset VSpace bigskip
23316 To set the line thickness to 1.5
23317 \begin_inset space \thinspace{}
23320 pt only for horizontal lines, as in Table
23321 \begin_inset space ~
23325 \begin_inset CommandInset ref
23327 reference "tab:Table-with-horizontal"
23331 , insert these commands in \SpecialChar TeX
23332 Code before the table or table float:
23335 \begin_layout Standard
23345 \begin_inset Newline newline
23353 \begin_inset Newline newline
23362 arrayrulewidth 1.5pt}
23363 \begin_inset Newline newline
23374 arrayrulewidth 0.4pt}}
23377 \begin_layout Standard
23378 To return to the default line thickness, insert this command in \SpecialChar TeX
23380 the table or table float:
23383 \begin_layout Standard
23395 \begin_layout Standard
23399 \begin_layout Plain Layout
23410 \begin_layout Plain Layout
23419 \begin_layout Plain Layout
23427 arrayrulewidth 1.5pt}
23430 \begin_layout Plain Layout
23440 arrayrulewidth 0.4pt}}
23446 \begin_inset Float table
23451 \begin_layout Plain Layout
23452 \begin_inset Caption Standard
23454 \begin_layout Plain Layout
23455 \begin_inset CommandInset label
23457 name "tab:Table-with-horizontal"
23462 \begin_inset space \thinspace{}
23465 pt thick horizontal lines
23473 \begin_layout Plain Layout
23475 \begin_inset Tabular
23476 <lyxtabular version="3" rows="3" columns="3">
23477 <features tabularvalignment="middle">
23478 <column alignment="center" valignment="top">
23479 <column alignment="center" valignment="top">
23480 <column alignment="center" valignment="top">
23482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23485 \begin_layout Plain Layout
23491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23494 \begin_layout Plain Layout
23500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23503 \begin_layout Plain Layout
23511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23514 \begin_layout Plain Layout
23520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23523 \begin_layout Plain Layout
23529 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23532 \begin_layout Plain Layout
23540 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23543 \begin_layout Plain Layout
23549 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23552 \begin_layout Plain Layout
23558 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23561 \begin_layout Plain Layout
23581 \begin_layout Plain Layout
23597 \begin_layout Standard
23598 \begin_inset VSpace bigskip
23601 To set the line thickness to 1.5
23602 \begin_inset space \thinspace{}
23605 pt only for vertical lines, create the following column format in the document
23606 preamble, according to the description in section
23607 \begin_inset space ~
23611 \begin_inset CommandInset ref
23613 reference "subsec:Customized-Format"
23620 \begin_layout Standard
23625 newcolumntype{V}{!{
23627 vrule width 1.5pt}}
23630 \begin_layout Standard
23632 \begin_inset space ~
23636 \begin_inset CommandInset ref
23638 reference "tab:Table-with-vertical"
23642 the \SpecialChar LaTeX
23646 \begin_layout Standard
23652 \begin_layout Standard
23653 was used for the last column and
23656 \begin_layout Standard
23662 \begin_layout Standard
23663 for the other columns.
23666 \begin_layout Standard
23667 \begin_inset Float table
23672 \begin_layout Plain Layout
23673 \begin_inset Caption Standard
23675 \begin_layout Plain Layout
23676 \begin_inset CommandInset label
23678 name "tab:Table-with-vertical"
23683 \begin_inset space \thinspace{}
23686 pt thick vertical lines
23694 \begin_layout Plain Layout
23696 \begin_inset Tabular
23697 <lyxtabular version="3" rows="3" columns="3">
23698 <features tabularvalignment="middle">
23699 <column alignment="center" valignment="top" special="Vc">
23700 <column alignment="center" valignment="top" special="Vc">
23701 <column alignment="center" valignment="top" special="VcV">
23703 <cell alignment="center" valignment="top" topline="true" usebox="none">
23706 \begin_layout Plain Layout
23712 <cell alignment="center" valignment="top" topline="true" usebox="none">
23715 \begin_layout Plain Layout
23721 <cell alignment="center" valignment="top" topline="true" usebox="none">
23724 \begin_layout Plain Layout
23732 <cell alignment="center" valignment="top" topline="true" usebox="none">
23735 \begin_layout Plain Layout
23741 <cell alignment="center" valignment="top" topline="true" usebox="none">
23744 \begin_layout Plain Layout
23750 <cell alignment="center" valignment="top" topline="true" usebox="none">
23753 \begin_layout Plain Layout
23761 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
23764 \begin_layout Plain Layout
23770 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
23773 \begin_layout Plain Layout
23779 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
23782 \begin_layout Plain Layout
23801 \begin_layout Subsection
23803 \begin_inset Index idx
23806 \begin_layout Plain Layout
23807 Table Customization ! Dashed Lines
23815 \begin_layout Standard
23819 \begin_layout Plain Layout
23829 \begin_inset Note Note
23832 \begin_layout Plain Layout
23833 The following section will only be displayed when the \SpecialChar LaTeX
23846 \begin_layout Standard
23847 \begin_inset Float table
23853 \begin_layout Plain Layout
23854 \begin_inset Caption Standard
23856 \begin_layout Plain Layout
23857 \begin_inset CommandInset label
23859 name "tab:Table-with-dashed"
23863 Table with dashed lines
23871 \begin_layout Plain Layout
23873 \begin_inset Tabular
23874 <lyxtabular version="3" rows="5" columns="5">
23875 <features tabularvalignment="middle">
23876 <column alignment="center" valignment="top">
23877 <column alignment="center" valignment="top">
23878 <column alignment="center" valignment="top" special=":c">
23879 <column alignment="center" valignment="top">
23880 <column alignment="center" valignment="top">
23882 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23885 \begin_layout Plain Layout
23891 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23894 \begin_layout Plain Layout
23900 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
23903 \begin_layout Plain Layout
23909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
23912 \begin_layout Plain Layout
23918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
23921 \begin_layout Plain Layout
23929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23932 \begin_layout Plain Layout
23938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23941 \begin_layout Plain Layout
23947 <cell alignment="center" valignment="top" topline="true" usebox="none">
23950 \begin_layout Plain Layout
23956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
23959 \begin_layout Plain Layout
23965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
23968 \begin_layout Plain Layout
23976 <cell alignment="center" valignment="top" leftline="true" usebox="none">
23979 \begin_layout Plain Layout
23983 \begin_layout Plain Layout
23997 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24000 \begin_layout Plain Layout
24006 <cell alignment="center" valignment="top" usebox="none">
24009 \begin_layout Plain Layout
24015 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24018 \begin_layout Plain Layout
24024 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24027 \begin_layout Plain Layout
24035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24038 \begin_layout Plain Layout
24042 \begin_layout Plain Layout
24056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24059 \begin_layout Plain Layout
24065 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24068 \begin_layout Plain Layout
24074 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24077 \begin_layout Plain Layout
24083 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24086 \begin_layout Plain Layout
24094 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24097 \begin_layout Plain Layout
24103 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24106 \begin_layout Plain Layout
24112 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24115 \begin_layout Plain Layout
24121 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24124 \begin_layout Plain Layout
24130 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24133 \begin_layout Plain Layout
24152 \begin_layout Standard
24154 does not natively support dashed lines, so you have to use \SpecialChar TeX
24156 As a prerequisite the \SpecialChar LaTeX
24162 \begin_inset Index idx
24165 \begin_layout Plain Layout
24167 -packages ! arydshln
24172 must be loaded in the document preamble with the command
24175 \begin_layout Standard
24180 usepackage{arydshln}
24183 \begin_layout Standard
24184 To make a vertical line dashed, enter the colon
24185 \begin_inset Quotes eld
24189 \begin_inset Quotes erd
24192 together with the character for the horizontal alignment as \SpecialChar LaTeX
24194 the table cell dialog.
24197 \begin_layout Standard
24198 For a horizontal dashed line add the command
24201 \begin_layout Standard
24209 \begin_layout Standard
24210 in \SpecialChar TeX
24211 Code as first element of the first cell in the table row.
24214 \begin_layout Standard
24215 For dashed multicolumn lines use the command
24218 \begin_layout Standard
24223 cdashline{line number
24228 \begin_layout Standard
24229 in \SpecialChar TeX
24230 Code as the first element of the first cell in the table row.
24231 If you have for example a multicolumn spanning columns 2 to 4 and you want
24232 to have a dashed line above, add the command
24235 \begin_layout Standard
24243 \begin_layout Standard
24244 as the first element of the first cell in the row of the multicolumn.
24247 \begin_layout Standard
24248 \begin_inset VSpace bigskip
24254 \begin_layout Standard
24256 \begin_inset space ~
24260 \begin_inset CommandInset ref
24262 reference "tab:Table-with-dashed"
24267 \begin_inset Quotes eld
24275 \begin_inset Quotes erd
24278 as \SpecialChar LaTeX
24279 argument of the third column.
24280 The \SpecialChar TeX
24287 was inserted in the first cell of the third row and the \SpecialChar TeX
24289 \begin_inset Newline newline
24298 was inserted in the first cell of the fourth row.
24301 \begin_layout Standard
24302 \begin_inset VSpace bigskip
24308 \begin_layout Standard
24309 Tables with dashed lines can also be colored as shown by Table
24310 \begin_inset space ~
24314 \begin_inset CommandInset ref
24316 reference "tab:Colored-table-with"
24323 \begin_layout Standard
24327 \begin_layout Plain Layout
24333 arrayrulewidth}{1pt}
24339 \begin_inset Note Note
24342 \begin_layout Plain Layout
24343 thicker lines for better visualization of the line color
24351 \begin_layout Standard
24355 \begin_layout Plain Layout
24359 dashgapcolor{green}
24365 \begin_inset Note Note
24368 \begin_layout Plain Layout
24369 color gaps between dashes green
24377 \begin_layout Standard
24381 \begin_layout Plain Layout
24392 \begin_layout Plain Layout
24401 \begin_layout Plain Layout
24405 arrayrulecolor{red}
24409 arrayrulecolor{black}}
24415 \begin_inset Note Note
24418 \begin_layout Plain Layout
24419 color horizontal, dashed lines red
24427 \begin_layout Standard
24431 \begin_layout Plain Layout
24442 \begin_layout Plain Layout
24451 \begin_layout Plain Layout
24455 arrayrulecolor{yellow}
24459 arrayrulecolor{black}}
24465 \begin_inset Note Note
24468 \begin_layout Plain Layout
24469 color partial horizontal, dashed lines yellow
24477 \begin_layout Standard
24478 \begin_inset Float table
24484 \begin_layout Plain Layout
24485 \begin_inset Caption Standard
24487 \begin_layout Plain Layout
24488 \begin_inset CommandInset label
24490 name "tab:Colored-table-with"
24494 Colored table with dashed lines
24502 \begin_layout Plain Layout
24504 \begin_inset Tabular
24505 <lyxtabular version="3" rows="5" columns="5">
24506 <features tabularvalignment="middle">
24507 <column alignment="center" valignment="top" width="0pt" special=">{\columncolor{darkgreen}\centering}c">
24508 <column alignment="center" valignment="top" width="0pt">
24509 <column alignment="center" valignment="top" width="0pt" special=":c">
24510 <column alignment="center" valignment="top">
24511 <column alignment="center" valignment="top">
24513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24516 \begin_layout Plain Layout
24522 <cell alignment="center" valignment="top" topline="true" usebox="none">
24525 \begin_layout Plain Layout
24531 <cell alignment="center" valignment="top" topline="true" usebox="none">
24534 \begin_layout Plain Layout
24540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24543 \begin_layout Plain Layout
24549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24552 \begin_layout Plain Layout
24560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24563 \begin_layout Plain Layout
24569 <cell alignment="center" valignment="top" topline="true" usebox="none">
24572 \begin_layout Plain Layout
24578 <cell alignment="center" valignment="top" topline="true" usebox="none">
24581 \begin_layout Plain Layout
24587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24590 \begin_layout Plain Layout
24596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24599 \begin_layout Plain Layout
24607 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24610 \begin_layout Plain Layout
24614 \begin_layout Plain Layout
24627 \begin_layout Plain Layout
24641 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24644 \begin_layout Plain Layout
24650 <cell alignment="center" valignment="top" usebox="none">
24653 \begin_layout Plain Layout
24659 <cell alignment="center" valignment="top" leftline="true" usebox="none">
24662 \begin_layout Plain Layout
24668 <cell alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24671 \begin_layout Plain Layout
24679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24682 \begin_layout Plain Layout
24686 \begin_layout Plain Layout
24700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24703 \begin_layout Plain Layout
24709 <cell alignment="center" valignment="top" topline="true" usebox="none" special="c:">
24712 \begin_layout Plain Layout
24718 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" rightline="true" usebox="none">
24721 \begin_layout Plain Layout
24727 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24730 \begin_layout Plain Layout
24738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24741 \begin_layout Plain Layout
24747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24750 \begin_layout Plain Layout
24756 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
24759 \begin_layout Plain Layout
24765 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
24768 \begin_layout Plain Layout
24774 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
24777 \begin_layout Plain Layout
24781 \begin_layout Plain Layout
24808 \begin_layout Standard
24812 \begin_layout Plain Layout
24826 \begin_inset Note Note
24829 \begin_layout Plain Layout
24838 \begin_layout Standard
24842 \begin_layout Plain Layout
24856 \begin_inset Note Note
24859 \begin_layout Plain Layout
24868 \begin_layout Standard
24872 \begin_layout Plain Layout
24882 \begin_inset Note Note
24885 \begin_layout Plain Layout
24894 \begin_layout Standard
24898 \begin_layout Plain Layout
24904 arrayrulewidth}{0.4pt}
24910 \begin_inset Note Note
24913 \begin_layout Plain Layout
24922 \begin_layout Standard
24923 The coloring of lines, columns and lines works as decribed in section
24924 \begin_inset space ~
24928 \begin_inset CommandInset ref
24930 reference "sec:Colored-Tables"
24935 Coloring horizontal lines works analogically as described there as well,
24936 one only needs to replace in the commands
24960 ; so one uses the command
24963 \begin_layout Standard
24973 \begin_inset Newline newline
24981 \begin_inset Newline newline
24985 \begin_inset Phantom HPhantom
24988 \begin_layout Plain Layout
24989 \begin_inset space ~
24999 arrayrulecolor{red}
25003 arrayrulecolor{black}}
25006 \begin_layout Standard
25016 \begin_layout Standard
25026 \begin_inset Newline newline
25034 \begin_inset Newline newline
25038 \begin_inset Phantom HPhantom
25041 \begin_layout Plain Layout
25042 \begin_inset space ~
25052 arrayrulecolor{red}
25056 arrayrulecolor{black}}
25059 \begin_layout Standard
25060 To get back the black line color, one needs to insert the following commands
25061 as \SpecialChar TeX
25062 Code behind the table:
25065 \begin_layout Standard
25073 \begin_layout Standard
25085 \begin_layout Standard
25093 \begin_layout Standard
25105 \begin_layout Standard
25106 To color the gaps between the dashes the command
25109 \begin_layout Standard
25114 dashgapcolor{color}
25117 \begin_layout Standard
25118 can be used in front of a table as \SpecialChar TeX
25120 color is hereby the name of a defined color.
25124 \begin_layout Standard
25132 \begin_layout Standard
25133 unsets the changes made by
25142 \begin_layout Standard
25143 \begin_inset Note Greyedout
25146 \begin_layout Plain Layout
25152 : If there are multiple commands in a cell, the command of
25156 needs to be the first one in the cell.
25162 \begin_inset space ~
25166 \begin_inset CommandInset ref
25168 reference "tab:Colored-table-with"
25192 \begin_layout Standard
25193 \begin_inset Note Greyedout
25196 \begin_layout Plain Layout
25202 The \SpecialChar LaTeX
25207 must be loaded in the document preamble before the \SpecialChar LaTeX
25213 \begin_inset Index idx
25216 \begin_layout Plain Layout
25218 -packages ! colortbl
25231 \begin_layout Standard
25235 \begin_layout Plain Layout
25245 \begin_inset Note Note
25248 \begin_layout Plain Layout
25249 The following will be displayed when the \SpecialChar LaTeX
25262 \begin_layout Standard
25263 You need to install the package
25267 to see the content of this section in the output.
25270 \begin_layout Standard
25274 \begin_layout Plain Layout
25286 \begin_layout Standard
25287 For more information about dashed lines see the documentation of
25292 \begin_inset CommandInset citation
25301 \begin_layout Chapter
25303 \begin_inset CommandInset label
25310 \begin_inset Index idx
25313 \begin_layout Plain Layout
25322 \begin_layout Section
25324 \begin_inset CommandInset label
25326 name "sec:FloatIntroduction"
25331 \begin_inset Index idx
25334 \begin_layout Plain Layout
25335 Floats ! Introduction
25343 \begin_layout Standard
25344 A float is a block of text associated with some sort of label, which doesn't
25345 have a fixed location.
25347 \begin_inset Quotes eld
25351 \begin_inset Quotes erd
25354 forward or backward a page or two, to wherever it fits best.
25362 \begin_inset space ~
25367 are also floats because they can float to the next page when there are
25368 too many notes on the page.
25371 \begin_layout Standard
25372 Floats allow a high quality layout.
25373 Images and tables can be spread evenly among the pages to avoid white space
25374 and pages without text.
25375 As the floating often destroys the context between the text and the image/table
25376 , every float can be referenced in the text.
25377 Floats are therefore numbered.
25378 Referencing is described in section
25379 \begin_inset space ~
25383 \begin_inset CommandInset ref
25385 reference "sec:Referencing-Floats"
25392 \begin_layout Standard
25393 To insert a float, use the menu
25395 Insert\SpecialChar menuseparator
25401 arg "float-insert figure"
25407 arg "float-insert table"
25415 inset, a box with a label.
25416 The label will automatically be translated to the document language in
25418 After the label you can insert the caption text.
25419 The image or table is inserted above or below the caption in a separate
25420 paragraph within the float.
25421 More about the caption placement is contained in section
25422 \begin_inset space ~
25426 \begin_inset CommandInset ref
25428 reference "sec:Caption-Placement"
25433 To keep your \SpecialChar LyX
25434 document readable, you can open and close the float box by
25435 left-clicking on the box label.
25436 A closed float box looks like this:
25437 \begin_inset Graphics
25438 filename clipart/float.png
25440 scaleBeforeRotation
25444 – a gray button with a red label.
25447 \begin_layout Standard
25448 It is recommended that you insert floats as separate standard paragraphs
25449 to avoid possible \SpecialChar LaTeX
25450 -errors that can occur when the surrounding text is specially
25454 \begin_layout Standard
25455 Existing figures or tables can be put into a float by highlighting them
25456 and then pressing the corresponding toolbar button for a new float.
25459 \begin_layout Section
25463 \begin_layout Standard
25464 Besides figure and table floats that are described in sections
25465 \begin_inset space ~
25469 \begin_inset CommandInset ref
25471 reference "sec:Figure-Floats"
25476 \begin_inset CommandInset ref
25478 reference "sec:Table-Floats"
25482 respectively, \SpecialChar LyX
25483 offers the float types
25492 The latter are explained in sec.
25493 \begin_inset space \thinspace{}
25497 \begin_inset CommandInset ref
25499 reference "sec:Wrap-Floats"
25506 \begin_layout Subsection
25508 \begin_inset Index idx
25511 \begin_layout Plain Layout
25512 Floats ! Algorithms
25520 \begin_layout Standard
25521 \begin_inset Float algorithm
25527 \begin_layout Plain Layout
25528 \begin_inset Caption Standard
25530 \begin_layout Plain Layout
25531 \begin_inset CommandInset label
25533 name "alg:Example-Algorithm-float"
25537 Example Algorithm float
25545 \begin_layout LyX-Code
25547 \begin_inset Newline newline
25550 Sum:= Sum + A(I); /*comment*/
25551 \begin_inset Newline newline
25555 \begin_inset VSpace -4mm
25566 \begin_layout Standard
25567 This float type is inserted with the menu
25569 Insert\SpecialChar menuseparator
25570 Float\SpecialChar menuseparator
25574 It is used for program codes and descriptions of algorithms and can be
25575 seen as an alternative to program code listings that are explained in chapter
25576 \begin_inset space ~
25580 \begin_inset CommandInset ref
25582 reference "cha:Program-Code-Listings"
25587 A possible environment for algorithms is the
25592 , described in \SpecialChar LyX
25599 \begin_inset space ~
25603 \begin_inset CommandInset ref
25605 reference "alg:Example-Algorithm-float"
25609 is an example of an algorithm float where -4
25610 \begin_inset space \thinspace{}
25613 mm vertical space was added at the end of the float to have the bottom rule
25614 exactly below the last text line.
25617 \begin_layout Standard
25618 The float label is not automatically translated into the document language.
25619 If your document is not in English, you have to do this manually by adding
25620 the following line to the document preamble
25625 \begin_layout Standard
25630 floatname{algorithm}{your
25631 \begin_inset space ~
25637 \begin_layout Standard
25641 \begin_inset space ~
25647 \begin_inset Quotes eld
25655 \begin_inset Quotes erd
25661 \begin_layout Standard
25662 To insert the list of algorithms you can use the menu
25664 Insert\SpecialChar menuseparator
25666 \begin_inset space \thinspace{}
25670 \begin_inset space \thinspace{}
25673 TOC\SpecialChar menuseparator
25676 when your document has the same language as \SpecialChar LyX
25678 In other cases use this command in \SpecialChar TeX
25682 \begin_layout Standard
25687 listof{algorithm}{your
25688 \begin_inset space ~
25694 \begin_layout Standard
25698 \begin_inset space ~
25704 \begin_inset Quotes eld
25712 \begin_inset Quotes erd
25718 \begin_layout Standard
25719 Algorithm floats are not by default numbered in the scheme
25720 \begin_inset Quotes eld
25724 \begin_inset Quotes erd
25727 as is the case for table and figure floats in many document-classes.
25728 To number algorithm floats in the same scheme, add this command to your
25732 \begin_layout Standard
25737 numberwithin{algorithm}{chapter}
25740 \begin_layout Standard
25741 To be able to use the command
25750 \begin_inset space ~
25755 in the document settings the option
25758 \begin_inset space ~
25762 \begin_inset space ~
25766 \begin_inset space ~
25774 \begin_layout Section
25776 \begin_inset Index idx
25779 \begin_layout Plain Layout
25788 \begin_layout Standard
25789 Floats are usually numbered either independently from the sections the floats
25790 are in, or in the scheme
25791 \begin_inset Quotes eld
25795 \begin_inset Quotes erd
25799 \begin_inset Quotes eld
25803 \begin_inset Quotes erd
25807 This depends on the document class used.
25810 \begin_layout Standard
25811 To change section-independent numbering, you can use this command in the
25815 \begin_layout Standard
25827 \begin_layout Standard
25834 is the command that prints the table number.
25835 For figure floats, the command would be
25848 in the command above prints the table number as a small roman number.
25851 \begin_layout Standard
25852 To change the numbering scheme for example to
25853 \begin_inset Quotes eld
25857 \begin_inset Quotes erd
25860 , use this command in the preamble:
25863 \begin_layout Standard
25868 numberwithin{table}{subsection}
25871 \begin_layout Standard
25872 To be able to use the command
25881 \begin_inset space ~
25886 in the document settings the option
25889 \begin_inset space ~
25893 \begin_inset space ~
25897 \begin_inset space ~
25905 \begin_layout Standard
25906 Please also have a look at section
25907 \begin_inset space ~
25911 \begin_inset CommandInset ref
25913 reference "subsec:Footnote-Numbering"
25917 for the details and important notes about the numbering commands.
25920 \begin_layout Section
25922 \begin_inset CommandInset label
25924 name "sec:Referencing-Floats"
25929 \begin_inset Index idx
25932 \begin_layout Plain Layout
25933 Floats ! References
25939 \begin_inset Index idx
25942 \begin_layout Plain Layout
25943 References ! to Floats
25951 \begin_layout Standard
25952 To reference a float, insert a label into its caption using the menu
25954 Insert\SpecialChar menuseparator
25957 or the toolbar button
25964 A grey label box like this one:
25965 \begin_inset Graphics
25966 filename clipart/label.png
25967 scaleBeforeRotation
25971 will be inserted and the label window pops up asking for the label text.
25973 offers as text the first words of the caption with a prefix.
25974 The prefix depends on the float type, e.
25975 \begin_inset space \thinspace{}
25979 \begin_inset space \space{}
25982 for figure floats the prefix will be "
25989 \begin_layout Standard
25990 The label is used as anchor and name for the reference.
25991 You can refer to the label using the menu
25993 Insert\SpecialChar menuseparator
25996 or the toolbar button
25999 arg "dialog-show-new-inset ref"
26003 The cross-reference window appears showing all labels of the document.
26004 If you have multiple \SpecialChar LyX
26005 documents opened, choose the one you are working
26006 on from the drop-list at the top of the dialog.
26007 You can now sort the labels alphabetically and then choose one.
26008 A grey cross-reference box like this one:
26009 \begin_inset Graphics
26010 filename clipart/reference.png
26011 scaleBeforeRotation
26016 At the position of the cross-reference box the float number will appear
26020 \begin_layout Standard
26021 It is recommended that you use a protected space between the cross-reference
26022 name and its number to avoid line breaks between them.
26023 If a cross-reference refers to a non-existing label, you will see two question
26024 marks in the output instead of the reference.
26027 \begin_layout Standard
26028 You can change labels at any time by clicking on the label box.
26029 References to the changed label will automatically update their links to
26030 the new label text.
26033 \begin_layout Standard
26037 \begin_inset space ~
26041 \begin_inset space ~
26046 in the cross-reference window sets the cursor before the referred label.
26047 The button text changes then to Go
26048 \begin_inset space ~
26051 Back and you can use it to set the cursor back to the cross-reference.
26054 \begin_layout Subsection
26055 Cross-Reference Formats
26056 \begin_inset CommandInset label
26058 name "subsec:Cross-Reference-Formats"
26063 \begin_inset Index idx
26066 \begin_layout Plain Layout
26067 References ! Formats
26075 \begin_layout Standard
26076 There are six varieties of cross-references:
26079 \begin_layout Description
26080 <reference>: prints the float number, this is the default:
26081 \begin_inset CommandInset ref
26083 reference "fig:Two-distorted-images"
26090 \begin_layout Description
26091 (<reference>): prints the float number within two parentheses, this is the
26092 style normally used to reference formulas, especially when the reference
26094 \begin_inset Quotes eld
26098 \begin_inset Quotes erd
26102 \begin_inset CommandInset ref
26111 \begin_layout Description
26112 <page>: prints the page number: Page
26113 \begin_inset space ~
26117 \begin_inset CommandInset ref
26118 LatexCommand pageref
26119 reference "fig:Two-distorted-images"
26126 \begin_layout Description
26128 \begin_inset space ~
26132 \begin_inset space ~
26135 <page>: prints the text "on page" and the page number:
26136 \begin_inset CommandInset ref
26137 LatexCommand vpageref
26138 reference "fig:Two-distorted-images"
26145 \begin_layout Description
26147 \begin_inset space ~
26151 \begin_inset space ~
26155 \begin_inset space ~
26158 <page>: prints the float number, the text "on page", and the page number:
26160 \begin_inset CommandInset ref
26162 reference "fig:Two-distorted-images"
26169 \begin_layout Description
26171 \begin_inset space ~
26174 reference: prints a self-defined cross-reference format.
26175 \begin_inset Newline newline
26179 \begin_inset Note Greyedout
26182 \begin_layout Plain Layout
26187 This feature is only available when you have the \SpecialChar LaTeX
26197 \begin_inset Index idx
26200 \begin_layout Plain Layout
26202 -packages ! prettyref
26208 \begin_inset Index idx
26211 \begin_layout Plain Layout
26213 -packages ! refstyle
26224 \begin_inset Newline newline
26227 You can select which \SpecialChar LaTeX
26228 -package should be used for this feature by setting
26231 Use refstyle (not prettyref) for cross-references
26235 Document\SpecialChar menuseparator
26236 Settings\SpecialChar menuseparator
26240 The format is specified by adding the command
26252 (refstyle) to the preamble of the document.
26253 For example redefining all references to figures (which have the label
26255 \begin_inset Quotes eld
26263 \begin_inset Quotes erd
26266 ) can be done with this command
26267 \begin_inset Newline newline
26274 newref{fig}{refcmd={Image on page
26279 \begin_inset Newline newline
26282 For more information about the format, have a look at the package documentations
26284 \begin_inset CommandInset citation
26286 key "prettyref,refstyle"
26293 \begin_layout Description
26295 \begin_inset space ~
26298 reference: prints the caption of the reference:
26299 \begin_inset CommandInset ref
26300 LatexCommand nameref
26301 reference "fig:Two-distorted-images"
26308 \begin_layout Standard
26313 will not print the page number if the label is on the previous, the same,
26316 \begin_inset space \thinspace{}
26320 \begin_inset space \space{}
26324 \begin_inset Quotes eld
26332 \begin_inset Quotes erd
26338 <reference> on page <page>
26340 will not print anything about the page if the label is on the same page.
26343 \begin_layout Standard
26344 The number and current page of the part of the document referred to in the
26345 output is automatically calculated by \SpecialChar LaTeX
26347 The varieties are adjusted in the field
26351 of the cross-reference window that appears when you click on the cross-referenc
26355 \begin_layout Standard
26356 \begin_inset Note Greyedout
26359 \begin_layout Plain Layout
26364 It is recommended to use the \SpecialChar LaTeX
26370 \begin_inset Index idx
26373 \begin_layout Plain Layout
26375 -packages ! refstyle
26385 \begin_inset Index idx
26388 \begin_layout Plain Layout
26390 -packages ! prettyref
26395 does not know all of \SpecialChar LyX
26396 's possible label shortcuts
26400 \begin_layout Plain Layout
26401 \begin_inset Quotes eld
26405 \begin_inset Quotes erd
26408 is for example \SpecialChar LyX
26409 's shortcut for labels in figure captions.
26414 and is not internationalized.
26422 \begin_layout Subsection
26423 Automatic Reference Naming
26424 \begin_inset Index idx
26427 \begin_layout Plain Layout
26428 References ! Automatic Reference Naming
26436 \begin_layout Standard
26437 The \SpecialChar LaTeX
26443 \begin_inset Index idx
26446 \begin_layout Plain Layout
26448 -packages ! hyperref
26453 , that is enabled in the
26461 dialog, provides a very useful feature that cross-references automatically
26462 include the name of the referenced floats (or text parts like
26467 So you will save having to write e.
26468 \begin_inset space \thinspace{}
26472 \begin_inset space \space{}
26476 \begin_inset Quotes eld
26480 \begin_inset Quotes erd
26483 before every reference to a figure.
26484 To use this feature, enable
26488 and insert this line to the \SpecialChar LaTeX
26492 \begin_layout Standard
26508 \begin_layout Standard
26509 When you prefer other reference names than the default ones, for example
26510 you want instead of
26511 \begin_inset Quotes eld
26515 \begin_inset Quotes erd
26519 \begin_inset Quotes eld
26523 \begin_inset space \thinspace{}
26527 \begin_inset Quotes eld
26530 , you can redefine the name by inserting this in the preamble:
26533 \begin_layout Standard
26544 sectionautorefname}
26545 \begin_inset Newline newline
26549 \begin_inset Phantom HPhantom
26552 \begin_layout Plain Layout
26555 \begin_inset space ~
26568 \begin_layout Standard
26569 When you are using another document language than English, replace
26570 \begin_inset Newline newline
26585 , where *** is the name of the language used.
26588 \begin_layout Standard
26589 To get automatic names, but not for certain reference types, for example
26590 not for equations, use this preamble code:
26593 \begin_layout Standard
26604 equationautorefname}[1]{}}
26607 \begin_layout Standard
26608 More about this topic can be found in
26613 \begin_inset CommandInset citation
26622 \begin_layout Standard
26623 \begin_inset Note Greyedout
26626 \begin_layout Plain Layout
26631 Automatic reference naming cannot be used when you use cross-references
26635 \begin_inset space ~
26640 style, as described in section
26641 \begin_inset space ~
26645 \begin_inset CommandInset ref
26647 reference "subsec:Cross-Reference-Formats"
26659 \begin_layout Standard
26664 manual is an example where automatic reference naming is used.
26667 \begin_layout Subsection
26669 \begin_inset CommandInset label
26671 name "subsec:Reference-Position"
26676 \begin_inset Index idx
26679 \begin_layout Plain Layout
26680 References ! Reference Position
26688 \begin_layout Standard
26694 \begin_inset Index idx
26697 \begin_layout Plain Layout
26699 -packages ! hyperref
26712 dialog to link cross-references in the output, you will see that clicking
26713 on an image float reference jumps to the image label.
26714 The caption will be the first text part on the screen, so that you cannot
26715 see the image without scrolling.
26716 This is because the reference link anchor is placed at the position of
26718 With the use of the package
26723 \begin_inset Index idx
26726 \begin_layout Plain Layout
26733 , which is part of the \SpecialChar LaTeX
26739 \begin_inset Index idx
26742 \begin_layout Plain Layout
26744 -packages ! oberdiek
26749 , the link anchor is placed at the beginning of a float.
26750 To use this feature for figure floats, load
26754 in the document preamble with the line
26757 \begin_layout Standard
26762 usepackage[figure]{hypcap}
26765 \begin_layout Standard
26770 for all float types but this is not recommended for stability reasons.
26771 For more information, have a look at
26776 \begin_inset CommandInset citation
26785 \begin_layout Standard
26786 \begin_inset Note Greyedout
26789 \begin_layout Plain Layout
26798 has no effect on references to subfigures.
26806 \begin_layout Section
26808 \begin_inset CommandInset label
26810 name "sec:Float-Placement"
26815 \begin_inset Index idx
26818 \begin_layout Plain Layout
26827 \begin_layout Standard
26828 Right-clicking on a float-box and clicking on
26832 opens a dialog where you can alter the placement options that \SpecialChar LaTeX
26834 positioning the float.
26835 \begin_inset Newline newline
26841 \begin_inset space ~
26846 is only useful for two-column documents: If you select it, the float will
26847 span both columns on the page instead of being confined to just one.
26848 \begin_inset Newline newline
26854 \begin_inset space ~
26859 is used to rotate floats, see section
26860 \begin_inset CommandInset ref
26862 reference "sec:Rotated-Floats"
26869 \begin_layout Standard
26870 You can use one or more of the following options in the float dialog to
26871 set the placement for a particular float when you uncheck the option
26874 \begin_inset space ~
26878 \begin_inset space ~
26886 \begin_layout Description
26888 \begin_inset space ~
26892 \begin_inset space ~
26895 possible try to place the float on the position where it has been inserted
26898 \begin_layout Description
26900 \begin_inset space ~
26904 \begin_inset space ~
26907 page try to place the float at the top of the current page
26910 \begin_layout Description
26912 \begin_inset space ~
26916 \begin_inset space ~
26919 page try to place the float at the bottom of the current page
26922 \begin_layout Description
26924 \begin_inset space ~
26928 \begin_inset space ~
26931 floats try to place the float on its own page
26934 \begin_layout Standard
26935 The order of the above option is
26939 used by \SpecialChar LaTeX
26941 That means, if you use the default placement, \SpecialChar LaTeX
26945 \begin_inset space ~
26949 \begin_inset space ~
26957 \begin_inset space ~
26961 \begin_inset space ~
26966 , and then the others.
26967 If you do not use the default, \SpecialChar LaTeX
26968 will try only the checked options but in
26971 \begin_inset space ~
26974 placements is possible the procedure is internally repeated trying to put
26975 the float on the following page.
26978 \begin_layout Standard
26979 By default, each option has its own rules:
26982 \begin_layout Labeling
26983 \labelwidthstring 00.00.0000
26987 \begin_inset space ~
26991 \begin_inset space ~
26996 only floats occupying less than 70
26997 \begin_inset space \thinspace{}
27000 % of the page can be placed at the top of a page (
27009 \begin_layout Labeling
27010 \labelwidthstring 00.00.0000
27014 \begin_inset space ~
27018 \begin_inset space ~
27023 : only floats occupying less than 30
27024 \begin_inset space \thinspace{}
27027 % of the page can be placed at the bottom of a page.
27037 \begin_layout Labeling
27038 \labelwidthstring 00.00.0000
27042 \begin_inset space ~
27046 \begin_inset space ~
27051 : only if more than 50
27052 \begin_inset space \thinspace{}
27055 % of the page is occupied by floats, several floats can be set together
27066 \begin_layout Standard
27067 If you don't like these rules, you can ignore them by using the additional
27071 \begin_inset space ~
27076 \begin_inset space ~
27082 \begin_inset Newline newline
27085 You can also redefine the rules with \SpecialChar LaTeX
27086 -commands that are given in parentheses
27087 after the rules description above.
27088 To increase for example the often too small default of the bottom-rule
27090 \begin_inset space \thinspace{}
27093 % of the page, add this line to your document preamble:
27096 \begin_layout Standard
27103 bottomfraction}{0.5}
27106 \begin_layout Standard
27107 Sometimes you might need, under all circumstances, a float to be placed
27108 exactly at the position where it is inserted.
27109 For this case you can use the option
27112 \begin_inset space ~
27118 Use this option very rarely and only if the document is almost ready to
27119 be printed, because the float is then no longer able to
27120 \begin_inset Quotes eld
27124 \begin_inset Quotes erd
27127 when you change your document and this will often destroy the page layout.
27130 \begin_layout Standard
27131 There are no placement options for text wrap floats, because they are always
27132 surrounded by the text of a certain paragraph.
27133 \begin_inset VSpace bigskip
27139 \begin_layout Standard
27140 Sometimes you have the problem that a float is placed at the top of a page
27141 while its corresponding section starts at the middle of the page, so that
27142 the reader could think the float is part of the previous section.
27143 To avoid this the \SpecialChar LaTeX
27151 It suppresses a given float placement for the page where it is inserted
27152 and can therefore be used to avoid floats being set before a section starts.
27153 To get this, add these commands to your document preamble:
27156 \begin_layout Standard
27166 \begin_inset Newline newline
27180 \begin_layout Standard
27181 You can define the same for all section headings, like chapters and subsections.
27182 This definition is not recommended to be used for small text parts like
27183 subsubsections because \SpecialChar LaTeX
27184 may then have problems finding a suitable placement.
27187 \begin_layout Standard
27188 \begin_inset VSpace bigskip
27191 In some cases it is required to have all figures/tables at the end of the
27193 For this purpose the \SpecialChar LaTeX
27199 \begin_inset Index idx
27202 \begin_layout Plain Layout
27204 -packages ! endfloat
27210 It puts all figure and table floats at the end of the document into their
27212 At the original float position a text hint like
27213 \begin_inset Quotes eld
27219 \begin_inset space ~
27225 \begin_inset Quotes erd
27229 The endfloat-package is loaded in the preamble with the line
27232 \begin_layout Standard
27237 usepackage[options]{endfloat}
27240 \begin_layout Standard
27241 There are various package options to format the created figure/table sections.
27242 For more information we refer you to the
27247 \begin_inset CommandInset citation
27254 \begin_inset Newline newline
27258 \begin_inset Note Greyedout
27261 \begin_layout Plain Layout
27266 doesn't provide an automatic translation for the text hint, you have to
27267 do this manually, see section
27268 \begin_inset space ~
27272 \begin_inset CommandInset citation
27284 \begin_inset Newline newline
27288 \begin_inset Note Greyedout
27291 \begin_layout Plain Layout
27296 There is currently a bug in
27300 when the caption contains a German
27301 \begin_inset Quotes eld
27305 \begin_inset Quotes erd
27309 Use in this case the command
27310 \begin_inset Quotes eld
27320 \begin_inset Quotes erd
27323 in \SpecialChar TeX
27325 \begin_inset Quotes eld
27329 \begin_inset Quotes erd
27340 \begin_layout Standard
27341 \begin_inset VSpace bigskip
27344 For more details about float placements, have a look at \SpecialChar LaTeX
27346 \begin_inset CommandInset citation
27348 key "latexcompanion,latexguide,latexbook"
27355 \begin_layout Section
27357 \begin_inset CommandInset label
27359 name "sec:Rotated-Floats"
27364 \begin_inset Index idx
27367 \begin_layout Plain Layout
27376 \begin_layout Standard
27377 Especially for wide tables you might have floats rotated.
27378 To rotate a whole float including the caption, right-click on the float-box
27382 \begin_inset space ~
27390 \begin_layout Standard
27391 Rotated floats are always placed on a page of their own (or column of their
27392 own; in case you have a multi-column document).
27393 You can let them span several columns using the float settings option
27396 \begin_inset space ~
27402 Floats are rotated so that you can read them from the outside margin.
27403 To force a certain rotation direction for all pages, you can add either
27412 to the document class options.
27415 \begin_layout Standard
27416 Referencing rotated floats is the same as for normal floats, the caption
27417 format is also the same: Table
27418 \begin_inset space ~
27422 \begin_inset CommandInset ref
27424 reference "tab:Rotated-table"
27428 is an example of a rotated table float.
27431 \begin_layout Standard
27432 \begin_inset Note Greyedout
27435 \begin_layout Plain Layout
27440 Not all DVI-viewers are able to display rotated floats.
27448 \begin_layout Standard
27449 \begin_inset Float table
27454 \begin_layout Plain Layout
27455 \begin_inset Caption Standard
27457 \begin_layout Plain Layout
27458 \begin_inset CommandInset label
27460 name "tab:Rotated-table"
27472 \begin_layout Plain Layout
27474 \begin_inset Tabular
27475 <lyxtabular version="3" rows="1" columns="5">
27476 <features tabularvalignment="middle">
27477 <column alignment="center" valignment="top">
27478 <column alignment="center" valignment="top">
27479 <column alignment="center" valignment="top">
27480 <column alignment="center" valignment="top">
27481 <column alignment="center" valignment="top">
27483 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27486 \begin_layout Plain Layout
27492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27495 \begin_layout Plain Layout
27501 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27504 \begin_layout Plain Layout
27510 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27513 \begin_layout Plain Layout
27519 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27522 \begin_layout Plain Layout
27541 \begin_layout Section
27543 \begin_inset Index idx
27546 \begin_layout Plain Layout
27555 \begin_layout Standard
27556 Subfloats are for example used when a figure consists of several images.
27557 They are created by inserting a float into an existing float.
27558 The placement of the subfloats can be controlled in the same way as for
27559 paragraphs as shown in table
27560 \begin_inset space ~
27564 \begin_inset CommandInset ref
27566 reference "tab:Two-subtables-side"
27571 \begin_inset CommandInset ref
27573 reference "tab:Two-subtables-upon"
27580 \begin_layout Standard
27581 Referencing subfloats works as for normal floats: Table
27582 \begin_inset space ~
27586 \begin_inset CommandInset ref
27588 reference "tab:This-is-subtable-a"
27593 \begin_inset CommandInset ref
27595 reference "tab:This-is-subtable-b"
27599 are subtables of table
27600 \begin_inset space ~
27604 \begin_inset CommandInset ref
27606 reference "tab:Two-subtables-side"
27613 \begin_layout Standard
27614 \begin_inset Float table
27619 \begin_layout Plain Layout
27620 \begin_inset Caption Standard
27622 \begin_layout Plain Layout
27623 \begin_inset CommandInset label
27625 name "tab:Two-subtables-side"
27629 Two subtables placed side by side.
27637 \begin_layout Plain Layout
27639 \begin_inset space \hfill{}
27643 \begin_inset Float table
27648 \begin_layout Plain Layout
27649 \begin_inset Caption Standard
27651 \begin_layout Plain Layout
27652 \begin_inset CommandInset label
27654 name "tab:This-is-subtable-a"
27658 This is subtable a.
27666 \begin_layout Plain Layout
27668 \begin_inset Tabular
27669 <lyxtabular version="3" rows="1" columns="5">
27670 <features tabularvalignment="middle">
27671 <column alignment="center" valignment="top">
27672 <column alignment="center" valignment="top">
27673 <column alignment="center" valignment="top">
27674 <column alignment="center" valignment="top">
27675 <column alignment="center" valignment="top">
27677 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27680 \begin_layout Plain Layout
27686 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27689 \begin_layout Plain Layout
27695 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27698 \begin_layout Plain Layout
27704 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27707 \begin_layout Plain Layout
27713 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27716 \begin_layout Plain Layout
27733 \begin_inset space \hfill{}
27737 \begin_inset Float table
27742 \begin_layout Plain Layout
27743 \begin_inset Caption Standard
27745 \begin_layout Plain Layout
27746 \begin_inset CommandInset label
27748 name "tab:This-is-subtable-b"
27752 This is subtable b.
27760 \begin_layout Plain Layout
27762 \begin_inset Tabular
27763 <lyxtabular version="3" rows="1" columns="5">
27764 <features tabularvalignment="middle">
27765 <column alignment="center" valignment="top">
27766 <column alignment="center" valignment="top">
27767 <column alignment="center" valignment="top">
27768 <column alignment="center" valignment="top">
27769 <column alignment="center" valignment="top">
27771 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27774 \begin_layout Plain Layout
27780 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27783 \begin_layout Plain Layout
27789 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27792 \begin_layout Plain Layout
27798 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27801 \begin_layout Plain Layout
27807 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27810 \begin_layout Plain Layout
27827 \begin_inset space \hfill{}
27838 \begin_layout Standard
27839 \begin_inset Float table
27844 \begin_layout Plain Layout
27845 \begin_inset Caption Standard
27847 \begin_layout Plain Layout
27848 \begin_inset CommandInset label
27850 name "tab:Two-subtables-upon"
27854 Two subtables placed one above the other.
27855 (a) table with 4 cells, (b) table with 5 cells.
27863 \begin_layout Plain Layout
27865 \begin_inset Float table
27870 \begin_layout Plain Layout
27871 \begin_inset Caption Standard
27873 \begin_layout Plain Layout
27882 \begin_layout Plain Layout
27884 \begin_inset Tabular
27885 <lyxtabular version="3" rows="1" columns="4">
27886 <features tabularvalignment="middle">
27887 <column alignment="center" valignment="top">
27888 <column alignment="center" valignment="top">
27889 <column alignment="center" valignment="top">
27890 <column alignment="center" valignment="top">
27892 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27895 \begin_layout Plain Layout
27901 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27904 \begin_layout Plain Layout
27910 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27913 \begin_layout Plain Layout
27919 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
27922 \begin_layout Plain Layout
27941 \begin_layout Plain Layout
27943 \begin_inset Float table
27948 \begin_layout Plain Layout
27949 \begin_inset Caption Standard
27951 \begin_layout Plain Layout
27960 \begin_layout Plain Layout
27962 \begin_inset Tabular
27963 <lyxtabular version="3" rows="1" columns="5">
27964 <features tabularvalignment="middle">
27965 <column alignment="center" valignment="top">
27966 <column alignment="center" valignment="top">
27967 <column alignment="center" valignment="top">
27968 <column alignment="center" valignment="top">
27969 <column alignment="center" valignment="top">
27971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27974 \begin_layout Plain Layout
27980 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27983 \begin_layout Plain Layout
27989 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
27992 \begin_layout Plain Layout
27998 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28001 \begin_layout Plain Layout
28007 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28010 \begin_layout Plain Layout
28034 \begin_layout Section
28035 Floats Side by Side
28036 \begin_inset Index idx
28039 \begin_layout Plain Layout
28040 Floats ! Side by side
28048 \begin_layout Standard
28049 To place floats side by side, as in Figures
28050 \begin_inset space ~
28054 \begin_inset CommandInset ref
28056 reference "fig:Float-left"
28061 \begin_inset CommandInset ref
28063 reference "fig:Float-right"
28072 In it two minipage boxes are inserted.
28076 \begin_layout Plain Layout
28077 Minipages are explained in section
28078 \begin_inset space ~
28082 \begin_inset CommandInset ref
28084 reference "sec:Minipages"
28093 The width is set to 45
28094 \begin_inset space \thinspace{}
28098 \begin_inset space \thinspace{}
28101 column% and the box alignment to
28106 The minipage boxes contain the image and the caption in the same way as
28107 they are in a float.
28108 The only difference is that the image unit
28111 \begin_inset space ~
28115 \begin_inset space ~
28120 is now calculated according to the width of the minipage boxes.
28123 \begin_layout Standard
28124 \begin_inset Float figure
28129 \begin_layout Plain Layout
28130 \begin_inset Box Frameless
28140 height_special "totalheight"
28145 backgroundcolor "none"
28148 \begin_layout Plain Layout
28150 \begin_inset Graphics
28151 filename clipart/mobius.eps
28154 scaleBeforeRotation
28161 \begin_layout Plain Layout
28162 \begin_inset Caption Standard
28164 \begin_layout Plain Layout
28165 \begin_inset CommandInset label
28167 name "fig:Float-left"
28171 Float on the left side.
28182 \begin_inset space \hfill{}
28186 \begin_inset Box Frameless
28196 height_special "totalheight"
28201 backgroundcolor "none"
28204 \begin_layout Plain Layout
28206 \begin_inset Graphics
28207 filename clipart/platypus.eps
28210 scaleBeforeRotation
28217 \begin_layout Plain Layout
28218 \begin_inset Caption Standard
28220 \begin_layout Plain Layout
28221 \begin_inset CommandInset label
28223 name "fig:Float-right"
28227 Float on the right side.
28245 \begin_layout Standard
28246 An alternative and simpler solution is to use the module
28248 Variable-width Minipages
28251 \begin_inset space \thinspace{}
28255 \begin_inset CommandInset ref
28257 reference "sec:Minipages"
28262 Variable-width minipages adapt automatically to the width of the figures
28264 They do not require an explicit width to be given, and they improve the
28265 horizontal alignment of the figures.
28266 The LyX example file
28268 varwidth-floats-side-by-side
28270 gives examples of how to do this.
28273 \begin_layout Section
28275 \begin_inset Index idx
28278 \begin_layout Plain Layout
28279 Caption ! Formatting
28285 \begin_inset Index idx
28288 \begin_layout Plain Layout
28289 Floats ! Caption Formatting
28295 \begin_inset CommandInset label
28297 name "sec:Caption-Formatting"
28304 \begin_layout Standard
28309 environment is the default paragraph environment for
28314 On the \SpecialChar LyX
28315 screen captions appear as a label, e.
28316 \begin_inset space \thinspace{}
28320 \begin_inset space \space{}
28324 \begin_inset Quotes eld
28332 \begin_inset Quotes erd
28335 followed by the caption text.
28337 \begin_inset Quotes eld
28341 \begin_inset Quotes erd
28344 is the actual reference number.
28345 By default the label and the number are in the same font as the caption
28346 text and a colon follows the number to divide the label from the text.
28347 This caption format is suitable for many but not all documents.
28351 \begin_layout Standard
28352 To change the default caption format, load the \SpecialChar LaTeX
28358 \begin_inset Index idx
28361 \begin_layout Plain Layout
28363 -packages ! caption
28368 in the document preamble with this line:
28371 \begin_layout Standard
28376 usepackage[format definition]{caption}
28379 \begin_layout Standard
28380 To have for example the label and the number in sans-serif, bold font and
28381 the table captions always above the table as in this document, use the
28385 \begin_layout Standard
28390 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
28393 \begin_layout Standard
28394 You can also define different caption formats for the different float types.
28395 In this case load the
28399 package without format specific options and define the different formats
28400 with the help of the command
28403 \begin_layout Standard
28408 captionsetup[float type]{format definition}
28411 \begin_layout Standard
28412 in the document preamble.
28413 For example the caption formats of Figure
28414 \begin_inset space ~
28418 \begin_inset CommandInset ref
28420 reference "fig:This-is-an-fig"
28425 \begin_inset space ~
28429 \begin_inset CommandInset ref
28431 reference "tab:This-is-an-tab"
28435 can be created using these commands in the document preamble:
28438 \begin_layout Standard
28443 usepackage[tableposition=top]{caption}
28446 \begin_inset Newline newline
28453 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
28454 \begin_inset Newline newline
28458 \begin_inset Phantom HPhantom
28461 \begin_layout Plain Layout
28466 captionsetup[figure]{
28472 \begin_inset Newline newline
28477 captionsetup[table]{labelfont={bf,sf}}
28480 \begin_layout Standard
28481 \begin_inset Note Greyedout
28484 \begin_layout Plain Layout
28493 has no effect when a
28498 \begin_inset Index idx
28501 \begin_layout Plain Layout
28503 -packages ! KOMA-Script
28508 document class is used.
28509 In this case the document class option
28511 captions=tableheading
28521 \begin_layout Standard
28522 For more information about the package
28526 we refer to its documentation
28527 \begin_inset CommandInset citation
28536 \begin_layout Standard
28537 To change the label name from e.
28538 \begin_inset space \thinspace{}
28542 \begin_inset space \space{}
28546 \begin_inset Quotes eld
28550 \begin_inset Quotes erd
28554 \begin_inset Quotes eld
28558 \begin_inset Quotes erd
28561 use this preamble command:
28564 \begin_layout Standard
28571 fnum@figure}{Image~
28576 \begin_layout Standard
28583 inserts the figure number and
28586 \begin_inset Quotes eld
28592 \begin_inset Quotes erd
28595 creates a protected space.
28598 \begin_layout Standard
28599 \begin_inset VSpace bigskip
28607 \begin_inset Index idx
28610 \begin_layout Plain Layout
28612 -packages ! KOMA-Script
28619 article (KOMA-Script)
28627 letter (KOMA-Script)
28631 report (KOMA-Script)
28634 \begin_inset space \thinspace{}
28637 ), you can alternatively to the
28645 's built-in command
28652 For example, to have the caption label in bold, add this command to your
28656 \begin_layout Standard
28661 setkomafont{captionlabel}{
28666 \begin_layout Standard
28667 For more information about
28678 \begin_inset CommandInset citation
28687 \begin_layout Standard
28691 \begin_layout Plain Layout
28695 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
28702 \begin_inset Note Note
28705 \begin_layout Plain Layout
28706 The caption format is changed only for this example.
28714 \begin_layout Standard
28715 \begin_inset Float figure
28721 \begin_layout Plain Layout
28723 \begin_inset Graphics
28724 filename clipart/mobius.eps
28727 scaleBeforeRotation
28734 \begin_layout Plain Layout
28735 \begin_inset Caption Standard
28737 \begin_layout Plain Layout
28738 \begin_inset CommandInset label
28740 name "fig:This-is-an-fig"
28744 This is an example figure caption that is longer than one line to show the
28745 different caption format.
28746 Here a self-defined caption format is used.
28759 \begin_layout Standard
28763 \begin_layout Plain Layout
28767 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
28776 \begin_layout Standard
28777 \begin_inset Float table
28783 \begin_layout Plain Layout
28784 \begin_inset Caption Standard
28786 \begin_layout Plain Layout
28787 \begin_inset CommandInset label
28789 name "tab:This-is-an-tab"
28793 This is an example table caption that is longer than one line to show the
28794 different caption format.
28795 Here the standard caption format for tables in this document is used.
28803 \begin_layout Plain Layout
28805 \begin_inset Tabular
28806 <lyxtabular version="3" rows="1" columns="5">
28807 <features tabularvalignment="middle">
28808 <column alignment="center" valignment="top">
28809 <column alignment="center" valignment="top">
28810 <column alignment="center" valignment="top">
28811 <column alignment="center" valignment="top">
28812 <column alignment="center" valignment="top">
28814 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28817 \begin_layout Plain Layout
28823 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28826 \begin_layout Plain Layout
28832 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28835 \begin_layout Plain Layout
28841 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
28844 \begin_layout Plain Layout
28850 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
28853 \begin_layout Plain Layout
28872 \begin_layout Section
28874 \begin_inset Index idx
28877 \begin_layout Plain Layout
28878 Caption ! Placement
28884 \begin_inset Index idx
28887 \begin_layout Plain Layout
28888 Floats ! Caption Placement
28894 \begin_inset CommandInset label
28896 name "sec:Caption-Placement"
28903 \begin_layout Standard
28904 The common caption placement rule is:
28907 \begin_layout Description
28908 Figure: Caption is set below the figure
28911 \begin_layout Description
28912 Table: Caption is set above the table
28915 \begin_layout Standard
28916 Having the caption above the table is unfortunately not supported in \SpecialChar LaTeX
28919 That means if you are using the document classes
28935 there will be no space between the caption and the table.
28936 To insert the necessary space, load the \SpecialChar LaTeX
28942 \begin_inset Index idx
28945 \begin_layout Plain Layout
28947 -packages ! caption
28952 in your document preamble with the option
28956 \begin_layout Plain Layout
28958 \begin_inset space ~
28962 \begin_inset CommandInset ref
28964 reference "sec:Caption-Formatting"
28968 for more information of the package
28980 \begin_layout Standard
28986 \begin_layout Standard
28992 \begin_inset Index idx
28995 \begin_layout Plain Layout
28997 -packages ! KOMA-Script
29004 article (KOMA-Script)
29012 letter (KOMA-Script)
29016 report (KOMA-Script)
29019 \begin_inset space \thinspace{}
29022 ), you can alternatively to the
29026 package set the document class option
29030 \begin_layout Plain Layout
29031 That option is used in this document.
29039 \begin_layout Standard
29042 captions=tableheading
29045 \begin_layout Standard
29046 In documents with a KOMA-Script document class you can also right-click
29047 on a caption and mark in the context menu if this should be a caption above
29048 or below the table/figure.
29049 This way you can override the document-wide caption placement for certain
29052 \begin_inset space ~
29056 \begin_inset CommandInset ref
29058 reference "tab:A-caption-marked"
29062 is an example where the caption is marked a being below the table while
29064 For comparison the caption in Table
29065 \begin_inset space ~
29069 \begin_inset CommandInset ref
29071 reference "tab:A-standard-table"
29078 \begin_layout Standard
29079 \begin_inset Float table
29084 \begin_layout Plain Layout
29085 \begin_inset Caption Below
29087 \begin_layout Plain Layout
29088 \begin_inset CommandInset label
29090 name "tab:A-caption-marked"
29094 A caption marked as being below the table.
29102 \begin_layout Plain Layout
29104 \begin_inset Tabular
29105 <lyxtabular version="3" rows="3" columns="3">
29106 <features tabularvalignment="middle">
29107 <column alignment="center" valignment="top" width="0pt">
29108 <column alignment="center" valignment="top" width="0pt">
29109 <column alignment="center" valignment="top" width="0pt">
29111 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29114 \begin_layout Plain Layout
29120 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29123 \begin_layout Plain Layout
29129 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29132 \begin_layout Plain Layout
29140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29143 \begin_layout Plain Layout
29149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29152 \begin_layout Plain Layout
29158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29161 \begin_layout Plain Layout
29169 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29172 \begin_layout Plain Layout
29173 \begin_inset Formula $\int x^{2}dx$
29181 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29184 \begin_layout Plain Layout
29185 \begin_inset Formula $\left[\begin{array}{cc}
29188 \end{array}\right]$
29196 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29199 \begin_layout Plain Layout
29200 \begin_inset Formula $1+1=2$
29221 \begin_layout Standard
29222 \begin_inset Float table
29227 \begin_layout Plain Layout
29228 \begin_inset Caption Standard
29230 \begin_layout Plain Layout
29231 \begin_inset CommandInset label
29233 name "tab:A-standard-table"
29237 A standard table caption.
29245 \begin_layout Plain Layout
29247 \begin_inset Tabular
29248 <lyxtabular version="3" rows="3" columns="3">
29249 <features tabularvalignment="middle">
29250 <column alignment="center" valignment="top" width="0pt">
29251 <column alignment="center" valignment="top" width="0pt">
29252 <column alignment="center" valignment="top" width="0pt">
29254 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29257 \begin_layout Plain Layout
29263 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29266 \begin_layout Plain Layout
29272 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29275 \begin_layout Plain Layout
29283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29286 \begin_layout Plain Layout
29292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29295 \begin_layout Plain Layout
29301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29304 \begin_layout Plain Layout
29312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29315 \begin_layout Plain Layout
29316 \begin_inset Formula $\int x^{2}dx$
29324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
29327 \begin_layout Plain Layout
29328 \begin_inset Formula $\left[\begin{array}{cc}
29331 \end{array}\right]$
29339 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
29342 \begin_layout Plain Layout
29343 \begin_inset Formula $1+1=2$
29364 \begin_layout Standard
29365 \begin_inset VSpace bigskip
29368 It is also possible to set the caption beside a figure or table.
29369 To get this the \SpecialChar LaTeX
29375 \begin_inset Index idx
29378 \begin_layout Plain Layout
29380 -packages ! sidecap
29385 has to be loaded in the document preamble with the line
29388 \begin_layout Standard
29393 usepackage[option]{sidecap}
29396 \begin_layout Standard
29397 If you set no option, the caption is placed on the side of the outer page
29398 margin – to the right on odd pages, to the left on even pages.
29399 You can change the placement to inner margin with the option
29404 To force the placement always to the right or left, use the option
29415 \begin_layout Standard
29419 \begin_layout Plain Layout
29429 \begin_inset Note Note
29432 \begin_layout Plain Layout
29433 The following section will only be displayed when the \SpecialChar LaTeX
29446 \begin_layout Standard
29447 To place in \SpecialChar LyX
29448 the caption of a float on the side, it is necessary to add
29449 these commands to the document preamble:
29452 \begin_layout Standard
29454 \begin_inset CommandInset line
29465 \begin_layout Standard
29472 TabBesBeg}[1][1.0]{%
29473 \begin_inset Newline newline
29477 \begin_inset Phantom HPhantom
29480 \begin_layout Plain Layout
29481 \begin_inset space ~
29496 \begin_inset Newline newline
29500 \begin_inset Phantom HPhantom
29503 \begin_layout Plain Layout
29506 \begin_inset space ~
29521 \begin_inset Newline newline
29525 \begin_inset Phantom HPhantom
29528 \begin_layout Plain Layout
29531 \begin_inset space ~
29541 renewenvironment{table}[1]{
29543 begin{SCtable}[#1]##1}{
29548 \begin_layout Standard
29556 \begin_inset Newline newline
29560 \begin_inset Phantom HPhantom
29563 \begin_layout Plain Layout
29564 \begin_inset space ~
29579 \begin_inset Newline newline
29583 \begin_inset Phantom HPhantom
29586 \begin_layout Plain Layout
29587 \begin_inset space ~
29604 \begin_layout Standard
29611 FigBesBeg}[1][1.0]{%
29612 \begin_inset Newline newline
29616 \begin_inset Phantom HPhantom
29619 \begin_layout Plain Layout
29620 \begin_inset space ~
29635 \begin_inset Newline newline
29639 \begin_inset Phantom HPhantom
29642 \begin_layout Plain Layout
29643 \begin_inset space ~
29658 \begin_inset Newline newline
29662 \begin_inset Phantom HPhantom
29665 \begin_layout Plain Layout
29666 \begin_inset space ~
29676 renewenvironment{figure}[1]{
29678 begin{SCfigure}[#1]##1}{
29683 \begin_layout Standard
29691 \begin_inset Newline newline
29695 \begin_inset Phantom HPhantom
29698 \begin_layout Plain Layout
29699 \begin_inset space ~
29714 \begin_inset Newline newline
29718 \begin_inset Phantom HPhantom
29721 \begin_layout Plain Layout
29722 \begin_inset space ~
29739 \begin_layout Standard
29741 \begin_inset CommandInset line
29752 \begin_layout Standard
29753 The commands allow you to redefine the floats so that the caption is set
29755 For figure floats use the command
29758 \begin_layout Standard
29766 \begin_layout Standard
29767 in \SpecialChar TeX
29768 Code before the float.
29769 And insert the command
29772 \begin_layout Standard
29780 \begin_layout Standard
29781 in \SpecialChar TeX
29782 Code at the point where you want to get back to the original float definitio
29786 \begin_layout Standard
29787 For table floats use the corresponding commands
29790 \begin_layout Standard
29804 \begin_layout Standard
29806 \begin_inset space ~
29810 \begin_inset CommandInset ref
29812 reference "fig:cap-beside-fig"
29817 \begin_inset space ~
29821 \begin_inset CommandInset ref
29823 reference "tab:cap-beside-tab"
29827 are examples where the caption is set beside.
29830 \begin_layout Standard
29831 You can see in the examples that the caption text appears at the top of
29832 the floats for table floats and at the bottom for figure floats.
29833 To change this, you can use the command
29836 \begin_layout Standard
29841 sidecaptionvpos{float type}{placement}
29844 \begin_layout Standard
29845 in the document preamble or in \SpecialChar TeX
29846 Code before the float.
29847 The float type is either
29855 , the placement can be
29856 \begin_inset Quotes eld
29864 \begin_inset Quotes erd
29868 \begin_inset Quotes eld
29876 \begin_inset Quotes erd
29880 \begin_inset Quotes eld
29888 \begin_inset Quotes erd
29892 To have for example the caption of figure floats vertically centered, use
29896 \begin_layout Standard
29901 sidecaptionvpos{figure}{c}
29904 \begin_layout Standard
29905 This was used for Figure
29906 \begin_inset space ~
29910 \begin_inset CommandInset ref
29912 reference "fig:cap-beside-fig-2"
29919 \begin_layout Standard
29920 \begin_inset VSpace medskip
29926 \begin_layout Standard
29927 The default caption width is the width of the image/table.
29928 For thin image/tables, like in Table
29929 \begin_inset space ~
29933 \begin_inset CommandInset ref
29935 reference "tab:cap-beside-tab"
29939 , this leads to captions that are too thin.
29940 You can increase the width by specifying a factor that will be multiplied
29941 with the image/table width to get the caption width.
29942 The caption width will automatically be recalculated in case it would protrude
29943 over the page or column margin due to the specified width.
29948 can either be given as optional argument for
29957 \begin_layout Standard
29965 \begin_layout Standard
29966 or in the definition of
29976 with another value.
29977 If you do the latter, your factor will be the default if
29983 is used without an argument.
29985 \begin_inset space ~
29989 \begin_inset CommandInset ref
29991 reference "tab:cap-beside-tab-wider"
29995 the factor 5 was used.
29998 \begin_layout Standard
29999 \begin_inset Note Greyedout
30002 \begin_layout Plain Layout
30007 For floats with captions set beside, you cannot use the float placement
30011 \begin_inset space ~
30016 because it is not supported by
30028 \begin_layout Standard
30029 \begin_inset VSpace medskip
30032 For more information about the package
30036 we refer to its documentation
30037 \begin_inset CommandInset citation
30046 \begin_layout Standard
30047 \begin_inset Note Greyedout
30050 \begin_layout Plain Layout
30055 The \SpecialChar LaTeX
30061 \begin_inset Index idx
30064 \begin_layout Plain Layout
30071 , described in section
30072 \begin_inset space ~
30076 \begin_inset CommandInset ref
30078 reference "subsec:Reference-Position"
30082 , has no effect on floats with the caption set beside.
30090 \begin_layout Standard
30094 \begin_layout Plain Layout
30106 \begin_layout Standard
30107 \begin_inset Float figure
30112 \begin_layout Plain Layout
30113 \begin_inset Graphics
30114 filename clipart/escher-lsd.eps
30116 scaleBeforeRotation
30123 \begin_layout Plain Layout
30124 \begin_inset Caption Standard
30126 \begin_layout Plain Layout
30127 \begin_inset CommandInset label
30129 name "fig:cap-beside-fig"
30133 This is a caption beside a figure.
30146 \begin_layout Standard
30150 \begin_layout Plain Layout
30162 \begin_layout Standard
30166 \begin_layout Plain Layout
30178 \begin_layout Standard
30179 \begin_inset Float table
30184 \begin_layout Plain Layout
30185 \begin_inset Caption Standard
30187 \begin_layout Plain Layout
30188 \begin_inset CommandInset label
30190 name "tab:cap-beside-tab"
30194 This is a caption beside a table.
30202 \begin_layout Plain Layout
30203 \begin_inset Tabular
30204 <lyxtabular version="3" rows="4" columns="5">
30205 <features tabularvalignment="middle">
30206 <column alignment="center" valignment="top">
30207 <column alignment="center" valignment="top">
30208 <column alignment="center" valignment="top">
30209 <column alignment="center" valignment="top">
30210 <column alignment="center" valignment="top">
30212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30215 \begin_layout Plain Layout
30221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30224 \begin_layout Plain Layout
30230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30233 \begin_layout Plain Layout
30239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30242 \begin_layout Plain Layout
30248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30251 \begin_layout Plain Layout
30259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30262 \begin_layout Plain Layout
30268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30271 \begin_layout Plain Layout
30277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30280 \begin_layout Plain Layout
30286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30289 \begin_layout Plain Layout
30295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30298 \begin_layout Plain Layout
30306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30309 \begin_layout Plain Layout
30315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30318 \begin_layout Plain Layout
30324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30327 \begin_layout Plain Layout
30333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30336 \begin_layout Plain Layout
30342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30345 \begin_layout Plain Layout
30353 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30356 \begin_layout Plain Layout
30362 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30365 \begin_layout Plain Layout
30371 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30374 \begin_layout Plain Layout
30380 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30383 \begin_layout Plain Layout
30389 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30392 \begin_layout Plain Layout
30411 \begin_layout Standard
30415 \begin_layout Plain Layout
30427 \begin_layout Standard
30431 \begin_layout Plain Layout
30444 \begin_layout Plain Layout
30448 sidecaptionvpos{figure}{c}
30454 \begin_inset Float figure
30459 \begin_layout Plain Layout
30460 \begin_inset Graphics
30461 filename clipart/escher-lsd.eps
30463 scaleBeforeRotation
30470 \begin_layout Plain Layout
30471 \begin_inset Caption Standard
30473 \begin_layout Plain Layout
30474 \begin_inset CommandInset label
30476 name "fig:cap-beside-fig-2"
30480 This is a vertically centered caption beside a figure.
30493 \begin_layout Standard
30497 \begin_layout Plain Layout
30509 \begin_layout Standard
30513 \begin_layout Plain Layout
30525 \begin_layout Standard
30526 \begin_inset Float table
30531 \begin_layout Plain Layout
30532 \begin_inset Caption Standard
30534 \begin_layout Plain Layout
30535 \begin_inset CommandInset label
30537 name "tab:cap-beside-tab-wider"
30541 This caption is wider than the one in Table
30542 \begin_inset space ~
30546 \begin_inset CommandInset ref
30548 reference "tab:cap-beside-tab"
30560 \begin_layout Plain Layout
30561 \begin_inset Tabular
30562 <lyxtabular version="3" rows="4" columns="5">
30563 <features tabularvalignment="middle">
30564 <column alignment="center" valignment="top">
30565 <column alignment="center" valignment="top">
30566 <column alignment="center" valignment="top">
30567 <column alignment="center" valignment="top">
30568 <column alignment="center" valignment="top">
30570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30573 \begin_layout Plain Layout
30579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30582 \begin_layout Plain Layout
30588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30591 \begin_layout Plain Layout
30597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30600 \begin_layout Plain Layout
30606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30609 \begin_layout Plain Layout
30617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30620 \begin_layout Plain Layout
30626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30629 \begin_layout Plain Layout
30635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30638 \begin_layout Plain Layout
30644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30647 \begin_layout Plain Layout
30653 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30656 \begin_layout Plain Layout
30664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30667 \begin_layout Plain Layout
30673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30676 \begin_layout Plain Layout
30682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30685 \begin_layout Plain Layout
30691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30694 \begin_layout Plain Layout
30700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30703 \begin_layout Plain Layout
30711 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30714 \begin_layout Plain Layout
30720 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30723 \begin_layout Plain Layout
30729 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30732 \begin_layout Plain Layout
30738 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
30741 \begin_layout Plain Layout
30747 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
30750 \begin_layout Plain Layout
30769 \begin_layout Standard
30773 \begin_layout Plain Layout
30785 \begin_layout Standard
30789 \begin_layout Plain Layout
30799 \begin_inset Note Note
30802 \begin_layout Plain Layout
30803 The following will be displayed when the \SpecialChar LaTeX
30816 \begin_layout Standard
30817 You need to install the \SpecialChar LaTeX
30822 to see the following part of this section in the output.
30825 \begin_layout Standard
30829 \begin_layout Plain Layout
30841 \begin_layout Section
30843 \begin_inset Index idx
30846 \begin_layout Plain Layout
30847 Floats ! Float Lists
30855 \begin_layout Standard
30856 Similar to the table of contents where the sections of the document are
30857 listed, there are listings for all float types, like the figures of the
30859 You can insert them via the
30861 Insert\SpecialChar menuseparator
30863 \begin_inset space ~
30867 \begin_inset space ~
30875 \begin_layout Standard
30876 The list entries are the float captions or its short title, the float number,
30877 and the page number where they appear in the document.
30880 \begin_layout Standard
30881 You can find the list of figures and tables at the end of this document.
30884 \begin_layout Chapter
30888 \begin_layout Section
30891 \begin_inset Index idx
30894 \begin_layout Plain Layout
30895 Notes ! \SpecialChar LyX
30904 \begin_layout Standard
30905 Notes are inserted with the toolbar button
30913 Insert\SpecialChar menuseparator
30917 There are three types of notes:
30920 \begin_layout Description
30923 \begin_inset space ~
30926 Note This note type is for internal notes that won't appear in the output.
30927 Its note-box looks like this:
30928 \begin_inset Newline newline
30932 \begin_inset Newline newline
30936 \begin_inset Graphics
30937 filename clipart/LyXNoteImage.png
30939 scaleBeforeRotation
30944 \begin_inset Note Note
30947 \begin_layout Plain Layout
30948 This is text in a note box that doesn't appear in the output.
30956 \begin_layout Description
30957 Comment This note also doesn't appear in the output but it appears as \SpecialChar LaTeX
30959 when you export the document to \SpecialChar LaTeX
30962 File\SpecialChar menuseparator
30963 Export\SpecialChar menuseparator
30965 \begin_inset space ~
30968 (pdflatex) / (plain)
30971 Its note-box looks like this:
30972 \begin_inset Newline newline
30976 \begin_inset Newline newline
30980 \begin_inset Graphics
30981 filename clipart/CommentNoteImage.png
30983 scaleBeforeRotation
30988 \begin_inset Note Comment
30991 \begin_layout Plain Layout
30992 This is text in a note box that only appears as comment in \SpecialChar LaTeX
31001 \begin_layout Description
31003 \begin_inset space ~
31006 Out This note will appear in the output as grey text.
31007 Its note-box looks like this:
31008 \begin_inset Newline newline
31012 \begin_inset Newline newline
31016 \begin_inset Graphics
31017 filename clipart/GreyedOutNoteImage.png
31019 scaleBeforeRotation
31024 \begin_inset Newline newline
31031 \begin_layout Plain Layout
31035 renewenvironment{lyxgreyedout}
31038 \begin_layout Plain Layout
31042 textcolor[gray]{0.8}
31052 \begin_inset Note Greyedout
31055 \begin_layout Plain Layout
31056 This is text of a comment that appears grey in the output.
31065 \begin_layout Plain Layout
31069 renewenvironment{lyxgreyedout}
31072 \begin_layout Plain Layout
31086 \begin_inset Note Note
31089 \begin_layout Plain Layout
31090 The greyed out note is here redefined to show it with the original \SpecialChar LyX
31092 because greyed out notes are redefined in the preamble of this document,
31093 as described below, to have blue text.
31099 \begin_inset Newline newline
31103 \begin_inset Newline newline
31106 As you can see in the example, the first line of greyed out notes is a bit
31107 indented and greyed out notes can have footnotes.
31110 \begin_layout Standard
31111 \begin_inset VSpace bigskip
31114 When you use the toolbar button
31124 \begin_inset space ~
31130 You can switch between the three note types by right-clicking on the note-box.
31135 If you want to turn existing text into a note, mark it and click on the
31149 To change a note to text, press the backspace key when the cursor is in
31150 the first position of a note, or press the delete key when the cursor is
31151 in the very last position of the note, respectively.
31154 \begin_layout Standard
31155 \begin_inset VSpace bigskip
31158 You can change the text color of the greyed out notes in the menu
31160 Document\SpecialChar menuseparator
31161 Settings\SpecialChar menuseparator
31167 \begin_layout Section
31169 \begin_inset CommandInset label
31171 name "sec:Footnotes"
31176 \begin_inset Index idx
31179 \begin_layout Plain Layout
31186 \begin_inset Index idx
31189 \begin_layout Plain Layout
31198 \begin_layout Standard
31199 Footnotes can be inserted using the toolbar button
31202 arg "footnote-insert"
31207 Insert\SpecialChar menuseparator
31211 You will then see the following footnote-box:
31212 \begin_inset Graphics
31213 filename clipart/footnote.png
31215 scaleBeforeRotation
31223 where you can enter the footnote text.
31224 If you want to turn existing text into a footnote, mark it and click on
31250 key when the cursor is in the first position of a
31262 key when the cursor is in the very last position of the
31273 \begin_layout Standard
31274 Here is an example footnote:
31282 \begin_layout Plain Layout
31283 \begin_inset CommandInset label
31285 name "foot:This-is-an"
31289 This is an example footnote.
31302 \begin_layout Plain Layout
31306 newcounter{MyRepeatFoot}
31309 \begin_layout Plain Layout
31313 setcounter{MyRepeatFoot}{
31323 \begin_layout Standard
31324 The footnote will appear in the output as a superscript number at the text
31325 position where the footnote box is placed.
31326 The footnote text is placed at the bottom of the current page.
31327 The footnote number is calculated by \SpecialChar LaTeX
31328 ; the numbers are consecutive.
31329 Whether the footnote number is reset for every chapter depends on your
31333 \begin_layout Standard
31334 Footnotes can be referenced like floats: Insert a label into the footnote
31335 and cross-reference this label in the text as described in section
31336 \begin_inset space ~
31340 \begin_inset CommandInset ref
31342 reference "sec:Referencing-Floats"
31347 \begin_inset Newline newline
31350 This is a cross-reference of Footnote
31351 \begin_inset space ~
31355 \begin_inset CommandInset ref
31357 reference "foot:This-is-an"
31364 \begin_layout Standard
31365 \begin_inset VSpace defskip
31368 Footnotes in title environments are usually not numbered with symbols and
31369 they cannot contain several paragraphs.
31370 See for example the footnote in the titling of this document.
31373 \begin_layout Standard
31374 \begin_inset VSpace defskip
31377 Footnotes in tables are not printed by \SpecialChar LaTeX
31378 due to technical reasons.
31379 However there exists another method to print them: Instead of the footnote
31386 is inserted as \SpecialChar TeX
31388 The text of the footnote is entered as an argument of the \SpecialChar TeX
31397 \begin_inset Newline newline
31400 This was done for the following table with the command
31403 \begin_layout Standard
31410 Printed table footnote.
31415 \begin_layout Standard
31416 \begin_inset Tabular
31417 <lyxtabular version="3" rows="2" columns="1">
31418 <features tabularvalignment="middle">
31419 <column alignment="center" valignment="top">
31421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
31424 \begin_layout Plain Layout
31425 This an example text.
31429 \begin_layout Plain Layout
31430 This footnote will not be printed!
31442 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
31445 \begin_layout Plain Layout
31446 This an example text.
31450 \begin_layout Plain Layout
31473 \begin_layout Plain Layout
31482 Printed table footnote.
31486 \begin_layout Plain Layout
31496 \begin_layout Standard
31497 Footnotes in multi-page tables are described in section
31498 \begin_inset space ~
31502 \begin_inset CommandInset ref
31504 reference "subsec:Footnotes-in-Multi-page"
31511 \begin_layout Standard
31512 Footnotes in minipage boxes are printed, but inside the box and with a different
31513 numbering because a minipage box is like a page inside a page.
31514 (For more about minipages, see section
31515 \begin_inset space ~
31519 \begin_inset CommandInset ref
31521 reference "sec:Minipages"
31525 .) To get a footnote in the minipage that is output at the bottom of the
31526 page like normal footnotes, also use the method of
31541 \begin_layout Standard
31542 \begin_inset Box Frameless
31552 height_special "totalheight"
31557 backgroundcolor "none"
31560 \begin_layout Plain Layout
31561 This an example text in a minipage.
31565 \begin_layout Plain Layout
31566 Footnote in the minipage.
31574 \begin_layout Plain Layout
31575 This an example text in a minipage.
31579 \begin_layout Plain Layout
31596 \begin_layout Standard
31600 \begin_layout Plain Layout
31609 Footnote outside the minipage.
31613 \begin_layout Plain Layout
31623 \begin_layout Standard
31624 \begin_inset VSpace defskip
31630 \begin_layout Standard
31631 To refer to the same footnote several times without printing the footnote
31632 text every time, use the command
31636 footnotemark[number]
31638 in \SpecialChar TeX
31640 \begin_inset Newline newline
31643 As you do not know the number of the repeating footnote while you are writing
31644 the text, you have to store its number.
31645 For the following footnote mark example, these commands were inserted in
31647 code after Footnote
31648 \begin_inset space ~
31652 \begin_inset CommandInset ref
31654 reference "foot:This-is-an"
31658 to store the footnote number:
31661 \begin_layout Standard
31666 newcounter{MyRepeatFoot}
31667 \begin_inset Newline newline
31672 setcounter{MyRepeatFoot}{
31677 \begin_layout Standard
31678 The footnote mark was then created with this command:
31681 \begin_layout Standard
31691 \begin_layout Standard
31692 Here is a repeated footnote:
31700 \begin_layout Plain Layout
31714 \begin_layout Standard
31715 If you want to repeat the previous footnote, you can omit the storage of
31716 the footnote number and just use this command instead:
31719 \begin_layout Standard
31729 \begin_layout Standard
31730 Here is another repeated footnote:
31738 \begin_layout Plain Layout
31752 \begin_layout Subsection
31754 \begin_inset CommandInset label
31756 name "subsec:Footnote-Numbering"
31761 \begin_inset Index idx
31764 \begin_layout Plain Layout
31765 Footnotes ! Numbering
31773 \begin_layout Standard
31774 To reset the footnote number back to 1 after each section
31776 , add this command to your document preamble:
31779 \begin_layout Standard
31784 @addtoreset{footnote}{section}
31787 \begin_layout Standard
31788 \begin_inset VSpace bigskip
31791 The following preamble command changes the footnote numbering style to small
31795 \begin_layout Standard
31807 \begin_layout Standard
31811 \begin_layout Plain Layout
31824 This is a footnote with roman numbering:
31828 \begin_layout Plain Layout
31829 This is an example footnote with roman numbering.
31837 \begin_layout Standard
31838 To change the numbering style to capital roman numerals replace in the command
31853 \begin_inset Quotes eld
31857 \begin_inset Quotes erd
31860 footnotes with capital or small Latin letters use
31874 \begin_inset Quotes eld
31878 \begin_inset Quotes erd
31881 footnotes with symbols use
31890 \begin_layout Standard
31891 \begin_inset Note Greyedout
31894 \begin_layout Plain Layout
31899 You can only number 26 footnotes with Latin letters, because this numbering
31900 is limited to single letters.
31906 \begin_inset Newline newline
31910 \begin_inset Note Greyedout
31913 \begin_layout Plain Layout
31918 You can only number 9 footnotes with symbols.
31926 \begin_layout Standard
31927 To return to the default numbering style after you have changed to another
31940 in the command above.
31944 \begin_layout Plain Layout
31960 \begin_layout Standard
31961 \begin_inset VSpace bigskip
31967 \begin_layout Standard
31968 If you want to have footnotes numbered in the scheme
31969 \begin_inset Quotes eld
31973 \begin_inset Quotes erd
31976 , add the following command to your document preamble:
31979 \begin_layout Standard
31984 numberwithin{footnote}{chapter}
31987 \begin_layout Standard
31988 To be able to use the command
31997 \begin_inset space ~
32002 in the document settings the option
32005 \begin_inset space ~
32009 \begin_inset space ~
32013 \begin_inset space ~
32021 \begin_layout Standard
32025 \begin_layout Plain Layout
32029 numberwithin{footnote}{chapter}
32034 This is another example footnote:
32040 \begin_layout Plain Layout
32041 This is a footnote numbered in the scheme
32042 \begin_inset Quotes eld
32046 \begin_inset Quotes erd
32060 \begin_layout Plain Layout
32076 \begin_layout Standard
32077 \begin_inset Note Greyedout
32080 \begin_layout Plain Layout
32091 always prints out the footnote number as arabic number; previous redefinitions
32092 to get non-arabic numbers are overwritten.
32100 \begin_layout Standard
32101 So to get for example the scheme
32102 \begin_inset Quotes eld
32108 \begin_inset Quotes erd
32111 , use this command instead of
32120 \begin_layout Standard
32134 \begin_layout Subsection
32136 \begin_inset Index idx
32139 \begin_layout Plain Layout
32140 Footnotes ! Placement
32148 \begin_layout Standard
32149 If you have several footnotes in one page, they appear without vertical
32150 space between them at the bottom of the page.
32151 To make them more readable you can e.
32152 \begin_inset space \thinspace{}
32156 \begin_inset space \space{}
32160 \begin_inset space \thinspace{}
32163 mm space with the following preamble command:
32166 \begin_layout Standard
32176 \begin_inset Newline newline
32190 \begin_layout Standard
32191 \begin_inset VSpace bigskip
32194 In a two-column document the footnotes appear at the bottom of every column,
32196 \begin_inset space ~
32200 \begin_inset CommandInset ref
32202 reference "fig:Standard-footnote-placement"
32207 If the footnotes should only appear at the bottom of the right column,
32209 \begin_inset space ~
32213 \begin_inset CommandInset ref
32215 reference "fig:Footnote-placement-in"
32219 , use the \SpecialChar LaTeX
32225 \begin_inset Index idx
32228 \begin_layout Plain Layout
32230 -packages ! ftnright
32235 with this command in the document preamble:
32238 \begin_layout Standard
32243 usepackage{ftnright}
32246 \begin_layout Standard
32247 \begin_inset Float figure
32253 \begin_layout Plain Layout
32256 \begin_inset Box Boxed
32266 height_special "totalheight"
32271 backgroundcolor "none"
32274 \begin_layout Plain Layout
32275 \begin_inset Graphics
32276 filename clipart/without_fntright.pdf
32278 scaleBeforeRotation
32290 \begin_layout Plain Layout
32291 \begin_inset Caption Standard
32293 \begin_layout Plain Layout
32294 \begin_inset CommandInset label
32296 name "fig:Standard-footnote-placement"
32300 Standard footnote placement in two-column documents.
32313 \begin_layout Standard
32314 \begin_inset Float figure
32320 \begin_layout Plain Layout
32323 \begin_inset Box Boxed
32333 height_special "totalheight"
32338 backgroundcolor "none"
32341 \begin_layout Plain Layout
32342 \begin_inset Graphics
32343 filename clipart/with_fntright.pdf
32345 scaleBeforeRotation
32357 \begin_layout Plain Layout
32358 \begin_inset Caption Standard
32360 \begin_layout Plain Layout
32361 \begin_inset CommandInset label
32363 name "fig:Footnote-placement-in"
32367 Footnote placement in two-column documents when the \SpecialChar LaTeX
32385 \begin_layout Standard
32386 \begin_inset VSpace bigskip
32389 In some scientific literature it is usual to collect the footnotes and print
32390 them in a separate paragraph at the end of a section, as in Figure
32391 \begin_inset space ~
32395 \begin_inset CommandInset ref
32397 reference "fig:Endnotes"
32402 They are then called
32403 \begin_inset Quotes eld
32407 \begin_inset Quotes erd
32411 \begin_inset Index idx
32414 \begin_layout Plain Layout
32420 To use endnotes instead of footnotes in your document, load in the menu
32423 Document\SpecialChar menuseparator
32424 Settings\SpecialChar menuseparator
32430 \begin_inset space ~
32434 \begin_inset space ~
32440 To insert the collected footnotes, insert the command
32443 \begin_layout Standard
32451 \begin_layout Standard
32452 in \SpecialChar TeX
32453 Code at the end of a section or chapter.
32456 \begin_layout Standard
32457 \begin_inset Float figure
32462 \begin_layout Plain Layout
32465 \begin_inset Box Boxed
32475 height_special "totalheight"
32480 backgroundcolor "none"
32483 \begin_layout Plain Layout
32484 \begin_inset Graphics
32485 filename clipart/endnotes.pdf
32487 scaleBeforeRotation
32499 \begin_layout Plain Layout
32500 \begin_inset Caption Standard
32502 \begin_layout Plain Layout
32503 \begin_inset CommandInset label
32505 name "fig:Endnotes"
32509 Endnotes – footnotes are printed in a separate paragraph at the end of sections
32523 \begin_layout Standard
32524 \begin_inset VSpace medskip
32527 The paragraph heading for the endnotes isn't automatically translated into
32528 the document language, this must be done manually.
32529 The following preamble command translates the default English
32530 \begin_inset Quotes eld
32534 \begin_inset Quotes erd
32538 \begin_inset Quotes eld
32542 \begin_inset Quotes erd
32548 \begin_layout Standard
32555 notesname}{Anmerkungen}
32558 \begin_layout Standard
32559 \begin_inset VSpace medskip
32562 The numbering of endnotes can be changed like the footnote numbering as
32563 described in section
32564 \begin_inset space ~
32568 \begin_inset CommandInset ref
32570 reference "subsec:Footnote-Numbering"
32574 ; just replace the command
32587 To reset the endnote number use the command
32593 as described in section
32594 \begin_inset space ~
32598 \begin_inset CommandInset ref
32600 reference "subsec:Footnote-Numbering"
32604 and replace the command parameter
32615 \begin_layout Standard
32616 For endnotes there is the command
32620 endnotemark[number]
32622 similar to the command
32628 , that is described in section
32629 \begin_inset space ~
32633 \begin_inset CommandInset ref
32635 reference "sec:Footnotes"
32642 \begin_layout Standard
32643 \begin_inset VSpace bigskip
32646 Footnotes can also be placed in the page margin and the footnote text alignment
32647 can be changed, see the \SpecialChar LaTeX
32653 \begin_inset Index idx
32656 \begin_layout Plain Layout
32658 -packages ! footmisc
32664 \begin_inset CommandInset citation
32670 for more information about this.
32673 \begin_layout Standard
32674 For various further footnote formatting issues have a look at \SpecialChar LaTeX
32676 \begin_inset CommandInset citation
32678 key "latexcompanion,latexguide,latexbook"
32688 \begin_inset Index idx
32691 \begin_layout Plain Layout
32693 -packages ! KOMA-Script
32698 document class, you can adjust all footnote settings using class-specific
32700 \begin_inset CommandInset citation
32709 \begin_layout Section
32711 \begin_inset Index idx
32714 \begin_layout Plain Layout
32715 Notes ! Margin Notes
32723 \begin_layout Standard
32724 Margin notes look and behave in \SpecialChar LyX
32726 They are inserted via the menu
32728 Insert\SpecialChar menuseparator
32730 \begin_inset space ~
32735 or the toolbar button
32738 arg "marginalnote-insert"
32752 \begin_inset Quotes eld
32756 \begin_inset Quotes erd
32759 appears where you can enter the text of the margin note.
32762 \begin_layout Standard
32763 At the side is an example margin note.
32768 \begin_inset Marginal
32771 \begin_layout Plain Layout
32772 This is a margin note.
32780 \begin_layout Standard
32781 Margin notes appear at the right side in single-sided documents.
32782 In double-sided documents they appear in the outer margin – left on even
32783 pages, right on odd pages.
32784 The text of margin notes is aligned opposite to the outer margin – right-aligne
32785 d when the note appears in the left margin.
32786 The first line of the margin note is placed at the position of the text
32787 line where it is inserted in the document.
32790 \begin_layout Standard
32791 \begin_inset VSpace bigskip
32794 To place the margin note in the inner margin, add the command
32797 \begin_layout Standard
32805 \begin_layout Standard
32806 in \SpecialChar TeX
32807 Code before a margin note.
32808 The new placement is valid for all subsequent margin notes.
32813 \begin_layout Plain Layout
32823 \begin_inset Marginal
32826 \begin_layout Plain Layout
32827 This is a margin note in the inner margin.
32835 \begin_inset Newline newline
32841 \begin_inset Note Greyedout
32844 \begin_layout Plain Layout
32849 There is often not enough space in the inner margin so that the notes are
32850 not correctly displayed in the output.
32858 \begin_layout Standard
32859 To return to the default placement insert the command
32862 \begin_layout Standard
32870 \begin_layout Standard
32871 in \SpecialChar TeX
32876 \begin_layout Plain Layout
32886 \begin_inset Note Greyedout
32889 \begin_layout Plain Layout
32894 The command is ignored when it is within a paragraph where also the command
32909 \begin_layout Standard
32910 \begin_inset VSpace bigskip
32917 \begin_inset Marginal
32920 \begin_layout Plain Layout
32921 AVeryLongMarginParWord that isn't hyphenated.
32929 Similar to the case described in section
32930 \begin_inset space ~
32934 \begin_inset CommandInset ref
32936 reference "subsec:Multiple-Lines-in"
32940 , long words cannot be hyphenated when they are the first word in a margin
32942 To avoid this, insert 0
32943 \begin_inset space \thinspace{}
32946 pt horizontal space before the word
32951 \begin_inset Marginal
32954 \begin_layout Plain Layout
32955 \begin_inset space \hspace*{}
32959 AVeryLongMarginParWord that is hyphenated.
32967 \begin_layout Standard
32968 \begin_inset VSpace bigskip
32974 \begin_layout Standard
32975 \begin_inset Note Greyedout
32978 \begin_layout Plain Layout
32983 Margin notes can normally not be used inside tables, floats, and footnotes.
32991 \begin_layout Standard
32992 \begin_inset VSpace bigskip
32998 \begin_layout Standard
33002 \begin_layout Plain Layout
33012 \begin_inset Note Note
33015 \begin_layout Plain Layout
33016 The following section will only be displayed when the \SpecialChar LaTeX
33029 \begin_layout Standard
33030 This restriction can be evaded by using the \SpecialChar LaTeX
33036 \begin_inset Index idx
33039 \begin_layout Plain Layout
33041 -packages ! marginnote
33047 By adding these two lines to your document preamble, the command used by
33049 for margin notes is redefined to use the command provided by the
33056 \begin_layout Standard
33061 usepackage{marginnote}
33062 \begin_inset Newline newline
33074 \begin_layout Standard
33075 This is also used in this document because
33079 has another useful feature: You can set a vertical offset for the note.
33080 This is often needed when too many margin notes are too close together
33081 or for a better page layout.
33082 The offset is set in \SpecialChar LyX
33083 as \SpecialChar TeX
33084 Code directly after the margin note in the scheme
33087 \begin_layout Standard
33093 \begin_layout Standard
33094 where the offset is a length with one of the units listed in Table
33095 \begin_inset space ~
33099 \begin_inset CommandInset ref
33101 reference "tab:Units"
33106 A negative value shifts the note up, a positive value shifts it down.
33110 For example the margin note beside this text line is shifted up 1.5
33111 \begin_inset space \thinspace{}
33114 cm with the \SpecialChar TeX
33116 \begin_inset Quotes eld
33126 \begin_inset Quotes erd
33130 \begin_inset Marginal
33133 \begin_layout Plain Layout
33134 This margin note is shifted up 1.5
33135 \begin_inset space \thinspace{}
33138 cm from its original position.
33150 \begin_layout Plain Layout
33160 \begin_layout Standard
33161 \begin_inset VSpace medskip
33168 you can also change the alignment of the text in the margin note.
33169 For example the commands
33172 \begin_layout Standard
33179 raggedleftmarginnote}{
33182 \begin_inset Newline newline
33189 raggedrightmarginnote}{
33194 \begin_layout Standard
33195 set the alignment to centered.
33200 raggedleftmarginnote
33202 denotes margin notes that appear at the left side.
33209 \begin_layout Plain Layout
33215 raggedleftmarginnote}{
33220 \begin_layout Plain Layout
33226 raggedrightmarginnote}{
33234 \begin_inset Marginal
33237 \begin_layout Plain Layout
33238 The text of this margin note is centered.
33249 \begin_layout Standard
33256 raggedleftmarginnote}{
33259 \begin_inset Newline newline
33266 raggedrightmarginnote}{
33275 \begin_layout Plain Layout
33281 raggedleftmarginnote}{
33286 \begin_layout Plain Layout
33292 raggedrightmarginnote}{
33302 \begin_layout Standard
33303 \begin_inset VSpace medskip
33306 For the other features of
33310 refer to its documentation
33311 \begin_inset CommandInset citation
33320 \begin_layout Standard
33321 \begin_inset VSpace bigskip
33324 You can adjust the layout of margin notes by changing its definition.
33325 To create for example a header for all margin notes with the underlined,
33326 sans-serif, and bold header text
33327 \begin_inset Quotes eld
33339 \begin_inset Quotes erd
33342 , add this to your document preamble:
33345 \begin_layout Standard
33355 \begin_inset Newline newline
33365 \begin_inset Newline newline
33369 \begin_inset Phantom HPhantom
33372 \begin_layout Plain Layout
33375 \begin_inset space ~
33391 underbar{Attention!}}}%
33392 \begin_inset Newline newline
33396 \begin_inset Phantom HPhantom
33399 \begin_layout Plain Layout
33402 \begin_inset space ~
33419 \begin_layout Standard
33426 \begin_layout Plain Layout
33437 \begin_layout Plain Layout
33448 \begin_layout Plain Layout
33456 underbar{Attention!}}}%
33459 \begin_layout Plain Layout
33473 \begin_inset Marginal
33476 \begin_layout Plain Layout
33477 This is a margin note with a defined heading.
33489 \begin_layout Plain Layout
33503 \begin_layout Plain Layout
33520 \begin_inset Note Note
33523 \begin_layout Plain Layout
33524 The margin note format is changed only for this example.
33532 \begin_layout Standard
33536 \begin_layout Plain Layout
33546 \begin_inset Note Note
33549 \begin_layout Plain Layout
33550 The following will be displayed when the \SpecialChar LaTeX
33563 \begin_layout Standard
33564 You need to install the \SpecialChar LaTeX
33569 to see the following part of this section in the output.
33572 \begin_layout Standard
33576 \begin_layout Plain Layout
33588 \begin_layout Chapter
33592 \begin_layout Section
33594 \begin_inset Index idx
33597 \begin_layout Plain Layout
33598 Boxes ! Introduction
33606 \begin_layout Standard
33607 Boxes are used to format a block of text.
33608 Boxes can be used to write documents with multiple languages, see section
33609 \begin_inset space ~
33613 \begin_inset CommandInset ref
33615 reference "sec:Minipages"
33619 , to frame texts, see section
33620 \begin_inset space ~
33624 \begin_inset CommandInset ref
33626 reference "sec:Decoration"
33630 , to prevent words from being hyphenated, see section
33631 \begin_inset space ~
33635 \begin_inset CommandInset ref
33637 reference "sec:Prevent-Hyphenation"
33641 , to align text, see section
33642 \begin_inset space ~
33646 \begin_inset CommandInset ref
33648 reference "subsec:Vertical-Alignment"
33652 , or to set the background color of texts, see section
33653 \begin_inset space ~
33657 \begin_inset CommandInset ref
33659 reference "sec:Colored-Boxes"
33666 \begin_layout Standard
33667 Boxes can be inserted with the menu
33669 Insert\SpecialChar menuseparator
33672 or the toolbar button
33675 arg "box-insert Frameless"
33679 A grey box with the label
33684 \begin_inset Graphics
33685 filename clipart/BoxInsetDefault.png
33687 scaleBeforeRotation
33692 The box type can be specified by right-clicking on the box and selecting
33698 The box dialog offers the
33701 \begin_inset space ~
33723 is the default for new boxes and is explained in section
33724 \begin_inset space ~
33728 \begin_inset CommandInset ref
33730 reference "sec:Minipages"
33738 is described in section
33739 \begin_inset space ~
33743 \begin_inset CommandInset ref
33745 reference "sec:Parboxes"
33754 \begin_inset CommandInset ref
33756 reference "sec:Prevent-Hyphenation"
33763 \begin_layout Standard
33764 Boxes are not numbered and can therefore not be referenced like floats or
33768 \begin_layout Standard
33769 \begin_inset Note Greyedout
33772 \begin_layout Plain Layout
33777 Boxes must not be the item in an
33793 \begin_layout Standard
33794 \begin_inset Note Greyedout
33797 \begin_layout Plain Layout
33802 For an unknown reason you can only set the
33805 \begin_inset space ~
33814 when you use a framed box.
33818 \begin_inset space ~
33823 type and without frames are explained in section
33824 \begin_inset space ~
33828 \begin_inset CommandInset ref
33830 reference "sec:Prevent-Hyphenation"
33842 \begin_layout Section
33844 \begin_inset CommandInset label
33846 name "sec:Box-Dialog"
33851 \begin_inset Index idx
33854 \begin_layout Plain Layout
33863 \begin_layout Subsection
33865 \begin_inset Index idx
33868 \begin_layout Plain Layout
33877 \begin_layout Standard
33878 In the box dialog you can adjust the box geometry in the fields
33887 The available units for the geometry are explained in Table
33888 \begin_inset space ~
33892 \begin_inset CommandInset ref
33894 reference "tab:Units"
33903 offers the following additional sizes:
33906 \begin_layout Description
33907 Depth This is the plain text
33908 \begin_inset Quotes eld
33912 \begin_inset Quotes erd
33916 It ignores the total depth when there are multiple text lines in the box:
33917 \begin_inset Newline newline
33921 \begin_inset Newline newline
33925 \begin_inset Newline newline
33929 \begin_inset Box Boxed
33939 height_special "depth"
33944 backgroundcolor "none"
33947 \begin_layout Plain Layout
33949 Box height set to 1
33950 \begin_inset space \thinspace{}
33959 \begin_inset Newline newline
33963 \begin_inset Newline newline
33969 \begin_layout Description
33970 Height This is the height of the text that is inside the box.
33972 \begin_inset space \thinspace{}
33976 \begin_inset space \space{}
33979 2 for this size will set the box height to 2
33980 \begin_inset space ~
33983 times the text height:
33984 \begin_inset Box Boxed
33994 height_special "height"
33999 backgroundcolor "none"
34002 \begin_layout Plain Layout
34004 Box height set to 2
34005 \begin_inset space \thinspace{}
34016 \begin_layout Description
34018 \begin_inset space ~
34021 Height This is the Height
34022 \begin_inset space \thinspace{}
34026 \begin_inset space \thinspace{}
34030 \begin_inset Box Boxed
34040 height_special "totalheight"
34045 backgroundcolor "none"
34048 \begin_layout Plain Layout
34050 Box height set to 1
34051 \begin_inset space \thinspace{}
34055 \begin_inset space ~
34066 \begin_layout Description
34067 Width This sets the width of the box as height:
34068 \begin_inset Box Boxed
34078 height_special "width"
34083 backgroundcolor "none"
34086 \begin_layout Plain Layout
34088 Box height set to 1
34089 \begin_inset space \thinspace{}
34100 \begin_layout Subsection
34102 \begin_inset Index idx
34105 \begin_layout Plain Layout
34114 \begin_layout Standard
34115 When you have chosen an
34118 \begin_inset space ~
34123 , the vertical box alignment can be:
34126 \begin_layout Description
34127 Top This is an example text line.
34129 \begin_inset Box Boxed
34139 height_special "totalheight"
34144 backgroundcolor "none"
34147 \begin_layout Plain Layout
34149 This box is top-aligned.
34154 This is an example text line.
34157 \begin_layout Description
34158 Middle This is an example text line.
34160 \begin_inset Box Boxed
34170 height_special "totalheight"
34175 backgroundcolor "none"
34178 \begin_layout Plain Layout
34180 This box is middle-aligned.
34185 This is an example text line.
34188 \begin_layout Description
34189 Bottom This is an example text line.
34191 \begin_inset Box Boxed
34201 height_special "totalheight"
34206 backgroundcolor "none"
34209 \begin_layout Plain Layout
34211 This box is bottom-aligned.
34216 This is an example text line.
34219 \begin_layout Standard
34220 \begin_inset Note Greyedout
34223 \begin_layout Plain Layout
34228 The vertical box alignment can be lost in the output when you have two
34229 boxes in a line and one has e.
34230 \begin_inset space \thinspace{}
34234 \begin_inset space \space{}
34237 a shadow and the other one not.
34245 \begin_layout Standard
34246 The horizontal box alignment can be set via \SpecialChar LyX
34247 's paragraph dialog when you
34248 set the box into its own paragraph.
34251 \begin_layout Standard
34252 \begin_inset VSpace bigskip
34255 When you have chosen an
34258 \begin_inset space ~
34263 , the box content can be aligned vertically to:
34266 \begin_layout Description
34267 top This is an example text line.
34269 \begin_inset Box Boxed
34279 height_special "totalheight"
34284 backgroundcolor "none"
34287 \begin_layout Plain Layout
34289 This box text is top-aligned.
34294 This is an example text line.
34297 \begin_layout Description
34298 middle This is an example text line.
34300 \begin_inset Box Boxed
34310 height_special "totalheight"
34315 backgroundcolor "none"
34318 \begin_layout Plain Layout
34320 This box text is middle-aligned.
34325 This is an example text line.
34328 \begin_layout Description
34329 bottom This is an example text line.
34331 \begin_inset Box Boxed
34341 height_special "totalheight"
34346 backgroundcolor "none"
34349 \begin_layout Plain Layout
34351 This box text is bottom-aligned.
34356 This is an example text line.
34359 \begin_layout Description
34360 stretch This is an example text line.
34362 \begin_inset Box Boxed
34372 height_special "totalheight"
34377 backgroundcolor "none"
34380 \begin_layout Plain Layout
34385 \begin_layout Plain Layout
34390 \begin_layout Plain Layout
34397 This is an example text line.
34400 \begin_layout Standard
34401 To stretch the box content, it must consist of more than one paragraph.
34402 In the example above every text line is in an own paragraph.
34405 \begin_layout Standard
34406 \begin_inset VSpace bigskip
34409 To align the box content horizontally you can use \SpecialChar LyX
34410 's paragraph dialog when
34414 \begin_inset space ~
34422 \begin_layout Standard
34424 \begin_inset Box Boxed
34434 height_special "totalheight"
34439 backgroundcolor "none"
34442 \begin_layout Plain Layout
34447 \begin_layout Plain Layout
34452 \begin_layout Plain Layout
34462 \begin_layout Standard
34463 If you have not set an
34466 \begin_inset space ~
34471 , you can align the box content horizontally in the box dialog.
34474 \begin_layout Standard
34476 \begin_inset Box Boxed
34486 height_special "totalheight"
34491 backgroundcolor "none"
34494 \begin_layout Plain Layout
34495 This box text is horizontally stretched.
34503 \begin_layout Subsection
34505 \begin_inset CommandInset label
34507 name "sec:Decoration"
34512 \begin_inset Index idx
34515 \begin_layout Plain Layout
34524 \begin_layout Standard
34525 The type of the box can be specified in the box dialog in the drop-down
34531 The following types are possible:
34534 \begin_layout Description
34536 \begin_inset space ~
34539 frame Nothing is drawn.
34542 \begin_layout Description
34544 \begin_inset space ~
34548 \begin_inset space ~
34551 frame This draws a rectangular frame around the box.
34552 The frame line thickness can be specified.
34554 \begin_inset Box Boxed
34564 height_special "totalheight"
34569 backgroundcolor "none"
34572 \begin_layout Plain Layout
34582 \begin_layout Description
34584 \begin_inset space ~
34588 \begin_inset space ~
34591 thin This draws an oval frame around the box.
34592 The frame line thickness has the size 0.4
34593 \begin_inset space \thinspace{}
34598 \begin_inset Box ovalbox
34608 height_special "totalheight"
34613 backgroundcolor "none"
34616 \begin_layout Plain Layout
34626 \begin_layout Description
34628 \begin_inset space ~
34632 \begin_inset space ~
34635 thick This draws an oval frame around the box.
34636 The frame line thickness has the size 0.8
34637 \begin_inset space \thinspace{}
34642 \begin_inset Box Ovalbox
34652 height_special "totalheight"
34657 backgroundcolor "none"
34660 \begin_layout Plain Layout
34670 \begin_layout Description
34672 \begin_inset space ~
34675 shadow This draws a rectangular frame with a shadow around the box.
34676 The frame line thickness and the shadow can be specified.
34678 \begin_inset Box Shadowbox
34688 height_special "totalheight"
34693 backgroundcolor "none"
34696 \begin_layout Plain Layout
34706 \begin_layout Description
34708 \begin_inset space ~
34711 background This draws a box with a red background.
34712 Unlike colored boxes
34716 \begin_layout Plain Layout
34718 \begin_inset space \thinspace{}
34722 \begin_inset CommandInset ref
34724 reference "sec:Colored-Boxes"
34733 , it always uses the whole column width and the box is set as its own paragraph.
34735 \begin_inset Box Shaded
34745 height_special "totalheight"
34750 backgroundcolor "none"
34753 \begin_layout Plain Layout
34754 Shaded background box
34762 \begin_layout Description
34764 \begin_inset space ~
34768 \begin_inset space ~
34771 frame This draws a double-line rectangular frame around the box.
34772 The line thickness of the inner frame is 0.75
34773 \begin_inset space \thinspace{}
34777 \begin_inset space ~
34780 thickness, the thickness of the outer frame is 1.5
34781 \begin_inset space \thinspace{}
34785 \begin_inset space ~
34789 The distance between the lines is 1.5
34790 \begin_inset space \thinspace{}
34794 \begin_inset space ~
34798 \begin_inset space \thinspace{}
34802 \begin_inset space \thinspace{}
34806 \begin_inset space \thinspace{}
34811 \begin_inset Box Doublebox
34821 height_special "totalheight"
34826 backgroundcolor "none"
34829 \begin_layout Plain Layout
34831 Double rectangular box
34839 \begin_layout Standard
34840 \begin_inset VSpace bigskip
34844 's box label will reflect the different frame types.
34845 To be able to use all types, the \SpecialChar LaTeX
34851 \begin_inset Index idx
34854 \begin_layout Plain Layout
34856 -packages ! fancybox
34864 \begin_layout Standard
34865 \begin_inset VSpace bigskip
34868 When you use the decoration
34870 simple rectangular frame
34872 and no inner box, you can allow page breaks within a box.
34873 Note that then, unlike other framed boxes, the frame always uses the whole
34874 column width and the box is set as its own paragraph:
34875 \begin_inset Box Framed
34885 height_special "totalheight"
34890 backgroundcolor "none"
34893 \begin_layout Plain Layout
34894 Allow page break box
34902 \begin_layout Section
34904 \begin_inset Index idx
34907 \begin_layout Plain Layout
34908 Boxes ! Customization
34916 \begin_layout Standard
34917 The diameter of the round corners of the oval boxes can be set with the
34928 \begin_layout Standard
34936 \begin_layout Standard
34937 sets the diameter to 1
34938 \begin_inset space \thinspace{}
34945 \begin_layout Standard
34953 \begin_layout Standard
34954 sets the diameter to
34957 \begin_inset space \thinspace{}
34961 \begin_inset space \thinspace{}
34964 minimum(width and height of box)
34976 \begin_layout Standard
34980 \begin_layout Plain Layout
34990 \begin_inset Box Ovalbox
35000 height_special "totalheight"
35005 backgroundcolor "none"
35008 \begin_layout Plain Layout
35017 \begin_inset space \thinspace{}
35021 \begin_inset space \thinspace{}
35025 \begin_inset space \thinspace{}
35037 \begin_layout Plain Layout
35049 \begin_layout Standard
35050 \begin_inset VSpace bigskip
35056 \begin_layout Standard
35057 The default background color red of
35061 boxes can either be changed locally with the command
35065 definecolor{shadecolor}
35067 or globally with the menu
35069 Tools\SpecialChar menuseparator
35070 Preferences\SpecialChar menuseparator
35071 Colors\SpecialChar menuseparator
35073 \begin_inset space ~
35085 command is explained in section
35086 \begin_inset space ~
35090 \begin_inset CommandInset ref
35092 reference "sec:Colored-Tables"
35100 \begin_layout Plain Layout
35107 requires the \SpecialChar LaTeX
35112 in the preamble, see section
35113 \begin_inset space ~
35117 \begin_inset CommandInset ref
35119 reference "sec:Colored-Boxes"
35128 For example the appearance of the following shaded background box is set
35129 with the \SpecialChar TeX
35133 \begin_layout Standard
35138 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35141 \begin_layout Standard
35145 \begin_layout Plain Layout
35149 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
35155 \begin_inset Box Shaded
35165 height_special "totalheight"
35170 backgroundcolor "none"
35173 \begin_layout Plain Layout
35176 This is yellow text in a
35186 box with dark green background.
35195 \begin_layout Plain Layout
35199 definecolor{shadecolor}{rgb}{1,0,0}
35207 \begin_layout Standard
35208 \begin_inset VSpace bigskip
35211 Manually changed sizes and colors are valid for all boxes following the
35212 commands that change them.
35215 \begin_layout Section
35217 \begin_inset CommandInset label
35219 name "sec:Minipages"
35224 \begin_inset Index idx
35227 \begin_layout Plain Layout
35236 \begin_layout Standard
35237 Minipages are treated by \SpecialChar LaTeX
35238 as pages within pages and can therefore for example
35239 have their own footnotes.
35242 \begin_layout Standard
35243 Minipages are useful when you write documents with different languages.
35246 \begin_layout Standard
35247 Below are two example minipages side by side.
35248 Their width is set to 45
35249 \begin_inset space \thinspace{}
35252 col% and they are separated by a horizontal fill, that was inserted via
35255 Insert\SpecialChar menuseparator
35257 \begin_inset space ~
35260 Formatting\SpecialChar menuseparator
35262 \begin_inset space ~
35268 \begin_inset Newpage newpage
35274 \begin_layout Standard
35275 \begin_inset Box Frameless
35285 height_special "totalheight"
35290 backgroundcolor "none"
35293 \begin_layout Plain Layout
35296 Dies ist ein deutscher Text.
35297 Dies ist ein deutscher Text.
35298 Dies ist ein deutscher Text.
35299 Dies ist ein deutscher Text.
35300 Dies ist ein deutscher Text.
35301 Dies ist ein deutscher Text.
35302 Dies ist ein deutscher Text.
35303 Dies ist ein deutscher Text.
35304 Dies ist ein deutscher Text.
35305 Dies ist ein deutscher Text.
35306 Dies ist ein deutscher Text.
35307 Dies ist ein deutscher Text.
35308 Dies ist ein deutscher Text
35312 \begin_layout Plain Layout
35315 Dies ist eine deutsche Fußnote.
35321 Dies ist ein deutscher Text.
35322 Dies ist ein deutscher Text.
35328 \begin_inset space \hfill{}
35332 \begin_inset Box Frameless
35342 height_special "totalheight"
35347 backgroundcolor "none"
35350 \begin_layout Plain Layout
35351 This is an English Text.
35352 This is an English Text.
35353 This is an English Text.
35354 This is an English Text.
35355 This is an English Text.
35356 This is an English Text.
35357 This is an English Text.
35358 This is an English Text.
35359 This is an English Text.
35360 This is an English Text.
35361 This is an English Text.
35362 This is an English Text.
35363 This is an English Text.
35364 This is an English Text.
35365 This is an English Text.
35366 This is an English Text.
35370 \begin_layout Plain Layout
35371 This is an English footnote.
35376 This is an English Text.
35384 \begin_layout Standard
35385 \begin_inset VSpace bigskip
35388 The document-wide paragraph settings are ignored within minipages.
35389 That means that there will be no space between paragraphs in minipages
35390 although you set it to e.
35391 \begin_inset space \thinspace{}
35395 \begin_inset space \space{}
35402 in the document settings.
35405 \begin_layout Standard
35406 Minipages can also be used to set a background color for text parts, see
35408 \begin_inset space ~
35412 \begin_inset CommandInset ref
35414 reference "sec:Colored-Boxes"
35421 \begin_layout Standard
35422 \begin_inset Note Greyedout
35425 \begin_layout Plain Layout
35430 You cannot have floats or margin notes inside minipages but minipages can
35431 be used inside tables, floats, and other boxes.
35439 \begin_layout Standard
35440 \begin_inset VSpace bigskip
35446 \begin_layout Standard
35448 has also basic support for minipages whose size is automatically determined
35449 by the width of their contents, via the module
35451 Variable-width Minipages
35454 The \SpecialChar LyX
35457 varwidth-floats-side-by-side
35459 gives examples of variable-width minipages used for placing two floats
35463 \begin_layout Section
35465 \begin_inset CommandInset label
35467 name "sec:Parboxes"
35472 \begin_inset Index idx
35475 \begin_layout Plain Layout
35484 \begin_layout Standard
35485 Parboxes are very similar to minipages with the difference that they cannot
35489 \begin_layout Standard
35491 \begin_inset Box Frameless
35501 height_special "totalheight"
35506 backgroundcolor "none"
35509 \begin_layout Plain Layout
35510 This a text within a parbox.
35511 This a text within a parbox.
35514 \begin_layout Plain Layout
35515 This footnote won't appear:
35519 \begin_layout Plain Layout
35520 This footnote is inside a parbox and will therefore not appear.
35533 \begin_layout Section
35534 Boxes for Words and Characters
35535 \begin_inset Index idx
35538 \begin_layout Plain Layout
35539 Boxes ! for Characters
35547 \begin_layout Subsection
35548 Prevent Hyphenation
35549 \begin_inset CommandInset label
35551 name "sec:Prevent-Hyphenation"
35556 \begin_inset Index idx
35559 \begin_layout Plain Layout
35560 Boxes ! to Prevent Hyphenation
35568 \begin_layout Standard
35569 You can use the box type
35573 to prevent words or text from being hyphenated.
35574 \begin_inset Newline newline
35577 Here is an example text:
35580 \begin_layout Standard
35581 This line is an example to show how you can prevent the hyphenation of
35582 \begin_inset Quotes eld
35586 \begin_inset Quotes erd
35592 \begin_layout Standard
35593 To prevent the hyphenation of the word
35594 \begin_inset Quotes eld
35598 \begin_inset Quotes erd
35601 , put the word into a box, set the
35604 \begin_inset space ~
35613 and use no explicit width.
35616 \begin_layout Standard
35617 This is the result:
35620 \begin_layout Standard
35621 This line is an example to show how you can prevent the hyphenation of
35622 \begin_inset Box Frameless
35632 height_special "totalheight"
35637 backgroundcolor "none"
35640 \begin_layout Plain Layout
35641 \begin_inset Quotes eld
35645 \begin_inset Quotes erd
35656 \begin_layout Standard
35657 You can alternatively set the command
35658 \begin_inset Quotes eld
35668 \begin_inset Quotes grd
35671 as \SpecialChar TeX
35672 Code directly before the word:
35675 \begin_layout Standard
35676 This line is an example to show how you can prevent the hyphenation of
35677 \begin_inset Quotes eld
35684 \begin_layout Plain Layout
35694 \begin_inset Quotes erd
35700 \begin_layout Standard
35701 Of course the word now protrudes over the side margin.
35702 To avoid this, add via the menu
35704 Insert\SpecialChar menuseparator
35705 Formatting\SpecialChar menuseparator
35707 \begin_inset space ~
35711 \begin_inset space ~
35719 arg "newline-insert newline"
35722 ) a line break before the word:
35725 \begin_layout Standard
35726 This line is an example to show how you can prevent the hyphenation of
35727 \begin_inset Newline newline
35731 \begin_inset Box Frameless
35741 height_special "totalheight"
35746 backgroundcolor "none"
35749 \begin_layout Plain Layout
35750 \begin_inset Quotes eld
35754 \begin_inset Quotes erd
35765 \begin_layout Subsection
35767 \begin_inset CommandInset label
35769 name "subsec:Vertical-Alignment"
35774 \begin_inset Index idx
35777 \begin_layout Plain Layout
35778 Boxes ! for Vertical Alignment
35784 \begin_inset Index idx
35787 \begin_layout Plain Layout
35796 \begin_layout Standard
35797 With the help of the command
35803 you can align words, characters or other boxes vertically relative to the
35811 is used with the following scheme:
35814 \begin_layout Standard
35819 raisebox{lift}[height][depth]{box content}
35822 \begin_layout Standard
35823 The lift can be a positive value to raise the box or a negative value to
35827 \begin_layout Standard
35828 To align for example the word
35829 \begin_inset Quotes eld
35833 \begin_inset Quotes erd
35836 so that the bottom of the
35837 \begin_inset Quotes eld
35841 \begin_inset Quotes erd
35845 \begin_inset Quotes eld
35849 \begin_inset Quotes erd
35852 is at the baseline, insert the command
35855 \begin_layout Standard
35865 \begin_layout Standard
35866 in \SpecialChar TeX
35867 Code before the word.
35868 After the word insert a closing brace
35869 \begin_inset Quotes eld
35877 \begin_inset Quotes erd
35880 in \SpecialChar TeX
35882 \begin_inset Newline newline
35885 This is the result:
35888 \begin_layout Standard
35889 This is a text line with the word
35893 \begin_layout Plain Layout
35905 \begin_inset Quotes eld
35909 \begin_inset Quotes erd
35916 \begin_layout Plain Layout
35926 \begin_layout Standard
35927 \begin_inset VSpace bigskip
35930 When you raise or lower characters in a line, the line distance will be
35934 \begin_layout Standard
35935 This is a text line with the word
35939 \begin_layout Plain Layout
35951 \begin_inset Quotes eld
35955 \begin_inset Quotes erd
35962 \begin_layout Plain Layout
35970 \begin_inset Newline newline
35973 This is a text line with the word
35977 \begin_layout Plain Layout
35987 \begin_inset Quotes eld
35991 \begin_inset Quotes erd
35998 \begin_layout Plain Layout
36008 \begin_layout Standard
36009 If you want to prevent this for a certain reason, set the box height to
36014 \begin_layout Standard
36024 \begin_layout Standard
36025 This is a text line with the word
36029 \begin_layout Plain Layout
36041 \begin_inset Quotes eld
36045 \begin_inset Quotes erd
36052 \begin_layout Plain Layout
36060 \begin_inset Newline newline
36064 \begin_inset Newline newline
36067 This is a text line with the word
36071 \begin_layout Plain Layout
36075 raisebox{0.5cm}[0pt]{
36081 \begin_inset Quotes eld
36085 \begin_inset Quotes erd
36092 \begin_layout Plain Layout
36102 \begin_layout Section
36104 \begin_inset CommandInset label
36106 name "sec:Colored-Boxes"
36111 \begin_inset Index idx
36114 \begin_layout Plain Layout
36123 \begin_layout Standard
36124 To color the background of a box just select the color you like in the box
36126 This is for example a box with orange background:
36127 \begin_inset Box Frameless
36137 height_special "totalheight"
36142 backgroundcolor "orange"
36145 \begin_layout Plain Layout
36146 Box with orange background
36154 \begin_layout Standard
36155 If you use the decoration
36158 \begin_inset space ~
36162 \begin_inset space ~
36167 you can set a frame color.
36168 In this case you must also specify a background color (LyX sets white as
36170 Here is an example:
36171 \begin_inset Box Boxed
36181 height_special "totalheight"
36186 backgroundcolor "yellow"
36189 \begin_layout Plain Layout
36190 Box with teal frame color and yellow background color
36198 \begin_layout Standard
36199 \begin_inset VSpace bigskip
36202 Of course you can also have colored text inside a colored box:
36203 \begin_inset Newline newline
36207 \begin_inset Box Boxed
36217 height_special "totalheight"
36222 backgroundcolor "magenta"
36225 \begin_layout Plain Layout
36228 This is colored text within a colored, framed box
36236 \begin_layout Standard
36237 \begin_inset VSpace bigskip
36243 \begin_layout Standard
36244 If you need another color than the predefined ones, you can define your
36245 own color as described in section
36246 \begin_inset space ~
36250 \begin_inset CommandInset ref
36252 reference "sec:Colored-Tables"
36257 To use your own color you must typeset the box by using TeX code:
36260 \begin_layout Standard
36261 Colored boxes without frame are created with the command
36268 It has the following scheme:
36271 \begin_layout Standard
36276 colorbox{color}{box content}
36279 \begin_layout Standard
36280 The box content can also be a box and colored boxes can also be within other
36283 \begin_inset space \thinspace{}
36287 \begin_inset space \space{}
36290 a darkgreen background for a word, insert the command
36293 \begin_layout Standard
36298 colorbox{darkgreen}{
36301 \begin_layout Standard
36302 before the word in \SpecialChar TeX
36304 After the word insert a closing brace
36305 \begin_inset Quotes eld
36313 \begin_inset Quotes erd
36316 in \SpecialChar TeX
36318 \begin_inset Newline newline
36321 This is the result:
36324 \begin_layout Standard
36325 This is a line where the word
36329 \begin_layout Plain Layout
36333 colorbox{darkgreen}{
36339 \begin_inset Quotes eld
36343 \begin_inset Quotes erd
36350 \begin_layout Plain Layout
36357 has a darkgreen background.
36360 \begin_layout Standard
36361 Framed, colored boxes are created with the command
36368 It has the following scheme:
36371 \begin_layout Standard
36376 fcolorbox{frame color}{box color}{box content}
36379 \begin_layout Section
36380 Rotated and Scaled Boxes
36383 \begin_layout Standard
36384 To use the boxes described in this section, the module
36388 must be loaded in the document settings.
36391 \begin_layout Standard
36392 \begin_inset Note Greyedout
36395 \begin_layout Plain Layout
36400 Not all DVI viewers are able to display rotated or scaled material.
36408 \begin_layout Standard
36409 \begin_inset Note Greyedout
36412 \begin_layout Plain Layout
36417 Floats are not allowed inside a rotated or scaled box.
36425 \begin_layout Subsection
36427 \begin_inset Index idx
36430 \begin_layout Plain Layout
36437 \begin_inset Index idx
36440 \begin_layout Plain Layout
36449 \begin_layout Standard
36450 To rotate material, you can put it into a
36455 Such a box is inserted via the menu
36457 Insert\SpecialChar menuseparator
36458 Custom Insets\SpecialChar menuseparator
36464 \begin_layout Standard
36465 The rotation origin can be specified via the inset
36471 Insert\SpecialChar menuseparator
36479 The following positions are possible:
36499 (top), along with meaningful combinations of the four base positions.
36504 means that the rotation origin is at the top left corner of the box.
36505 When no rotation origin is specified, the position
36510 The rotation angle is a number that can be negative that specifies the
36512 The rotation direction is counterclockwise.
36515 \begin_layout Standard
36516 In the following example
36520 was inserted to the
36528 was inserted to the
36535 \begin_layout Standard
36537 \begin_inset Flex Rotatebox
36540 \begin_layout Plain Layout
36541 \begin_inset Argument 1
36544 \begin_layout Plain Layout
36551 \begin_inset Argument 2
36554 \begin_layout Plain Layout
36568 \begin_layout Standard
36569 The box content can also be another box or an inline formula:
36572 \begin_layout Standard
36574 \begin_inset Flex Rotatebox
36577 \begin_layout Plain Layout
36578 \begin_inset Argument 1
36581 \begin_layout Plain Layout
36588 \begin_inset Argument 2
36591 \begin_layout Plain Layout
36598 \begin_inset Box Doublebox
36608 height_special "totalheight"
36613 backgroundcolor "none"
36616 \begin_layout Plain Layout
36628 \begin_inset Flex Rotatebox
36631 \begin_layout Plain Layout
36632 \begin_inset Argument 1
36635 \begin_layout Plain Layout
36642 \begin_inset Argument 2
36645 \begin_layout Plain Layout
36652 \begin_inset Formula $\int A\,\mathrm{d}x=B$
36663 \begin_layout Standard
36664 or an image or table:
36667 \begin_layout Standard
36669 \begin_inset Flex Rotatebox
36672 \begin_layout Plain Layout
36673 \begin_inset Argument 1
36676 \begin_layout Plain Layout
36683 \begin_inset Argument 2
36686 \begin_layout Plain Layout
36693 \begin_inset Graphics
36694 filename clipart/platypus.eps
36705 with a rotated image
36706 \begin_inset Flex Rotatebox
36709 \begin_layout Plain Layout
36710 \begin_inset Argument 2
36713 \begin_layout Plain Layout
36720 \begin_inset Tabular
36721 <lyxtabular version="3" rows="2" columns="2">
36722 <features tabularvalignment="middle">
36723 <column alignment="center" valignment="top">
36724 <column alignment="center" valignment="top">
36726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
36729 \begin_layout Plain Layout
36735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
36738 \begin_layout Plain Layout
36746 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
36749 \begin_layout Plain Layout
36755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
36758 \begin_layout Plain Layout
36775 \begin_inset Index idx
36778 \begin_layout Plain Layout
36785 \begin_inset Index idx
36788 \begin_layout Plain Layout
36789 Table Customization ! Rotating
36797 \begin_layout Standard
36798 \begin_inset Note Greyedout
36801 \begin_layout Plain Layout
36810 inset is empty or contains other characters than numbers you will get \SpecialChar LaTeX
36812 errors when viewing/exporting the document.
36820 \begin_layout Subsection
36822 \begin_inset Index idx
36825 \begin_layout Plain Layout
36832 \begin_inset Index idx
36835 \begin_layout Plain Layout
36844 \begin_layout Standard
36845 To scale material put it into a
36850 Such a box is inserted via the menu
36852 Insert\SpecialChar menuseparator
36853 Custom Insets\SpecialChar menuseparator
36859 \begin_layout Standard
36864 inset has the mandatory inset
36868 and the optional inset
36872 (inserted via the menu
36874 Insert\SpecialChar menuseparator
36878 Input there the horizontal and vertical scale factor, respectively.
36883 inset is used, the horizontal factor will also be used as the vertical
36887 \begin_layout Standard
36888 To get for example the double text size, compared to the document text size,
36899 \begin_inset Flex Scalebox
36902 \begin_layout Plain Layout
36903 \begin_inset Argument 1
36906 \begin_layout Plain Layout
36920 \begin_layout Standard
36938 \begin_inset Flex Scalebox
36941 \begin_layout Plain Layout
36942 \begin_inset Argument 1
36945 \begin_layout Plain Layout
36952 \begin_inset Argument 2
36955 \begin_layout Plain Layout
36969 \begin_layout Standard
36970 If the scaling factor is negative, the box content will be mirrored.
36987 can be used to create mirror writing:
36988 \begin_inset Flex Scalebox
36991 \begin_layout Plain Layout
36992 \begin_inset Argument 1
36995 \begin_layout Plain Layout
37002 \begin_inset Argument 2
37005 \begin_layout Plain Layout
37019 \begin_layout Standard
37037 \begin_inset Flex Scalebox
37040 \begin_layout Plain Layout
37041 \begin_inset Argument 1
37044 \begin_layout Plain Layout
37051 \begin_inset Argument 2
37054 \begin_layout Plain Layout
37068 \begin_layout Standard
37075 Insert\SpecialChar menuseparator
37076 Custom Insets\SpecialChar menuseparator
37102 \begin_layout Standard
37103 \begin_inset Note Greyedout
37106 \begin_layout Plain Layout
37115 inset is empty or contains other characters than numbers you will get LaTeX
37116 errors when viewing/exporting the document.
37124 \begin_layout Standard
37125 \begin_inset VSpace bigskip
37134 Insert\SpecialChar menuseparator
37135 Custom Insets\SpecialChar menuseparator
37138 ) is used to scale the content to a defined width and height.
37143 inset has the mandatory inset
37147 and the optional inset
37151 (inserted via the menu
37153 Insert\SpecialChar menuseparator
37157 Input there the width and height, respectively, as value with a unit.
37159 \begin_inset CommandInset ref
37161 reference "tab:Units"
37165 lists the possible units.
37166 If there is an exclamation mark
37170 in of of the two insets, the size is set so that the aspect ratio of the
37171 box content is kept.
37176 inset is used an exclamation mark will internally be used for the height.
37179 \begin_layout Standard
37197 \begin_inset Flex Resizebox
37200 \begin_layout Plain Layout
37201 \begin_inset Argument 1
37204 \begin_layout Plain Layout
37211 \begin_inset Argument 2
37214 \begin_layout Plain Layout
37226 \begin_inset Newline newline
37250 \begin_inset Flex Resizebox
37253 \begin_layout Plain Layout
37254 \begin_inset Argument 1
37257 \begin_layout Plain Layout
37264 \begin_inset Argument 2
37267 \begin_layout Plain Layout
37281 \begin_layout Standard
37282 \begin_inset Note Greyedout
37285 \begin_layout Plain Layout
37294 inset is empty or contains an invalid unit you will get LaTeX errors when
37295 viewing/exporting the document.
37303 \begin_layout Standard
37304 \begin_inset VSpace bigskip
37310 \begin_layout Standard
37311 The boxes can be combined in any order.
37320 which is in turn inside a
37327 \begin_layout Standard
37330 \begin_inset Flex Rotatebox
37333 \begin_layout Plain Layout
37334 \begin_inset Argument 1
37337 \begin_layout Plain Layout
37344 \begin_inset Argument 2
37347 \begin_layout Plain Layout
37354 \begin_inset Flex Resizebox
37357 \begin_layout Plain Layout
37358 \begin_inset Argument 1
37361 \begin_layout Plain Layout
37368 \begin_inset Flex Reflectbox
37371 \begin_layout Plain Layout
37390 \begin_layout Standard
37392 Images, tables, and inline formulas are allowed as box content:
37395 \begin_layout Standard
37398 \begin_inset Flex Resizebox
37401 \begin_layout Plain Layout
37402 \begin_inset Argument 1
37405 \begin_layout Plain Layout
37412 \begin_inset Flex Reflectbox
37415 \begin_layout Plain Layout
37416 \begin_inset Graphics
37417 filename clipart/platypus.eps
37434 \begin_inset Flex Resizebox
37437 \begin_layout Plain Layout
37438 \begin_inset Argument 1
37441 \begin_layout Plain Layout
37448 \begin_inset Flex Reflectbox
37451 \begin_layout Plain Layout
37452 \begin_inset Tabular
37453 <lyxtabular version="3" rows="2" columns="2">
37454 <features tabularvalignment="middle">
37455 <column alignment="center" valignment="top">
37456 <column alignment="center" valignment="top">
37458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37461 \begin_layout Plain Layout
37467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
37470 \begin_layout Plain Layout
37478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
37481 \begin_layout Plain Layout
37487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
37490 \begin_layout Plain Layout
37512 \begin_inset Flex Resizebox
37515 \begin_layout Plain Layout
37516 \begin_inset Argument 1
37519 \begin_layout Plain Layout
37526 \begin_inset Flex Reflectbox
37529 \begin_layout Plain Layout
37530 \begin_inset Formula $\int A\,\mathrm{d}x=B$
37544 \begin_inset Index idx
37547 \begin_layout Plain Layout
37554 \begin_inset Index idx
37557 \begin_layout Plain Layout
37558 Table Customization ! Scaling
37566 \begin_layout Standard
37567 When the global formula style
37571 is used in the document
37575 \begin_layout Plain Layout
37577 \begin_inset Quotes eld
37581 \begin_inset Quotes erd
37584 is added to the document class options.
37589 , display style formulas can also be scaled.
37592 \begin_layout Chapter
37593 Objects Surrounded by Text
37594 \begin_inset Index idx
37597 \begin_layout Plain Layout
37606 \begin_layout Section
37608 \begin_inset CommandInset label
37610 name "sec:Wrap-Floats"
37615 \begin_inset Index idx
37618 \begin_layout Plain Layout
37619 Floats ! Wrap Floats
37625 \begin_inset Index idx
37628 \begin_layout Plain Layout
37629 Surrounded by text ! Wrap Floats
37637 \begin_layout Standard
37638 \begin_inset Wrap figure
37645 \begin_layout Plain Layout
37646 \begin_inset Graphics
37647 filename clipart/mobius.eps
37649 scaleBeforeRotation
37650 rotateOrigin center
37657 \begin_layout Plain Layout
37658 \begin_inset Caption Standard
37660 \begin_layout Plain Layout
37661 \begin_inset CommandInset label
37663 name "fig:This-is-a"
37667 This is a figure wrap float.
37677 This float type is used if you want to wrap text around a figure or table
37678 so that it only occupies some fraction of the column width.
37679 It can be inserted using the menu
37681 Insert\SpecialChar menuseparator
37682 Floats\SpecialChar menuseparator
37684 \begin_inset space ~
37688 \begin_inset space ~
37696 \begin_inset space ~
37700 \begin_inset space ~
37705 if the \SpecialChar LaTeX
37711 \begin_inset Index idx
37714 \begin_layout Plain Layout
37716 -packages ! wrapfig
37725 \begin_layout Plain Layout
37726 Installing a \SpecialChar LaTeX
37727 -package is explained it in the
37731 \begin_inset space ~
37741 The settings of the float can be modified by right-clicking on the float
37743 The mandatory settings are the float
37756 that specifies how much the float is set into the paragraph
37757 \begin_inset space \thinspace{}
37761 \begin_inset space \thinspace{}
37764 page margin, and the
37767 \begin_inset space ~
37772 that specifies how many text lines the float will approximately need.
37773 The line span is often hard to approximate; so it is better only to use
37774 it when you encounter float placement problems.
37775 You can furthermore decide if \SpecialChar LaTeX
37776 is allowed to let the float float within
37777 the paragraph or to surrounding paragraphs.
37779 \begin_inset space ~
37783 \begin_inset CommandInset ref
37785 reference "fig:This-is-a"
37789 is an example text wrap float with a width of 40
37790 \begin_inset space \thinspace{}
37794 \begin_inset space \thinspace{}
37797 cm overhang, set to the left.
37800 \begin_layout Standard
37801 \begin_inset Note Greyedout
37804 \begin_layout Plain Layout
37810 \begin_inset space ~
37813 wrap float floats are fragile! E.
37814 \begin_inset space \thinspace{}
37818 \begin_inset space \space{}
37821 having a figure too close to the bottom of the page can mess things up in
37822 such a way that the float does not appear in the output or that it is placed
37823 over some other text.
37831 \begin_layout Standard
37832 In general, the following applies for wrap floats:
37835 \begin_layout Itemize
37836 They should not be placed in paragraphs that run over a page break.
37837 That means that wrap floats are better inserted in their exact place when
37838 the document is almost finished and you are able to estimate where page
37839 breaks will appear.
37842 \begin_layout Itemize
37843 They should either be placed in their own paragraph before the paragraph
37844 where they should wrap into or within a paragraph.
37847 \begin_layout Itemize
37848 In consecutive paragraphs they may cause troubles, so ensure that there
37849 is a text paragraph between them as separator.
37852 \begin_layout Itemize
37853 They are not allowed in section headings or tables.
37856 \begin_layout Itemize
37857 Their numbering and referencing works as described in chap.
37858 \begin_inset space \thinspace{}
37862 \begin_inset CommandInset ref
37864 reference "chap:Floats"
37871 \begin_layout Section
37872 Surrounded Fixed Objects
37873 \begin_inset Index idx
37876 \begin_layout Plain Layout
37877 Surrounded by text ! Fixed objects
37885 \begin_layout Standard
37886 The wrap floats described in sec.
37887 \begin_inset space \thinspace{}
37891 \begin_inset CommandInset ref
37893 reference "sec:Wrap-Floats"
37897 have these positions in the paragraph:
37900 \begin_layout Standard
37903 \begin_inset Tabular
37904 <lyxtabular version="3" rows="2" columns="2">
37905 <features tabularvalignment="middle">
37906 <column alignment="center" valignment="top">
37907 <column alignment="center" valignment="top">
37909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37912 \begin_layout Plain Layout
37915 arg "dialog-show-new-inset graphics"
37923 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
37926 \begin_layout Plain Layout
37934 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
37937 \begin_layout Plain Layout
37943 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
37946 \begin_layout Plain Layout
37958 \begin_inset Tabular
37959 <lyxtabular version="3" rows="2" columns="2">
37960 <features tabularvalignment="middle">
37961 <column alignment="center" valignment="top">
37962 <column alignment="center" valignment="top">
37964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
37967 \begin_layout Plain Layout
37973 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
37976 \begin_layout Plain Layout
37979 arg "dialog-show-new-inset graphics"
37989 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
37992 \begin_layout Plain Layout
37998 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38001 \begin_layout Plain Layout
38015 \begin_layout Standard
38016 To get an object exactly at the position where it is inserted, for example
38017 to get one of these positions:
38018 \begin_inset VSpace defskip
38024 \begin_layout Standard
38027 \begin_inset Tabular
38028 <lyxtabular version="3" rows="2" columns="2">
38029 <features tabularvalignment="middle">
38030 <column alignment="center" valignment="top">
38031 <column alignment="center" valignment="top">
38033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38036 \begin_layout Plain Layout
38042 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38045 \begin_layout Plain Layout
38053 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38056 \begin_layout Plain Layout
38059 arg "dialog-show-new-inset graphics"
38067 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38070 \begin_layout Plain Layout
38082 \begin_inset Tabular
38083 <lyxtabular version="3" rows="2" columns="2">
38084 <features tabularvalignment="middle">
38085 <column alignment="center" valignment="top">
38086 <column alignment="center" valignment="top">
38088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38091 \begin_layout Plain Layout
38097 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38100 \begin_layout Plain Layout
38108 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38111 \begin_layout Plain Layout
38117 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38120 \begin_layout Plain Layout
38123 arg "dialog-show-new-inset graphics"
38137 \begin_inset Tabular
38138 <lyxtabular version="3" rows="2" columns="3">
38139 <features tabularvalignment="middle">
38140 <column alignment="center" valignment="top">
38141 <column alignment="center" valignment="top">
38142 <column alignment="center" valignment="top">
38144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38147 \begin_layout Plain Layout
38153 <cell alignment="center" valignment="top" topline="true" usebox="none">
38156 \begin_layout Plain Layout
38159 arg "dialog-show-new-inset graphics"
38167 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38170 \begin_layout Plain Layout
38178 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38181 \begin_layout Plain Layout
38187 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38190 \begin_layout Plain Layout
38196 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38199 \begin_layout Plain Layout
38211 \begin_inset Tabular
38212 <lyxtabular version="3" rows="2" columns="3">
38213 <features tabularvalignment="middle">
38214 <column alignment="center" valignment="top">
38215 <column alignment="center" valignment="top">
38216 <column alignment="center" valignment="top">
38218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38221 \begin_layout Plain Layout
38227 <cell alignment="center" valignment="top" topline="true" usebox="none">
38230 \begin_layout Plain Layout
38236 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38239 \begin_layout Plain Layout
38247 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38250 \begin_layout Plain Layout
38256 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38259 \begin_layout Plain Layout
38262 arg "dialog-show-new-inset graphics"
38270 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38273 \begin_layout Plain Layout
38287 \begin_layout Standard
38290 \begin_inset Tabular
38291 <lyxtabular version="3" rows="3" columns="2">
38292 <features tabularvalignment="middle">
38293 <column alignment="center" valignment="top">
38294 <column alignment="center" valignment="top">
38296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38299 \begin_layout Plain Layout
38305 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38308 \begin_layout Plain Layout
38316 <cell alignment="center" valignment="top" leftline="true" usebox="none">
38319 \begin_layout Plain Layout
38322 arg "dialog-show-new-inset graphics"
38330 <cell alignment="center" valignment="top" rightline="true" usebox="none">
38333 \begin_layout Plain Layout
38341 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38344 \begin_layout Plain Layout
38350 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38353 \begin_layout Plain Layout
38365 \begin_inset Tabular
38366 <lyxtabular version="3" rows="3" columns="3">
38367 <features tabularvalignment="middle">
38368 <column alignment="center" valignment="top">
38369 <column alignment="center" valignment="top">
38370 <column alignment="center" valignment="top">
38372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38375 \begin_layout Plain Layout
38381 <cell alignment="center" valignment="top" topline="true" usebox="none">
38384 \begin_layout Plain Layout
38390 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38393 \begin_layout Plain Layout
38401 <cell alignment="center" valignment="top" leftline="true" usebox="none">
38404 \begin_layout Plain Layout
38410 <cell alignment="center" valignment="top" usebox="none">
38413 \begin_layout Plain Layout
38416 arg "dialog-show-new-inset graphics"
38424 <cell alignment="center" valignment="top" rightline="true" usebox="none">
38427 \begin_layout Plain Layout
38435 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38438 \begin_layout Plain Layout
38444 <cell alignment="center" valignment="top" bottomline="true" usebox="none">
38447 \begin_layout Plain Layout
38453 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38456 \begin_layout Plain Layout
38468 \begin_inset Tabular
38469 <lyxtabular version="3" rows="3" columns="2">
38470 <features tabularvalignment="middle">
38471 <column alignment="center" valignment="top">
38472 <column alignment="center" valignment="top">
38474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
38477 \begin_layout Plain Layout
38483 <cell alignment="center" valignment="top" topline="true" rightline="true" usebox="none">
38486 \begin_layout Plain Layout
38494 <cell alignment="center" valignment="top" leftline="true" usebox="none">
38497 \begin_layout Plain Layout
38503 <cell alignment="center" valignment="top" rightline="true" usebox="none">
38506 \begin_layout Plain Layout
38509 arg "dialog-show-new-inset graphics"
38519 <cell alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
38522 \begin_layout Plain Layout
38528 <cell alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
38531 \begin_layout Plain Layout
38545 \begin_layout Standard
38547 you can use the \SpecialChar LaTeX
38553 \begin_inset Index idx
38556 \begin_layout Plain Layout
38558 -packages ! picinpar
38564 Here is an example:
38567 \begin_layout Standard
38571 \begin_layout Plain Layout
38581 \begin_inset Note Note
38584 \begin_layout Plain Layout
38585 The following section will only be displayed when the \SpecialChar LaTeX
38598 \begin_layout Standard
38602 \begin_layout Plain Layout
38606 begin{window}[2,c,{
38612 \begin_inset Graphics
38613 filename clipart/mobius.eps
38616 scaleBeforeRotation
38617 rotateOrigin center
38625 \begin_layout Plain Layout
38630 \begin_layout Plain Layout
38639 It was in the spring of the year 1894 that all London was interested, and
38640 the fashionable world dismayed, by the murder of the Honourable Ronald
38641 Adair under most unusual and inexplicable circumstances.
38642 The public has already learned those particulars of the crime which
38648 \begin_layout Plain Layout
38659 came out in the police investigation, but a good deal was suppressed upon
38660 that occasion, since the case for the prosecution was so overwhelmingly
38661 strong that it was not necessary to bring forward all the facts.
38662 Only now, at the end of nearly ten years, am I allowed to supply those
38663 missing links which make up the whole of that remarkable chain.
38669 \begin_layout Plain Layout
38681 \begin_layout Standard
38685 \begin_layout Plain Layout
38694 Footnote of the paragraph with the fixed object.
38698 \begin_layout Plain Layout
38708 \begin_layout Standard
38709 Surrounded fixed objects are used to let text float around them, at which
38710 the object's position in the paragraph can be determined by the number
38712 In contrary to floats is it not possible to have a numbered caption.
38715 \begin_layout Standard
38716 A fixed object is inserted by adding the command
38719 \begin_layout Standard
38724 begin{window}[2,c,{
38727 \begin_layout Standard
38728 as \SpecialChar TeX
38729 Code at the beginning of the paragraph.
38730 The first parameter in the bracket, here '2', defines the number of lines
38731 above the object, the second, here 'c', the position of the object.
38732 The positions 'l', 'c' and 'r' (for left, center, right) are possible.
38733 Behind the command you insert the object.
38734 In this example an image with a width of 40
38735 \begin_inset space \thinspace{}
38738 % of the text column width was inserted.
38739 The object can also be a table, a box or an equation.
38740 Behind the object the command
38743 \begin_layout Standard
38746 },description text]
38747 \begin_inset Newline newline
38753 \begin_layout Standard
38756 \begin_inset Quotes eld
38764 \begin_inset Quotes erd
38767 is in the second line.
38768 The description text is optional.
38769 The text surrounding the object must be in the same paragraph as the object,
38770 so it must begin directly after the
38775 At the end of the paragraph insert the command:
38778 \begin_layout Standard
38786 \begin_layout Standard
38787 Within a paragraph with a fixed object, you cannot insert footnotes in the
38789 You have to use instead the command
38795 inside the paragraph and outside the command
38801 as described in sec.
38802 \begin_inset space \thinspace{}
38806 \begin_inset CommandInset ref
38808 reference "sec:Footnotes"
38815 \begin_layout Standard
38819 \begin_layout Plain Layout
38829 \begin_inset Note Note
38832 \begin_layout Plain Layout
38833 The following will be displayed when the \SpecialChar LaTeX
38846 \begin_layout Standard
38847 You need to install the \SpecialChar LaTeX
38852 to see the following part of this section in the output.
38855 \begin_layout Standard
38859 \begin_layout Plain Layout
38871 \begin_layout Section
38873 \begin_inset Index idx
38876 \begin_layout Plain Layout
38883 \begin_inset Index idx
38886 \begin_layout Plain Layout
38887 Surrounded by text ! Initials
38895 \begin_layout Standard
38896 To use initials, you must have the \SpecialChar LaTeX
38902 \begin_inset Index idx
38905 \begin_layout Plain Layout
38907 -packages ! lettrine
38912 installed and use the module
38916 in your document (menu
38918 Document\SpecialChar menuseparator
38919 Settings\SpecialChar menuseparator
38923 To insert an initial, use the style
38928 This style has a mandatory and two optional arguments.
38929 The arguments are inserted via the
38934 The mandatory argument
38938 contains the letter(s) that is the initial, the argument
38941 \begin_inset space ~
38945 \begin_inset space ~
38950 contains the rest of the word or text of the initial letter(s).
38955 contains parameters to modify the initial.
38956 For more information about the possible parameters see the documentation
38962 \begin_inset CommandInset citation
38969 The style itself contains the text that is surrounding the initial.
38970 The usual style is hereby that the word whose first letter is the initial,
38978 \begin_layout Standard
38979 Here are some examples:
38982 \begin_layout Standard
38986 \begin_layout Plain Layout
38996 \begin_inset Note Note
38999 \begin_layout Plain Layout
39000 The following section will only be displayed when the \SpecialChar LaTeX
39013 \begin_layout Enumerate
39014 No optional argument, the initial is the letter 'I' in the math font
39015 \begin_inset Formula $\mathfrak{Fraktur}$
39022 \begin_layout Initial
39023 \begin_inset Argument 2
39026 \begin_layout Plain Layout
39027 \begin_inset Formula $\mathfrak{I}$
39036 \begin_inset Argument 3
39039 \begin_layout Plain Layout
39045 was in the spring of the year 1894 that all London was interested, and
39046 the fashionable world dismayed, by the murder of the Honourable Ronald
39047 Adair under most unusual and inexplicable circumstances.
39048 The public has already learned those particulars of the crime which came
39049 out in the police investigation, but a good deal was suppressed upon that
39050 occasion, since the case for the prosecution was so overwhelmingly strong
39051 that it was not necessary to bring forward all the facts.
39052 \begin_inset Newpage newpage
39059 \begin_layout Enumerate
39060 Only one line is surrounding the initial, which is formed by two letters
39061 in standard font and no text is printed in small caps:
39065 \begin_layout Initial
39066 \begin_inset Argument 1
39069 \begin_layout Plain Layout
39076 \begin_inset Argument 2
39079 \begin_layout Plain Layout
39085 was in the spring of the year 1894 that all London was interested, and
39086 the fashionable world dismayed, by the murder of the Honourable Ronald
39087 Adair under most unusual and inexplicable circumstances.
39088 The public has already learned those particulars of the crime which came
39089 out in the police investigation, but a good deal was suppressed upon that
39090 occasion, since the case for the prosecution was so overwhelmingly strong
39091 that it was not necessary to bring forward all the facts.
39095 \begin_layout Enumerate
39096 Magenta, hanging initial over 3
39097 \begin_inset space ~
39100 lines in the math font
39101 \begin_inset Formula $\mathcal{CALLIGRAPHIC}$
39105 \begin_inset Quotes eld
39108 t was in the spring
39109 \begin_inset Quotes erd
39116 ; to color the initial, you must insert this command before the initial:
39117 \begin_inset Newline newline
39131 \begin_inset Newline newline
39139 \begin_inset Quotes eld
39143 \begin_inset Quotes erd
39147 \begin_inset Quotes eld
39151 \begin_inset Quotes erd
39155 \begin_inset Quotes eld
39159 \begin_inset Quotes erd
39163 \begin_inset Quotes eld
39167 \begin_inset Quotes erd
39171 \begin_inset Quotes eld
39175 \begin_inset Quotes erd
39179 \begin_inset Quotes eld
39183 \begin_inset Quotes erd
39187 \begin_inset Quotes eld
39191 \begin_inset Quotes erd
39195 \begin_inset Quotes eld
39199 \begin_inset Quotes erd
39202 , and add this command to the document preamble:
39203 \begin_inset Newline newline
39210 @ifundefined{textcolor}
39211 \begin_inset Newline newline
39215 \begin_inset space ~
39220 usepackage{color}}{}
39224 \begin_layout Standard
39228 \begin_layout Plain Layout
39242 \begin_inset Note Note
39245 \begin_layout Plain Layout
39246 makes the initial magenta
39254 \begin_layout Initial
39255 \begin_inset Argument 1
39258 \begin_layout Plain Layout
39259 lines=3, lhang=0.33, loversize=0.25
39265 \begin_inset Argument 2
39268 \begin_layout Plain Layout
39269 \begin_inset Formula $\mathcal{I}$
39278 \begin_inset Argument 3
39281 \begin_layout Plain Layout
39282 t was in the spring
39287 of the year 1894 that all London was interested, and the fashionable world
39288 dismayed, by the murder of the Honourable Ronald Adair under most unusual
39289 and inexplicable circumstances.
39290 The public has already learned those particulars of the crime which came
39291 out in the police investigation, but a good deal was suppressed upon that
39292 occasion, since the case for the prosecution was so overwhelmingly strong
39293 that it was not necessary to bring forward all the facts.
39297 \begin_layout Standard
39301 \begin_layout Plain Layout
39311 \begin_inset Note Note
39314 \begin_layout Plain Layout
39315 The following will be displayed when the \SpecialChar LaTeX
39328 \begin_layout Standard
39329 You need to install the \SpecialChar LaTeX
39334 to see the following part of this section in the output.
39337 \begin_layout Standard
39341 \begin_layout Plain Layout
39353 \begin_layout Chapter
39354 External Document Parts
39355 \begin_inset Index idx
39358 \begin_layout Plain Layout
39359 External Document Parts
39367 \begin_layout Standard
39370 Insert\SpecialChar menuseparator
39373 you can insert external material into your document.
39377 \begin_layout Description
39379 \begin_inset space ~
39382 Document Another \SpecialChar LyX
39383 document; its content is directly inserted to your document.
39386 \begin_layout Description
39388 \begin_inset space ~
39391 Text A text document; each line is inserted in your document as a separate
39395 \begin_layout Description
39397 \begin_inset space ~
39401 \begin_inset space ~
39405 \begin_inset space ~
39408 Lines A text document; text lines are inserted in your document continuously
39409 but an empty text line creates a new paragraph.
39412 \begin_layout Description
39414 \begin_inset space ~
39417 Material Files in various formats.
39420 \begin_layout Description
39422 \begin_inset space ~
39425 Document \SpecialChar LyX
39426 or \SpecialChar LaTeX
39430 \begin_layout Section
39432 \begin_inset Index idx
39435 \begin_layout Plain Layout
39436 External Document Parts ! External Material
39444 \begin_layout Standard
39445 The external material feature allows you to insert files into your document
39446 without converting them to a format that can be read by the document output
39449 takes care of the necessary conversions.
39450 This is similar to images that can be inserted in various image formats
39451 in \SpecialChar LyX
39453 When you have enabled Instant Preview in \SpecialChar LyX
39454 's preferences under
39457 \begin_inset space ~
39461 \begin_inset space ~
39464 feel\SpecialChar menuseparator
39467 , the external material types Dia and Xfig are directly shown in \SpecialChar LyX
39471 \begin_layout Standard
39472 External material can be inserted via the
39476 dialog that is accessible with the menu
39478 Insert\SpecialChar menuseparator
39479 File\SpecialChar menuseparator
39481 \begin_inset space ~
39487 Currently the following file types (
39494 \begin_layout Description
39496 \begin_inset space ~
39499 diagram This template supports chess position diagrams made with the program
39503 \begin_inset CommandInset href
39506 target "http://en.wikipedia.org/wiki/XBoard"
39515 \begin_layout Description
39516 Date This inserts the date in the form
39521 This is a date inserted as external material:
39522 \begin_inset External
39529 \begin_inset space ~
39533 \begin_inset Note Note
39536 \begin_layout Plain Layout
39537 Remove the protected space when bug 4398 is fixed!
39543 \begin_inset Newline newline
39546 The date is not shown within \SpecialChar LyX
39547 , only in the output.
39548 There are two other methods of inserting a date: Via menu
39550 Insert\SpecialChar menuseparator
39553 and with the \SpecialChar LaTeX
39560 as \SpecialChar TeX
39562 The different methods are compared in Table
39563 \begin_inset space ~
39567 \begin_inset CommandInset ref
39569 reference "tab:Comparison-of-the"
39576 \begin_layout Description
39578 \begin_inset space ~
39581 diagram This template supports diagrams created with the program
39584 \begin_inset CommandInset href
39587 target "http://en.wikipedia.org/wiki/Dia_(software)"
39596 \begin_layout Description
39597 Spreadsheet With this template you can insert spreadsheets
39598 \begin_inset space \thinspace{}
39602 \begin_inset space \thinspace{}
39605 tables in the format of
39608 \begin_inset CommandInset href
39611 target "http://en.wikipedia.org/wiki/Gnumeric"
39618 \begin_inset CommandInset href
39620 name "OpenDocument"
39621 target "http://en.wikipedia.org/wiki/OpenDocument"
39626 \begin_inset CommandInset href
39628 name "Microsoft Office XML"
39629 target "http://en.wikipedia.org/wiki/Microsoft_Office_XML_formats"
39634 \begin_inset CommandInset href
39636 name "Office Open XML"
39637 target "http://en.wikipedia.org/wiki/Office_Open_XML"
39642 For this feature \SpecialChar LyX
39643 must have found the program
39647 during its configuration.
39648 This program is part of Gnumeric, so that you must have Gnumeric installed,
39649 also if you don't have tables in the Gnumeric format.
39650 For examples and possible limitations have a look at \SpecialChar LyX
39658 \begin_layout Description
39660 \begin_inset space ~
39664 \begin_inset space ~
39667 music This template is used for music notation typeset with the program
39668 \begin_inset Newline linebreak
39674 \begin_inset CommandInset href
39677 target "http://en.wikipedia.org/wiki/LilyPond"
39684 For \SpecialChar LyX
39685 's extended support for LilyPond have a look at \SpecialChar LyX
39693 \begin_layout Description
39695 \begin_inset space ~
39698 pages With this template you can insert PDF documents to your document.
39699 To specify the range of pages that should be included, use the option
39709 LaTeX and LyX options
39712 The argument of this option is a comma separated list, containing page
39713 numbers (insert as option
39717 ), ranges of page numbers (
39721 ) or any combination.
39722 To insert empty pages use {}.
39724 \begin_inset space \thinspace{}
39728 \begin_inset space ~
39733 pages={3,{},8-11,15}
39735 will insert page 3, an empty page, and pages 8, 9, 10, 11 and 15.
39736 Page ranges are specified in the syntax
39745 This selects all pages from
39758 defaults to the first page; omitting
39762 defaults to the last page of the document.
39763 The last page can also be selected with the keyword
39768 (This is only permitted in a page range.) So
39772 will insert all pages of the document and
39776 will insert all pages in reverse order.
39777 If the pages option is not specified, only the first page of the PDF is
39779 \begin_inset Newline newline
39786 inserts the pages with their original size, if this option is not given,
39787 the pages will be resized to fith the width of the page of your document.
39792 you can specify the width and height of the input pages and their rotation.
39793 If another width than 100
39794 \begin_inset space \thinspace{}
39797 Scale% is used, the option
39801 will be overwritten.
39802 For more info and possible options, have a look into the documentation
39803 of the \SpecialChar LaTeX
39809 \begin_inset CommandInset citation
39816 \begin_inset Index idx
39819 \begin_layout Plain Layout
39821 -packages ! pdfpages
39827 \begin_inset Newline newline
39830 To use this template in a
39834 presentation you need to first insert an
39838 environment and in a subsequent paragraph a \SpecialChar TeX
39839 Code box containing the command
39844 setbeamertemplate{background canvas}{}
39847 Then you can insert as many paragraphs containing the PDFPages template
39849 Behind the included PDF pages you can resume the Beamer presentation by
39850 beginning a new frame or by starting a new section.
39851 To avoid stray blank pages prior to the PDF pages, make sure to use the
39856 alignment for the paragraph containing the template.
39857 \begin_inset Newline newline
39860 Here is an included PDF which is rotated by -5°:
39861 \begin_inset External
39863 filename clipart/Abstract.pdf
39864 extra LaTeX "noautoscale, pages=-"
39866 rotateOrigin bottomleft
39873 \begin_layout Description
39875 \begin_inset space ~
39878 image This can be used for bitmap images.
39879 The image can be treated in the
39883 dialog like the images that are usually included via the
39887 dialog as described in section
39888 \begin_inset space ~
39892 \begin_inset CommandInset ref
39894 reference "sec:Graphics-Dialog"
39899 Here is an inserted raster image:
39900 \begin_inset External
39901 template RasterImage
39902 filename clipart/ToolbarEnvBox.png
39909 \begin_layout Description
39911 \begin_inset space ~
39914 graphics This can be used for vector graphics.
39915 The image can be treated in the
39919 dialog like the images that are usually included via the
39923 dialog as described in section
39924 \begin_inset space ~
39928 \begin_inset CommandInset ref
39930 reference "sec:Graphics-Dialog"
39935 Here is an inserted vector graphics:
39936 \begin_inset External
39937 template VectorGraphics
39938 filename clipart/SVG-Drawing.svg
39946 \begin_layout Description
39948 \begin_inset space ~
39951 figure This template supports images created with the program
39954 \begin_inset CommandInset href
39957 target "http://en.wikipedia.org/wiki/Xfig"
39966 \begin_layout Standard
39967 \begin_inset Float table
39973 \begin_layout Plain Layout
39974 \begin_inset Caption Standard
39976 \begin_layout Plain Layout
39977 \begin_inset CommandInset label
39979 name "tab:Comparison-of-the"
39983 Comparison of the date input methods.
39991 \begin_layout Plain Layout
39993 \begin_inset Tabular
39994 <lyxtabular version="3" rows="4" columns="4">
39995 <features tabularvalignment="middle">
39996 <column alignment="center" valignment="top">
39997 <column alignment="center" valignment="top">
39998 <column alignment="center" valignment="top">
39999 <column alignment="center" valignment="top">
40001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40004 \begin_layout Plain Layout
40010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40013 \begin_layout Plain Layout
40016 External Material\SpecialChar menuseparator
40022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40025 \begin_layout Plain Layout
40028 Insert\SpecialChar menuseparator
40034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
40037 \begin_layout Plain Layout
40049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40052 \begin_layout Plain Layout
40059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40062 \begin_layout Plain Layout
40068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40071 \begin_layout Plain Layout
40077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
40080 \begin_layout Plain Layout
40081 as \SpecialChar TeX
40089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40092 \begin_layout Plain Layout
40099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40102 \begin_layout Plain Layout
40108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
40111 \begin_layout Plain Layout
40117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
40120 \begin_layout Plain Layout
40128 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
40131 \begin_layout Plain Layout
40137 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
40140 \begin_layout Plain Layout
40146 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
40149 \begin_layout Plain Layout
40155 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
40158 \begin_layout Plain Layout
40177 \begin_layout Standard
40178 When you use the option
40190 dialog, only the path to the inserted file is shown in the output.
40191 \begin_inset Newline newline
40194 External material is displayed in \SpecialChar LyX
40195 either as a box like this:
40196 \begin_inset Graphics
40197 filename clipart/ExternalMaterial.png
40199 scaleBeforeRotation
40203 or as image, depending on the option
40209 LaTeX and LyX options
40214 \begin_layout Standard
40221 manual explains how you can define your own templates.
40224 \begin_layout Section
40226 \begin_inset CommandInset label
40228 name "sec:Child-Documents"
40233 \begin_inset Index idx
40236 \begin_layout Plain Layout
40237 External Document Parts ! Child Documents
40243 \begin_inset Index idx
40246 \begin_layout Plain Layout
40255 \begin_layout Standard
40256 Child documents are used if you have a long document consisting of several
40257 larger parts or sections.
40258 For maintenance it is often useful and sometimes even required to split
40259 the document into several files that can be revised separately.
40260 The different documents are then the so called
40261 \begin_inset Quotes eld
40265 \begin_inset Quotes erd
40268 , and a master document connects them to print the full document or parts
40270 A child document inherits elements from its master, for example the \SpecialChar LaTeX
40272 the bibliography, and labels for cross-references.
40275 \begin_layout Standard
40276 To be able to work on child documents without the need to open their master,
40277 specify in the child document the master in the menu
40279 Document\SpecialChar menuseparator
40280 Settings\SpecialChar menuseparator
40282 \begin_inset space ~
40288 This master document will then be used in the background by \SpecialChar LyX
40290 the child document.
40293 \begin_layout Standard
40294 Included documents are displayed in \SpecialChar LyX
40295 as a box like this:
40296 \begin_inset Graphics
40297 filename clipart/ChildDocument.png
40298 scaleBeforeRotation
40302 To include child documents in a master document use the menu
40304 Insert\SpecialChar menuseparator
40305 File\SpecialChar menuseparator
40307 \begin_inset space ~
40313 A dialog pops up where you can choose between four include methods:
40316 \begin_layout Description
40317 Include You can include \SpecialChar LyX
40318 and \SpecialChar LaTeX
40328 dialog, the included document will be opened in \SpecialChar LyX
40329 in a new file tab so that
40331 \begin_inset Newline newline
40337 \begin_layout Standard
40338 Here is a child document inserted using
40343 \begin_inset CommandInset include
40344 LatexCommand include
40345 filename "DummyDocument1.lyx"
40352 \begin_layout Standard
40353 The section numbering includes the sections of the included files in the
40354 order they are inserted in the master document.
40355 The included example document has for example a subsection that is numbered
40356 as a subsection of this section.
40357 Labels of included documents can be referenced: Subsection
40358 \begin_inset space ~
40362 \begin_inset CommandInset ref
40364 reference "subsec:External-Subsection-1"
40371 \begin_layout Standard
40372 The preamble of the child document is ignored; only the preamble of the
40373 master document is used.
40374 Branches in child documents will be ignored by the master document when
40375 the master document does not have a branch with the same name.
40376 Included documents are inserted starting on a new page and ending with
40380 \begin_layout Standard
40381 \begin_inset Note Greyedout
40384 \begin_layout Plain Layout
40389 If you have included a \SpecialChar LyX
40390 or \SpecialChar LaTeX
40391 file, you are warned when you export/view the
40392 document in case the child document uses another document class than the
40393 master document as this will lead to unexpected outputs.
40401 \begin_layout Description
40402 Input This method is very similar to the Include method.
40403 The differences are:
40407 \begin_layout Itemize
40408 Input files don't start with a new page and don't end with a page break.
40411 \begin_layout Itemize
40412 Input files can be previewed in \SpecialChar LyX
40416 \begin_inset space ~
40421 is enabled in \SpecialChar LyX
40422 's preferences under
40425 \begin_inset space ~
40429 \begin_inset space ~
40432 feel\SpecialChar menuseparator
40438 \begin_layout Itemize
40439 You cannot exclude Input files via the menu
40441 Document\SpecialChar menuseparator
40442 Settings\SpecialChar menuseparator
40449 \begin_layout Standard
40450 Here is a child document inserted using
40455 \begin_inset CommandInset include
40457 filename "DummyDocument2.lyx"
40464 \begin_layout Description
40465 Verbatim With this method any text file can be included.
40466 The file is shown in the output with its source code; no command used in
40467 the text is invoked.
40468 You can use the option
40470 Mark spaces in output
40472 that displays the character
40473 \begin_inset Quotes eld
40480 \begin_layout Plain Layout
40490 \begin_inset Quotes erd
40493 for every space character in the source code.
40494 The difference from the method via the menu
40496 Insert\SpecialChar menuseparator
40497 File\SpecialChar menuseparator
40499 \begin_inset space ~
40504 is that the document content is not shown in \SpecialChar LyX
40508 \begin_layout Standard
40509 Here is a child document inserted as Verbatim:
40510 \begin_inset CommandInset include
40511 LatexCommand verbatiminput
40512 filename "DummyTextDocument.txt"
40517 \begin_inset VSpace bigskip
40520 Here is a child document inserted as Verbatim using the
40522 Mark spaces in output
40525 \begin_inset CommandInset include
40526 LatexCommand verbatiminput*
40527 filename "DummyTextDocument.txt"
40534 \begin_layout Standard
40535 \begin_inset VSpace bigskip
40541 \begin_layout Standard
40542 \begin_inset Note Greyedout
40545 \begin_layout Plain Layout
40550 As you can see in the examples above, the text of the documents included
40555 is not broken at the end of the document lines.
40563 \begin_layout Description
40564 Listings This type is described in chapter
40565 \begin_inset space ~
40569 \begin_inset CommandInset ref
40571 reference "cha:Program-Code-Listings"
40578 \begin_layout Standard
40579 \begin_inset Note Greyedout
40582 \begin_layout Plain Layout
40587 Including the same document twice in a document using different methods
40588 could cause \SpecialChar LaTeX
40597 \begin_layout Standard
40598 If you want to view/export only selected children of your master document,
40599 either because you want to save compiling time or because you want to distribut
40600 e single chapters of the book you are just writing, you can exclude children
40602 This is done via the menu
40604 Document\SpecialChar menuseparator
40605 Settings\SpecialChar menuseparator
40609 You can exclude\SpecialChar breakableslash
40610 include children by double-clicking on the
40614 column of the respective child document in the list (note that this only
40615 works for documents embedded via
40616 \begin_inset Quotes eld
40620 \begin_inset Quotes erd
40624 \begin_inset Quotes eld
40628 \begin_inset Quotes erd
40634 Maintain counters and references
40636 is enabled, \SpecialChar LyX
40637 will assure that all page numbers, references etc.
40638 \begin_inset space ~
40641 are correct as if the whole document was processed.
40642 This is useful if you want the selected sub-documents to look exactly as
40643 in the context of the whole document.
40644 However, \SpecialChar LyX
40645 needs to process the whole document in the background for this
40647 So if you want to save compile time and if counters and references do not
40648 need to be correct, disable this checkbox.
40651 \begin_layout Standard
40652 Alternatively, you can put each included file into a branch.
40656 \begin_layout Plain Layout
40657 Branches are described in section
40661 of the \SpecialChar LyX
40671 By enabling\SpecialChar breakableslash
40672 disabling branches you can decide which included files will
40673 appear in the output.
40674 This has the advantage that it also works with Input'ed sub-documents.
40675 However, counters and references will not be maintained with this approach.
40678 \begin_layout Chapter
40679 Program Code Listings
40680 \begin_inset CommandInset label
40682 name "cha:Program-Code-Listings"
40687 \begin_inset Index idx
40690 \begin_layout Plain Layout
40697 \begin_inset Index idx
40700 \begin_layout Plain Layout
40707 \begin_inset Index idx
40710 \begin_layout Plain Layout
40719 \begin_layout Standard
40720 To include and typeset program code you can use the
40724 inset that can be inserted via the menu
40726 Insert\SpecialChar menuseparator
40730 The \SpecialChar LaTeX
40736 \begin_inset Index idx
40739 \begin_layout Plain Layout
40741 -packages ! listings
40746 provides a powerful and flexible way to insert program source code into
40750 \begin_layout Standard
40751 Right-clicking on a listings inset opens the context menu containing where
40752 you can set the listings format.
40755 \begin_layout Standard
40756 By default, a listing starts a new paragraph in the output.
40757 The placement option
40760 \begin_inset space ~
40765 prints the listing inline like this:
40766 \begin_inset listings
40767 lstparams "language={C++}"
40771 \begin_layout Plain Layout
40779 \begin_inset Newline newline
40786 creates a listings float where you can specify the placement options
40787 \begin_inset Quotes eld
40795 \begin_inset Quotes erd
40799 \begin_inset Quotes eld
40807 \begin_inset Quotes erd
40811 \begin_inset Quotes eld
40819 \begin_inset Quotes erd
40823 \begin_inset Quotes eld
40831 \begin_inset Quotes erd
40834 corresponding to the float placement options described in section
40835 \begin_inset space ~
40839 \begin_inset CommandInset ref
40841 reference "sec:Float-Placement"
40846 The placement options can be mixed and are inserted without any separation,
40848 \begin_inset space \thinspace{}
40852 \begin_inset space \space{}
40856 \begin_inset Quotes eld
40864 \begin_inset Quotes erd
40869 \begin_inset Quotes eld
40873 \begin_inset Quotes erd
40876 has sometimes no effect, but you don't need to use the
40880 option in this case as also non-float listings can have captions and be
40884 \begin_layout Standard
40885 You can add captions to listings with the menu
40887 Insert\SpecialChar menuseparator
40891 Listings can be referenced like floats: Listing
40892 \begin_inset space ~
40896 \begin_inset CommandInset ref
40898 reference "lst:Example-Listing"
40903 A list of listings which contains all listings with captions can be created
40906 Insert\SpecialChar menuseparator
40908 \begin_inset space ~
40912 \begin_inset space ~
40915 TOC\SpecialChar menuseparator
40919 The list entries are the listing caption and the listing number.
40922 \begin_layout Standard
40923 \begin_inset listings
40924 lstparams "language=Python"
40928 \begin_layout Plain Layout
40930 \begin_inset Caption Standard
40932 \begin_layout Plain Layout
40933 \begin_inset CommandInset label
40935 name "lst:Example-Listing"
40939 Example Listing float
40944 # Example listing float
40947 \begin_layout Plain Layout
40952 \begin_layout Plain Layout
40954 'this is a python function'
40957 \begin_layout Plain Layout
40967 \begin_layout Standard
40968 When you have set a programming language in the listings dialog, the keywords
40969 of this language will be recognized and specially typeset in the output.
40970 In the example listings the Python keyword
40971 \begin_inset Quotes eld
40975 \begin_inset Quotes erd
40978 is recognized and printed bold in the output.
40981 \begin_layout Standard
40982 \begin_inset Note Greyedout
40985 \begin_layout Plain Layout
40990 If you don't get bold keywords when using typewriter fonts, your
40994 font probably doesn't provide a bold shape.
40995 In this case select a different one in the menu
40997 Document\SpecialChar menuseparator
40998 Settings\SpecialChar menuseparator
41010 provide bold shapes.)
41018 \begin_layout Standard
41022 \begin_inset space ~
41027 of the listings dialog you can specify the line numbering style.
41028 You can insert a number to specify which lines are numbered in the field
41035 \begin_inset space \thinspace{}
41039 \begin_inset space \space{}
41043 \begin_inset Quotes eld
41047 \begin_inset Quotes erd
41050 , only every 3rd line will be numbered.
41053 \begin_layout Standard
41054 You can furthermore specify a range of lines; only these will then appear
41058 Extended character table
41060 should be used when you use national characters like the German umlauts
41062 \begin_inset Newline newline
41065 Here is an example listing with left line numbering, step
41066 \begin_inset Quotes eld
41070 \begin_inset Quotes erd
41074 \begin_inset Quotes eld
41078 \begin_inset Quotes erd
41082 \begin_inset Quotes eld
41085 Extended character table
41086 \begin_inset Quotes erd
41090 \begin_inset Quotes eld
41094 \begin_inset space ~
41098 \begin_inset space ~
41102 \begin_inset Quotes erd
41106 \begin_inset space \thinspace{}
41110 \begin_inset space \thinspace{}
41116 \begin_layout Standard
41117 \begin_inset listings
41118 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
41122 \begin_layout Plain Layout
41127 \begin_layout Plain Layout
41129 'this is a python function'
41132 \begin_layout Plain Layout
41137 \begin_layout Plain Layout
41142 \begin_layout Plain Layout
41144 'This is a German word: Tschüß'
41147 \begin_layout Plain Layout
41152 \begin_layout Plain Layout
41157 \begin_layout Plain Layout
41159 'this is a python function'
41162 \begin_layout Plain Layout
41172 \begin_layout Standard
41173 When you have tabulators in your listing, you can specify the number of
41174 characters that are spanned by a tabulator in the field
41177 \begin_inset space ~
41185 \begin_layout Standard
41186 \begin_inset Note Greyedout
41189 \begin_layout Plain Layout
41194 Due to a bug in the
41198 package the line numbering is shifted by a line by every previous listing.
41199 That's the reason why the lines 2 and 5 are numbered in the above listing
41200 and not the lines 3 and 6.
41208 \begin_layout Standard
41209 \begin_inset VSpace bigskip
41215 \begin_layout Standard
41216 It is also possible to print lines from a file as listing.
41217 To do this, use the menu
41219 Insert\SpecialChar menuseparator
41220 File\SpecialChar menuseparator
41223 and choose the type
41231 \begin_layout Plain Layout
41232 The other child document types are described in section
41233 \begin_inset space ~
41237 \begin_inset CommandInset ref
41239 reference "sec:Child-Documents"
41248 In the child document dialog you can specify the listing parameters in
41250 To show a list of all available parameters, type in a question mark
41251 \begin_inset Quotes eld
41255 \begin_inset Quotes erd
41261 \begin_layout Standard
41262 To reference child document listings, write a label text into the corresponding
41263 field of the child document dialog.
41264 The label can then be referenced using the menu
41266 Insert\SpecialChar menuseparator
41272 \begin_layout Standard
41274 \begin_inset space ~
41278 \begin_inset CommandInset ref
41280 reference "lst:file-listing"
41284 is an example for a listing of a file; there the lines 10
41285 \begin_inset space \thinspace{}
41289 \begin_inset space \thinspace{}
41292 15 of this \SpecialChar LyX
41296 \begin_layout Standard
41297 \begin_inset CommandInset include
41298 LatexCommand lstinputlisting
41299 filename "EmbeddedObjects.lyx"
41300 lstparams "breaklines=true,caption={Lines 10 - 15 of this LyX file},extendedchars=true,firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15"
41307 \begin_layout Standard
41308 \begin_inset VSpace bigskip
41314 \begin_layout Standard
41315 Inserting a formula into a listing can be done the following way:
41318 \begin_layout Enumerate
41319 Open the listings dialog and add
41320 \begin_inset Newline newline
41328 \begin_inset Newline newline
41331 to the field of the
41338 \begin_layout Enumerate
41339 Create a formula outside the listing
41342 \begin_layout Enumerate
41343 Copy the content of the formula (not the formula inset) to the clipboard
41353 \begin_layout Enumerate
41354 In the listing write
41355 \begin_inset Quotes eld
41363 \begin_inset Quotes erd
41366 and copy from the clipboard between the dollar-signs (shortcut
41375 \begin_layout Standard
41376 \begin_inset listings
41377 lstparams "language=Python,mathescape=true"
41381 \begin_layout Plain Layout
41383 \begin_inset Caption Standard
41385 \begin_layout Plain Layout
41386 Example Listing float containing a formula
41391 # Example listing float
41394 \begin_layout Plain Layout
41399 \begin_layout Plain Layout
41412 \begin_layout Plain Layout
41422 \begin_layout Standard
41423 \begin_inset VSpace bigskip
41429 \begin_layout Standard
41430 Global listings settings can be set in the
41432 Document\SpecialChar menuseparator
41433 Settings\SpecialChar menuseparator
41437 To get there a list of available options, type in a question mark
41438 \begin_inset Quotes eld
41442 \begin_inset Quotes erd
41448 \begin_layout Standard
41449 For more information about the
41453 package, we refer to its documentation
41454 \begin_inset CommandInset citation
41463 \begin_layout Standard
41464 \begin_inset Newpage newpage
41470 \begin_layout Chapter
41472 Units available in \SpecialChar LyX
41474 \begin_inset Index idx
41477 \begin_layout Plain Layout
41484 \begin_inset CommandInset label
41486 name "cha:Units-available-in"
41493 \begin_layout Standard
41494 To understand the units described in this documentation, Table
41495 \begin_inset space ~
41499 \begin_inset CommandInset ref
41501 reference "tab:Units"
41505 explains all units available in \SpecialChar LyX
41509 \begin_layout Standard
41510 \begin_inset Float table
41516 \begin_layout Plain Layout
41517 \begin_inset Caption Standard
41519 \begin_layout Plain Layout
41520 \begin_inset CommandInset label
41534 \begin_layout Plain Layout
41535 \begin_inset VSpace medskip
41541 \begin_layout Plain Layout
41543 \begin_inset Tabular
41544 <lyxtabular version="3" rows="20" columns="3">
41545 <features tabularvalignment="middle">
41546 <column alignment="center" valignment="top">
41547 <column alignment="center" valignment="top">
41548 <column alignment="center" valignment="top">
41550 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
41553 \begin_layout Plain Layout
41559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
41562 \begin_layout Plain Layout
41568 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
41571 \begin_layout Plain Layout
41580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41583 \begin_layout Plain Layout
41589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41592 \begin_layout Plain Layout
41598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41601 \begin_layout Plain Layout
41609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41612 \begin_layout Plain Layout
41618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41621 \begin_layout Plain Layout
41627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41630 \begin_layout Plain Layout
41638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41641 \begin_layout Plain Layout
41647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41650 \begin_layout Plain Layout
41656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41659 \begin_layout Plain Layout
41667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41670 \begin_layout Plain Layout
41676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41679 \begin_layout Plain Layout
41681 \begin_inset space \thinspace{}
41685 \begin_inset space \thinspace{}
41693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41696 \begin_layout Plain Layout
41704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41707 \begin_layout Plain Layout
41713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41716 \begin_layout Plain Layout
41718 \begin_inset space \thinspace{}
41722 \begin_inset space \thinspace{}
41730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41733 \begin_layout Plain Layout
41741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41744 \begin_layout Plain Layout
41750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41753 \begin_layout Plain Layout
41754 scaled point (65536
41755 \begin_inset space \thinspace{}
41759 \begin_inset space \thinspace{}
41767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41770 \begin_layout Plain Layout
41778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41781 \begin_layout Plain Layout
41787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41790 \begin_layout Plain Layout
41792 \begin_inset space \thinspace{}
41796 \begin_inset space \thinspace{}
41804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41807 \begin_layout Plain Layout
41815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41818 \begin_layout Plain Layout
41824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41827 \begin_layout Plain Layout
41829 \begin_inset space \thinspace{}
41833 \begin_inset Formula $\approx$
41837 \begin_inset space \thinspace{}
41845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41848 \begin_layout Plain Layout
41856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41859 \begin_layout Plain Layout
41865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41868 \begin_layout Plain Layout
41870 \begin_inset space \thinspace{}
41874 \begin_inset space \thinspace{}
41882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41885 \begin_layout Plain Layout
41893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41896 \begin_layout Plain Layout
41902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41905 \begin_layout Plain Layout
41906 % of original image width
41911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41914 \begin_layout Plain Layout
41922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41925 \begin_layout Plain Layout
41931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41934 \begin_layout Plain Layout
41940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41943 \begin_layout Plain Layout
41953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41956 \begin_layout Plain Layout
41962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41965 \begin_layout Plain Layout
41971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
41974 \begin_layout Plain Layout
41984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41987 \begin_layout Plain Layout
41993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
41996 \begin_layout Plain Layout
42002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42005 \begin_layout Plain Layout
42015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42018 \begin_layout Plain Layout
42024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42027 \begin_layout Plain Layout
42033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42036 \begin_layout Plain Layout
42046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42049 \begin_layout Plain Layout
42055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42058 \begin_layout Plain Layout
42064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42067 \begin_layout Plain Layout
42077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42080 \begin_layout Plain Layout
42086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42089 \begin_layout Plain Layout
42095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42098 \begin_layout Plain Layout
42108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42111 \begin_layout Plain Layout
42117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42120 \begin_layout Plain Layout
42130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42133 \begin_layout Plain Layout
42141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42144 \begin_layout Plain Layout
42150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
42153 \begin_layout Plain Layout
42163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
42166 \begin_layout Plain Layout
42174 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42177 \begin_layout Plain Layout
42183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
42186 \begin_layout Plain Layout
42188 \begin_inset space \thinspace{}
42192 \begin_inset space \thinspace{}
42200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
42203 \begin_layout Plain Layout
42222 \begin_layout Chapter
42223 Output File Formats with Graphics
42224 \begin_inset CommandInset label
42226 name "cha:Output-File-Formats"
42233 \begin_layout Section
42235 \begin_inset Index idx
42238 \begin_layout Plain Layout
42245 \begin_inset Index idx
42248 \begin_layout Plain Layout
42253 \begin_layout Plain Layout
42264 \begin_layout Plain Layout
42279 \begin_layout Standard
42280 This file type has the extension
42281 \begin_inset Quotes eld
42289 \begin_inset Quotes erd
42294 \begin_inset Quotes eld
42298 \begin_inset Quotes erd
42301 (DVI), because it is completely portable; you can move them from one machine
42302 to another without needing to do any sort of conversion.
42303 At the time when this file-format was developed, this was no matter of
42305 DVIs are used for quick previews and as pre-stage for other output formats,
42309 \begin_layout Standard
42310 \begin_inset Note Greyedout
42313 \begin_layout Plain Layout
42318 DVI-files do not contain images; they will only be a linked.
42323 So don't forget this, if you move your
42327 file to another computer.
42328 This property can also slow down your computer when you view the DVI, because
42329 the DVI-viewer has to convert the image in the background to make it visible
42330 when you scroll in the DVI.
42331 So it is recommended that you use PDF for files with many images.
42334 \begin_layout Standard
42335 You can export your document to DVI by using the menu
42337 File\SpecialChar menuseparator
42338 Export\SpecialChar menuseparator
42342 You can view your document as DVI via the
42349 \begin_layout Section
42351 \begin_inset Index idx
42354 \begin_layout Plain Layout
42355 File Formats ! PostScript
42361 \begin_inset Index idx
42364 \begin_layout Plain Layout
42369 \begin_layout Plain Layout
42380 \begin_layout Plain Layout
42395 \begin_layout Standard
42396 This file type has the extension
42397 \begin_inset Quotes eld
42405 \begin_inset Quotes erd
42409 PostScript was developed by the company
42413 as a printer language.
42414 The file therefore contains commands that the printer uses to print the
42416 PostScript can be seen as a
42417 \begin_inset Quotes eld
42420 programming language
42421 \begin_inset Quotes erd
42424 ; you can calculate with it and draw diagrams and images.
42428 \begin_layout Plain Layout
42429 If you are interested to learn more about this, have a look at the \SpecialChar LaTeX
42436 \begin_inset CommandInset citation
42447 Due to this ability, the files are often bigger than PDFs.
42450 \begin_layout Standard
42451 PostScript can only contain images in the format
42452 \begin_inset Quotes eld
42455 Encapsulated PostScript
42456 \begin_inset Quotes erd
42459 (EPS, file extension
42460 \begin_inset Quotes eld
42468 \begin_inset Quotes erd
42472 As \SpecialChar LyX
42473 allows you to use any known image format in your document, it has to
42474 convert images in the background to EPS.
42476 \begin_inset space ~
42480 \begin_inset space ~
42483 images in your document, \SpecialChar LyX
42485 \begin_inset space ~
42488 conversions whenever you view or export your document.
42489 This will slow down your work flow with \SpecialChar LyX
42491 So if you plan to use PostScript, you can insert your images directly as
42492 EPS to avoid this problem.
42495 \begin_layout Standard
42496 You can export your document to PostScript using the menu
42498 File\SpecialChar menuseparator
42499 Export\SpecialChar menuseparator
42503 You can view your document as PostScript via the
42510 \begin_layout Section
42512 \begin_inset Index idx
42515 \begin_layout Plain Layout
42522 \begin_inset Index idx
42525 \begin_layout Plain Layout
42534 \begin_layout Standard
42535 This file type has the extension
42536 \begin_inset Quotes eld
42544 \begin_inset Quotes erd
42549 \begin_inset Quotes eld
42552 Portable Document Format
42553 \begin_inset Quotes erd
42556 (PDF) was developed by
42560 as a derivative of PostScript.
42561 It is more compressed and it uses fewer commands than PostScript.
42563 \begin_inset Quotes eld
42567 \begin_inset Quotes erd
42570 implies, it can be processed at any computer system and the printed output
42571 looks exactly the same.
42574 \begin_layout Standard
42575 PDF can contain images in its own PDF format, in the format
42576 \begin_inset Quotes eld
42579 Joint Photographic Experts Group
42580 \begin_inset Quotes erd
42583 (JPG, file extension
42584 \begin_inset Quotes eld
42592 \begin_inset Quotes erd
42596 \begin_inset Quotes eld
42604 \begin_inset Quotes erd
42607 ), and in the format
42608 \begin_inset Quotes eld
42611 Portable Network Graphics
42612 \begin_inset Quotes erd
42615 (PNG, file extension
42616 \begin_inset Quotes eld
42624 \begin_inset Quotes erd
42628 Nevertheless you can use any other image format, because \SpecialChar LyX
42630 in the background to one of these formats.
42631 But as described in the section about PostScript, the image conversion
42632 will slow down your work flow.
42633 So it is recommended that you use images in one of the three mentioned
42637 \begin_layout Standard
42638 You can export your document to PDF via the menu
42640 File\SpecialChar menuseparator
42643 in three different ways:
42646 \begin_layout Description
42648 \begin_inset space ~
42651 (ps2pdf) This uses the program
42655 that creates a PDF from a PostScript-version of your file.
42656 The PostScript-version is produced by the program
42660 which uses a DVI-version as intermediate step.
42661 So this export variant consists of three conversions.
42664 \begin_layout Description
42666 \begin_inset space ~
42669 (dvipdfm) This uses the program
42673 that converts your file in the background to DVI and in a second step to
42677 \begin_layout Description
42679 \begin_inset space ~
42682 (pdflatex) This uses the program
42686 that converts your file directly to PDF.
42689 \begin_layout Standard
42690 It is recommended that you use
42693 \begin_inset space ~
42702 supports all features of actual PDF-versions, is quick and works stable.
42707 is not under development and therefore a bit outdated.
42710 \begin_layout Standard
42711 You can view your document as PDF via the
42715 menu or by using a toolbar button.
42718 \begin_layout Chapter
42719 List of dvips color names
42720 \begin_inset CommandInset label
42722 name "chap:List-of-dvips-colornames"
42729 \begin_layout Standard
42730 \begin_inset Tabular
42731 <lyxtabular version="3" rows="17" columns="4">
42732 <features tabularvalignment="middle">
42733 <column alignment="left" valignment="top" width="0pt">
42734 <column alignment="left" valignment="top" width="0pt">
42735 <column alignment="left" valignment="top" width="0pt">
42736 <column alignment="left" valignment="top" width="0pt">
42738 <cell alignment="left" valignment="top" usebox="none">
42741 \begin_layout Plain Layout
42745 \begin_layout Plain Layout
42758 \begin_layout Plain Layout
42769 \begin_layout Plain Layout
42781 <cell alignment="left" valignment="top" usebox="none">
42784 \begin_layout Plain Layout
42788 \begin_layout Plain Layout
42801 \begin_layout Plain Layout
42812 \begin_layout Plain Layout
42824 <cell alignment="left" valignment="top" usebox="none">
42827 \begin_layout Plain Layout
42831 \begin_layout Plain Layout
42844 \begin_layout Plain Layout
42855 \begin_layout Plain Layout
42867 <cell alignment="left" valignment="top" usebox="none">
42870 \begin_layout Plain Layout
42874 \begin_layout Plain Layout
42887 \begin_layout Plain Layout
42898 \begin_layout Plain Layout
42912 <cell alignment="center" valignment="top" usebox="none">
42915 \begin_layout Plain Layout
42919 \begin_layout Plain Layout
42932 \begin_layout Plain Layout
42940 \begin_inset Phantom Phantom
42943 \begin_layout Plain Layout
42953 \begin_layout Plain Layout
42965 <cell alignment="center" valignment="top" usebox="none">
42968 \begin_layout Plain Layout
42972 \begin_layout Plain Layout
42985 \begin_layout Plain Layout
42993 \begin_inset Phantom Phantom
42996 \begin_layout Plain Layout
43006 \begin_layout Plain Layout
43018 <cell alignment="center" valignment="top" usebox="none">
43021 \begin_layout Plain Layout
43025 \begin_layout Plain Layout
43038 \begin_layout Plain Layout
43046 \begin_inset Phantom Phantom
43049 \begin_layout Plain Layout
43059 \begin_layout Plain Layout
43071 <cell alignment="center" valignment="top" usebox="none">
43074 \begin_layout Plain Layout
43078 \begin_layout Plain Layout
43091 \begin_layout Plain Layout
43099 \begin_inset Phantom Phantom
43102 \begin_layout Plain Layout
43112 \begin_layout Plain Layout
43126 <cell alignment="left" valignment="top" usebox="none">
43129 \begin_layout Plain Layout
43133 \begin_layout Plain Layout
43146 \begin_layout Plain Layout
43154 \begin_inset Phantom Phantom
43157 \begin_layout Plain Layout
43167 \begin_layout Plain Layout
43179 <cell alignment="left" valignment="top" usebox="none">
43182 \begin_layout Plain Layout
43186 \begin_layout Plain Layout
43199 \begin_layout Plain Layout
43207 \begin_inset Phantom Phantom
43210 \begin_layout Plain Layout
43220 \begin_layout Plain Layout
43232 <cell alignment="left" valignment="top" usebox="none">
43235 \begin_layout Plain Layout
43239 \begin_layout Plain Layout
43252 \begin_layout Plain Layout
43260 \begin_inset Phantom Phantom
43263 \begin_layout Plain Layout
43273 \begin_layout Plain Layout
43285 <cell alignment="left" valignment="top" usebox="none">
43288 \begin_layout Plain Layout
43292 \begin_layout Plain Layout
43305 \begin_layout Plain Layout
43313 \begin_inset Phantom Phantom
43316 \begin_layout Plain Layout
43326 \begin_layout Plain Layout
43340 <cell alignment="left" valignment="top" usebox="none">
43343 \begin_layout Plain Layout
43347 \begin_layout Plain Layout
43360 \begin_layout Plain Layout
43368 \begin_inset Phantom Phantom
43371 \begin_layout Plain Layout
43381 \begin_layout Plain Layout
43393 <cell alignment="left" valignment="top" usebox="none">
43396 \begin_layout Plain Layout
43400 \begin_layout Plain Layout
43413 \begin_layout Plain Layout
43421 \begin_inset Phantom Phantom
43424 \begin_layout Plain Layout
43434 \begin_layout Plain Layout
43446 <cell alignment="left" valignment="top" usebox="none">
43449 \begin_layout Plain Layout
43453 \begin_layout Plain Layout
43466 \begin_layout Plain Layout
43474 \begin_inset Phantom Phantom
43477 \begin_layout Plain Layout
43487 \begin_layout Plain Layout
43499 <cell alignment="left" valignment="top" usebox="none">
43502 \begin_layout Plain Layout
43506 \begin_layout Plain Layout
43519 \begin_layout Plain Layout
43527 \begin_inset Phantom Phantom
43530 \begin_layout Plain Layout
43540 \begin_layout Plain Layout
43554 <cell alignment="left" valignment="top" usebox="none">
43557 \begin_layout Plain Layout
43561 \begin_layout Plain Layout
43574 \begin_layout Plain Layout
43582 \begin_inset Phantom Phantom
43585 \begin_layout Plain Layout
43595 \begin_layout Plain Layout
43607 <cell alignment="left" valignment="top" usebox="none">
43610 \begin_layout Plain Layout
43614 \begin_layout Plain Layout
43627 \begin_layout Plain Layout
43635 \begin_inset Phantom Phantom
43638 \begin_layout Plain Layout
43648 \begin_layout Plain Layout
43660 <cell alignment="left" valignment="top" usebox="none">
43663 \begin_layout Plain Layout
43667 \begin_layout Plain Layout
43680 \begin_layout Plain Layout
43688 \begin_inset Phantom Phantom
43691 \begin_layout Plain Layout
43701 \begin_layout Plain Layout
43713 <cell alignment="left" valignment="top" usebox="none">
43716 \begin_layout Plain Layout
43720 \begin_layout Plain Layout
43733 \begin_layout Plain Layout
43741 \begin_inset Phantom Phantom
43744 \begin_layout Plain Layout
43754 \begin_layout Plain Layout
43768 <cell alignment="left" valignment="top" usebox="none">
43771 \begin_layout Plain Layout
43775 \begin_layout Plain Layout
43788 \begin_layout Plain Layout
43796 \begin_inset Phantom Phantom
43799 \begin_layout Plain Layout
43809 \begin_layout Plain Layout
43821 <cell alignment="left" valignment="top" usebox="none">
43824 \begin_layout Plain Layout
43828 \begin_layout Plain Layout
43841 \begin_layout Plain Layout
43849 \begin_inset Phantom Phantom
43852 \begin_layout Plain Layout
43862 \begin_layout Plain Layout
43874 <cell alignment="left" valignment="top" usebox="none">
43877 \begin_layout Plain Layout
43881 \begin_layout Plain Layout
43894 \begin_layout Plain Layout
43902 \begin_inset Phantom Phantom
43905 \begin_layout Plain Layout
43915 \begin_layout Plain Layout
43927 <cell alignment="left" valignment="top" usebox="none">
43930 \begin_layout Plain Layout
43934 \begin_layout Plain Layout
43947 \begin_layout Plain Layout
43955 \begin_inset Phantom Phantom
43958 \begin_layout Plain Layout
43968 \begin_layout Plain Layout
43982 <cell alignment="center" valignment="top" usebox="none">
43985 \begin_layout Plain Layout
43989 \begin_layout Plain Layout
44002 \begin_layout Plain Layout
44010 \begin_inset Phantom Phantom
44013 \begin_layout Plain Layout
44023 \begin_layout Plain Layout
44035 <cell alignment="center" valignment="top" usebox="none">
44038 \begin_layout Plain Layout
44042 \begin_layout Plain Layout
44055 \begin_layout Plain Layout
44063 \begin_inset Phantom Phantom
44066 \begin_layout Plain Layout
44076 \begin_layout Plain Layout
44088 <cell alignment="center" valignment="top" usebox="none">
44091 \begin_layout Plain Layout
44095 \begin_layout Plain Layout
44108 \begin_layout Plain Layout
44116 \begin_inset Phantom Phantom
44119 \begin_layout Plain Layout
44129 \begin_layout Plain Layout
44141 <cell alignment="center" valignment="top" usebox="none">
44144 \begin_layout Plain Layout
44148 \begin_layout Plain Layout
44161 \begin_layout Plain Layout
44169 \begin_inset Phantom Phantom
44172 \begin_layout Plain Layout
44182 \begin_layout Plain Layout
44196 <cell alignment="left" valignment="top" usebox="none">
44199 \begin_layout Plain Layout
44203 \begin_layout Plain Layout
44216 \begin_layout Plain Layout
44224 \begin_inset Phantom Phantom
44227 \begin_layout Plain Layout
44237 \begin_layout Plain Layout
44249 <cell alignment="left" valignment="top" usebox="none">
44252 \begin_layout Plain Layout
44256 \begin_layout Plain Layout
44269 \begin_layout Plain Layout
44277 \begin_inset Phantom Phantom
44280 \begin_layout Plain Layout
44290 \begin_layout Plain Layout
44302 <cell alignment="left" valignment="top" usebox="none">
44305 \begin_layout Plain Layout
44309 \begin_layout Plain Layout
44322 \begin_layout Plain Layout
44330 \begin_inset Phantom Phantom
44333 \begin_layout Plain Layout
44343 \begin_layout Plain Layout
44355 <cell alignment="left" valignment="top" usebox="none">
44358 \begin_layout Plain Layout
44362 \begin_layout Plain Layout
44375 \begin_layout Plain Layout
44383 \begin_inset Phantom Phantom
44386 \begin_layout Plain Layout
44396 \begin_layout Plain Layout
44410 <cell alignment="left" valignment="top" usebox="none">
44413 \begin_layout Plain Layout
44417 \begin_layout Plain Layout
44430 \begin_layout Plain Layout
44438 \begin_inset Phantom Phantom
44441 \begin_layout Plain Layout
44451 \begin_layout Plain Layout
44463 <cell alignment="left" valignment="top" usebox="none">
44466 \begin_layout Plain Layout
44470 \begin_layout Plain Layout
44483 \begin_layout Plain Layout
44491 \begin_inset Phantom Phantom
44494 \begin_layout Plain Layout
44504 \begin_layout Plain Layout
44516 <cell alignment="left" valignment="top" usebox="none">
44519 \begin_layout Plain Layout
44523 \begin_layout Plain Layout
44536 \begin_layout Plain Layout
44544 \begin_inset Phantom Phantom
44547 \begin_layout Plain Layout
44557 \begin_layout Plain Layout
44569 <cell alignment="left" valignment="top" usebox="none">
44572 \begin_layout Plain Layout
44576 \begin_layout Plain Layout
44589 \begin_layout Plain Layout
44597 \begin_inset Phantom Phantom
44600 \begin_layout Plain Layout
44610 \begin_layout Plain Layout
44624 <cell alignment="left" valignment="top" usebox="none">
44627 \begin_layout Plain Layout
44631 \begin_layout Plain Layout
44644 \begin_layout Plain Layout
44652 \begin_inset Phantom Phantom
44655 \begin_layout Plain Layout
44665 \begin_layout Plain Layout
44677 <cell alignment="left" valignment="top" usebox="none">
44680 \begin_layout Plain Layout
44684 \begin_layout Plain Layout
44697 \begin_layout Plain Layout
44705 \begin_inset Phantom Phantom
44708 \begin_layout Plain Layout
44718 \begin_layout Plain Layout
44730 <cell alignment="left" valignment="top" usebox="none">
44733 \begin_layout Plain Layout
44737 \begin_layout Plain Layout
44750 \begin_layout Plain Layout
44758 \begin_inset Phantom Phantom
44761 \begin_layout Plain Layout
44771 \begin_layout Plain Layout
44783 <cell alignment="left" valignment="top" usebox="none">
44786 \begin_layout Plain Layout
44790 \begin_layout Plain Layout
44803 \begin_layout Plain Layout
44811 \begin_inset Phantom Phantom
44814 \begin_layout Plain Layout
44824 \begin_layout Plain Layout
44838 <cell alignment="left" valignment="top" usebox="none">
44841 \begin_layout Plain Layout
44845 \begin_layout Plain Layout
44858 \begin_layout Plain Layout
44866 \begin_inset Phantom Phantom
44869 \begin_layout Plain Layout
44879 \begin_layout Plain Layout
44891 <cell alignment="left" valignment="top" usebox="none">
44894 \begin_layout Plain Layout
44898 \begin_layout Plain Layout
44911 \begin_layout Plain Layout
44919 \begin_inset Phantom Phantom
44922 \begin_layout Plain Layout
44932 \begin_layout Plain Layout
44944 <cell alignment="left" valignment="top" usebox="none">
44947 \begin_layout Plain Layout
44951 \begin_layout Plain Layout
44964 \begin_layout Plain Layout
44972 \begin_inset Phantom Phantom
44975 \begin_layout Plain Layout
44985 \begin_layout Plain Layout
44997 <cell alignment="left" valignment="top" usebox="none">
45000 \begin_layout Plain Layout
45004 \begin_layout Plain Layout
45017 \begin_layout Plain Layout
45025 \begin_inset Phantom Phantom
45028 \begin_layout Plain Layout
45038 \begin_layout Plain Layout
45052 <cell alignment="left" valignment="top" usebox="none">
45055 \begin_layout Plain Layout
45059 \begin_layout Plain Layout
45072 \begin_layout Plain Layout
45080 \begin_inset Phantom Phantom
45083 \begin_layout Plain Layout
45093 \begin_layout Plain Layout
45105 <cell alignment="left" valignment="top" usebox="none">
45108 \begin_layout Plain Layout
45112 \begin_layout Plain Layout
45125 \begin_layout Plain Layout
45133 \begin_inset Phantom Phantom
45136 \begin_layout Plain Layout
45146 \begin_layout Plain Layout
45158 <cell alignment="left" valignment="top" usebox="none">
45161 \begin_layout Plain Layout
45165 \begin_layout Plain Layout
45178 \begin_layout Plain Layout
45186 \begin_inset Phantom Phantom
45189 \begin_layout Plain Layout
45199 \begin_layout Plain Layout
45211 <cell alignment="left" valignment="top" usebox="none">
45214 \begin_layout Plain Layout
45218 \begin_layout Plain Layout
45231 \begin_layout Plain Layout
45239 \begin_inset Phantom Phantom
45242 \begin_layout Plain Layout
45252 \begin_layout Plain Layout
45266 <cell alignment="left" valignment="top" usebox="none">
45269 \begin_layout Plain Layout
45273 \begin_layout Plain Layout
45286 \begin_layout Plain Layout
45294 \begin_inset Phantom Phantom
45297 \begin_layout Plain Layout
45307 \begin_layout Plain Layout
45319 <cell alignment="left" valignment="top" usebox="none">
45322 \begin_layout Plain Layout
45326 \begin_layout Plain Layout
45339 \begin_layout Plain Layout
45347 \begin_inset Phantom Phantom
45350 \begin_layout Plain Layout
45360 \begin_layout Plain Layout
45372 <cell alignment="left" valignment="top" usebox="none">
45375 \begin_layout Plain Layout
45379 \begin_layout Plain Layout
45392 \begin_layout Plain Layout
45400 \begin_inset Phantom Phantom
45403 \begin_layout Plain Layout
45413 \begin_layout Plain Layout
45425 <cell alignment="left" valignment="top" usebox="none">
45428 \begin_layout Plain Layout
45432 \begin_layout Plain Layout
45445 \begin_layout Plain Layout
45453 \begin_inset Phantom Phantom
45456 \begin_layout Plain Layout
45466 \begin_layout Plain Layout
45480 <cell alignment="left" valignment="top" usebox="none">
45483 \begin_layout Plain Layout
45487 \begin_layout Plain Layout
45500 \begin_layout Plain Layout
45508 \begin_inset Phantom Phantom
45511 \begin_layout Plain Layout
45521 \begin_layout Plain Layout
45533 <cell alignment="left" valignment="top" usebox="none">
45536 \begin_layout Plain Layout
45540 \begin_layout Plain Layout
45553 \begin_layout Plain Layout
45561 \begin_inset Phantom Phantom
45564 \begin_layout Plain Layout
45574 \begin_layout Plain Layout
45586 <cell alignment="left" valignment="top" usebox="none">
45589 \begin_layout Plain Layout
45593 \begin_layout Plain Layout
45606 \begin_layout Plain Layout
45614 \begin_inset Phantom Phantom
45617 \begin_layout Plain Layout
45627 \begin_layout Plain Layout
45639 <cell alignment="left" valignment="top" usebox="none">
45642 \begin_layout Plain Layout
45646 \begin_layout Plain Layout
45659 \begin_layout Plain Layout
45667 \begin_inset Phantom Phantom
45670 \begin_layout Plain Layout
45680 \begin_layout Plain Layout
45694 <cell alignment="left" valignment="top" usebox="none">
45697 \begin_layout Plain Layout
45701 \begin_layout Plain Layout
45714 \begin_layout Plain Layout
45722 \begin_inset Phantom Phantom
45725 \begin_layout Plain Layout
45735 \begin_layout Plain Layout
45747 <cell alignment="left" valignment="top" usebox="none">
45750 \begin_layout Plain Layout
45754 \begin_layout Plain Layout
45767 \begin_layout Plain Layout
45775 \begin_inset Phantom Phantom
45778 \begin_layout Plain Layout
45788 \begin_layout Plain Layout
45800 <cell alignment="left" valignment="top" usebox="none">
45803 \begin_layout Plain Layout
45807 \begin_layout Plain Layout
45820 \begin_layout Plain Layout
45828 \begin_inset Phantom Phantom
45831 \begin_layout Plain Layout
45841 \begin_layout Plain Layout
45853 <cell alignment="left" valignment="top" usebox="none">
45856 \begin_layout Plain Layout
45860 \begin_layout Plain Layout
45873 \begin_layout Plain Layout
45881 \begin_inset Phantom Phantom
45884 \begin_layout Plain Layout
45894 \begin_layout Plain Layout
45908 <cell alignment="left" valignment="top" usebox="none">
45911 \begin_layout Plain Layout
45915 \begin_layout Plain Layout
45928 \begin_layout Plain Layout
45936 \begin_inset Phantom Phantom
45939 \begin_layout Plain Layout
45949 \begin_layout Plain Layout
45961 <cell alignment="left" valignment="top" usebox="none">
45964 \begin_layout Plain Layout
45968 \begin_layout Plain Layout
45981 \begin_layout Plain Layout
45989 \begin_inset Phantom Phantom
45992 \begin_layout Plain Layout
46002 \begin_layout Plain Layout
46014 <cell alignment="left" valignment="top" usebox="none">
46017 \begin_layout Plain Layout
46021 \begin_layout Plain Layout
46034 \begin_layout Plain Layout
46042 \begin_inset Phantom Phantom
46045 \begin_layout Plain Layout
46055 \begin_layout Plain Layout
46067 <cell alignment="left" valignment="top" usebox="none">
46070 \begin_layout Plain Layout
46074 \begin_layout Plain Layout
46087 \begin_layout Plain Layout
46095 \begin_inset Phantom Phantom
46098 \begin_layout Plain Layout
46108 \begin_layout Plain Layout
46122 <cell alignment="left" valignment="top" usebox="none">
46125 \begin_layout Plain Layout
46129 \begin_layout Plain Layout
46142 \begin_layout Plain Layout
46150 \begin_inset Phantom Phantom
46153 \begin_layout Plain Layout
46163 \begin_layout Plain Layout
46175 <cell alignment="left" valignment="top" usebox="none">
46178 \begin_layout Plain Layout
46184 <cell alignment="left" valignment="top" usebox="none">
46187 \begin_layout Plain Layout
46193 <cell alignment="left" valignment="top" usebox="none">
46196 \begin_layout Plain Layout
46210 \begin_layout Chapter
46211 Explanation of Equation
46212 \begin_inset space ~
46216 \begin_inset CommandInset ref
46223 \begin_inset CommandInset label
46225 name "cha:Explanation-of-Equation"
46232 \begin_layout Standard
46233 We can calculate the total width of
46238 \begin_inset Formula $W_{\mathrm{tot\,n}}$
46242 \begin_inset Formula
46244 W_{\mathrm{tot}\,n}=n\cdot(W_{g\,n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}
46250 \begin_inset Formula $W_{g\,n}$
46253 is the given width of all cells,
46259 is the \SpecialChar LaTeX
46260 -length between the cell text and the cell border (its default value
46262 \begin_inset space \thinspace{}
46272 is the thickness of the cell border line, the default is 0.4
46273 \begin_inset space \thinspace{}
46279 \begin_layout Standard
46281 \begin_inset space ~
46285 \begin_inset CommandInset ref
46287 reference "eq:Wtot_n"
46291 , the total width of a multicolumn
46292 \begin_inset Formula $W_{\mathrm{tot\,mult}}$
46296 \begin_inset Formula
46298 W_{\mathrm{tot\,mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}
46306 \begin_layout Standard
46307 By setting equation
46308 \begin_inset space ~
46312 \begin_inset CommandInset ref
46314 reference "eq:Wtot_n"
46319 \begin_inset CommandInset ref
46321 reference "eq:Wtot_mult"
46325 equal we can calculate the needed given width
46326 \begin_inset Formula $W_{g\,n}$
46333 columns are spanned, so that each column has a total width of
46334 \begin_inset Formula $W_{\mathrm{tot\,mult}}/n$
46338 \begin_inset Formula
46340 W_{g\,n}=\frac{W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth})}{n}
46348 \begin_layout Bibliography
46349 \begin_inset CommandInset bibitem
46350 LatexCommand bibitem
46351 key "latexcompanion"
46355 Frank Mittelbach and Michel Goossens:
46357 The \SpecialChar LaTeX
46358 Companion Second Edition.
46361 Addison-Wesley, 2004
46364 \begin_layout Bibliography
46365 \begin_inset CommandInset bibitem
46366 LatexCommand bibitem
46371 Helmut Kopka and Patrick W.
46374 A Guide to \SpecialChar LaTeX
46378 Addison-Wesley, 2003
46381 \begin_layout Bibliography
46382 \begin_inset CommandInset bibitem
46383 LatexCommand bibitem
46391 : A Document Preparation System.
46394 Addison-Wesley, second edition, 1994
46397 \begin_layout Bibliography
46398 \begin_inset CommandInset bibitem
46399 LatexCommand bibitem
46404 Documentation of the \SpecialChar LaTeX
46408 \begin_inset CommandInset href
46411 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/arydshln/arydshln.pdf"
46418 \begin_inset Index idx
46421 \begin_layout Plain Layout
46423 -packages ! arydshln
46431 \begin_layout Bibliography
46432 \begin_inset CommandInset bibitem
46433 LatexCommand bibitem
46438 Documentation of the \SpecialChar LaTeX
46442 \begin_inset CommandInset href
46445 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf"
46452 \begin_inset Index idx
46455 \begin_layout Plain Layout
46457 -packages ! booktabs
46465 \begin_layout Bibliography
46466 \begin_inset CommandInset bibitem
46467 LatexCommand bibitem
46472 Documentation of the \SpecialChar LaTeX
46476 \begin_inset CommandInset href
46479 target "http://mirrors.ctan.org/macros/latex/contrib/caption/caption-eng.pdf"
46486 \begin_inset Index idx
46489 \begin_layout Plain Layout
46491 -packages ! caption
46499 \begin_layout Bibliography
46500 \begin_inset CommandInset bibitem
46501 LatexCommand bibitem
46506 Documentation of the \SpecialChar LaTeX
46510 \begin_inset CommandInset href
46513 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/diagbox/diagbox.pdf"
46520 \begin_inset Index idx
46523 \begin_layout Plain Layout
46525 -packages ! diagbox
46533 \begin_layout Bibliography
46534 \begin_inset CommandInset bibitem
46535 LatexCommand bibitem
46540 Documentation of the \SpecialChar LaTeX
46544 \begin_inset CommandInset href
46547 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf"
46554 \begin_inset Index idx
46557 \begin_layout Plain Layout
46559 -packages ! endfloat
46567 \begin_layout Bibliography
46568 \begin_inset CommandInset bibitem
46569 LatexCommand bibitem
46574 Documentation of the \SpecialChar LaTeX
46578 \begin_inset CommandInset href
46581 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf"
46588 \begin_inset Index idx
46591 \begin_layout Plain Layout
46593 -packages ! footmisc
46601 \begin_layout Bibliography
46602 \begin_inset CommandInset bibitem
46603 LatexCommand bibitem
46608 Documentation of the \SpecialChar LaTeX
46612 \begin_inset CommandInset href
46615 target "http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf"
46622 \begin_inset Index idx
46625 \begin_layout Plain Layout
46627 -packages ! hyperref
46635 \begin_layout Bibliography
46636 \begin_inset CommandInset bibitem
46637 LatexCommand bibitem
46642 Documentation of the \SpecialChar LaTeX
46646 \begin_inset CommandInset href
46649 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf"
46656 \begin_inset Index idx
46659 \begin_layout Plain Layout
46661 -packages ! hyperref
46669 \begin_layout Bibliography
46670 \begin_inset CommandInset bibitem
46671 LatexCommand bibitem
46676 Documentation of the \SpecialChar LaTeX
46680 \begin_inset CommandInset href
46683 target "http://mirror.ctan.org/macros/latex/contrib/koma-script/doc/scrguien.pdf"
46690 \begin_inset Index idx
46693 \begin_layout Plain Layout
46695 -packages ! KOMA-Script
46703 \begin_layout Bibliography
46704 \begin_inset CommandInset bibitem
46705 LatexCommand bibitem
46710 Documentation of the \SpecialChar LaTeX
46714 \begin_inset CommandInset href
46717 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/lettrine.pdf"
46724 \begin_inset CommandInset href
46727 target "http://mirrors.ctan.org/macros/latex/contrib/lettrine/doc/demo.pdf"
46732 \begin_inset Index idx
46735 \begin_layout Plain Layout
46737 -packages ! lettrine
46745 \begin_layout Bibliography
46746 \begin_inset CommandInset bibitem
46747 LatexCommand bibitem
46752 Documentation of the \SpecialChar LaTeX
46756 \begin_inset CommandInset href
46759 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf"
46766 \begin_inset Index idx
46769 \begin_layout Plain Layout
46771 -packages ! listings
46779 \begin_layout Bibliography
46780 \begin_inset CommandInset bibitem
46781 LatexCommand bibitem
46786 Documentation of the \SpecialChar LaTeX
46790 \begin_inset CommandInset href
46793 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.pdf"
46800 \begin_inset Index idx
46803 \begin_layout Plain Layout
46805 -packages ! marginnote
46813 \begin_layout Bibliography
46814 \begin_inset CommandInset bibitem
46815 LatexCommand bibitem
46820 Documentation of the \SpecialChar LaTeX
46824 \begin_inset CommandInset href
46827 target "http://www.ctan.org/tex-archive/macros/latex/contrib/pdfpages/pdfpages.pdf"
46834 \begin_inset Index idx
46837 \begin_layout Plain Layout
46839 -packages ! pdfpages
46847 \begin_layout Bibliography
46848 \begin_inset CommandInset bibitem
46849 LatexCommand bibitem
46854 Documentation of the \SpecialChar LaTeX
46858 \begin_inset CommandInset href
46861 target "http://www.ctan.org/tex-archive/macros/latex/contrib/prettyref/prettyref.pdf"
46868 \begin_inset Index idx
46871 \begin_layout Plain Layout
46873 -packages ! prettyref
46881 \begin_layout Bibliography
46882 \begin_inset CommandInset bibitem
46883 LatexCommand bibitem
46888 Web page of the \SpecialChar LaTeX
46892 \begin_inset CommandInset href
46895 target "http://tug.org/PSTricks/"
46902 \begin_inset Index idx
46905 \begin_layout Plain Layout
46907 -packages ! PSTricks
46915 \begin_layout Bibliography
46916 \begin_inset CommandInset bibitem
46917 LatexCommand bibitem
46922 Documentation of the \SpecialChar LaTeX
46926 \begin_inset CommandInset href
46929 target "http://www.ctan.org/tex-archive/macros/latex/contrib/refstyle/refstyle.pdf"
46936 \begin_inset Index idx
46939 \begin_layout Plain Layout
46941 -packages ! refstyle
46949 \begin_layout Bibliography
46950 \begin_inset CommandInset bibitem
46951 LatexCommand bibitem
46956 Documentation of the \SpecialChar LaTeX
46960 \begin_inset CommandInset href
46963 target "ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf"
46970 \begin_inset Index idx
46973 \begin_layout Plain Layout
46975 -packages ! sidecap
46983 \begin_layout Bibliography
46984 \begin_inset CommandInset bibitem
46985 LatexCommand bibitem
46991 \begin_inset CommandInset href
46994 target "http://wiki.lyx.org/LyX/NewInLyX20"
46998 about new features in
47006 \begin_layout Standard
47007 \begin_inset CommandInset index_print
47008 LatexCommand printindex