1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % enables calculation of values,
82 % provides special table cell alignments
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
95 % used for colored tables
96 \@ifundefined{textcolor}
97 {\usepackage{color}}{}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
106 % used for book-style tables
107 \usepackage{booktabs}
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
112 % used for customized tables
115 {>{\centering\hspace{0pt}}m{#1}}
118 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121 {>{\columncolor{#1}\hspace{0pt}}c}
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
125 \newcolumntype{W}{!{\color{green}\vline}}
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149 {\textcolor{blue}\bgroup}{\egroup}
151 % ------------------------------------
152 % used to check for needed LaTeX packages
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159 {\usepackage{arydshln}
160 \setboolean{arydshln}{true}}
161 {\setboolean{arydshln}{false}}
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167 {\usepackage{marginnote}
168 \let\marginpar\marginnote
169 \setboolean{marginnote}{true}}
170 {\setboolean{marginnote}{false}}
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
177 \font_typewriter default
178 \font_default_family default
192 \paperorientation portrait
195 \paragraph_separation skip
197 \quotes_language english
200 \paperpagestyle default
204 \tracking_changes false
205 \output_changes false
214 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
222 \begin_layout Standard
224 If you have comments or error corrections, please send them to the LyX Documenta
231 \begin_layout Standard
235 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
240 lyx-docs@lists.lyx.org
244 \begin_layout Standard
257 \begin_inset Note Note
260 \begin_layout Standard
261 original author: Uwe Stöhr
277 \begin_layout Standard
278 \begin_inset LatexCommand tableofcontents
285 \begin_layout Standard
286 \begin_inset Note Note
289 \begin_layout Standard
290 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
300 If they are not installed you can export the document anyway but the sections
301 where the packages are required won't appear in the output.
304 \begin_layout Standard
305 The latest PDF-version of this document can be found here:
309 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
317 \begin_layout Chapter
319 \begin_inset LatexCommand label
325 \begin_inset LatexCommand index
333 \begin_layout Section
335 \begin_inset LatexCommand index
336 name "Figure ! Graphics Dialog"
343 \begin_layout Standard
344 To insert an image into your document, place the cursor at the text position
345 you want and click on the toolbar icon
346 \begin_inset Graphics
347 filename ../images/dialog-show-new-inset_graphics.xpm
354 Insert\SpecialChar \menuseparator
358 Then a dialog will appear to choose the file to load.
359 The image will appear in the output exactly at the position where it is
363 \begin_layout Standard
364 The graphics dialog can be called at any time by right-clicking on an image.
365 This dialog has three tabs:
368 \begin_layout Description
373 Here you can choose an image file and adjust its appearance in the output.
374 The available units for the image size are explained in appendix\InsetSpace ~
376 \begin_inset LatexCommand ref
377 reference "cha:Units-available-in"
383 You can rotate images counter-clockwise by setting a rotation angle and
385 The image will also be rotated inside LyX.
387 Images can be opened in a program
388 of your choice when pressing the
393 The program can be set for every image format in the file format settings
394 in LyX's preferences.
397 \begin_layout Description
402 Alternatively to the usage of scaling units it is possible to set image
403 coordinates to adjust the height and width of the image in the output.
404 The coordinates can also be calculated automatically by pressing the button
416 bounding\InsetSpace ~
419 will only print the image region within the given coordinates.
420 Normally you don't need to take care about image coordinates and can ignore
424 \begin_layout Description
430 In this tab you can modify the appearance of the image within LyX and set
431 the image to be a subfigure of a figure float with an own caption.
432 Subfigures are explained in section\InsetSpace ~
434 \begin_inset LatexCommand ref
435 reference "sec:Figure-Floats"
441 LaTeX experts can also specify on this tab additional LaTeX options.
449 makes the image appear in the output only as a frame with the size of the
459 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
466 When the option is used the images will not be unzipped on export, since
467 LaTeX can handle them as they are.
469 Zipped EPS-graphics are useful to save
470 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
472 \begin_inset LatexCommand ref
473 reference "sec:PostScript"
478 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
489 zgrep %%Bounding x.eps.gz > x.eps.bb
493 The second command creates the bounding box file
494 \begin_inset Quotes eld
498 \begin_inset Quotes erd
501 that is needed by LaTeX for zipped graphics.
504 \begin_layout Standard
505 \begin_inset VSpace bigskip
511 \begin_layout Standard
512 This is an example image in EPS format
516 \begin_layout Standard
517 Image formats are explained in section\InsetSpace ~
519 \begin_inset LatexCommand ref
520 reference "sec:Image-Formats"
529 within a separate, horizontally centered paragraph:
532 \begin_layout Standard
534 \begin_inset Graphics
535 filename clipart/mobius.eps
545 \begin_layout Standard
546 This is the same image like the one above but in draft mode:
549 \begin_layout Standard
551 \begin_inset Graphics
552 filename clipart/mobius.eps
563 \begin_layout Section
565 \begin_inset LatexCommand label
566 name "sec:Figure-Floats"
571 \begin_inset LatexCommand index
572 name "Floats ! Figure Floats"
577 \begin_inset LatexCommand index
578 name "Figure ! Floats"
585 \begin_layout Standard
586 For general explanations about floats, have a look at section\InsetSpace ~
588 \begin_inset LatexCommand ref
589 reference "sec:FloatIntroduction"
596 \begin_layout Standard
598 \begin_inset Graphics
599 filename ../images/float-insert_figure.xpm
606 Insert\SpecialChar \menuseparator
607 Float\SpecialChar \menuseparator
610 inserts a float with a caption that has the label
611 \begin_inset Quotes eld
616 \begin_inset Quotes erd
619 (# is the actual number).
620 You can insert the image above the caption, like in Figure\InsetSpace ~
622 \begin_inset LatexCommand ref
623 reference "fig:kill-plat"
627 or below the caption, like in Figure\InsetSpace ~
629 \begin_inset LatexCommand ref
630 reference "fig:escher"
635 More about the caption placement is described in section\InsetSpace ~
637 \begin_inset LatexCommand ref
638 reference "sec:Caption-Placement"
645 \begin_layout Standard
646 \begin_inset Float figure
651 \begin_layout Standard
653 \begin_inset Graphics
654 filename clipart/platypus.eps
664 \begin_layout Standard
667 \begin_layout Standard
668 \begin_inset LatexCommand label
673 A severely distorted platypus in a float.
686 \begin_layout Standard
687 \begin_inset Float figure
692 \begin_layout Standard
695 \begin_layout Standard
696 \begin_inset LatexCommand label
710 \begin_layout Standard
712 \begin_inset Graphics
713 filename clipart/escher-lsd.eps
728 \begin_layout Standard
729 \begin_inset LatexCommand index
730 name "References ! to Figures"
736 \begin_inset LatexCommand ref
737 reference "fig:kill-plat"
742 \begin_inset LatexCommand ref
743 reference "fig:escher"
747 are examples of referenced figures.
748 Figures can be referenced in the text by referencing their label.
749 To do this insert a label in the caption using the menu
751 Insert\SpecialChar \menuseparator
754 or the toolbar button
755 \begin_inset Graphics
756 filename ../images/label-insert.xpm
762 You can now refer to the label using the menu
764 Insert\SpecialChar \menuseparator
768 or the toolbar button
769 \begin_inset Graphics
770 filename ../images/dialog-show-new-inset_ref.xpm
776 It is important to use references to floats, rather than using vague references
778 \begin_inset Quotes eld
782 \begin_inset Quotes erd
785 , because as LaTeX will reposition the floats in the final document, it
787 \begin_inset Quotes eld
791 \begin_inset Quotes erd
796 Referencing is explained in detail in section\InsetSpace ~
798 \begin_inset LatexCommand ref
799 reference "sec:Referencing-Floats"
806 \begin_layout Standard
807 Normally only one image is inserted to a figure float, but sometimes you
808 might want to use two images with separate subcaptions.
809 This can be set in the tab
814 of the graphics dialog.
815 Choose there the option
819 and enter the subcaption for the image in the caption field.
820 Note that only the main caption of the float is added to the List of Figures.
823 erencing subfigures is explained in section\InsetSpace ~
825 \begin_inset LatexCommand ref
826 reference "sub:Referencing-Subfigures"
833 \begin_layout Standard
836 \begin_inset LatexCommand ref
837 reference "fig:Two-distorted-images"
841 is an example of a figure float with two images set side by side.
842 You can also set the images one below the other.
845 \begin_layout Standard
846 \begin_inset Float figure
851 \begin_layout Standard
855 \begin_inset Graphics
856 filename clipart/escher-lsd.eps
859 subcaptionText "Undefinable structure"
866 \begin_inset Graphics
867 filename clipart/platypus.eps
871 subcaptionText "\label{fig:Platypus} Platypus"
880 \begin_layout Standard
883 \begin_layout Standard
884 \begin_inset LatexCommand label
885 name "fig:Two-distorted-images"
889 Two distorted images.
902 \begin_layout Section
904 \begin_inset LatexCommand label
905 name "sec:Image-Formats"
910 \begin_inset LatexCommand index
916 \begin_inset LatexCommand index
917 name "Figure ! Image Formats"
924 \begin_layout Standard
925 You can insert images in any known file format.
926 But as explained in appendix\InsetSpace ~
928 \begin_inset LatexCommand ref
929 reference "cha:Output-File-Formats"
933 , every output document format allows only a few image formats.
934 LyX uses therefore the program
938 in the background to convert the images to the right format.
939 To increase your work flow by avoiding these conversions in the background,
940 you can use only the image formats that can directly be embedded in the
942 The output file formats are explained in appendix\InsetSpace ~
944 \begin_inset LatexCommand ref
945 reference "cha:Output-File-Formats"
952 \begin_layout Standard
953 Similar to fonts there are two types of image formats:
956 \begin_layout Description
958 images consist of pixel values, often in a compressed form.
959 They are therefore not fully scalable and look pixeled in large zooms.
960 Well-known bitmap image formats are
961 \begin_inset Quotes eld
964 Graphics Interchange Format
965 \begin_inset Quotes erd
969 \begin_inset Quotes eld
977 \begin_inset Quotes erd
981 \begin_inset LatexCommand index
982 name "GIF|see{Image formats}"
987 \begin_inset Quotes eld
990 Portable Network Graphics
991 \begin_inset Quotes erd
995 \begin_inset Quotes eld
1003 \begin_inset Quotes erd
1007 \begin_inset LatexCommand index
1008 name "PNG|see{Image formats}"
1013 \begin_inset Quotes eld
1016 Joint Photographic Experts Group
1017 \begin_inset Quotes erd
1020 (JPG, file extension
1021 \begin_inset Quotes eld
1029 \begin_inset Quotes erd
1033 \begin_inset Quotes eld
1041 \begin_inset Quotes erd
1045 \begin_inset LatexCommand index
1046 name "JPG|see{Image formats}"
1053 \begin_layout Description
1055 images consist of vectors and can therefore be scaled to any size
1057 The scaling ability is necessary if you want to create presentations, because
1058 presentations are always scaled by the video projector.
1059 Scaling is also useful for online documents to let the user zoom into diagrams.
1062 ell-known scalable image formats are
1063 \begin_inset Quotes eld
1066 Scalable Vector Graphics
1067 \begin_inset Quotes erd
1070 (SVG, file extension
1071 \begin_inset Quotes eld
1079 \begin_inset Quotes erd
1083 \begin_inset LatexCommand index
1084 name "SVG|see{Image formats}"
1089 \begin_inset Quotes eld
1092 Encapsulated PostScript
1093 \begin_inset Quotes erd
1096 (EPS, file extension
1097 \begin_inset Quotes eld
1105 \begin_inset Quotes erd
1109 \begin_inset LatexCommand index
1110 name "EPS|see{Image formats}"
1115 \begin_inset Quotes eld
1118 Portable Document Format
1119 \begin_inset Quotes erd
1122 (PDF, file extension
1123 \begin_inset Quotes eld
1131 \begin_inset Quotes erd
1135 \begin_inset LatexCommand index
1141 \begin_inset Quotes eld
1145 \begin_inset Quotes erd
1148 (WMF, file extension
1149 \begin_inset Quotes eld
1157 \begin_inset Quotes erd
1161 \begin_inset LatexCommand index
1162 name "SVG|see{Image formats}"
1168 \begin_inset Quotes eld
1172 \begin_inset Quotes erd
1175 , because you can convert any bitmap image to a PDF or EPS-image and the
1176 result will still be a bitmap image.
1177 In this cases only a header with the image properties is added to the original
1182 \begin_layout Standard
1183 In the case of PDF, the original image is additionally compressed.
1189 The PDF-files generated by
1193 are for example bitmap images.
1196 \begin_layout Standard
1197 Normally it is not possible to convert a bitmap image into a scalable one,
1199 Only the image formats PDF and EPS can directly be embedded to PDF and
1200 PostScript output files, respectively.
1201 SVG and WMF-images are currently recalculated to bitmaps when the output
1202 file is generated because there is currently no adequate WMF/SVG
1203 \begin_inset Formula $\to$
1206 PDF/EPS converter available.
1209 \begin_layout Chapter
1211 \begin_inset LatexCommand label
1217 \begin_inset LatexCommand index
1225 \begin_layout Section
1227 \begin_inset LatexCommand index
1228 name "Table ! Introduction"
1235 \begin_layout Standard
1236 You can insert a table using either the toolbar button
1237 \begin_inset Graphics
1238 filename ../images/tabular-insert.xpm
1245 Insert\SpecialChar \menuseparator
1249 The toolbar button offers you a graphical selection: Move the mouse to
1250 set the column/row number of the table that should be created and then
1251 press a mouse button.
1252 When you use the menu to create a table, a dialog will appear, asking you
1253 for the number of rows and columns.
1255 The default table has lines around any
1256 cell and the first row appears separated from the rest of the table.
1257 This separation occurs due to a double line: The cells of the first row
1258 have a line below them and the cells of the second row have a line above
1260 Here is an example table:
1263 \begin_layout Standard
1265 \begin_inset Tabular
1266 <lyxtabular version="3" rows="4" columns="4">
1268 <column alignment="center" valignment="top" leftline="true" width="0">
1269 <column alignment="center" valignment="top" leftline="true" width="0">
1270 <column alignment="center" valignment="top" leftline="true" width="0">
1271 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1272 <row topline="true" bottomline="true">
1273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1276 \begin_layout Standard
1282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1285 \begin_layout Standard
1300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1303 \begin_layout Standard
1309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1312 \begin_layout Standard
1319 <row topline="true">
1320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1323 \begin_layout Standard
1338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1341 \begin_layout Standard
1347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1350 \begin_layout Standard
1356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1359 \begin_layout Standard
1366 <row topline="true">
1367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1370 \begin_layout Standard
1385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1388 \begin_layout Standard
1394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1397 \begin_layout Standard
1403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1406 \begin_layout Standard
1413 <row topline="true" bottomline="true">
1414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1417 \begin_layout Standard
1432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1435 \begin_layout Standard
1441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1444 \begin_layout Standard
1450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1453 \begin_layout Standard
1467 \begin_layout Section
1469 \begin_inset LatexCommand index
1470 name "Table ! Dialog"
1477 \begin_layout Standard
1478 You can alter a table by clicking on it with the right mouse button, which
1479 brings up the table dialog.
1480 Here you can adjust the settings of that cell and row/column respectively
1481 where the cursor is currently placed.
1482 Most of the dialog options also work on selections.
1483 This means if you select more cells, columns or rows, the action is done
1484 for the whole selection.
1485 Note that there is a difference between selecting the
1489 of the cell, and the cell itself.
1490 You can alter tables with the following tabs of the table dialog:
1493 \begin_layout Description
1499 Here you can set the horizontal alignment for the current row and the width
1500 of the current column.
1501 When you have set a width you can also adjust the vertical alignment of
1503 A given width will allow the cell to have line breaks and multiple paragraphs
1504 of text, see section\InsetSpace ~
1506 \begin_inset LatexCommand ref
1507 reference "sub:Multiple-Lines-in"
1512 If you set no width, the column is as wide as their widest cell content
1515 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1516 cell, see section\InsetSpace ~
1518 \begin_inset LatexCommand ref
1519 reference "sub:Multicolumns"
1525 The rotate check boxes rotates the current cell, a selection, or the whole
1526 table counter-clockwise by 90°.
1527 The rotation is not shown within LyX, only in the output.
1530 \begin_inset Note Greyedout
1533 \begin_layout Standard
1538 Not all DVI-viewers are able to display rotations.
1545 It is also possible to enter a LaTeX-argument which is needed for special
1546 table formattings, see section\InsetSpace ~
1548 \begin_inset LatexCommand ref
1549 reference "sub:Multicolumn-Calculations"
1554 \begin_inset LatexCommand ref
1555 reference "sec:Colored-Tables"
1562 \begin_layout Description
1567 In this tab you can add and delete border lines for the current row/column.
1574 will convert the table to a formal table as described in section\InsetSpace ~
1576 \begin_inset LatexCommand ref
1577 reference "sec:Formal-Tables"
1583 You can also add here space to table rows as decribed in section\InsetSpace ~
1585 \begin_inset LatexCommand ref
1586 reference "sub:Row-Spacing"
1593 \begin_layout Description
1598 This tab is to make a table a so called
1599 \begin_inset Quotes eld
1607 \begin_inset Quotes erd
1610 that can run over several pages.
1611 Section\InsetSpace ~
1613 \begin_inset LatexCommand ref
1614 reference "sec:Longtables"
1619 \begin_inset LatexCommand ref
1620 reference "sec:Special-Longtable-Issues"
1624 describe the longtable features in detail.
1627 \begin_layout Standard
1628 When the table toolbar is opened, you can move the cursor with the arrow
1629 keys from cell to cell and the property of the current cell will immediately
1630 be displayed in the dialog.
1633 \begin_layout Section
1635 \begin_inset LatexCommand index
1636 name "Table ! Toolbar"
1643 \begin_layout Standard
1644 The table toolbar is an alternative to the table dialog to be able to alter
1646 It should normally appear at the bottom of LyX's main window when the cursor
1648 You can alternatively switch it on to appear always, by right-clicking
1649 in LyX's main menu bar.
1652 \begin_layout Standard
1653 The toolbar has the following icons:
1656 \begin_layout Labeling
1657 \labelwidthstring 00.00.0000
1658 \begin_inset Graphics
1659 filename ../images/tabular-feature_append-row.xpm
1663 adds a row below the current cell or selection
1666 \begin_layout Labeling
1667 \labelwidthstring 00.00.0000
1668 \begin_inset Graphics
1669 filename ../images/tabular-feature_append-column.xpm
1673 adds a column right beside the current cell or selection
1676 \begin_layout Labeling
1677 \labelwidthstring 00.00.0000
1678 \begin_inset Graphics
1679 filename ../images/tabular-feature_delete-row.xpm
1683 deletes the current row or selection
1686 \begin_layout Labeling
1687 \labelwidthstring 00.00.0000
1688 \begin_inset Graphics
1689 filename ../images/tabular-feature_delete-column.xpm
1693 deletes the current column or selection
1696 \begin_layout Labeling
1697 \labelwidthstring 00.00.0000
1698 \begin_inset Graphics
1699 filename ../images/tabular-feature_toggle-line-top.xpm
1703 adds a line at the top of the current cell / row or of a selection
1706 \begin_layout Labeling
1707 \labelwidthstring 00.00.0000
1708 \begin_inset Graphics
1709 filename ../images/tabular-feature_toggle-line-bottom.xpm
1713 adds a line at the bottom of the current cell / row or of a selection
1716 \begin_layout Labeling
1717 \labelwidthstring 00.00.0000
1718 \begin_inset Graphics
1719 filename ../images/tabular-feature_toggle-line-left.xpm
1723 adds a line at the left side of the current cell / row or of a selection
1726 \begin_layout Labeling
1727 \labelwidthstring 00.00.0000
1728 \begin_inset Graphics
1729 filename ../images/tabular-feature_toggle-line-right.xpm
1733 adds a line at the right side of the current cell / row or of a selection
1736 \begin_layout Labeling
1737 \labelwidthstring 00.00.0000
1738 \begin_inset Graphics
1739 filename ../images/tabular-feature_set-all-lines.xpm
1743 adds lines around the current or selected cells - if the current cell no
1744 multicolumn this also affects the current row and column
1747 \begin_layout Labeling
1748 \labelwidthstring 00.00.0000
1749 \begin_inset Graphics
1750 filename ../images/tabular-feature_unset-all-lines.xpm
1754 deletes all lines of the current or selected cells - if the current cell
1755 no multicolumn this also affects the current row and column
1758 \begin_layout Labeling
1759 \labelwidthstring 00.00.0000
1760 \begin_inset Graphics
1761 filename ../images/tabular-feature_align-left.xpm
1765 left-aligns the content of the current cell / column
1768 \begin_layout Labeling
1769 \labelwidthstring 00.00.0000
1770 \begin_inset Graphics
1771 filename ../images/tabular-feature_align-center.xpm
1775 centers the content of the current cell / column horizontally
1778 \begin_layout Labeling
1779 \labelwidthstring 00.00.0000
1780 \begin_inset Graphics
1781 filename ../images/tabular-feature_align-right.xpm
1785 right-aligns the content of the current cell / column
1788 \begin_layout Labeling
1789 \labelwidthstring 00.00.0000
1790 \begin_inset Graphics
1791 filename ../images/tabular-feature_valign-top.xpm
1795 aligns the content of the current cell vertically to the top
1798 \begin_layout Labeling
1799 \labelwidthstring 00.00.0000
1800 \begin_inset Graphics
1801 filename ../images/tabular-feature_valign-middle.xpm
1805 centers the content of the current cell vertically
1808 \begin_layout Labeling
1809 \labelwidthstring 00.00.0000
1810 \begin_inset Graphics
1811 filename ../images/tabular-feature_valign-bottom.xpm
1815 aligns the content of the current cell vertically to the bottom
1818 \begin_layout Labeling
1819 \labelwidthstring 00.00.0000
1820 \begin_inset Graphics
1821 filename ../images/tabular-feature_set-rotate-cell.xpm
1825 rotates the current cell or selection counter-clockwise by 90°
1828 \begin_layout Labeling
1829 \labelwidthstring 00.00.0000
1830 \begin_inset Graphics
1831 filename ../images/tabular-feature_set-rotate-tabular.xpm
1835 rotates the whole table counter-clockwise by 90°
1838 \begin_layout Labeling
1839 \labelwidthstring 00.00.0000
1840 \begin_inset Graphics
1841 filename ../images/tabular-feature_multicolumn.xpm
1845 sets the current cell or selection as a multicolumn
1848 \begin_layout Section
1850 \begin_inset LatexCommand index
1851 name "Table ! Edit Menu"
1858 \begin_layout Standard
1859 Additionally to the table dialog and toolbar, the menu
1861 Edit\SpecialChar \menuseparator
1864 allows you to add and delete border lines for the current row/column and
1865 to set the current selection as multicolumn.
1866 The menu is only available when the cursor is inside a table.
1869 \begin_layout Section
1871 \begin_inset LatexCommand label
1872 name "sec:Table-Floats"
1877 \begin_inset LatexCommand index
1878 name "Floats ! Tables"
1883 \begin_inset LatexCommand index
1884 name "Table ! Floats"
1891 \begin_layout Standard
1892 For general explanations about floats, have a look at section\InsetSpace ~
1894 \begin_inset LatexCommand ref
1895 reference "sec:FloatIntroduction"
1902 \begin_layout Standard
1903 \begin_inset Float table
1909 \begin_layout Standard
1910 \begin_inset Caption
1912 \begin_layout Standard
1913 \begin_inset LatexCommand label
1914 name "tab:a table float"
1926 \begin_layout Standard
1928 \begin_inset Tabular
1929 <lyxtabular version="3" rows="3" columns="3">
1931 <column alignment="center" valignment="top" leftline="true" width="0pt">
1932 <column alignment="center" valignment="top" leftline="true" width="0pt">
1933 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1934 <row topline="true" bottomline="true">
1935 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1938 \begin_layout Standard
1953 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1956 \begin_layout Standard
1971 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1974 \begin_layout Standard
1990 <row topline="true">
1991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1994 \begin_layout Standard
2009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2012 \begin_layout Standard
2027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2030 \begin_layout Standard
2046 <row topline="true" bottomline="true">
2047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2050 \begin_layout Standard
2060 \begin_inset Formula $\int x^{2}dx$
2068 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2071 \begin_layout Standard
2081 \begin_inset Formula $\left[\begin{array}{cc}
2083 c & d\end{array}\right]$
2091 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2094 \begin_layout Standard
2104 \begin_inset Formula $1+1=2$
2125 \begin_layout Standard
2126 Table floats can be inserted using the menu
2128 Insert\SpecialChar \menuseparator
2129 Float\SpecialChar \menuseparator
2132 or the toolbar button
2133 \begin_inset Graphics
2134 filename ../images/float-insert_table.xpm
2142 \begin_layout Standard
2143 The float appears as a collapsible box with a caption that has the label
2145 \begin_inset Quotes eld
2150 \begin_inset Quotes erd
2153 (# is the actual table number).
2154 You can insert tables to the float above or below the caption.
2157 \begin_layout Standard
2160 \begin_inset LatexCommand ref
2161 reference "tab:a table float"
2165 is an example table within a table float.
2168 \begin_layout Standard
2169 Having the caption above the table is the common rule that is unfortunately
2170 not supported in LaTeX's standard classes.
2171 That means if you are using the document classes
2187 there will be no space between the caption and the table.
2188 To insert the needed space, add the following option to the load command
2189 of the LaTeX-package
2194 \begin_inset LatexCommand index
2195 name "LaTeX-packages ! caption"
2199 in your document preamble
2203 \begin_layout Standard
2204 For more information have a look at section\InsetSpace ~
2206 \begin_inset LatexCommand ref
2207 reference "sec:Caption-Placement"
2219 \begin_layout Standard
2225 \begin_layout Standard
2230 , which is described in section\InsetSpace ~
2232 \begin_inset LatexCommand ref
2233 reference "sec:Caption-Formatting"
2237 , is used to adjust the caption format.
2240 \begin_layout Standard
2241 \begin_inset LatexCommand index
2242 name "References ! to Tables"
2246 Tables can be cross-referenced in the text by referencing their label.
2247 To do this insert a label in the caption using the menu
2249 Insert\SpecialChar \menuseparator
2252 or the toolbar button
2253 \begin_inset Graphics
2254 filename ../images/label-insert.xpm
2260 You can now refer to the label using the menu
2262 Insert\SpecialChar \menuseparator
2266 or the toolbar button
2267 \begin_inset Graphics
2268 filename ../images/dialog-show-new-inset_ref.xpm
2275 Referencing is explained in detail in section\InsetSpace ~
2277 \begin_inset LatexCommand ref
2278 reference "sec:Referencing-Floats"
2285 \begin_layout Section
2287 \begin_inset LatexCommand label
2288 name "sec:Longtables"
2293 \begin_inset LatexCommand index
2299 \begin_inset LatexCommand index
2300 name "Table ! Longtables"
2307 \begin_layout Standard
2308 If the table is too long to fit on one page, you can use the option
2318 of the table dialog to split the table automatically over more pages.
2319 Doing this enables some check boxes and you can now define:
2322 \begin_layout Description
2327 : The current row and all rows above, that don't have any special options
2328 defined, are defined to be the header rows of all pages of the longtable;
2329 except for the first page, if
2335 This therefore called the main header.
2338 \begin_layout Description
2344 : The current row and all rows above, that don't have any special options
2345 defined, are defined to be the header rows of the first page of the longtable.
2348 \begin_layout Description
2353 : The current row and all rows below, that don't have any special options
2354 defined, are defined to be the footer rows of all pages of the longtable;
2355 except for the last page, if
2363 \begin_layout Description
2369 : The current row and all rows below, that don't have any special options
2370 defined, are defined to be the footer rows of the last page of the longtable.
2373 \begin_layout Standard
2374 You can also specify a row where the table is splitted.
2375 If you set more than one option in the same table row, you should be aware
2376 of the fact that only the first one is used in the given table row.
2377 The others will then be defined as
2382 In this context, first means first in this order:
2384 Footer, Last\InsetSpace ~
2397 See the following longtable to see how it works:
2400 \begin_layout Standard
2402 \begin_inset Tabular
2403 <lyxtabular version="3" rows="69" columns="3">
2404 <features islongtable="true">
2405 <column alignment="left" valignment="top" leftline="true" width="0cm">
2406 <column alignment="left" valignment="top" width="0pt">
2407 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2408 <row topline="true" bottomline="true" endfirsthead="true">
2409 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2412 \begin_layout Standard
2415 Example Phone List (ignore the names)
2420 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2423 \begin_layout Standard
2429 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_layout Standard
2439 <row topline="true" bottomline="true" endfirsthead="true">
2440 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2443 \begin_layout Standard
2451 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2454 \begin_layout Standard
2460 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2463 \begin_layout Standard
2472 <row topline="true" bottomline="true" endhead="true">
2473 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2476 \begin_layout Standard
2484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2487 \begin_layout Standard
2493 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2496 \begin_layout Standard
2503 <row topline="true" bottomline="true" endhead="true">
2504 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2507 \begin_layout Standard
2515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2518 \begin_layout Standard
2524 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2527 \begin_layout Standard
2536 <row topline="true" bottomline="true" endfoot="true">
2537 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2540 \begin_layout Standard
2541 continued on next page
2546 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2549 \begin_layout Standard
2555 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2558 \begin_layout Standard
2566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2569 \begin_layout Standard
2577 <cell alignment="center" valignment="top" topline="true" usebox="none">
2580 \begin_layout Standard
2586 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_layout Standard
2597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_layout Standard
2608 <cell alignment="center" valignment="top" topline="true" usebox="none">
2611 \begin_layout Standard
2617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_layout Standard
2628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2631 \begin_layout Standard
2639 <cell alignment="center" valignment="top" topline="true" usebox="none">
2642 \begin_layout Standard
2648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2651 \begin_layout Standard
2659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_layout Standard
2670 <cell alignment="center" valignment="top" topline="true" usebox="none">
2673 \begin_layout Standard
2679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2682 \begin_layout Standard
2690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2693 \begin_layout Standard
2701 <cell alignment="center" valignment="top" topline="true" usebox="none">
2704 \begin_layout Standard
2710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2713 \begin_layout Standard
2721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2724 \begin_layout Standard
2732 <cell alignment="center" valignment="top" topline="true" usebox="none">
2735 \begin_layout Standard
2741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2744 \begin_layout Standard
2752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2755 \begin_layout Standard
2763 <cell alignment="center" valignment="top" topline="true" usebox="none">
2766 \begin_layout Standard
2772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2775 \begin_layout Standard
2783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2786 \begin_layout Standard
2794 <cell alignment="center" valignment="top" topline="true" usebox="none">
2797 \begin_layout Standard
2803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_layout Standard
2814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2817 \begin_layout Standard
2825 <cell alignment="center" valignment="top" topline="true" usebox="none">
2828 \begin_layout Standard
2834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_layout Standard
2845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2848 \begin_layout Standard
2856 <cell alignment="center" valignment="top" topline="true" usebox="none">
2859 \begin_layout Standard
2865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_layout Standard
2876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_layout Standard
2887 <cell alignment="center" valignment="top" topline="true" usebox="none">
2890 \begin_layout Standard
2896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_layout Standard
2907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2910 \begin_layout Standard
2918 <cell alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_layout Standard
2927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2930 \begin_layout Standard
2938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2941 \begin_layout Standard
2949 <cell alignment="center" valignment="top" topline="true" usebox="none">
2952 \begin_layout Standard
2958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2961 \begin_layout Standard
2969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_layout Standard
2980 <cell alignment="center" valignment="top" topline="true" usebox="none">
2983 \begin_layout Standard
2989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2992 \begin_layout Standard
3000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3003 \begin_layout Standard
3011 <cell alignment="center" valignment="top" topline="true" usebox="none">
3014 \begin_layout Standard
3020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3023 \begin_layout Standard
3031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3034 \begin_layout Standard
3042 <cell alignment="center" valignment="top" topline="true" usebox="none">
3045 \begin_layout Standard
3051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_layout Standard
3062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_layout Standard
3073 <cell alignment="center" valignment="top" topline="true" usebox="none">
3076 \begin_layout Standard
3082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3085 \begin_layout Standard
3093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3096 \begin_layout Standard
3104 <cell alignment="center" valignment="top" topline="true" usebox="none">
3107 \begin_layout Standard
3113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_layout Standard
3124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3127 \begin_layout Standard
3135 <cell alignment="center" valignment="top" topline="true" usebox="none">
3138 \begin_layout Standard
3144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3147 \begin_layout Standard
3155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3158 \begin_layout Standard
3166 <cell alignment="center" valignment="top" topline="true" usebox="none">
3169 \begin_layout Standard
3175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3178 \begin_layout Standard
3186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_layout Standard
3197 <cell alignment="center" valignment="top" topline="true" usebox="none">
3200 \begin_layout Standard
3206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_layout Standard
3217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3220 \begin_layout Standard
3228 <cell alignment="center" valignment="top" topline="true" usebox="none">
3231 \begin_layout Standard
3237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3240 \begin_layout Standard
3248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3251 \begin_layout Standard
3259 <cell alignment="center" valignment="top" topline="true" usebox="none">
3262 \begin_layout Standard
3268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3271 \begin_layout Standard
3279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_layout Standard
3290 <cell alignment="center" valignment="top" topline="true" usebox="none">
3293 \begin_layout Standard
3299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3302 \begin_layout Standard
3310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3313 \begin_layout Standard
3321 <cell alignment="center" valignment="top" topline="true" usebox="none">
3324 \begin_layout Standard
3330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3333 \begin_layout Standard
3341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3344 \begin_layout Standard
3352 <cell alignment="center" valignment="top" topline="true" usebox="none">
3355 \begin_layout Standard
3361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_layout Standard
3372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3375 \begin_layout Standard
3383 <cell alignment="center" valignment="top" topline="true" usebox="none">
3386 \begin_layout Standard
3392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3395 \begin_layout Standard
3403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3406 \begin_layout Standard
3414 <cell alignment="center" valignment="top" topline="true" usebox="none">
3417 \begin_layout Standard
3423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3426 \begin_layout Standard
3434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3437 \begin_layout Standard
3445 <cell alignment="center" valignment="top" topline="true" usebox="none">
3448 \begin_layout Standard
3454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3457 \begin_layout Standard
3465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3468 \begin_layout Standard
3476 <cell alignment="center" valignment="top" topline="true" usebox="none">
3479 \begin_layout Standard
3485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3488 \begin_layout Standard
3495 <row bottomline="true">
3496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3499 \begin_layout Standard
3507 <cell alignment="center" valignment="top" topline="true" usebox="none">
3510 \begin_layout Standard
3516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3519 \begin_layout Standard
3526 <row bottomline="true">
3527 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_layout Standard
3536 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3539 \begin_layout Standard
3545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3548 \begin_layout Standard
3556 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3559 \begin_layout Standard
3567 <cell alignment="center" valignment="top" topline="true" usebox="none">
3570 \begin_layout Standard
3576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3579 \begin_layout Standard
3587 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3590 \begin_layout Standard
3598 <cell alignment="center" valignment="top" topline="true" usebox="none">
3601 \begin_layout Standard
3607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3610 \begin_layout Standard
3618 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3621 \begin_layout Standard
3629 <cell alignment="center" valignment="top" topline="true" usebox="none">
3632 \begin_layout Standard
3638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3641 \begin_layout Standard
3649 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3652 \begin_layout Standard
3660 <cell alignment="center" valignment="top" topline="true" usebox="none">
3663 \begin_layout Standard
3669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3672 \begin_layout Standard
3680 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3683 \begin_layout Standard
3691 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_layout Standard
3700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3703 \begin_layout Standard
3711 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3714 \begin_layout Standard
3722 <cell alignment="center" valignment="top" topline="true" usebox="none">
3725 \begin_layout Standard
3731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3734 \begin_layout Standard
3742 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3745 \begin_layout Standard
3753 <cell alignment="center" valignment="top" topline="true" usebox="none">
3756 \begin_layout Standard
3762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_layout Standard
3773 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3776 \begin_layout Standard
3784 <cell alignment="center" valignment="top" topline="true" usebox="none">
3787 \begin_layout Standard
3793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_layout Standard
3804 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3807 \begin_layout Standard
3815 <cell alignment="center" valignment="top" topline="true" usebox="none">
3818 \begin_layout Standard
3824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3827 \begin_layout Standard
3835 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3838 \begin_layout Standard
3846 <cell alignment="center" valignment="top" topline="true" usebox="none">
3849 \begin_layout Standard
3855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3858 \begin_layout Standard
3866 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3869 \begin_layout Standard
3877 <cell alignment="center" valignment="top" topline="true" usebox="none">
3880 \begin_layout Standard
3886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3889 \begin_layout Standard
3897 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_layout Standard
3908 <cell alignment="center" valignment="top" topline="true" usebox="none">
3911 \begin_layout Standard
3917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_layout Standard
3928 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3931 \begin_layout Standard
3939 <cell alignment="center" valignment="top" topline="true" usebox="none">
3942 \begin_layout Standard
3948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3951 \begin_layout Standard
3959 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3962 \begin_layout Standard
3970 <cell alignment="center" valignment="top" topline="true" usebox="none">
3973 \begin_layout Standard
3979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3982 \begin_layout Standard
3990 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3993 \begin_layout Standard
4001 <cell alignment="center" valignment="top" topline="true" usebox="none">
4004 \begin_layout Standard
4010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4013 \begin_layout Standard
4021 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4024 \begin_layout Standard
4032 <cell alignment="center" valignment="top" topline="true" usebox="none">
4035 \begin_layout Standard
4041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4044 \begin_layout Standard
4052 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4055 \begin_layout Standard
4063 <cell alignment="center" valignment="top" topline="true" usebox="none">
4066 \begin_layout Standard
4072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4075 \begin_layout Standard
4083 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4086 \begin_layout Standard
4094 <cell alignment="center" valignment="top" topline="true" usebox="none">
4097 \begin_layout Standard
4103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4106 \begin_layout Standard
4114 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4117 \begin_layout Standard
4125 <cell alignment="center" valignment="top" topline="true" usebox="none">
4128 \begin_layout Standard
4134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4137 \begin_layout Standard
4145 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4148 \begin_layout Standard
4156 <cell alignment="center" valignment="top" topline="true" usebox="none">
4159 \begin_layout Standard
4165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4168 \begin_layout Standard
4176 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4179 \begin_layout Standard
4187 <cell alignment="center" valignment="top" topline="true" usebox="none">
4190 \begin_layout Standard
4196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_layout Standard
4207 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4210 \begin_layout Standard
4218 <cell alignment="center" valignment="top" topline="true" usebox="none">
4221 \begin_layout Standard
4227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4230 \begin_layout Standard
4238 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4241 \begin_layout Standard
4249 <cell alignment="center" valignment="top" topline="true" usebox="none">
4252 \begin_layout Standard
4258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4261 \begin_layout Standard
4269 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4272 \begin_layout Standard
4280 <cell alignment="center" valignment="top" topline="true" usebox="none">
4283 \begin_layout Standard
4289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4292 \begin_layout Standard
4300 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4303 \begin_layout Standard
4311 <cell alignment="center" valignment="top" topline="true" usebox="none">
4314 \begin_layout Standard
4320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4323 \begin_layout Standard
4331 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4334 \begin_layout Standard
4342 <cell alignment="center" valignment="top" topline="true" usebox="none">
4345 \begin_layout Standard
4351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4354 \begin_layout Standard
4362 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4365 \begin_layout Standard
4373 <cell alignment="center" valignment="top" topline="true" usebox="none">
4376 \begin_layout Standard
4382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_layout Standard
4393 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4396 \begin_layout Standard
4404 <cell alignment="center" valignment="top" topline="true" usebox="none">
4407 \begin_layout Standard
4413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4416 \begin_layout Standard
4424 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4427 \begin_layout Standard
4435 <cell alignment="center" valignment="top" topline="true" usebox="none">
4438 \begin_layout Standard
4444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4447 \begin_layout Standard
4455 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_layout Standard
4466 <cell alignment="center" valignment="top" topline="true" usebox="none">
4469 \begin_layout Standard
4475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_layout Standard
4485 <row bottomline="true">
4486 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4489 \begin_layout Standard
4497 <cell alignment="center" valignment="top" topline="true" usebox="none">
4500 \begin_layout Standard
4506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4509 \begin_layout Standard
4516 <row bottomline="true" endlastfoot="true">
4517 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4520 \begin_layout Standard
4526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4529 \begin_layout Standard
4535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4538 \begin_layout Standard
4553 \begin_layout Standard
4557 addtocounter{table}{-1}
4563 \begin_inset Note Note
4566 \begin_layout Standard
4567 See greyed-out note in section 2.6.2 for an explanation of this command.
4575 \begin_layout Subsection
4576 Footnotes in Longtables
4577 \begin_inset LatexCommand label
4578 name "sub:Footnotes-in-Longtables"
4583 \begin_inset LatexCommand index
4584 name "Longtables ! Footnotes"
4591 \begin_layout Standard
4592 Footnotes can be inserted to every longtable cell.
4593 They appear at the bottom of the page where the table cell with the footnote
4597 \begin_inset LatexCommand ref
4598 reference "tab:DiffCaptions"
4602 has for example a footnote.
4605 \begin_layout Subsection
4607 \begin_inset LatexCommand index
4608 name "Longtables ! Captions"
4615 \begin_layout Standard
4616 A longtable cannot be put into a table float because floats can only be
4617 on one page but the caption environment of floats can also be used for
4621 \begin_layout Standard
4622 As LyX does not yet fully support captions in longtables, a hack is needed
4626 \begin_layout Enumerate
4632 \begin_layout Enumerate
4633 Mark the first row an disable its upper line.
4636 \begin_layout Enumerate
4637 Insert a caption via the menu
4639 Insert\SpecialChar \menuseparator
4642 into the first table cell.
4644 You can also add a short title for the caption.
4647 \begin_layout Enumerate
4649 \begin_inset Quotes eld
4661 \begin_inset Quotes erd
4664 as ERT behind the caption.
4667 \begin_layout Standard
4668 A short title that will appear in the LOT instead of the full title.
4677 behind the caption omits the vertical lines between the following cells
4679 The first table row is now only a dummy row for the caption, the actual
4680 table starts with the second row.
4683 \begin_layout Standard
4684 Here is a short longtable to see how it works:
4687 \begin_layout Standard
4688 \begin_inset Tabular
4689 <lyxtabular version="3" rows="6" columns="5">
4690 <features islongtable="true">
4691 <column alignment="center" valignment="top" leftline="true" width="0">
4692 <column alignment="center" valignment="top" leftline="true" width="0">
4693 <column alignment="center" valignment="top" leftline="true" width="0">
4694 <column alignment="center" valignment="top" leftline="true" width="0">
4695 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4700 \begin_layout Standard
4701 \begin_inset Caption
4703 \begin_layout Standard
4704 Longtable with caption
4708 \begin_layout Standard
4723 \begin_layout Standard
4739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4742 \begin_layout Standard
4748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4751 \begin_layout Standard
4757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4760 \begin_layout Standard
4766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4769 \begin_layout Standard
4776 <row topline="true">
4777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4780 \begin_layout Standard
4786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4789 \begin_layout Standard
4795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4798 \begin_layout Standard
4804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4807 \begin_layout Standard
4813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4816 \begin_layout Standard
4823 <row topline="true">
4824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4827 \begin_layout Standard
4833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4836 \begin_layout Standard
4842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4845 \begin_layout Standard
4851 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4854 \begin_layout Standard
4860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4863 \begin_layout Standard
4870 <row topline="true">
4871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4874 \begin_layout Standard
4880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4883 \begin_layout Standard
4889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4892 \begin_layout Standard
4898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4901 \begin_layout Standard
4907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4910 \begin_layout Standard
4917 <row topline="true">
4918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4921 \begin_layout Standard
4927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4930 \begin_layout Standard
4936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4939 \begin_layout Standard
4945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4948 \begin_layout Standard
4954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4957 \begin_layout Standard
4964 <row topline="true" bottomline="true">
4965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4968 \begin_layout Standard
4974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4977 \begin_layout Standard
4983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4986 \begin_layout Standard
4992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4995 \begin_layout Standard
5001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5004 \begin_layout Standard
5018 \begin_layout Standard
5019 \begin_inset VSpace medskip
5023 \begin_inset Note Greyedout
5026 \begin_layout Standard
5031 The table number is increased for every longtable, also if you didn't set
5033 For this reason you could have the case that e.g.
5035 2.4 follows on Table\InsetSpace ~
5036 2.1 in the list of tables if there are two longtables
5038 To avoid this you can add the following command in ERT behind every longtable
5042 \begin_layout Standard
5047 addtocounter{table}{-1}
5055 \begin_layout Standard
5056 \begin_inset Note Greyedout
5059 \begin_layout Standard
5064 If you are using the LaTeX-package
5069 \begin_inset LatexCommand index
5070 name "LaTeX-packages ! hyperref"
5074 to link cross-references, the link to a longtable caption will always point
5075 to the beginning of the document.
5083 \begin_layout Subsubsection
5084 References to Longtables
5085 \begin_inset LatexCommand index
5086 name "Longtables ! References"
5093 \begin_layout Standard
5094 \begin_inset Tabular
5095 <lyxtabular version="3" rows="6" columns="5">
5096 <features islongtable="true">
5097 <column alignment="center" valignment="top" leftline="true" width="0">
5098 <column alignment="center" valignment="top" leftline="true" width="0">
5099 <column alignment="center" valignment="top" leftline="true" width="0">
5100 <column alignment="center" valignment="top" leftline="true" width="0">
5101 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5106 \begin_layout Standard
5107 \begin_inset Caption
5109 \begin_layout Standard
5110 Referenced longtable
5111 \begin_inset LatexCommand label
5112 name "tab:RefExample"
5125 \begin_layout Standard
5141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5144 \begin_layout Standard
5150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5153 \begin_layout Standard
5159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5162 \begin_layout Standard
5168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5171 \begin_layout Standard
5178 <row topline="true">
5179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5182 \begin_layout Standard
5188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5191 \begin_layout Standard
5197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5200 \begin_layout Standard
5206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5209 \begin_layout Standard
5215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5218 \begin_layout Standard
5225 <row topline="true">
5226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5229 \begin_layout Standard
5235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5238 \begin_layout Standard
5244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5247 \begin_layout Standard
5253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5256 \begin_layout Standard
5262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5265 \begin_layout Standard
5272 <row topline="true">
5273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5276 \begin_layout Standard
5282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5285 \begin_layout Standard
5291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5294 \begin_layout Standard
5300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5303 \begin_layout Standard
5309 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5312 \begin_layout Standard
5319 <row topline="true">
5320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5323 \begin_layout Standard
5329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5332 \begin_layout Standard
5338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5341 \begin_layout Standard
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5350 \begin_layout Standard
5356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5359 \begin_layout Standard
5366 <row topline="true" bottomline="true">
5367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5370 \begin_layout Standard
5376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5379 \begin_layout Standard
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5388 \begin_layout Standard
5394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5397 \begin_layout Standard
5403 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5406 \begin_layout Standard
5420 \begin_layout Standard
5421 To reference a longtable, insert a label into the caption.
5422 Note that you have to add the label prefix
5423 \begin_inset Quotes eld
5431 \begin_inset Quotes eld
5434 manually in the label field.
5437 \begin_layout Standard
5438 This is a reference to Table\InsetSpace ~
5440 \begin_inset LatexCommand ref
5441 reference "tab:RefExample"
5448 \begin_layout Standard
5449 The caption layout can be set together with all other caption of your document
5450 using the LaTeX-package
5455 \begin_inset LatexCommand index
5456 name "LaTeX-packages ! caption"
5460 , see section\InsetSpace ~
5462 \begin_inset LatexCommand ref
5463 reference "sec:Caption-Formatting"
5470 \begin_layout Subsubsection
5472 \begin_inset LatexCommand index
5473 name "Longtables ! Caption Width"
5480 \begin_layout Standard
5481 The maximal width of of caption lines is defined by the length
5488 Its default value is 4\InsetSpace \thinspace{}
5490 To change it add the following command to your document preamble or as
5491 ERT into your document before the longtable that should be affected
5494 \begin_layout Standard
5504 \begin_layout Standard
5505 where the width could have one of the units listed in appendix\InsetSpace ~
5507 \begin_inset LatexCommand ref
5508 reference "cha:Units-available-in"
5515 \begin_layout Standard
5516 The following tables show the difference:
5519 \begin_layout Standard
5520 \begin_inset Tabular
5521 <lyxtabular version="3" rows="6" columns="5">
5522 <features islongtable="true">
5523 <column alignment="center" valignment="top" leftline="true" width="0">
5524 <column alignment="center" valignment="top" leftline="true" width="0">
5525 <column alignment="center" valignment="top" leftline="true" width="0">
5526 <column alignment="center" valignment="top" leftline="true" width="0">
5527 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5532 \begin_layout Standard
5533 \begin_inset Caption
5535 \begin_layout Standard
5536 long full title with default width long full title with default width long
5537 full title with default width
5541 \begin_layout Standard
5542 caption with default width
5556 \begin_layout Standard
5572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5575 \begin_layout Standard
5581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5584 \begin_layout Standard
5590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5593 \begin_layout Standard
5599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5602 \begin_layout Standard
5609 <row topline="true">
5610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5613 \begin_layout Standard
5619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5622 \begin_layout Standard
5628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5631 \begin_layout Standard
5637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5640 \begin_layout Standard
5646 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5649 \begin_layout Standard
5656 <row topline="true">
5657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_layout Standard
5666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_layout Standard
5675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_layout Standard
5684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5687 \begin_layout Standard
5693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5696 \begin_layout Standard
5703 <row topline="true">
5704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_layout Standard
5713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_layout Standard
5722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_layout Standard
5731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_layout Standard
5740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5743 \begin_layout Standard
5750 <row topline="true">
5751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_layout Standard
5760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_layout Standard
5769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_layout Standard
5778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5781 \begin_layout Standard
5787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5790 \begin_layout Standard
5797 <row topline="true" bottomline="true">
5798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_layout Standard
5807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5810 \begin_layout Standard
5816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_layout Standard
5825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5828 \begin_layout Standard
5834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5837 \begin_layout Standard
5851 \begin_layout Standard
5855 \begin_layout Standard
5867 \begin_inset Tabular
5868 <lyxtabular version="3" rows="6" columns="5">
5869 <features islongtable="true">
5870 <column alignment="center" valignment="top" leftline="true" width="0">
5871 <column alignment="center" valignment="top" leftline="true" width="0">
5872 <column alignment="center" valignment="top" leftline="true" width="0">
5873 <column alignment="center" valignment="top" leftline="true" width="0">
5874 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_layout Standard
5880 \begin_inset Caption
5882 \begin_layout Standard
5883 long full title with width set to 5\InsetSpace \thinspace{}
5884 cm long full title with width set to
5885 5\InsetSpace \thinspace{}
5886 cm long full title with width set to 5\InsetSpace \thinspace{}
5891 \begin_layout Standard
5892 caption with width\InsetSpace \thinspace{}
5893 =\InsetSpace \thinspace{}
5894 5\InsetSpace \thinspace{}
5909 \begin_layout Standard
5925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5928 \begin_layout Standard
5934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5937 \begin_layout Standard
5943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5946 \begin_layout Standard
5952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5955 \begin_layout Standard
5962 <row topline="true">
5963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5966 \begin_layout Standard
5972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5975 \begin_layout Standard
5981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5984 \begin_layout Standard
5990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5993 \begin_layout Standard
5999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6002 \begin_layout Standard
6009 <row topline="true">
6010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6013 \begin_layout Standard
6019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6022 \begin_layout Standard
6028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6031 \begin_layout Standard
6037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6040 \begin_layout Standard
6046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6049 \begin_layout Standard
6056 <row topline="true">
6057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6060 \begin_layout Standard
6066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6069 \begin_layout Standard
6075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6078 \begin_layout Standard
6084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6087 \begin_layout Standard
6093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6096 \begin_layout Standard
6103 <row topline="true">
6104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6107 \begin_layout Standard
6113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6116 \begin_layout Standard
6122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6125 \begin_layout Standard
6131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6134 \begin_layout Standard
6140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6143 \begin_layout Standard
6150 <row topline="true" bottomline="true">
6151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6154 \begin_layout Standard
6160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6163 \begin_layout Standard
6169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6172 \begin_layout Standard
6178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6181 \begin_layout Standard
6187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6190 \begin_layout Standard
6205 \begin_layout Standard
6219 \begin_layout Standard
6223 \begin_layout Subsubsection
6224 Different Captions for Table Pages
6225 \begin_inset LatexCommand index
6226 name "Longtables ! Different Captions for Pages"
6233 \begin_layout Standard
6234 When the other captions should differ from the one of the first table page,
6235 insert a caption with a non-empty short title in a dummy caption row marked
6237 The caption used for the other table pages is inserted as caption without
6238 a short title in a dummy caption row that is marked as main header.
6239 When this caption shouldn't include the table number, use the command
6242 \begin_layout Standard
6247 caption*{caption text}
6250 \begin_layout Standard
6251 instead of LyX's caption box.
6252 The label to reference the table is inserted into the caption of the first
6256 \begin_inset LatexCommand ref
6257 reference "tab:DiffCaptions"
6261 is an example for a longtable with different heading where the second caption
6262 doesn't include the table number.
6265 \begin_layout Standard
6267 \begin_inset Tabular
6268 <lyxtabular version="3" rows="60" columns="3">
6269 <features islongtable="true">
6270 <column alignment="left" valignment="top" leftline="true" width="0cm">
6271 <column alignment="left" valignment="top" rightline="true" width="0pt">
6272 <column alignment="right" valignment="top" rightline="true" width="0pt">
6273 <row endfirsthead="true">
6274 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6277 \begin_layout Standard
6278 \begin_inset Caption
6280 \begin_layout Standard
6282 \begin_inset LatexCommand label
6283 name "tab:DiffCaptions"
6291 \begin_layout Standard
6306 \begin_layout Standard
6322 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6325 \begin_layout Standard
6331 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6334 \begin_layout Standard
6341 <row topline="true" bottomline="true" endfirsthead="true">
6342 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6345 \begin_layout Standard
6348 Example Phone List (ignore the names)
6353 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6356 \begin_layout Standard
6362 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6365 \begin_layout Standard
6372 <row topline="true" bottomline="true" endfirsthead="true">
6373 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6376 \begin_layout Standard
6384 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6387 \begin_layout Standard
6393 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6396 \begin_layout Standard
6405 <row bottomline="true" endhead="true">
6406 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6409 \begin_layout Standard
6413 \begin_layout Standard
6417 caption*{Continued Example Phone List}
6431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6434 \begin_layout Standard
6440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6443 \begin_layout Standard
6450 <row topline="true" bottomline="true" endhead="true">
6451 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6454 \begin_layout Standard
6462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6465 \begin_layout Standard
6471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6474 \begin_layout Standard
6481 <row topline="true" bottomline="true" endhead="true">
6482 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6485 \begin_layout Standard
6493 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6496 \begin_layout Standard
6502 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6505 \begin_layout Standard
6514 <row topline="true" bottomline="true" endfoot="true">
6515 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6518 \begin_layout Standard
6519 continued on next page
6524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6527 \begin_layout Standard
6533 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6536 \begin_layout Standard
6544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6547 \begin_layout Standard
6555 <cell alignment="center" valignment="top" topline="true" usebox="none">
6558 \begin_layout Standard
6564 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6567 \begin_layout Standard
6575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_layout Standard
6586 <cell alignment="center" valignment="top" topline="true" usebox="none">
6589 \begin_layout Standard
6595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6598 \begin_layout Standard
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6609 \begin_layout Standard
6617 <cell alignment="center" valignment="top" topline="true" usebox="none">
6620 \begin_layout Standard
6626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6629 \begin_layout Standard
6637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6640 \begin_layout Standard
6648 <cell alignment="center" valignment="top" topline="true" usebox="none">
6651 \begin_layout Standard
6657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6660 \begin_layout Standard
6668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6671 \begin_layout Standard
6679 <cell alignment="center" valignment="top" topline="true" usebox="none">
6682 \begin_layout Standard
6688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6691 \begin_layout Standard
6699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6702 \begin_layout Standard
6710 <cell alignment="center" valignment="top" topline="true" usebox="none">
6713 \begin_layout Standard
6719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6722 \begin_layout Standard
6730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6733 \begin_layout Standard
6741 <cell alignment="center" valignment="top" topline="true" usebox="none">
6744 \begin_layout Standard
6750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6753 \begin_layout Standard
6761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6764 \begin_layout Standard
6772 <cell alignment="center" valignment="top" topline="true" usebox="none">
6775 \begin_layout Standard
6781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6784 \begin_layout Standard
6792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6795 \begin_layout Standard
6803 <cell alignment="center" valignment="top" topline="true" usebox="none">
6806 \begin_layout Standard
6812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6815 \begin_layout Standard
6823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6826 \begin_layout Standard
6834 <cell alignment="center" valignment="top" topline="true" usebox="none">
6837 \begin_layout Standard
6843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6846 \begin_layout Standard
6854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6857 \begin_layout Standard
6865 <cell alignment="center" valignment="top" topline="true" usebox="none">
6868 \begin_layout Standard
6874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6877 \begin_layout Standard
6885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6888 \begin_layout Standard
6896 <cell alignment="center" valignment="top" topline="true" usebox="none">
6899 \begin_layout Standard
6905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6908 \begin_layout Standard
6916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6919 \begin_layout Standard
6927 <cell alignment="center" valignment="top" topline="true" usebox="none">
6930 \begin_layout Standard
6936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6939 \begin_layout Standard
6947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6950 \begin_layout Standard
6958 <cell alignment="center" valignment="top" topline="true" usebox="none">
6961 \begin_layout Standard
6967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6970 \begin_layout Standard
6978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6981 \begin_layout Standard
6990 \begin_layout Standard
7001 <cell alignment="center" valignment="top" topline="true" usebox="none">
7004 \begin_layout Standard
7010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7013 \begin_layout Standard
7021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7024 \begin_layout Standard
7032 <cell alignment="center" valignment="top" topline="true" usebox="none">
7035 \begin_layout Standard
7041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7044 \begin_layout Standard
7052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7055 \begin_layout Standard
7063 <cell alignment="center" valignment="top" topline="true" usebox="none">
7066 \begin_layout Standard
7072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7075 \begin_layout Standard
7083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7086 \begin_layout Standard
7094 <cell alignment="center" valignment="top" topline="true" usebox="none">
7097 \begin_layout Standard
7103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7106 \begin_layout Standard
7114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7117 \begin_layout Standard
7125 <cell alignment="center" valignment="top" topline="true" usebox="none">
7128 \begin_layout Standard
7134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7137 \begin_layout Standard
7145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7148 \begin_layout Standard
7156 <cell alignment="center" valignment="top" topline="true" usebox="none">
7159 \begin_layout Standard
7165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7168 \begin_layout Standard
7176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7179 \begin_layout Standard
7187 <cell alignment="center" valignment="top" topline="true" usebox="none">
7190 \begin_layout Standard
7196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7199 \begin_layout Standard
7207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7210 \begin_layout Standard
7218 <cell alignment="center" valignment="top" topline="true" usebox="none">
7221 \begin_layout Standard
7227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7230 \begin_layout Standard
7238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7241 \begin_layout Standard
7249 <cell alignment="center" valignment="top" topline="true" usebox="none">
7252 \begin_layout Standard
7258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7261 \begin_layout Standard
7269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7272 \begin_layout Standard
7280 <cell alignment="center" valignment="top" topline="true" usebox="none">
7283 \begin_layout Standard
7289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7292 \begin_layout Standard
7300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7303 \begin_layout Standard
7311 <cell alignment="center" valignment="top" topline="true" usebox="none">
7314 \begin_layout Standard
7320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7323 \begin_layout Standard
7331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7334 \begin_layout Standard
7342 <cell alignment="center" valignment="top" topline="true" usebox="none">
7345 \begin_layout Standard
7351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7354 \begin_layout Standard
7362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7365 \begin_layout Standard
7373 <cell alignment="center" valignment="top" topline="true" usebox="none">
7376 \begin_layout Standard
7382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7385 \begin_layout Standard
7393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7396 \begin_layout Standard
7404 <cell alignment="center" valignment="top" topline="true" usebox="none">
7407 \begin_layout Standard
7413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7416 \begin_layout Standard
7424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7427 \begin_layout Standard
7435 <cell alignment="center" valignment="top" topline="true" usebox="none">
7438 \begin_layout Standard
7444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7447 \begin_layout Standard
7455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7458 \begin_layout Standard
7466 <cell alignment="center" valignment="top" topline="true" usebox="none">
7469 \begin_layout Standard
7475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7478 \begin_layout Standard
7485 <row bottomline="true">
7486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7489 \begin_layout Standard
7497 <cell alignment="center" valignment="top" topline="true" usebox="none">
7500 \begin_layout Standard
7506 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7509 \begin_layout Standard
7516 <row bottomline="true">
7517 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7520 \begin_layout Standard
7526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7529 \begin_layout Standard
7535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7538 \begin_layout Standard
7546 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7549 \begin_layout Standard
7557 <cell alignment="center" valignment="top" topline="true" usebox="none">
7560 \begin_layout Standard
7566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7569 \begin_layout Standard
7577 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7580 \begin_layout Standard
7588 <cell alignment="center" valignment="top" topline="true" usebox="none">
7591 \begin_layout Standard
7597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7600 \begin_layout Standard
7608 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7611 \begin_layout Standard
7619 <cell alignment="center" valignment="top" topline="true" usebox="none">
7622 \begin_layout Standard
7628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7631 \begin_layout Standard
7639 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7642 \begin_layout Standard
7650 <cell alignment="center" valignment="top" topline="true" usebox="none">
7653 \begin_layout Standard
7659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7662 \begin_layout Standard
7670 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7673 \begin_layout Standard
7681 <cell alignment="center" valignment="top" topline="true" usebox="none">
7684 \begin_layout Standard
7690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7693 \begin_layout Standard
7701 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7704 \begin_layout Standard
7712 <cell alignment="center" valignment="top" topline="true" usebox="none">
7715 \begin_layout Standard
7721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7724 \begin_layout Standard
7732 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7735 \begin_layout Standard
7743 <cell alignment="center" valignment="top" topline="true" usebox="none">
7746 \begin_layout Standard
7752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7755 \begin_layout Standard
7763 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7766 \begin_layout Standard
7774 <cell alignment="center" valignment="top" topline="true" usebox="none">
7777 \begin_layout Standard
7783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7786 \begin_layout Standard
7794 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7797 \begin_layout Standard
7805 <cell alignment="center" valignment="top" topline="true" usebox="none">
7808 \begin_layout Standard
7814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7817 \begin_layout Standard
7825 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7828 \begin_layout Standard
7836 <cell alignment="center" valignment="top" topline="true" usebox="none">
7839 \begin_layout Standard
7845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7848 \begin_layout Standard
7856 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7859 \begin_layout Standard
7867 <cell alignment="center" valignment="top" topline="true" usebox="none">
7870 \begin_layout Standard
7876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7879 \begin_layout Standard
7887 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7890 \begin_layout Standard
7898 <cell alignment="center" valignment="top" topline="true" usebox="none">
7901 \begin_layout Standard
7907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7910 \begin_layout Standard
7918 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7921 \begin_layout Standard
7929 <cell alignment="center" valignment="top" topline="true" usebox="none">
7932 \begin_layout Standard
7938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7941 \begin_layout Standard
7949 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7952 \begin_layout Standard
7960 <cell alignment="center" valignment="top" topline="true" usebox="none">
7963 \begin_layout Standard
7969 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7972 \begin_layout Standard
7980 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7983 \begin_layout Standard
7991 <cell alignment="center" valignment="top" topline="true" usebox="none">
7994 \begin_layout Standard
8000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8003 \begin_layout Standard
8011 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8014 \begin_layout Standard
8022 <cell alignment="center" valignment="top" topline="true" usebox="none">
8025 \begin_layout Standard
8031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8034 \begin_layout Standard
8042 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8045 \begin_layout Standard
8053 <cell alignment="center" valignment="top" topline="true" usebox="none">
8056 \begin_layout Standard
8062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8065 \begin_layout Standard
8073 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8076 \begin_layout Standard
8084 <cell alignment="center" valignment="top" topline="true" usebox="none">
8087 \begin_layout Standard
8093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8096 \begin_layout Standard
8104 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8107 \begin_layout Standard
8115 <cell alignment="center" valignment="top" topline="true" usebox="none">
8118 \begin_layout Standard
8124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8127 \begin_layout Standard
8134 <row bottomline="true">
8135 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8138 \begin_layout Standard
8146 <cell alignment="center" valignment="top" topline="true" usebox="none">
8149 \begin_layout Standard
8155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8158 \begin_layout Standard
8165 <row bottomline="true" endlastfoot="true">
8166 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8169 \begin_layout Standard
8175 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8178 \begin_layout Standard
8184 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8187 \begin_layout Standard
8201 \begin_layout Section
8202 Special Longtable Issues
8203 \begin_inset LatexCommand label
8204 name "sec:Special-Longtable-Issues"
8211 \begin_layout Subsection
8212 Longtable Calculation
8213 \begin_inset LatexCommand index
8214 name "Longtables ! Calculation"
8221 \begin_layout Standard
8222 LaTeX calculates the height of table pages and their page breaks using so
8224 Chunks are pieces of the tables that are at once in LaTeX's memory.
8225 The default value is historically set to only 20 table rows.
8226 If you are using longtables with many pages this may slow down the creation
8228 You can safely increase the chunk size to values of 100-1000 by adding
8229 this command line to your document preamble:
8232 \begin_layout Standard
8237 setcounter{LTchunksize}{100}
8240 \begin_layout Subsection
8241 Floats and Longtables
8242 \begin_inset LatexCommand index
8243 name "Longtables ! Floats"
8250 \begin_layout Standard
8251 There might be problems when a float appears on the same page where a longtable
8253 To avoid such situation, add the command
8259 as ERT before your longtable.
8262 \begin_layout Subsection
8264 \begin_inset LatexCommand index
8265 name "Longtables ! Forced Page Breaks"
8272 \begin_layout Standard
8273 By default tables are only broken between rows.
8274 If you have a cell with multiples lines and want to have a page break within
8275 the cell, insert the new line command
8276 \begin_inset Quotes eld
8288 \begin_inset Quotes erd
8291 as ERT at this point of the cell where it should be broken.
8300 command you have to insert in ERT so many
8301 \begin_inset Quotes eld
8309 \begin_inset Quotes erd
8312 characters like the number of the following table columns.
8317 is the character to separate table cells.
8318 Write in ERT after each
8322 the content of the corresponding following cell and delete the content
8333 command, insert so many
8337 characters like the number of table columns before the current column.
8338 In Table\InsetSpace ~
8340 \begin_inset LatexCommand ref
8341 reference "tab:ForcedPagebreak"
8345 the cell that should be broken is in the second column followed by another
8347 Therefore the following command was inserted in the cell as ERT behind
8349 \begin_inset Quotes eld
8357 \begin_inset Quotes erd
8363 \begin_layout Standard
8375 \begin_layout Standard
8377 \begin_inset Quotes eld
8381 \begin_inset Quotes erd
8384 in the third columns of the row was deleted.
8385 If your footer row of the longtable has for a certain reason no upper line
8386 but you would have a horizontal line where the cell is broken, use this
8390 \begin_layout Standard
8404 \begin_layout Standard
8405 When the cell to be broken is in the last column, the command
8408 \begin_layout Standard
8415 parf\SpecialChar \textcompwordmark{}
8419 \begin_layout Standard
8420 must be inserted as ERT at the beginning of the cell.
8421 This assures that the part of the cell that will be displayed on the new
8422 page appears with the full width.
8426 \begin_layout Standard
8428 \begin_inset Tabular
8429 <lyxtabular version="3" rows="39" columns="3">
8430 <features islongtable="true">
8431 <column alignment="left" valignment="top" leftline="true" width="0cm">
8432 <column alignment="left" valignment="top" rightline="true" width="3cm">
8433 <column alignment="right" valignment="top" rightline="true" width="0pt">
8434 <row endfirsthead="true">
8435 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8438 \begin_layout Standard
8439 \begin_inset Caption
8441 \begin_layout Standard
8442 Table with forced page break in table cell
8443 \begin_inset LatexCommand label
8444 name "tab:ForcedPagebreak"
8452 \begin_layout Standard
8453 Table with forced page break in table cell
8467 \begin_layout Standard
8483 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8486 \begin_layout Standard
8492 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8495 \begin_layout Standard
8502 <row topline="true" bottomline="true" endfirsthead="true">
8503 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8506 \begin_layout Standard
8509 Example Phone List (ignore the names)
8514 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8517 \begin_layout Standard
8523 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8526 \begin_layout Standard
8533 <row topline="true" bottomline="true" endfirsthead="true">
8534 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8537 \begin_layout Standard
8545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8548 \begin_layout Standard
8554 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8557 \begin_layout Standard
8566 <row bottomline="true" endhead="true">
8567 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8570 \begin_layout Standard
8574 \begin_layout Standard
8578 caption*{Continued table with forced page break in table cell}
8592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8595 \begin_layout Standard
8601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8604 \begin_layout Standard
8611 <row topline="true" bottomline="true" endhead="true">
8612 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8615 \begin_layout Standard
8623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8626 \begin_layout Standard
8632 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8635 \begin_layout Standard
8642 <row topline="true" bottomline="true" endhead="true">
8643 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8646 \begin_layout Standard
8654 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8657 \begin_layout Standard
8663 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8666 \begin_layout Standard
8675 <row topline="true" bottomline="true" endfoot="true">
8676 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8679 \begin_layout Standard
8680 continued on next page
8685 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8688 \begin_layout Standard
8694 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8697 \begin_layout Standard
8705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8708 \begin_layout Standard
8716 <cell alignment="center" valignment="top" topline="true" usebox="none">
8719 \begin_layout Standard
8725 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8728 \begin_layout Standard
8736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8739 \begin_layout Standard
8747 <cell alignment="center" valignment="top" topline="true" usebox="none">
8750 \begin_layout Standard
8756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8759 \begin_layout Standard
8767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8770 \begin_layout Standard
8778 <cell alignment="center" valignment="top" topline="true" usebox="none">
8781 \begin_layout Standard
8787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8790 \begin_layout Standard
8798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8801 \begin_layout Standard
8809 <cell alignment="center" valignment="top" topline="true" usebox="none">
8812 \begin_layout Standard
8818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8821 \begin_layout Standard
8829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8832 \begin_layout Standard
8840 <cell alignment="center" valignment="top" topline="true" usebox="none">
8843 \begin_layout Standard
8849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8852 \begin_layout Standard
8860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8863 \begin_layout Standard
8871 <cell alignment="center" valignment="top" topline="true" usebox="none">
8874 \begin_layout Standard
8880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8883 \begin_layout Standard
8891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8894 \begin_layout Standard
8902 <cell alignment="center" valignment="top" topline="true" usebox="none">
8905 \begin_layout Standard
8911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8914 \begin_layout Standard
8922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8925 \begin_layout Standard
8933 <cell alignment="center" valignment="top" topline="true" usebox="none">
8936 \begin_layout Standard
8942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8945 \begin_layout Standard
8953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8956 \begin_layout Standard
8964 <cell alignment="center" valignment="top" topline="true" usebox="none">
8967 \begin_layout Standard
8973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8976 \begin_layout Standard
8984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8987 \begin_layout Standard
8995 <cell alignment="center" valignment="top" topline="true" usebox="none">
8998 \begin_layout Standard
9004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9007 \begin_layout Standard
9015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9018 \begin_layout Standard
9026 <cell alignment="center" valignment="top" topline="true" usebox="none">
9029 \begin_layout Standard
9035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9038 \begin_layout Standard
9046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9049 \begin_layout Standard
9057 <cell alignment="center" valignment="top" topline="true" usebox="none">
9060 \begin_layout Standard
9066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9069 \begin_layout Standard
9077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9080 \begin_layout Standard
9088 <cell alignment="center" valignment="top" topline="true" usebox="none">
9091 \begin_layout Standard
9097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9100 \begin_layout Standard
9108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9111 \begin_layout Standard
9119 <cell alignment="center" valignment="top" topline="true" usebox="none">
9122 \begin_layout Standard
9128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9131 \begin_layout Standard
9139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9142 \begin_layout Standard
9150 <cell alignment="center" valignment="top" topline="true" usebox="none">
9153 \begin_layout Standard
9159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9162 \begin_layout Standard
9170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9173 \begin_layout Standard
9181 <cell alignment="center" valignment="top" topline="true" usebox="none">
9184 \begin_layout Standard
9190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9193 \begin_layout Standard
9201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9204 \begin_layout Standard
9212 <cell alignment="center" valignment="top" topline="true" usebox="none">
9215 \begin_layout Standard
9221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9224 \begin_layout Standard
9232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9235 \begin_layout Standard
9243 <cell alignment="center" valignment="top" topline="true" usebox="none">
9246 \begin_layout Standard
9252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9255 \begin_layout Standard
9263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9266 \begin_layout Standard
9274 <cell alignment="center" valignment="top" topline="true" usebox="none">
9277 \begin_layout Standard
9283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9286 \begin_layout Standard
9294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9297 \begin_layout Standard
9305 <cell alignment="center" valignment="top" topline="true" usebox="none">
9308 \begin_layout Standard
9314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9317 \begin_layout Standard
9325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9328 \begin_layout Standard
9336 <cell alignment="center" valignment="top" topline="true" usebox="none">
9339 \begin_layout Standard
9345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9348 \begin_layout Standard
9356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9359 \begin_layout Standard
9367 <cell alignment="center" valignment="top" topline="true" usebox="none">
9370 \begin_layout Standard
9376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9379 \begin_layout Standard
9387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9390 \begin_layout Standard
9398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9401 \begin_layout Standard
9403 Fürst von Montecompatri, 11.
9404 Fürst von Sulmona und Vivaro, 10.
9405 Fürst von Rossano, 5.
9406 Herzog von Canemorte, 11.
9407 Herzog von Palombara, 5.
9408 Herzog von Castelchiodato,
9412 \begin_layout Standard
9421 \begin_layout Standard
9429 Herzog von Poggionativo, 11.
9430 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9431 Graf von Valinfreda, 11.
9432 Baron von Cropalati, 11.
9433 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9441 \begin_layout Standard
9449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9452 \begin_layout Standard
9460 <cell alignment="center" valignment="top" topline="true" usebox="none">
9463 \begin_layout Standard
9469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9472 \begin_layout Standard
9480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9483 \begin_layout Standard
9491 <cell alignment="center" valignment="top" topline="true" usebox="none">
9494 \begin_layout Standard
9500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9503 \begin_layout Standard
9511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9514 \begin_layout Standard
9522 <cell alignment="center" valignment="top" topline="true" usebox="none">
9525 \begin_layout Standard
9531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9534 \begin_layout Standard
9542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9545 \begin_layout Standard
9553 <cell alignment="center" valignment="top" topline="true" usebox="none">
9556 \begin_layout Standard
9562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9565 \begin_layout Standard
9573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9576 \begin_layout Standard
9584 <cell alignment="center" valignment="top" topline="true" usebox="none">
9587 \begin_layout Standard
9593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9596 \begin_layout Standard
9604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9607 \begin_layout Standard
9615 <cell alignment="center" valignment="top" topline="true" usebox="none">
9618 \begin_layout Standard
9624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9627 \begin_layout Standard
9635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9638 \begin_layout Standard
9646 <cell alignment="center" valignment="top" topline="true" usebox="none">
9649 \begin_layout Standard
9655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9658 \begin_layout Standard
9665 <row bottomline="true">
9666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9669 \begin_layout Standard
9677 <cell alignment="center" valignment="top" topline="true" usebox="none">
9680 \begin_layout Standard
9686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9689 \begin_layout Standard
9696 <row endlastfoot="true">
9697 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9700 \begin_layout Standard
9706 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9709 \begin_layout Standard
9715 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9718 \begin_layout Standard
9732 \begin_layout Section
9733 Multiple Lines Columns and Rows
9736 \begin_layout Subsection
9737 Multiple Lines in Table Cells
9738 \begin_inset LatexCommand label
9739 name "sub:Multiple-Lines-in"
9744 \begin_inset LatexCommand index
9745 name "Multiple Lines in Table Cells"
9750 \begin_inset LatexCommand index
9751 name "Table ! Linebreaks"
9758 \begin_layout Standard
9760 \begin_inset Float table
9766 \begin_layout Standard
9767 \begin_inset Caption
9769 \begin_layout Standard
9770 \begin_inset LatexCommand label
9771 name "tab:Table-with-multiple"
9775 Table with multiple lines in cells
9783 \begin_layout Standard
9785 \begin_inset Tabular
9786 <lyxtabular version="3" rows="3" columns="3">
9788 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9789 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9790 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9791 <row topline="true">
9792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9795 \begin_layout Standard
9800 \begin_layout Standard
9814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9817 \begin_layout Standard
9823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9826 \begin_layout Standard
9833 <row topline="true">
9834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9837 \begin_layout Standard
9843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9846 \begin_layout Standard
9852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9855 \begin_layout Standard
9862 <row topline="true" bottomline="true">
9863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9866 \begin_layout Standard
9872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9875 \begin_layout Standard
9881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9884 \begin_layout Standard
9903 \begin_layout Standard
9904 Adjusting a fixed width for a column, enables to enter text as a paragraph
9905 with multiple lines and hyphenations.
9908 \begin_layout Standard
9909 To produce Table\InsetSpace ~
9911 \begin_inset LatexCommand ref
9912 reference "tab:Table-with-multiple"
9916 , create a 3×3 table, mark the first cell and right-click on it.
9917 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9918 cm and choose centered
9919 for the vertical and horizontal alignment.
9920 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9921 cm, only one line will appear.
9922 To get two lines, we add a line break with the command
9925 \begin_layout Standard
9933 \begin_layout Standard
9935 If the text is wider than the set cell width it will automatically be broken
9939 \begin_layout Standard
9940 To center the text inside the two other cells of the first row vertically,
9941 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9943 centered alignments.
9944 Then do the same for the third cell of the row.
9947 \begin_layout Standard
9948 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9949 by LaTeX if it is the first entry.
9950 Therefore you need to insert something, to make the word not being the
9951 first entry: Add the command
9954 \begin_layout Standard
9962 \begin_layout Standard
9963 in ERT before the word.
9964 As the space is zero, it doesn't change the output.
9967 \begin_inset LatexCommand ref
9968 reference "tab:Table-with-and"
9975 \begin_layout Standard
9976 \begin_inset Float table
9981 \begin_layout Standard
9982 \begin_inset Caption
9984 \begin_layout Standard
9985 \begin_inset LatexCommand label
9986 name "tab:Table-with-and"
9990 Table with and without hyphenation
9998 \begin_layout Standard
10002 \begin_inset Tabular
10003 <lyxtabular version="3" rows="3" columns="3">
10005 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10006 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10007 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10008 <row topline="true">
10009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10012 \begin_layout Standard
10013 verylongtablecellword
10018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10021 \begin_layout Standard
10027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10030 \begin_layout Standard
10037 <row topline="true">
10038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10041 \begin_layout Standard
10047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10050 \begin_layout Standard
10056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10059 \begin_layout Standard
10066 <row topline="true" bottomline="true">
10067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10070 \begin_layout Standard
10076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10079 \begin_layout Standard
10085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10088 \begin_layout Standard
10102 \begin_inset Tabular
10103 <lyxtabular version="3" rows="3" columns="3">
10105 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10106 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10107 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10108 <row topline="true">
10109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10112 \begin_layout Standard
10116 \begin_layout Standard
10125 verylongtablecellword
10130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10133 \begin_layout Standard
10139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10142 \begin_layout Standard
10149 <row topline="true">
10150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10153 \begin_layout Standard
10159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10162 \begin_layout Standard
10168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10171 \begin_layout Standard
10178 <row topline="true" bottomline="true">
10179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10182 \begin_layout Standard
10188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10191 \begin_layout Standard
10197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10200 \begin_layout Standard
10221 \begin_layout Standard
10227 \begin_layout Subsection
10229 \begin_inset LatexCommand label
10230 name "sub:Multicolumns"
10235 \begin_inset LatexCommand index
10236 name "Multicolumns"
10241 \begin_inset LatexCommand index
10242 name "Table ! Multicolumns"
10249 \begin_layout Subsubsection
10253 \begin_layout Standard
10254 To span a cell over multiple columns, mark as much cells within a line that
10255 should be one spanned cell and use either the table-toolbar button
10256 \begin_inset Graphics
10257 filename ../images/tabular-feature_multicolumn.xpm
10264 Edit\SpecialChar \menuseparator
10265 Table\SpecialChar \menuseparator
10268 , or right click on the marked cells and choose multicolumn in the appearing
10269 table dialog under the tab
10276 \begin_layout Standard
10277 Multicolumns have there own cell settings.
10278 That means changing cell borders, cell alignment, and the width only affects
10280 Here is an example table with a multicolumn cell in the first row and one
10281 in the last row without the upper border:
10284 \begin_layout Standard
10286 \begin_inset Tabular
10287 <lyxtabular version="3" rows="3" columns="4">
10288 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10289 <column alignment="center" valignment="top" leftline="true" width="0pt">
10290 <column alignment="center" valignment="middle" leftline="true" width="0">
10291 <column alignment="center" valignment="top" leftline="true" width="0in">
10292 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10293 <row topline="true" bottomline="true">
10294 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10297 \begin_layout Standard
10303 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10306 \begin_layout Standard
10316 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10319 \begin_layout Standard
10325 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10328 \begin_layout Standard
10335 <row topline="true">
10336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10339 \begin_layout Standard
10354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10357 \begin_layout Standard
10363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10366 \begin_layout Standard
10372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10375 \begin_layout Standard
10382 <row topline="true" bottomline="true">
10383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10386 \begin_layout Standard
10392 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10395 \begin_layout Standard
10401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10404 \begin_layout Standard
10410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10413 \begin_layout Standard
10427 \begin_layout Subsubsection
10428 Multicolumn Calculations
10429 \begin_inset LatexCommand label
10430 name "sub:Multicolumn-Calculations"
10435 \begin_inset LatexCommand index
10436 name "Multicolumns ! Calculations"
10443 \begin_layout Standard
10444 LyX supports multicolumns directly, but we have to take notice of the cell
10445 width of the columns spanned by the multicolumn cell.
10448 \begin_layout Standard
10449 \begin_inset Float table
10454 \begin_layout Standard
10455 \begin_inset Caption
10457 \begin_layout Standard
10458 \begin_inset LatexCommand label
10459 name "tab:Table-with-centered"
10463 Table with centered multicolumn text above two columns that have exactly
10464 half the width of the multicolumn cell
10465 \begin_inset OptArg
10468 \begin_layout Standard
10469 Perfect multicolumn table
10482 \begin_layout Standard
10484 \begin_inset Tabular
10485 <lyxtabular version="3" rows="3" columns="3">
10487 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10488 <column alignment="center" valignment="middle" leftline="true" width="0">
10489 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10490 <row topline="true">
10491 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10494 \begin_layout Standard
10495 multiple lines multicolumn
10500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10503 \begin_layout Standard
10509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10512 \begin_layout Standard
10519 <row topline="true">
10520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10523 \begin_layout Standard
10529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10532 \begin_layout Standard
10538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10541 \begin_layout Standard
10548 <row topline="true" bottomline="true">
10549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10552 \begin_layout Standard
10558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10561 \begin_layout Standard
10567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10570 \begin_layout Standard
10589 \begin_layout Standard
10590 To create for example Table\InsetSpace ~
10592 \begin_inset LatexCommand ref
10593 reference "tab:Table-with-centered"
10597 , mark the first two cells in the first row a 3×3 table and right-click
10599 Now choose for this cell
10607 and a width of 2.5\InsetSpace \thinspace{}
10608 cm in the table dialog.
10609 The spanned columns should have exactly half the width of the multicolumn
10610 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10611 cm for the first column.
10612 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10614 width - width of first column).
10615 This was done for Table\InsetSpace ~
10617 \begin_inset LatexCommand ref
10618 reference "tab:Table-without-half"
10625 \begin_layout Standard
10626 \begin_inset Float table
10631 \begin_layout Standard
10632 \begin_inset Caption
10634 \begin_layout Standard
10635 \begin_inset LatexCommand label
10636 name "tab:Table-without-half"
10640 Table where the spanned table columns have not exactly half the width of
10641 the multicolumn cell
10642 \begin_inset OptArg
10645 \begin_layout Standard
10646 Imperfect multicolumn table
10659 \begin_layout Standard
10661 \begin_inset Tabular
10662 <lyxtabular version="3" rows="3" columns="3">
10664 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10665 <column alignment="center" valignment="top" leftline="true" width="0">
10666 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10667 <row topline="true" bottomline="true">
10668 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10671 \begin_layout Standard
10672 multiple lines multicolumn
10677 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10680 \begin_layout Standard
10686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10689 \begin_layout Standard
10696 <row topline="true">
10697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10700 \begin_layout Standard
10706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10709 \begin_layout Standard
10715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10718 \begin_layout Standard
10725 <row topline="true" bottomline="true">
10726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10729 \begin_layout Standard
10735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10738 \begin_layout Standard
10744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10747 \begin_layout Standard
10766 \begin_layout Standard
10767 You can see that the first column has not the half width of the multicolumn
10768 cell, it is a bit bigger.
10769 The reason is that the given width of a cell
10770 \begin_inset Formula $W_{g}$
10773 is not its total width
10774 \begin_inset Formula $W_{\mathrm{tot}}$
10777 because a cell is always a bit larger than its given width.
10778 Appendix\InsetSpace ~
10780 \begin_inset LatexCommand eqref
10781 reference "cha:Explanation-of-Equation"
10785 explains it in detail.
10788 \begin_layout Standard
10789 The needed given width
10790 \begin_inset Formula $W_{g\, n}$
10797 columns are spanned columns can be calculated, so that each column has
10799 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10803 \begin_inset Formula \begin{equation}
10804 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10811 \begin_layout Standard
10812 In our case we have
10813 \begin_inset Formula $n=2$
10817 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10820 cm and the default values for the lengths, so that equation
10821 \begin_inset LatexCommand ref
10827 \begin_inset Formula \begin{equation}
10828 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10835 \begin_layout Standard
10836 To enable calculations in LaTeX, the LaTeX-package
10840 must be loaded with the document preamble line
10841 \begin_inset LatexCommand index
10842 name "LaTeX-packages ! calc"
10849 \begin_layout Standard
10857 \begin_layout Standard
10858 LyX does not allow to calculate lengths in the width-field of the table
10860 Therefore you have to format the column by inserting a LaTeX-argument in
10862 Here is an overview about the arguments:
10865 \begin_layout Itemize
10870 creates cell with a fixed width, its text is vertically top-aligned
10873 \begin_layout Itemize
10878 creates cell with a fixed width, its text is vertically centered
10881 \begin_layout Itemize
10886 creates cell with a fixed width, its text is vertically bottom-aligned
10889 \begin_layout Standard
10890 By entering a LaTeX-argument, all cell properties set in the table dialog
10893 \begin_inset Note Greyedout
10896 \begin_layout Standard
10901 Due to a bug, LyX shows the overwritten properties anyway.
10906 As the text should be horizontally centered, the command
10913 You can now enter the following LaTeX-argument for the first spanned column:
10916 \begin_layout Standard
10921 centering}m{1.25cm-6.2pt}
10924 \begin_layout Standard
10926 \begin_inset Quotes eld
10934 \begin_inset Quotes erd
10937 at the beginning draws the border line and the command
10941 means, that the commands inside the braces are applied before the cell
10945 \begin_layout Standard
10946 Although we have chosen centered alignment for the text of the multicolumn
10947 cell, it is still left aligned.
10948 This is because LyX only applies the alignment to single columns.
10949 So we have to use for the multicolumn the LaTeX-argument
10952 \begin_layout Standard
10957 centering}m{2.5cm}|
10960 \begin_layout Subsection
10962 \begin_inset LatexCommand index
10968 \begin_inset LatexCommand index
10969 name "Table ! Multirows"
10974 \begin_inset LatexCommand index
10975 name "LaTeX-packages ! multirow"
10982 \begin_layout Standard
10983 In contrary to multicolumns multirows are not yet supported by LyX so a
10984 bit of ERT needs to be used.
10985 To use multirows load the LaTeX-package
10989 in your document preamble with the command
10992 \begin_layout Standard
10997 usepackage{multirow}
11000 \begin_layout Standard
11001 Multirows are created with the command
11004 \begin_layout Standard
11009 multirow{number of rows}{cell width}{cell entry}
11012 \begin_layout Standard
11013 To create the following table:
11016 \begin_layout Standard
11021 \begin_layout Standard
11035 \begin_inset Tabular
11036 <lyxtabular version="3" rows="3" columns="3">
11038 <column alignment="center" valignment="top" leftline="true" width="0">
11039 <column alignment="center" valignment="top" leftline="true" width="0">
11040 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11041 <row topline="true">
11042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11045 \begin_layout Standard
11051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11054 \begin_layout Standard
11060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11063 \begin_layout Standard
11070 <row topline="true">
11071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11074 \begin_layout Standard
11078 \begin_layout Standard
11082 multirow{2}{2.5cm}{
11091 \begin_layout Standard
11103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11106 \begin_layout Standard
11112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11115 \begin_layout Standard
11122 <row topline="true" bottomline="true">
11123 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11126 \begin_layout Standard
11132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11135 \begin_layout Standard
11141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11144 \begin_layout Standard
11159 \begin_layout Standard
11175 \begin_layout Standard
11176 create a 3×3 table.
11177 To get rid of the line above the last cell in the first column, the cell
11178 is marked as multicolumn and the upper border is unset.
11179 The multirow is now created in the second row of the first column by inserting
11183 \begin_layout Standard
11188 multirow{2}{2.5cm}{
11191 \begin_layout Standard
11193 According to the command parameters the multirow spans now two rows and
11194 has a width of 2.5\InsetSpace \thinspace{}
11196 The content of the multirow cell follows outside the ERT box and the command
11197 is finished with a right brace
11201 in another ERT-box behind the text.
11204 \begin_layout Standard
11211 left-aligns its content by default.
11212 To override the default, renew the command
11221 \begin_layout Standard
11233 \begin_layout Standard
11234 in ERT in the document preamble.
11235 Then all entries of multirow cells in the document are centered.
11236 If centering is only needed for several tables, you can renew the command
11237 in an ERT box just before the table instead of the preamble.
11238 If the text should be right-aligned, replace
11251 To return to left-alignment
11260 \begin_layout Section
11262 \begin_inset LatexCommand label
11263 name "sec:Formal-Tables"
11268 \begin_inset LatexCommand index
11269 name "Table ! Formal"
11276 \begin_layout Standard
11277 Tables are often typeset in books similar to Table\InsetSpace ~
11279 \begin_inset LatexCommand ref
11280 reference "tab:Example-booktabs-table"
11285 This kind of tables is called
11286 \begin_inset Quotes eld
11294 \begin_inset Quotes erd
11298 To make a table a formal table use the option
11306 tab of the table dialog.
11309 \begin_layout Standard
11310 \begin_inset Float table
11316 \begin_layout Standard
11317 \begin_inset Caption
11319 \begin_layout Standard
11320 \begin_inset LatexCommand label
11321 name "tab:Example-booktabs-table"
11325 Example booktabs-table
11333 \begin_layout Standard
11335 \begin_inset Tabular
11336 <lyxtabular version="3" rows="8" columns="4">
11337 <features booktabs="true">
11338 <column alignment="center" valignment="top" rightline="true" width="0">
11339 <column alignment="center" valignment="top" width="0">
11340 <column alignment="center" valignment="top" width="0">
11341 <column alignment="center" valignment="top" width="0">
11342 <row topline="true">
11343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11346 \begin_layout Standard
11352 <cell alignment="center" valignment="top" topline="true" usebox="none">
11355 \begin_layout Standard
11357 \begin_inset Formula $\,$
11365 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11368 \begin_layout Standard
11370 \begin_inset Formula $\,$
11378 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11381 \begin_layout Standard
11389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11392 \begin_layout Standard
11396 \begin_layout Standard
11409 \begin_layout Standard
11418 Detector thickness [µm]
11423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11426 \begin_layout Standard
11432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11435 \begin_layout Standard
11441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11444 \begin_layout Standard
11451 <row topline="true">
11452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11455 \begin_layout Standard
11461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11464 \begin_layout Standard
11470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11473 \begin_layout Standard
11479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11482 \begin_layout Standard
11489 <row topspace="default">
11490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11493 \begin_layout Standard
11494 Spatial resolution [µm]
11499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11502 \begin_layout Standard
11508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11511 \begin_layout Standard
11517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11520 \begin_layout Standard
11527 <row topspace="default">
11528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11531 \begin_layout Standard
11533 \begin_inset Formula $f_{\mathrm{max}}$
11541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11544 \begin_layout Standard
11550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11553 \begin_layout Standard
11559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11562 \begin_layout Standard
11569 <row topspace="default">
11570 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11573 \begin_layout Standard
11577 \begin_layout Standard
11581 cmidrule(l{10pt}){1-1}
11586 LSF-spatial resolution
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11594 \begin_layout Standard
11600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11603 \begin_layout Standard
11609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11612 \begin_layout Standard
11620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11623 \begin_layout Standard
11629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11632 \begin_layout Standard
11638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11641 \begin_layout Standard
11647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11650 \begin_layout Standard
11657 <row bottomline="true">
11658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11661 \begin_layout Standard
11667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11670 \begin_layout Standard
11676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11679 \begin_layout Standard
11685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11688 \begin_layout Standard
11707 \begin_layout Standard
11708 Spaces to table rows can be added using the
11712 tab of the table dialog as described in section\InsetSpace ~
11714 \begin_inset LatexCommand ref
11715 reference "sub:Row-Spacing"
11722 \begin_layout Standard
11723 In contrary to normal tables, formal tables have no vertical table lines.
11724 The horizontal table lines can be set like for normal tables but they appear
11725 with different width in the output:
11727 The first and the last table line have
11728 a default width of 0.08\InsetSpace \thinspace{}
11729 em while the other lines have a default width of
11730 0.05\InsetSpace \thinspace{}
11734 \begin_layout Standard
11735 The default widths can be changed with the following preamble lines
11738 \begin_layout Standard
11758 \begin_layout Standard
11759 This example is for the first line, the so called toprule.
11760 If you want to change the width for the last line, replace
11769 To change the width for the other lines replace
11778 You can use all units listed in appendix\InsetSpace ~
11780 \begin_inset LatexCommand ref
11781 reference "cha:Units-available-in"
11788 \begin_layout Standard
11789 Lines that don't span over all table columns can be created by setting a
11790 table line for multicolumn cells.
11791 LyX will then internally use the command
11797 to create this line.
11801 \begin_layout Standard
11806 cmidrule[width](trim){startcol-endcol}
11809 \begin_layout Standard
11816 are are currently not supported by LyX so you have to use ERT to be able
11824 s can manually be created by inserting the command as ERT as first cell
11825 entry of the first cell of a row.
11826 The line is then drawn in the output above the current row.
11829 \begin_layout Standard
11830 The default for the width is 0.03\InsetSpace \thinspace{}
11832 Startcol is the number of the column where the line starts and endcol the
11833 column number where the line ends.
11834 The endcol always needs to be specified, also when the line should span
11836 The optional parameter trim could be either
11844 where the trimwidth is also optional.
11845 Using for example the parameter
11849 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11851 If you don't specify the trimwidth the lines are trimmed by the default
11852 of 0.5\InsetSpace \thinspace{}
11856 \begin_layout Standard
11857 \begin_inset VSpace bigskip
11862 \begin_inset LatexCommand ref
11863 reference "tab:Example-booktabs-table"
11867 was created using the commands
11870 \begin_layout Standard
11880 \begin_layout Standard
11881 at the beginning of the in the second row and
11884 \begin_layout Standard
11889 cmidrule(l{10pt}){1-1}
11892 \begin_layout Standard
11896 \begin_layout Standard
11900 \begin_layout Standard
11901 \begin_inset VSpace bigskip
11907 \begin_layout Standard
11908 You might want to have overlapping
11914 s like in Table\InsetSpace ~
11916 \begin_inset LatexCommand ref
11917 reference "tab:Special-booktabs-table"
11922 This can be achieved with the ERT command
11925 \begin_layout Standard
11933 \begin_layout Standard
11934 The command that was used for the second row of Table\InsetSpace ~
11936 \begin_inset LatexCommand ref
11937 reference "tab:Special-booktabs-table"
11944 \begin_layout Standard
11958 \begin_layout Standard
11959 The command for the sixth row is
11962 \begin_layout Standard
11974 \begin_layout Standard
11975 \begin_inset VSpace bigskip
11981 \begin_layout Standard
11982 If you are anyway not satisfied with the border line spacing, you can use
11983 the following command to produce lines that span over all table columns
11988 \begin_layout Standard
11993 specialrule{width}{space above}{space below}
11996 \begin_layout Standard
11997 For more informations about these specialties, we refer to the manual of
12003 \begin_inset LatexCommand cite
12009 \begin_inset LatexCommand index
12010 name "LaTeX-packages ! booktabs"
12017 \begin_layout Standard
12018 \begin_inset Float table
12024 \begin_layout Standard
12025 \begin_inset Caption
12027 \begin_layout Standard
12028 \begin_inset LatexCommand label
12029 name "tab:Special-booktabs-table"
12033 Special booktabs-table
12041 \begin_layout Standard
12043 \begin_inset Tabular
12044 <lyxtabular version="3" rows="8" columns="4">
12045 <features booktabs="true">
12046 <column alignment="center" valignment="top" width="0">
12047 <column alignment="center" valignment="top" width="0">
12048 <column alignment="center" valignment="top" width="0">
12049 <column alignment="center" valignment="top" width="0">
12050 <row topline="true">
12051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12054 \begin_layout Standard
12060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12063 \begin_layout Standard
12064 Medipix\InsetSpace \thinspace{}
12070 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12073 \begin_layout Standard
12074 Medipix\InsetSpace \thinspace{}
12080 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12083 \begin_layout Standard
12091 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12094 \begin_layout Standard
12098 \begin_layout Standard
12111 \begin_layout Standard
12124 \begin_layout Standard
12137 \begin_layout Standard
12146 Detector thickness [µm]
12151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12154 \begin_layout Standard
12160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12163 \begin_layout Standard
12169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12172 \begin_layout Standard
12179 <row topline="true">
12180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12183 \begin_layout Standard
12189 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12192 \begin_layout Standard
12198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12201 \begin_layout Standard
12207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12210 \begin_layout Standard
12217 <row topspace="default">
12218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12221 \begin_layout Standard
12222 Spatial resolution [µm]
12227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12230 \begin_layout Standard
12236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12239 \begin_layout Standard
12245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12248 \begin_layout Standard
12255 <row topspace="default">
12256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12259 \begin_layout Standard
12261 \begin_inset Formula $f_{\mathrm{max}}$
12269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12272 \begin_layout Standard
12278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12281 \begin_layout Standard
12287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12290 \begin_layout Standard
12297 <row topline="true">
12298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12301 \begin_layout Standard
12305 \begin_layout Standard
12318 \begin_layout Standard
12327 LSF-spatial resolution
12332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12335 \begin_layout Standard
12341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12344 \begin_layout Standard
12350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12353 \begin_layout Standard
12361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12364 \begin_layout Standard
12370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12373 \begin_layout Standard
12379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12382 \begin_layout Standard
12388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12391 \begin_layout Standard
12398 <row bottomline="true">
12399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12402 \begin_layout Standard
12408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12411 \begin_layout Standard
12417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12420 \begin_layout Standard
12426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12429 \begin_layout Standard
12448 \begin_layout Section
12449 Vertical Table Alignment
12450 \begin_inset LatexCommand index
12451 name "Table ! Alignment"
12458 \begin_layout Standard
12459 To align tables vertically in a text line the table must be inside a box.
12460 The box can then be vertically aligned as described in section\InsetSpace ~
12462 \begin_inset LatexCommand ref
12463 reference "sec:Box-Dialog"
12470 \begin_layout Standard
12471 In the following example the tables are inside a minipage
12475 \begin_layout Standard
12476 Minipages are described in section\InsetSpace ~
12478 \begin_inset LatexCommand ref
12479 reference "sec:Minipages"
12488 box that has a width of 15\InsetSpace \thinspace{}
12492 \begin_layout Itemize
12494 \begin_inset Box Frameless
12503 height_special "totalheight"
12506 \begin_layout Standard
12507 \begin_inset Tabular
12508 <lyxtabular version="3" rows="3" columns="3">
12510 <column alignment="center" valignment="top" leftline="true" width="0">
12511 <column alignment="center" valignment="top" leftline="true" width="0">
12512 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12513 <row topline="true">
12514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12517 \begin_layout Standard
12523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12526 \begin_layout Standard
12532 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12535 \begin_layout Standard
12542 <row topline="true">
12543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12546 \begin_layout Standard
12552 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12555 \begin_layout Standard
12561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12564 \begin_layout Standard
12571 <row topline="true" bottomline="true">
12572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12575 \begin_layout Standard
12581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12584 \begin_layout Standard
12590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12593 \begin_layout Standard
12613 \begin_layout Standard
12625 \begin_inset Box Frameless
12634 height_special "totalheight"
12637 \begin_layout Standard
12638 \begin_inset Tabular
12639 <lyxtabular version="3" rows="3" columns="3">
12641 <column alignment="center" valignment="top" leftline="true" width="0">
12642 <column alignment="center" valignment="top" leftline="true" width="0">
12643 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12644 <row topline="true">
12645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12648 \begin_layout Standard
12654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12657 \begin_layout Standard
12663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12666 \begin_layout Standard
12673 <row topline="true">
12674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12677 \begin_layout Standard
12683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12686 \begin_layout Standard
12692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12695 \begin_layout Standard
12702 <row topline="true" bottomline="true">
12703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12706 \begin_layout Standard
12712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12715 \begin_layout Standard
12721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12724 \begin_layout Standard
12744 \begin_layout Standard
12754 \begin_layout Itemize
12756 \begin_inset Box Frameless
12765 height_special "totalheight"
12768 \begin_layout Standard
12769 \begin_inset Tabular
12770 <lyxtabular version="3" rows="3" columns="3">
12772 <column alignment="center" valignment="top" leftline="true" width="0">
12773 <column alignment="center" valignment="top" leftline="true" width="0">
12774 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12775 <row topline="true">
12776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12779 \begin_layout Standard
12785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12788 \begin_layout Standard
12794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12797 \begin_layout Standard
12804 <row topline="true">
12805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12808 \begin_layout Standard
12814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12817 \begin_layout Standard
12823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12826 \begin_layout Standard
12833 <row topline="true" bottomline="true">
12834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12837 \begin_layout Standard
12843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12846 \begin_layout Standard
12852 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12855 \begin_layout Standard
12874 \begin_layout Itemize
12876 \begin_inset Box Frameless
12885 height_special "totalheight"
12888 \begin_layout Standard
12889 \begin_inset Tabular
12890 <lyxtabular version="3" rows="3" columns="3">
12892 <column alignment="center" valignment="top" leftline="true" width="0">
12893 <column alignment="center" valignment="top" leftline="true" width="0">
12894 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12895 <row topline="true">
12896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12899 \begin_layout Standard
12905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12908 \begin_layout Standard
12914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12917 \begin_layout Standard
12924 <row topline="true">
12925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12928 \begin_layout Standard
12934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12937 \begin_layout Standard
12943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12946 \begin_layout Standard
12953 <row topline="true" bottomline="true">
12954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12957 \begin_layout Standard
12963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12966 \begin_layout Standard
12972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12975 \begin_layout Standard
12995 \begin_layout Standard
13007 \begin_inset Box Frameless
13016 height_special "totalheight"
13019 \begin_layout Standard
13020 \begin_inset Tabular
13021 <lyxtabular version="3" rows="3" columns="3">
13023 <column alignment="center" valignment="top" leftline="true" width="0">
13024 <column alignment="center" valignment="top" leftline="true" width="0">
13025 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13026 <row topline="true">
13027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13030 \begin_layout Standard
13036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13039 \begin_layout Standard
13045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13048 \begin_layout Standard
13055 <row topline="true">
13056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13059 \begin_layout Standard
13065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13068 \begin_layout Standard
13074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13077 \begin_layout Standard
13084 <row topline="true" bottomline="true">
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13088 \begin_layout Standard
13094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13097 \begin_layout Standard
13103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13106 \begin_layout Standard
13126 \begin_layout Standard
13136 \begin_layout Standard
13137 As you can see, the content of the first and last table row is not correctly
13138 aligned with the text line where the table is in.
13139 To get this alignment, the minipage box must be set into a raisebox
13143 \begin_layout Standard
13144 Raiseboxes are described in section\InsetSpace ~
13146 \begin_inset LatexCommand ref
13147 reference "sub:Vertical-Alignment"
13157 In the example above the second table in the first item is aligned using
13161 \begin_layout Standard
13171 \begin_layout Standard
13173 Behind the box the closing brace
13177 is inserted as ERT.
13178 For the second table in the last item the command
13181 \begin_layout Standard
13191 \begin_layout Standard
13195 \begin_layout Standard
13196 \begin_inset Note Greyedout
13199 \begin_layout Standard
13204 The alignment of the table row content to the surrounding text line is
13206 The needed factor of the
13212 command for this alignment depends on the document font, the font size,
13213 and the table line thickness.
13221 \begin_layout Section
13223 \begin_inset LatexCommand label
13224 name "sec:Colored-Tables"
13229 \begin_inset LatexCommand index
13230 name "Table ! Color"
13237 \begin_layout Subsection
13239 \begin_inset LatexCommand index
13240 name "Table Color ! for Cells"
13245 \begin_inset LatexCommand index
13246 name "Color ! for Table Cells"
13253 \begin_layout Standard
13254 \begin_inset Float table
13260 \begin_layout Standard
13261 \begin_inset Caption
13263 \begin_layout Standard
13264 \begin_inset LatexCommand label
13265 name "tab:Table-colored-without"
13269 Table colored without using the package
13274 \begin_inset OptArg
13277 \begin_layout Standard
13278 Table without colortbl
13291 \begin_layout Standard
13293 \begin_inset Tabular
13294 <lyxtabular version="3" rows="3" columns="3">
13296 <column alignment="center" valignment="top" leftline="true" width="0">
13297 <column alignment="center" valignment="top" leftline="true" width="0">
13298 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13299 <row topline="true">
13300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13303 \begin_layout Standard
13311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13314 \begin_layout Standard
13322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13325 \begin_layout Standard
13334 <row topline="true">
13335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13338 \begin_layout Standard
13346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13349 \begin_layout Standard
13357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13360 \begin_layout Standard
13369 <row topline="true" bottomline="true">
13370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13373 \begin_layout Standard
13381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13384 \begin_layout Standard
13392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13395 \begin_layout Standard
13416 \begin_layout Standard
13417 If you only need colored text, mark the cells and choose a color in the
13420 Edit\SpecialChar \menuseparator
13425 This was used to create Table\InsetSpace ~
13427 \begin_inset LatexCommand ref
13428 reference "tab:Table-colored-without"
13433 In any other case you have to use the LaTeX-package
13438 \begin_inset LatexCommand index
13439 name "LaTeX-packages ! colortbl"
13446 \begin_layout Standard
13447 To create colored tables,
13451 must be loaded in the preamble with the line
13454 \begin_layout Standard
13459 usepackage{colortbl}
13462 \begin_layout Standard
13463 The color of a column is adjusted with the command
13466 \begin_layout Standard
13471 columncolor{name of color}
13474 \begin_layout Standard
13480 More about the command
13484 is described in section\InsetSpace ~
13486 \begin_inset LatexCommand ref
13487 reference "sub:Multicolumn-Calculations"
13494 \begin_layout Standard
13495 The following color names are predefined:
13498 \begin_layout Standard
13532 \begin_layout Standard
13533 \begin_inset VSpace medskip
13539 \begin_layout Standard
13540 You can also define your own color with the command
13543 \begin_layout Standard
13548 def\SpecialChar \textcompwordmark{}
13549 inecolor{color name}{color model}{color values}
13552 \begin_layout Standard
13553 The color model can be
13556 \begin_layout Labeling
13557 \labelwidthstring 00.00.0000
13558 cmyk: cyan, magenta, yellow, black
13561 \begin_layout Labeling
13562 \labelwidthstring 00.00.0000
13563 rgb: red, green blue
13566 \begin_layout Labeling
13567 \labelwidthstring 00.00.0000
13571 \begin_layout Standard
13572 and the color values are comma separated numbers between 0 and 1 describing
13573 the factor for the corresponding color of the color model.
13576 \begin_layout Standard
13577 You can e.\InsetSpace \thinspace{}
13583 " in the preamble with
13586 \begin_layout Standard
13591 def\SpecialChar \textcompwordmark{}
13592 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13595 \begin_layout Standard
13603 \begin_layout Standard
13608 def\SpecialChar \textcompwordmark{}
13609 inecolor{lightgray}{gray}{0.8}
13612 \begin_layout Standard
13613 \begin_inset VSpace medskip
13619 \begin_layout Standard
13620 Lines are colored with the command
13623 \begin_layout Standard
13628 rowcolor{name of color}
13631 \begin_layout Standard
13632 and cells are colored with the command
13635 \begin_layout Standard
13640 cellcolor{name of color}
13643 \begin_layout Standard
13644 Both commands are inserted at the beginning of a cell as ERT.
13647 \begin_layout Standard
13648 To color characters in the table, mark the cells and use the LyX menu
13650 Edit\SpecialChar \menuseparator
13655 If a cell contains ERT mark only the characters, otherwise the colored
13656 ERT will cause LaTeX-errors.
13659 \begin_layout Standard
13660 \begin_inset VSpace bigskip
13666 \begin_layout Standard
13667 To create Table\InsetSpace ~
13669 \begin_inset LatexCommand ref
13670 reference "tab:Table-colored-using"
13674 do the following: The color of the first column should be
13682 \begin_layout Standard
13687 columncolor{darkgreen}
13692 \begin_layout Standard
13693 as LaTeX-argument for this column.
13694 The first row should be blue, therefore the ERT command
13697 \begin_layout Standard
13705 \begin_layout Standard
13706 is inserted to the first cell of this row.
13707 Note that this overwrites the column color for the first cell.
13708 The last cell of the last row is colored magenta by inserting the ERT command
13711 \begin_layout Standard
13719 \begin_layout Standard
13720 The characters could now be colored using the menu
13722 Edit\SpecialChar \menuseparator
13729 \begin_layout Standard
13730 \begin_inset Float table
13736 \begin_layout Standard
13737 \begin_inset Caption
13739 \begin_layout Standard
13740 \begin_inset LatexCommand label
13741 name "tab:Table-colored-using"
13745 Table colored using the package
13750 \begin_inset OptArg
13753 \begin_layout Standard
13754 Table with colortbl
13767 \begin_layout Standard
13769 \begin_inset Tabular
13770 <lyxtabular version="3" rows="3" columns="3">
13772 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13773 <column alignment="center" valignment="top" width="0">
13774 <column alignment="center" valignment="top" width="0">
13776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13779 \begin_layout Standard
13783 \begin_layout Standard
13799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13802 \begin_layout Standard
13810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13813 \begin_layout Standard
13823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13826 \begin_layout Standard
13834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13837 \begin_layout Standard
13845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13848 \begin_layout Standard
13858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13861 \begin_layout Standard
13869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13872 \begin_layout Standard
13880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13883 \begin_layout Standard
13887 \begin_layout Standard
13916 \begin_layout Subsection
13918 \begin_inset LatexCommand index
13919 name "Table Color ! for Lines"
13924 \begin_inset LatexCommand index
13925 name "Color ! for Table Lines"
13932 \begin_layout Standard
13933 As described in section\InsetSpace ~
13935 \begin_inset LatexCommand ref
13936 reference "sub:Line-Thickness"
13940 , the line thickness for all lines in a table can be adjusted with the length
13948 It is set to 1.5\InsetSpace \thinspace{}
13949 pt for all tables of this section.
13953 \begin_layout Standard
13959 arrayrulewidth}{1.5pt}
13967 \begin_layout Standard
13968 To color vertical lines for example with green, create the following column
13969 format in the document preamble, according to the description in section\InsetSpace ~
13971 \begin_inset LatexCommand ref
13972 reference "sub:Customized-Format"
13979 \begin_layout Standard
13984 newcolumntype{W}{!{
13991 \begin_layout Standard
13992 For Table\InsetSpace ~
13994 \begin_inset LatexCommand ref
13995 reference "tab:Table-with-vertical-colored"
14002 \begin_layout Standard
14008 \begin_layout Standard
14009 was used for the last column and
14012 \begin_layout Standard
14018 \begin_layout Standard
14019 for the other columns.
14022 \begin_layout Standard
14023 If you want to have several colors, define more column formats.
14026 \begin_layout Standard
14027 \begin_inset Float table
14032 \begin_layout Standard
14033 \begin_inset Caption
14035 \begin_layout Standard
14036 \begin_inset LatexCommand label
14037 name "tab:Table-with-vertical-colored"
14041 Table with colored vertical lines
14049 \begin_layout Standard
14051 \begin_inset Tabular
14052 <lyxtabular version="3" rows="3" columns="3">
14054 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14055 <column alignment="center" valignment="top" width="0" special="Wc">
14056 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14057 <row topline="true">
14058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14061 \begin_layout Standard
14067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14070 \begin_layout Standard
14076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14079 \begin_layout Standard
14086 <row topline="true">
14087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14090 \begin_layout Standard
14096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14099 \begin_layout Standard
14105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14108 \begin_layout Standard
14115 <row topline="true" bottomline="true">
14116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14119 \begin_layout Standard
14125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14128 \begin_layout Standard
14134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14137 \begin_layout Standard
14156 \begin_layout Standard
14157 \begin_inset VSpace bigskip
14160 To color horizontal lines for example with red, like in Table\InsetSpace ~
14162 \begin_inset LatexCommand ref
14163 reference "tab:Table-with-horizontal-colored"
14167 , insert these commands in ERT before the table or table float:
14170 \begin_layout Standard
14187 arrayrulecolor{red}
14191 arrayrulecolor{black}}
14194 \begin_layout Standard
14198 \begin_layout Standard
14209 \begin_layout Standard
14217 arrayrulecolor{red}
14221 arrayrulecolor{black}}
14227 \begin_inset Float table
14232 \begin_layout Standard
14233 \begin_inset Caption
14235 \begin_layout Standard
14236 \begin_inset LatexCommand label
14237 name "tab:Table-with-horizontal-colored"
14241 Table with colored horizontal lines
14249 \begin_layout Standard
14251 \begin_inset Tabular
14252 <lyxtabular version="3" rows="3" columns="3">
14254 <column alignment="center" valignment="top" leftline="true" width="0">
14255 <column alignment="center" valignment="top" leftline="true" width="0">
14256 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14257 <row topline="true">
14258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14261 \begin_layout Standard
14267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14270 \begin_layout Standard
14276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14279 \begin_layout Standard
14286 <row topline="true">
14287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14290 \begin_layout Standard
14296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14299 \begin_layout Standard
14305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14308 \begin_layout Standard
14315 <row topline="true" bottomline="true">
14316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14319 \begin_layout Standard
14325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14328 \begin_layout Standard
14334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14337 \begin_layout Standard
14356 \begin_layout Standard
14360 \begin_layout Standard
14372 \begin_layout Standard
14373 To return to the default line color black, insert this command in ERT behind
14374 the table or table float:
14377 \begin_layout Standard
14389 \begin_layout Standard
14392 \begin_inset LatexCommand ref
14393 reference "tab:Table-with-colored"
14397 is an example with colored vertical and horizontal lines.
14400 \begin_layout Standard
14401 \begin_inset Float table
14406 \begin_layout Standard
14407 \begin_inset Caption
14409 \begin_layout Standard
14410 \begin_inset LatexCommand label
14411 name "tab:Table-with-colored"
14415 Table with colored lines
14423 \begin_layout Standard
14425 \begin_inset Tabular
14426 <lyxtabular version="3" rows="3" columns="3">
14428 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14429 <column alignment="center" valignment="top" width="0" special="Wc">
14430 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14431 <row topline="true">
14432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14435 \begin_layout Standard
14441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14444 \begin_layout Standard
14450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14453 \begin_layout Standard
14460 <row topline="true">
14461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14464 \begin_layout Standard
14470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14473 \begin_layout Standard
14479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14482 \begin_layout Standard
14489 <row topline="true" bottomline="true" topspace="default">
14490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14493 \begin_layout Standard
14499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14502 \begin_layout Standard
14508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14511 \begin_layout Standard
14530 \begin_layout Standard
14534 \begin_layout Standard
14550 \begin_layout Standard
14554 \begin_layout Standard
14560 arrayrulewidth}{0.4pt}
14568 \begin_layout Section
14569 Table Customization
14570 \begin_inset LatexCommand index
14571 name "Table Customization"
14576 \begin_inset LatexCommand index
14577 name "Table ! Customization"
14584 \begin_layout Subsection
14586 \begin_inset LatexCommand label
14587 name "sub:Row-Spacing"
14592 \begin_inset LatexCommand index
14593 name "Table Customization ! Row Spacing"
14600 \begin_layout Standard
14601 You can add vertical space to table rows in the
14605 tab of the table dialog.
14606 You find there three possibilities:
14609 \begin_layout Description
14612 row will add space above the characters of the table row.
14613 If the table is a formal table
14617 \begin_layout Standard
14618 Formal tables are explained in section\InsetSpace ~
14620 \begin_inset LatexCommand ref
14621 reference "sec:Formal-Tables"
14630 LyX will insert as default 0.5\InsetSpace \thinspace{}
14632 For normal tables the inserted space will unfortunately destroy the vertical
14633 table lines as in the following table:
14634 \begin_inset Tabular
14635 <lyxtabular version="3" rows="3" columns="1">
14637 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14638 <row topline="true">
14639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14642 \begin_layout Standard
14649 <row topline="true" topspace="3mm">
14650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14653 \begin_layout Standard
14654 3\InsetSpace \thinspace{}
14655 mm space top of row
14661 <row topline="true" bottomline="true">
14662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14665 \begin_layout Standard
14678 So inserting space to the top of row for normal tables is only useful when
14679 you don't have vertical lines.
14682 \begin_layout Description
14683 Bottom\InsetSpace ~
14685 row will add space below the characters of the table row.
14686 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14688 normal tables the default size is 2\InsetSpace \thinspace{}
14692 \begin_layout Description
14693 Between\InsetSpace ~
14694 rows only has an effect when you have selected the whole table row
14696 The space is added between the current and the following row.
14697 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14699 For normal tables the inserted space will unfortunately destroy the vertical
14700 table lines as in the following table:
14701 \begin_inset Tabular
14702 <lyxtabular version="3" rows="3" columns="1">
14704 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14705 <row topline="true">
14706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14709 \begin_layout Standard
14716 <row topline="true" interlinespace="3mm">
14717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14720 \begin_layout Standard
14721 \begin_inset Formula $\downarrow$
14724 3\InsetSpace \thinspace{}
14725 mm space between row
14726 \begin_inset Formula $\downarrow$
14735 <row topline="true" bottomline="true">
14736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14739 \begin_layout Standard
14740 \begin_inset Formula $\uparrow$
14743 3\InsetSpace \thinspace{}
14744 mm space between row
14745 \begin_inset Formula $\uparrow$
14760 So inserting space between rows for normal tables is only useful when you
14761 don't have vertical lines.
14764 \begin_layout Standard
14765 When you want to add extra height to all cells of all tables, you can do
14766 this with the following preamble line:
14769 \begin_layout Standard
14776 extrarowheight}{height}
14779 \begin_layout Standard
14780 But this has the disadvantage that the cell texts are no longer exactly
14781 vertically centered.
14784 \begin_layout Subsection
14785 Special Cell Alignment
14786 \begin_inset LatexCommand index
14787 name "Table Customization ! Special Cell Alignment"
14794 \begin_layout Standard
14795 Sometimes it looks better when the cell entries of a column are aligned
14796 with a special character, e.\InsetSpace \thinspace{}
14798 with the decimal separator as in Table\InsetSpace ~
14800 \begin_inset LatexCommand ref
14801 reference "tab:Table-cells-of"
14808 \begin_layout Standard
14809 \begin_inset Float table
14815 \begin_layout Standard
14816 \begin_inset Caption
14818 \begin_layout Standard
14819 \begin_inset LatexCommand label
14820 name "tab:Table-cells-of"
14824 Table cells of a column aligned with the decimal separator.
14832 \begin_layout Standard
14834 \begin_inset Tabular
14835 <lyxtabular version="3" rows="4" columns="2">
14837 <column alignment="right" valignment="top" width="0">
14838 <column alignment="left" valignment="top" width="0" special="@{}l">
14839 <row bottomline="true">
14840 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14843 \begin_layout Standard
14849 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14852 \begin_layout Standard
14860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14863 \begin_layout Standard
14869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14872 \begin_layout Standard
14880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14883 \begin_layout Standard
14889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14892 \begin_layout Standard
14900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14903 \begin_layout Standard
14909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14912 \begin_layout Standard
14931 \begin_layout Standard
14932 This table was created with a 4×2 table.
14933 The heading is a centered multicolumn.
14934 The first column is right-aligned and contains the digits before the decimal
14935 point and the decimal point.
14936 The second column is left aligned and contains the digits after the decimal
14938 To omit the space that is normally between two table columns, use the following
14939 LaTeX-argument for the second column:
14942 \begin_layout Standard
14948 \begin_layout Standard
14949 If you need a vertical line right beside the second column, use this LaTeX-argum
14955 \begin_layout Standard
14958 \begin_inset LatexCommand ref
14959 reference "tab:Several-table-cell"
14963 shows some example alignments.
14964 For the alignment with the relation sign, you must add the second smallest
14965 math-space at the beginning of the last column to get the correct space
14966 surrounding the relation sign.
14969 \begin_layout Standard
14970 \begin_inset Float table
14975 \begin_layout Standard
14976 \begin_inset Caption
14978 \begin_layout Standard
14979 \begin_inset LatexCommand label
14980 name "tab:Several-table-cell"
14984 Several table cell alignments.
14992 \begin_layout Standard
14994 \begin_inset Tabular
14995 <lyxtabular version="3" rows="4" columns="6">
14997 <column alignment="right" valignment="top" width="0">
14998 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14999 <column alignment="right" valignment="top" width="0">
15000 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15001 <column alignment="right" valignment="top" width="0">
15002 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15003 <row bottomline="true">
15004 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15007 \begin_layout Standard
15013 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15016 \begin_layout Standard
15022 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15025 \begin_layout Standard
15031 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15034 \begin_layout Standard
15040 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15043 \begin_layout Standard
15049 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15052 \begin_layout Standard
15060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15063 \begin_layout Standard
15069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15072 \begin_layout Standard
15073 24\InsetSpace \thinspace{}
15079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15082 \begin_layout Standard
15083 \begin_inset Formula $10\cdot$
15091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15094 \begin_layout Standard
15095 \begin_inset Formula $10^{\mbox{-}17}$
15103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15106 \begin_layout Standard
15107 \begin_inset Formula $\Gamma(t)\propto$
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15118 \begin_layout Standard
15119 \begin_inset Formula $\:\Upsilon(t)$
15129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15132 \begin_layout Standard
15138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15141 \begin_layout Standard
15142 768\InsetSpace \thinspace{}
15148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15151 \begin_layout Standard
15152 \begin_inset Formula $5.78\cdot$
15160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15163 \begin_layout Standard
15164 \begin_inset Formula $10^{7}$
15172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15175 \begin_layout Standard
15176 \begin_inset Formula $A\ne$
15184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15187 \begin_layout Standard
15188 \begin_inset Formula $\: B_{\mathrm{red}}$
15198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15201 \begin_layout Standard
15207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15210 \begin_layout Standard
15211 6\InsetSpace \thinspace{}
15217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15220 \begin_layout Standard
15222 \begin_inset Formula $33.5\cdot$
15230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15233 \begin_layout Standard
15234 \begin_inset Formula $10^{4}$
15242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15245 \begin_layout Standard
15246 \begin_inset Formula $\sin(\alpha)\ge$
15254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15257 \begin_layout Standard
15258 \begin_inset Formula $\:\sin(\beta)$
15279 \begin_layout Standard
15280 \begin_inset VSpace bigskip
15283 There is also the LaTeX-package
15288 \begin_inset LatexCommand index
15289 name "LaTeX-packages ! dcolumn"
15293 that provides table cell alignments.
15294 But this unfortunately treats the cell entries as math and doesn't allow
15295 formulas in table cells: The first column of Table\InsetSpace ~
15297 \begin_inset LatexCommand ref
15298 reference "tab:Several-table-cell"
15306 like the first column in Table\InsetSpace ~
15308 \begin_inset LatexCommand ref
15309 reference "tab:Alignments-when"
15313 and only with some tricks like the expected.
15314 The alignment of the second and third column of Table\InsetSpace ~
15316 \begin_inset LatexCommand ref
15317 reference "tab:Several-table-cell"
15321 is not possible with
15328 \begin_layout Standard
15329 \begin_inset Float table
15335 \begin_layout Standard
15336 \begin_inset Caption
15338 \begin_layout Standard
15339 \begin_inset LatexCommand label
15340 name "tab:Alignments-when"
15344 Alignments when LaTeX-package dcolumn is used.
15345 For the second and third alignment some tricks were used.
15353 \begin_layout Standard
15355 \begin_inset Tabular
15356 <lyxtabular version="3" rows="4" columns="3">
15358 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15359 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15360 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15361 <row bottomline="true">
15362 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15365 \begin_layout Standard
15371 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15374 \begin_layout Standard
15380 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15383 \begin_layout Standard
15391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15394 \begin_layout Standard
15395 12×24\InsetSpace \thinspace{}
15401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15404 \begin_layout Standard
15405 12×24\InsetSpace \thinspace{}
15407 \begin_inset Formula $\mbox{bottles}$
15415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15418 \begin_layout Standard
15420 \begin_inset Formula $\mbox{bottles}$
15430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15433 \begin_layout Standard
15434 1024×768\InsetSpace \thinspace{}
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15443 \begin_layout Standard
15444 1024×768\InsetSpace \thinspace{}
15446 \begin_inset Formula $\mbox{Pixels}$
15454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15457 \begin_layout Standard
15459 \begin_inset Formula $\mbox{Pixels}$
15469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15472 \begin_layout Standard
15473 32×6\InsetSpace \thinspace{}
15479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15482 \begin_layout Standard
15483 32×6\InsetSpace \thinspace{}
15485 \begin_inset Formula $\mbox{cm}$
15493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15496 \begin_layout Standard
15498 \begin_inset Formula $\mbox{cm}$
15519 \begin_layout Subsection
15520 Customized Cell/Column Format
15521 \begin_inset LatexCommand label
15522 name "sub:Customized-Format"
15527 \begin_inset LatexCommand index
15528 name "Table Customization ! Cell/Column Format"
15535 \begin_layout Standard
15536 Calculating the needed width for spanned columns like in section\InsetSpace ~
15538 \begin_inset LatexCommand ref
15539 reference "sub:Multicolumn-Calculations"
15543 is very annoying if you have several tables with multicolumn cells.
15544 To make life easier, you can define a cell/column format in the preamble,
15545 so that it can be used in all tables of the document.
15546 The format is defined with the command
15549 \begin_layout Standard
15554 newcolumntype{name of format}[number of arguments]{commands}
15557 \begin_layout Standard
15558 The format name may only consist of one letter.
15583 are predefined and cannot be used.
15584 But all letters are allowed as capitals.
15587 \begin_layout Standard
15588 \begin_inset VSpace medskip
15594 \begin_layout Standard
15595 For vertically and horizontally centered multicolumn cells with a fixed
15596 width you can define the cell format
15599 \begin_layout Standard
15604 newcolumntype{M}[1]{>{
15611 \begin_layout Standard
15618 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15620 \begin_inset LatexCommand ref
15621 reference "sub:Multiple-Lines-in"
15626 Now you can simply enter
15629 \begin_layout Standard
15635 \begin_layout Standard
15636 as LaTeX-argument in the table dialog to create a multicolumn.
15639 \begin_layout Standard
15640 \begin_inset VSpace bigskip
15646 \begin_layout Standard
15647 For cells spanned by a multicolumn cell, you can define the format
15650 \begin_layout Standard
15655 newcolumntype{S}[2]{>{
15665 \begin_layout Standard
15676 newcolumntype{S}[2]
15680 \begin_layout Standard
15691 arrayrulewidth)*(1-#2))/#2}}
15694 \begin_layout Standard
15695 This format uses equation
15696 \begin_inset LatexCommand eqref
15701 to calculate the needed width so that each spanned cell has the same width.
15704 \begin_layout Standard
15708 \begin_layout Standard
15711 |S{width of multicolumn cell}{number of spanned columns}
15714 \begin_layout Standard
15715 as LaTeX-argument of the column.
15718 \begin_layout Standard
15719 \begin_inset VSpace bigskip
15725 \begin_layout Standard
15726 For colored columns, you can define
15729 \begin_layout Standard
15734 newcolumntype{K}[1]{>{
15741 \begin_layout Standard
15743 \begin_inset Quotes eld
15747 \begin_inset Quotes erd
15750 at the end creates a column with a flexible width whose text is horizontally
15755 \begin_layout Standard
15761 \begin_layout Standard
15765 \begin_layout Standard
15766 \begin_inset VSpace bigskip
15772 \begin_layout Standard
15773 To create Table\InsetSpace ~
15775 \begin_inset LatexCommand ref
15776 reference "tab:Table-using-user-defined"
15780 use the LaTeX-arguments
15783 \begin_layout Standard
15789 \begin_layout Standard
15790 for the first column and the multicolumn,
15793 \begin_layout Standard
15799 \begin_layout Standard
15800 for the the last column, and
15803 \begin_layout Standard
15809 \begin_layout Standard
15810 for the cells in the second column.
15813 \begin_layout Standard
15814 \begin_inset Float table
15820 \begin_layout Standard
15821 \begin_inset Caption
15823 \begin_layout Standard
15824 \begin_inset LatexCommand label
15825 name "tab:Table-using-user-defined"
15829 Table using user-defined table formats
15837 \begin_layout Standard
15839 \begin_inset Tabular
15840 <lyxtabular version="3" rows="3" columns="4">
15842 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15843 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15844 <column alignment="center" valignment="middle" leftline="true" width="0">
15845 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15846 <row topline="true">
15847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15850 \begin_layout Standard
15851 verylongtablecellword
15856 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15859 \begin_layout Standard
15860 multiple lines multicolumn
15865 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15868 \begin_layout Standard
15874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15877 \begin_layout Standard
15884 <row topline="true">
15885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15888 \begin_layout Standard
15894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15897 \begin_layout Standard
15903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15906 \begin_layout Standard
15912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15915 \begin_layout Standard
15922 <row topline="true" bottomline="true">
15923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15926 \begin_layout Standard
15932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15935 \begin_layout Standard
15941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15944 \begin_layout Standard
15950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15953 \begin_layout Standard
15972 \begin_layout Subsection
15974 \begin_inset LatexCommand label
15975 name "sub:Line-Thickness"
15980 \begin_inset LatexCommand index
15981 name "Table Customization ! Line Thickness"
15988 \begin_layout Standard
15989 The line thickness for all lines in a table can be adjusted with the length
15997 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15998 pt, like in Table\InsetSpace ~
16000 \begin_inset LatexCommand ref
16001 reference "tab:Table-with-1.5"
16005 , insert the command
16008 \begin_layout Standard
16015 arrayrulewidth}{1.5pt}
16018 \begin_layout Standard
16019 in ERT before the table or table float.
16020 The changed thickness is valid for all following tables.
16021 To use the default value again, set
16027 to 0.4\InsetSpace \thinspace{}
16028 pt in ERT behind the table or table float.
16031 \begin_layout Standard
16035 \begin_layout Standard
16041 arrayrulewidth}{1.5pt}
16047 \begin_inset Float table
16052 \begin_layout Standard
16053 \begin_inset Caption
16055 \begin_layout Standard
16056 \begin_inset LatexCommand label
16057 name "tab:Table-with-1.5"
16061 Table with 1.5\InsetSpace \thinspace{}
16070 \begin_layout Standard
16072 \begin_inset Tabular
16073 <lyxtabular version="3" rows="3" columns="3">
16075 <column alignment="center" valignment="top" leftline="true" width="0">
16076 <column alignment="center" valignment="top" leftline="true" width="0">
16077 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16078 <row topline="true">
16079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16082 \begin_layout Standard
16088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16091 \begin_layout Standard
16097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16100 \begin_layout Standard
16107 <row topline="true">
16108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16111 \begin_layout Standard
16117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16120 \begin_layout Standard
16126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16129 \begin_layout Standard
16136 <row topline="true" bottomline="true">
16137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16140 \begin_layout Standard
16146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16149 \begin_layout Standard
16155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16158 \begin_layout Standard
16178 \begin_layout Standard
16184 arrayrulewidth}{0.4pt}
16192 \begin_layout Standard
16193 \begin_inset VSpace bigskip
16196 To set the line thickness to 1.5\InsetSpace \thinspace{}
16197 pt only for horizontal lines, like in Table\InsetSpace ~
16199 \begin_inset LatexCommand ref
16200 reference "tab:Table-with-horizontal"
16204 , insert these commands in ERT before the table or table float:
16207 \begin_layout Standard
16230 arrayrulewidth 1.5pt}
16240 arrayrulewidth 0.4pt}}
16243 \begin_layout Standard
16244 To return to the default line thickness, insert this command in ERT behind
16245 the table or table float:
16248 \begin_layout Standard
16260 \begin_layout Standard
16264 \begin_layout Standard
16275 \begin_layout Standard
16284 \begin_layout Standard
16292 arrayrulewidth 1.5pt}
16295 \begin_layout Standard
16305 arrayrulewidth 0.4pt}}
16311 \begin_inset Float table
16316 \begin_layout Standard
16317 \begin_inset Caption
16319 \begin_layout Standard
16320 \begin_inset LatexCommand label
16321 name "tab:Table-with-horizontal"
16325 Table with 1.5\InsetSpace \thinspace{}
16326 pt thick horizontal lines
16334 \begin_layout Standard
16336 \begin_inset Tabular
16337 <lyxtabular version="3" rows="3" columns="3">
16339 <column alignment="center" valignment="top" leftline="true" width="0">
16340 <column alignment="center" valignment="top" leftline="true" width="0">
16341 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16342 <row topline="true">
16343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16346 \begin_layout Standard
16352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16355 \begin_layout Standard
16361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16364 \begin_layout Standard
16371 <row topline="true">
16372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16375 \begin_layout Standard
16381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16384 \begin_layout Standard
16390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16393 \begin_layout Standard
16400 <row topline="true" bottomline="true">
16401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16404 \begin_layout Standard
16410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16413 \begin_layout Standard
16419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16422 \begin_layout Standard
16442 \begin_layout Standard
16458 \begin_layout Standard
16459 \begin_inset VSpace bigskip
16462 To set the line thickness to 1.5\InsetSpace \thinspace{}
16463 pt only for vertical lines, create the following
16464 column format in the document preamble, according to the description in
16465 section\InsetSpace ~
16467 \begin_inset LatexCommand ref
16468 reference "sub:Customized-Format"
16475 \begin_layout Standard
16480 newcolumntype{V}{!{
16482 vrule width 1.5pt}}
16485 \begin_layout Standard
16486 For Table\InsetSpace ~
16488 \begin_inset LatexCommand ref
16489 reference "tab:Table-with-vertical"
16496 \begin_layout Standard
16502 \begin_layout Standard
16503 was used for the last column and
16506 \begin_layout Standard
16512 \begin_layout Standard
16513 for the other columns.
16516 \begin_layout Standard
16517 \begin_inset Float table
16522 \begin_layout Standard
16523 \begin_inset Caption
16525 \begin_layout Standard
16526 \begin_inset LatexCommand label
16527 name "tab:Table-with-vertical"
16531 Table with 1.5\InsetSpace \thinspace{}
16532 pt thick vertical lines
16540 \begin_layout Standard
16542 \begin_inset Tabular
16543 <lyxtabular version="3" rows="3" columns="3">
16545 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16546 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16547 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16548 <row topline="true">
16549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16552 \begin_layout Standard
16558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16561 \begin_layout Standard
16567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16570 \begin_layout Standard
16577 <row topline="true">
16578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16581 \begin_layout Standard
16587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16590 \begin_layout Standard
16596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16599 \begin_layout Standard
16606 <row topline="true" bottomline="true">
16607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16610 \begin_layout Standard
16616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16619 \begin_layout Standard
16625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16628 \begin_layout Standard
16647 \begin_layout Subsection
16649 \begin_inset LatexCommand index
16650 name "Table Customization ! Dashed Lines"
16657 \begin_layout Standard
16661 \begin_layout Standard
16671 \begin_inset Note Note
16674 \begin_layout Standard
16675 The following section will only be displayed when you have the LaTeX-package
16688 \begin_layout Standard
16689 \begin_inset Float table
16695 \begin_layout Standard
16696 \begin_inset Caption
16698 \begin_layout Standard
16699 \begin_inset LatexCommand label
16700 name "tab:Table-with-dashed"
16704 Table with dashed lines
16712 \begin_layout Standard
16714 \begin_inset Tabular
16715 <lyxtabular version="3" rows="5" columns="5">
16717 <column alignment="center" valignment="top" leftline="true" width="0">
16718 <column alignment="center" valignment="top" leftline="true" width="0">
16719 <column alignment="center" valignment="top" width="0" special=":c">
16720 <column alignment="center" valignment="top" leftline="true" width="0">
16721 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16722 <row topline="true" bottomline="true">
16723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16726 \begin_layout Standard
16732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16735 \begin_layout Standard
16741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16744 \begin_layout Standard
16750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16753 \begin_layout Standard
16759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16762 \begin_layout Standard
16769 <row topline="true">
16770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16773 \begin_layout Standard
16779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16782 \begin_layout Standard
16788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16791 \begin_layout Standard
16797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16800 \begin_layout Standard
16806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16809 \begin_layout Standard
16817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16820 \begin_layout Standard
16824 \begin_layout Standard
16838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16841 \begin_layout Standard
16847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16850 \begin_layout Standard
16856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16859 \begin_layout Standard
16865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16868 \begin_layout Standard
16875 <row topline="true">
16876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16879 \begin_layout Standard
16883 \begin_layout Standard
16897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16900 \begin_layout Standard
16906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16909 \begin_layout Standard
16915 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16918 \begin_layout Standard
16924 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16927 \begin_layout Standard
16934 <row topline="true" bottomline="true">
16935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16938 \begin_layout Standard
16944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16947 \begin_layout Standard
16953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16956 \begin_layout Standard
16962 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16965 \begin_layout Standard
16971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16974 \begin_layout Standard
16993 \begin_layout Standard
16994 LyX doesn't natively support dashed lines, so you have to use ERT.
16995 As prerequisite the LaTeX-package
17000 \begin_inset LatexCommand index
17001 name "LaTeX-packages ! arydshln"
17005 must be loaded in the document preamble with the command
17008 \begin_layout Standard
17013 usepackage{arydshln}
17016 \begin_layout Standard
17017 To make a vertical line dashed, enter the colon
17018 \begin_inset Quotes eld
17022 \begin_inset Quotes erd
17025 together with the character for the horizontal alignment as LaTeX-argument
17026 in the table cell dialog.
17029 \begin_layout Standard
17030 For a horizontal dashed line add the command
17033 \begin_layout Standard
17041 \begin_layout Standard
17042 in ERT as first element of the first cell in the table row.
17045 \begin_layout Standard
17046 For dashed multicolumn lines use the command
17049 \begin_layout Standard
17054 cdashline{line number
17059 \begin_layout Standard
17060 in ERT as first element of the first cell in the table row.
17061 If you have for example a multicolumn spanning over columns 2 to 4 and
17062 you want to have a dashed line above, add the command
17065 \begin_layout Standard
17073 \begin_layout Standard
17074 as first element of the first cell in the row of the multicolumn.
17077 \begin_layout Standard
17078 \begin_inset VSpace bigskip
17084 \begin_layout Standard
17087 \begin_inset LatexCommand ref
17088 reference "tab:Table-with-dashed"
17093 \begin_inset Quotes eld
17101 \begin_inset Quotes erd
17104 as LaTeX-argument of the third column.
17111 was inserted to the first cell of the third row and the the ERT command
17120 was inserted to the first cell of the fourth row.
17123 \begin_layout Standard
17124 \begin_inset Note Greyedout
17127 \begin_layout Standard
17132 The used LaTeX-package
17136 is apparently not compatible with the LaTeX-package
17141 \begin_inset LatexCommand index
17142 name "LaTeX-packages ! colortbl"
17146 that is used for colored tables in section\InsetSpace ~
17148 \begin_inset LatexCommand ref
17149 reference "sec:Colored-Tables"
17154 That means colored tables cannot have dashed lines.
17162 \begin_layout Standard
17166 \begin_layout Standard
17176 \begin_inset Note Note
17179 \begin_layout Standard
17180 The following will be displayed when the LaTeX-package
17192 \begin_layout Standard
17193 You need to install the package
17197 to see the contents of this section in the output.
17200 \begin_layout Standard
17204 \begin_layout Standard
17216 \begin_layout Chapter
17218 \begin_inset LatexCommand index
17224 \begin_inset LatexCommand label
17232 \begin_layout Section
17234 \begin_inset LatexCommand label
17235 name "sec:FloatIntroduction"
17240 \begin_inset LatexCommand index
17241 name "Floats ! Introduction"
17248 \begin_layout Standard
17249 A float is a block of text associated with some sort of label, which doesn't
17250 have a fixed location.
17252 \begin_inset Quotes eld
17256 \begin_inset Quotes erd
17259 forward or backward a page or two, to wherever it fits best.
17266 Margin\InsetSpace ~
17269 are also floats, because they can float to the next page when there are
17270 too many notes at the page.
17273 \begin_layout Standard
17274 Floats allow a high quality layout.
17275 Images and tables can evenly be spread to the pages to avoid white space
17276 and pages without text.
17277 As the floating often destroys the context between the text and the image/table
17278 , every float can be referenced in the text.
17279 Floats are therefore numbered.
17280 Referencing is described in section\InsetSpace ~
17282 \begin_inset LatexCommand ref
17283 reference "sec:Referencing-Floats"
17290 \begin_layout Standard
17291 To insert a float, use the menu
17293 Insert\SpecialChar \menuseparator
17297 This inserts a box with a label in the
17305 \begin_layout Standard
17310 environment is described in LyX's
17319 into your document.
17320 Every label ends with the character
17321 \begin_inset Quotes eld
17325 \begin_inset Quotes erd
17328 as placeholder for the float number in the output.
17329 The label will automatically be translated to the document language in
17331 Behind the label you can insert the caption text.
17332 The image or table is inserted above or below the caption in a separate
17333 paragraph within the float.
17334 More about the caption placement is described in section\InsetSpace ~
17336 \begin_inset LatexCommand ref
17337 reference "sec:Caption-Placement"
17342 To keep your LyX-document readable, you can open and close the float box
17343 by left-clicking on the box label.
17344 A closed float box looks like this:
17345 \begin_inset Graphics
17346 filename clipart/floatQt4.png
17351 -- a gray button with a red label.
17354 \begin_layout Standard
17355 It is recommended to insert floats as a separate paragraph to avoid possible
17356 LaTeX-errors that can occur when the surrounding text is specially formatted.
17359 \begin_layout Standard
17360 Existing figures or tables can be put into a float by marking them and then
17361 pressing the corresponding toolbar button for a new float.
17364 \begin_layout Section
17368 \begin_layout Standard
17369 Besides figure and table floats that are described in section\InsetSpace ~
17371 \begin_inset LatexCommand ref
17372 reference "sec:Figure-Floats"
17377 \begin_inset LatexCommand ref
17378 reference "sec:Table-Floats"
17382 , respectively, LyX offers the float types
17395 \begin_layout Subsection
17397 \begin_inset LatexCommand index
17398 name "Floats ! Algorithm Floats"
17405 \begin_layout Standard
17406 \begin_inset Float algorithm
17412 \begin_layout Standard
17413 \begin_inset Caption
17415 \begin_layout Standard
17416 \begin_inset LatexCommand label
17417 name "alg:Example-Algorithm-float"
17421 Example Algorithm float
17429 \begin_layout LyX-Code
17432 Sum:= Sum + A(I); /*senseless comment*/
17435 \begin_inset VSpace -4mm
17446 \begin_layout Standard
17447 This float type is inserted with the menu
17449 Insert\SpecialChar \menuseparator
17450 Floats\SpecialChar \menuseparator
17454 It is used for program codes and descriptions of algorithms.
17455 A possible environment for algorithms is the
17459 , described in LyX's
17464 Algorithm\InsetSpace ~
17466 \begin_inset LatexCommand ref
17467 reference "alg:Example-Algorithm-float"
17471 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17472 mm vertical space was added
17473 at the end of the float to have the bottom rule exactly below the last
17477 \begin_layout Standard
17478 The float label is not automatically translated into the document language.
17479 If your document is not in English, you have to do this manually by adding
17480 the following line to the document preamble
17485 \begin_layout Standard
17490 floatname{algorithm}{your\InsetSpace ~
17494 \begin_layout Standard
17501 \begin_inset Quotes eld
17509 \begin_inset Quotes erd
17515 \begin_layout Description
17520 When the LaTeX-package
17525 \begin_inset LatexCommand index
17526 name "LaTeX-packages ! hyperref"
17530 is used to link cross-references to floats in the PDF-output, it must be
17531 loaded in the document preamble before the definition of floats to be able
17532 to reference floats.
17533 As LyX sets the float definition for algorithm floats automatically before
17534 the user editable part of the document preamble, you need to insert the
17535 following preamble lines
17539 the loading command of
17546 \begin_inset VSpace defskip
17553 newfloat{Xalgorithm}{tbp}{loa}
17557 floatname{Xalgorithm}{your\InsetSpace ~
17570 renewenvironment{algorithm}[1][tbp]
17576 \begin_layout Standard
17587 begin{Xalgorithm}[#1]}{
17590 \begin_inset VSpace defskip
17603 \begin_inset Quotes eld
17611 \begin_inset Quotes erd
17617 \begin_layout Standard
17618 Algorithm floats are not by default numbered in the scheme
17619 \begin_inset Quotes eld
17623 \begin_inset Quotes erd
17626 like it is the case for table and figure floats in many document-classes.
17627 To number algorithm floats in the same scheme, add this command to your
17631 \begin_layout Standard
17636 numberwithin{algorithm}{chapter}
17639 \begin_layout Standard
17640 If you use the LaTeX-package
17644 , add this line instead
17652 (the commands from above) to the preamble:
17655 \begin_layout Standard
17660 numberwithin{Xalgorithm}{chapter}
17663 \begin_layout Standard
17664 To be able to use the command
17675 in the document settings the option
17685 \begin_layout Subsection
17687 \begin_inset LatexCommand index
17688 name "Floats ! Text Wrap Floats"
17693 \begin_inset LatexCommand label
17694 name "sub:floatflt-wrap-float"
17701 \begin_layout Standard
17702 This float type is used if you want to
17703 \begin_inset Quotes eld
17707 \begin_inset Quotes erd
17710 text around a figure so that it only occupies some fraction of the column
17712 It can be inserted using the menu
17713 \begin_inset Wrap figure
17718 \begin_layout Standard
17719 \begin_inset Graphics
17720 filename clipart/mobius.eps
17723 rotateOrigin center
17730 \begin_layout Standard
17731 \begin_inset Caption
17733 \begin_layout Standard
17734 \begin_inset LatexCommand label
17735 name "fig:This-is-a"
17739 This is a wrapped figure, and this is the brilliant caption that describes
17741 \begin_inset VSpace medskip
17756 Insert\SpecialChar \menuseparator
17757 Floats\SpecialChar \menuseparator
17762 if the LaTeX-package
17767 \begin_inset LatexCommand index
17768 name "LaTeX-packages ! floatflt"
17776 \begin_layout Standard
17777 Installing a LaTeX-package is explained it in the
17787 The width and placement of the float is adjusted by right-clicking on the
17789 Figure\InsetSpace ~
17791 \begin_inset LatexCommand ref
17792 reference "fig:This-is-a"
17796 is an example text wrap float with a width of 40
17797 \begin_inset Formula $\,$
17804 \begin_layout Standard
17805 Available units are explained in
17806 \begin_inset LatexCommand ref
17807 reference "cha:Units-available-in"
17816 Some space was added under the caption to separate it better from the surroundi
17820 \begin_layout Standard
17825 also supports table wrap floats, but they are not yet supported by LyX.
17826 If you need this, read the documentation of
17831 \begin_inset LatexCommand cite
17839 \begin_layout Standard
17840 \begin_inset Note Greyedout
17843 \begin_layout Standard
17849 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17851 having a figure too close to the bottom
17852 of the page can mess things up in the way that the float doesn't appear
17853 in the output or that it is placed over some other text.
17857 \begin_layout Standard
17858 The better solution is to use the LaTeX-package
17860 wrapf\SpecialChar \textcompwordmark{}
17864 \begin_inset LatexCommand index
17865 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17871 floatf\SpecialChar \textcompwordmark{}
17874 , but it is currently not supported by LyX.
17887 \begin_layout Standard
17891 \begin_layout Itemize
17892 Wrap floats should not be placed in paragraphs that run over a page break.
17893 That means that wrap floats should better be inserted to the exact place
17894 when the document is nearly ready and you are able to estimate where page
17895 breaks will appear.
17898 \begin_layout Itemize
17899 Wrap floats should either be placed in an own paragraph before the paragraph
17900 where they should wrap into or within a paragraph.
17903 \begin_layout Itemize
17904 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17905 there is a text paragraph between them as separator.
17908 \begin_layout Itemize
17909 Wrap floats are not allowed in section headings or tables.
17912 \begin_layout Section
17914 \begin_inset LatexCommand label
17915 name "sec:Referencing-Floats"
17920 \begin_inset LatexCommand index
17921 name "Floats ! References"
17926 \begin_inset LatexCommand index
17934 \begin_layout Standard
17935 To reference a float, insert a label into its caption using the menu
17937 Insert\SpecialChar \menuseparator
17940 or the toolbar button
17941 \begin_inset Graphics
17942 filename ../images/label-insert.xpm
17948 A grey label box like this one:
17949 \begin_inset Graphics
17950 filename clipart/labelQt4.png
17955 will be inserted and the label window pops up asking for the label text.
17956 LyX offers as text the first words of the caption with a prefix.
17957 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17959 for figure floats the prefix will
17967 \begin_layout Standard
17968 The label is used as anchor and name for the reference.
17969 You can refer to the label using the menu
17971 Insert\SpecialChar \menuseparator
17974 or the toolbar button
17975 \begin_inset Graphics
17976 filename ../images/dialog-show-new-inset_ref.xpm
17982 A grey cross-reference box like this one:
17983 \begin_inset Graphics
17984 filename clipart/referenceQt4.png
17989 will be inserted and the cross-reference window appear showing all labels
17991 If you have multiple LyX-documents opened, choose the one you are working
17992 on from the drop-list at the top of the dialog.
17993 You can now sort the labels alphabetically and then choose one.
17994 At the position of the cross-reference box the float number will appear
17998 \begin_layout Standard
17999 It is recommended to use a protected space between the cross-reference name
18000 and its number to avoid line breaks between them.
18001 If a cross-reference refers to a non-existing label, you will see two question
18002 marks in the output instead of the reference.
18005 \begin_layout Standard
18006 You can change labels at any time by clicking on the label box.
18007 References to the changed label will automatically change its link to the
18008 new label text, so that you don't need to take care about this.
18011 \begin_layout Standard
18018 in the cross-reference window sets the cursor before the referred label.
18019 The button text changes then to Go\InsetSpace ~
18020 Back and you can use it to set the cursor
18021 back to the cross-reference.
18022 Right-clicking on a cross-reference box also sets the cursor before the
18023 referenced label but without a possibility to go back.
18026 \begin_layout Subsection
18027 Cross-Reference Formats
18028 \begin_inset LatexCommand label
18029 name "sub:Cross-Reference-Formats"
18034 \begin_inset LatexCommand index
18035 name "References ! Formats"
18042 \begin_layout Standard
18043 There are six varieties of cross-references:
18046 \begin_layout Description
18047 <reference>: prints the float number, this is the default:
18048 \begin_inset LatexCommand ref
18049 reference "fig:Two-distorted-images"
18056 \begin_layout Description
18057 (<reference>): prints the float number within two parentheses, this is the
18058 style normally used to reference formulas, especially when the reference
18060 \begin_inset Quotes eld
18064 \begin_inset Quotes erd
18068 \begin_inset LatexCommand eqref
18076 \begin_layout Description
18077 <page>: prints the page number: Page\InsetSpace ~
18079 \begin_inset LatexCommand pageref
18080 reference "fig:Two-distorted-images"
18087 \begin_layout Description
18090 <page>: prints the text "on page" and the page number:
18091 \begin_inset LatexCommand vpageref
18092 reference "fig:Two-distorted-images"
18099 \begin_layout Description
18100 <reference>\InsetSpace ~
18103 <page>: prints the float number, the text "on page", and
18105 \begin_inset LatexCommand vref
18106 reference "fig:Two-distorted-images"
18113 \begin_layout Description
18114 Formatted\InsetSpace ~
18115 reference: prints a self defined cross-reference format.
18117 \begin_inset Note Greyedout
18120 \begin_layout Standard
18125 This feature is only available when you have the LaTeX-package
18137 \begin_layout Standard
18138 Note that the style <page> won't print the page number if the label is on
18139 the previous, the same, or the next page.
18140 You will e.\InsetSpace \thinspace{}
18143 \begin_inset Quotes eld
18151 \begin_inset Quotes erd
18157 \begin_layout Standard
18158 The number and current page of the referred document part in the output,
18159 is automatically calculated by LaTeX.
18160 The varieties are adjusted in the field
18164 of the cross-reference window, that appear when you click on the cross-referenc
18168 \begin_layout Subsection
18169 Referencing Subfigures
18170 \begin_inset LatexCommand label
18171 name "sub:Referencing-Subfigures"
18176 \begin_inset LatexCommand index
18177 name "References ! to Subfigures"
18184 \begin_layout Standard
18185 Currently referencing subfigures is not supported by LyX, so you have to
18186 use LaTeX-commands.
18187 The label is the created with the command
18190 \begin_layout Standard
18195 label{fig:YourLabelName}
18198 \begin_layout Standard
18199 that is directly inserted into the subfigure caption field.
18200 To reference the label add this command in ERT
18203 \begin_layout Standard
18208 ref{fig:YourLabelName}
18211 \begin_layout Standard
18212 to the position in your document where the reference should be placed.
18213 Here is a reference to a subfigure: Subfigure\InsetSpace ~
18218 \begin_layout Standard
18230 \begin_layout Subsection
18231 Automatic Reference Naming
18232 \begin_inset LatexCommand index
18233 name "References ! Automatic Reference Naming"
18240 \begin_layout Standard
18245 provides a very useful feature that cross-references automatically include
18246 the name of the referenced floats (or text parts like sections).
18247 You save to write e.\InsetSpace \thinspace{}
18250 \begin_inset Quotes eld
18254 \begin_inset Quotes erd
18257 before every reference box.
18258 To get this automatic reference naming, you have to load the LaTeX-package
18264 \begin_inset LatexCommand index
18265 name "LaTeX-packages ! hyperref"
18269 in the document preamble with
18272 \begin_layout Standard
18277 usepackage[pdfborder={0 0 0}]{hyperref}
18292 \begin_layout Standard
18297 is used to link cross-references in the DVI- and PDF-output, this means
18298 that the reader of your document will be able to click on a table of content
18299 (TOC) entry or on a reference and he will be shown the referenced document
18305 also creates PDF-bookmarks for every section of your document to make it
18306 easier for readers to navigate through the document.
18307 This is also used in this document but when you have a look in the document
18308 preamble you will find various options in the load command of
18313 To learn more about the
18317 package, we refer to its documentation
18318 \begin_inset LatexCommand cite
18326 \begin_layout Standard
18327 \begin_inset Note Greyedout
18330 \begin_layout Standard
18335 Automatic reference naming cannot be used when you use cross-references
18338 Formatted\InsetSpace ~
18341 style, described in section\InsetSpace ~
18343 \begin_inset LatexCommand ref
18344 reference "sub:Cross-Reference-Formats"
18356 \begin_layout Subsection
18358 \begin_inset LatexCommand label
18359 name "sub:Reference-Position"
18364 \begin_inset LatexCommand index
18365 name "References ! Reference Position"
18372 \begin_layout Standard
18378 \begin_inset LatexCommand index
18379 name "LaTeX-packages ! hyperref"
18383 to link cross-references in the output, you will see that clicking on an
18384 image float reference jumps to the image label.
18385 The caption will be the first text part on the screen, so that you cannot
18386 see the image without scrolling.
18387 This is because the reference link anchor is placed at the position of
18389 With the use of the package
18394 \begin_inset LatexCommand index
18395 name "LaTeX-packages ! hypcap"
18399 , which is part of the LaTeX-package
18404 \begin_inset LatexCommand index
18405 name "LaTeX-packages ! oberdiek"
18409 , the link anchor is placed at the beginning of a float.
18410 To use this feature for figure floats, load
18414 in the document preamble with the line
18417 \begin_layout Standard
18422 usepackage[f\SpecialChar \textcompwordmark{}
18426 \begin_layout Standard
18431 for all floats but this isn't recommended for stability reasons.
18432 For more informations, have a look at
18437 \begin_inset LatexCommand cite
18445 \begin_layout Standard
18446 \begin_inset Note Greyedout
18449 \begin_layout Standard
18458 must be loaded after
18462 in the document preamble.
18470 \begin_layout Standard
18471 \begin_inset Note Greyedout
18474 \begin_layout Standard
18479 The set reference position has no effect for references to subfigures.
18487 \begin_layout Section
18489 \begin_inset LatexCommand label
18490 name "sec:Float-Placement"
18495 \begin_inset LatexCommand index
18496 name "Floats ! Placement"
18503 \begin_layout Standard
18504 Right-clicking on a float-box opens a dialog where you can alter the placement
18505 options that LaTeX uses for positioning the float.
18512 is only useful for two-column documents: If you select it, the float will
18513 span across both columns on the page instead of being confined to just
18518 Rotate\InsetSpace ~
18521 is used to rotate floats, see section
18522 \begin_inset LatexCommand ref
18523 reference "sec:Rotated-Floats"
18530 \begin_layout Standard
18531 You can use one ore more of the following options in the float dialog to
18532 set the placement for a particular float when you uncheck the option
18535 default\InsetSpace ~
18541 \begin_layout Description
18544 possible: try to place the float on the position where it is inserted
18547 \begin_layout Description
18550 page: try to place the float on the top of the current page
18553 \begin_layout Description
18554 Bottom\InsetSpace ~
18556 page: try to place the float on the bottom of the current page
18559 \begin_layout Description
18562 floats: try to place the float on an own page
18565 \begin_layout Standard
18566 The order of the above option is
18571 That means, if you use the default placement, LaTeX will first try out
18584 , and then the others.
18585 If you don't use the default, LaTeX will try only the checked options but
18587 If none of the 4 placements are possible the procedure is internally repeated
18588 but it is tried to put the float on the following page.
18591 \begin_layout Standard
18592 By default, each options has its own rules:
18595 \begin_layout Labeling
18596 \labelwidthstring 00.00.0000
18603 only floats occupying less than 70\InsetSpace \thinspace{}
18604 % of the page can be placed at the top
18614 \begin_layout Labeling
18615 \labelwidthstring 00.00.0000
18618 Bottom\InsetSpace ~
18622 : only floats occupying less than 30\InsetSpace \thinspace{}
18623 % of the page can be placed at the bottom
18634 \begin_layout Labeling
18635 \labelwidthstring 00.00.0000
18642 : only if more than 50\InsetSpace \thinspace{}
18643 % of the page are occupied by floats, several floats
18644 can be set together on a page.
18654 \begin_layout Standard
18655 If you don't like these rules, you can ignore them by using the additional
18658 Ignore\InsetSpace ~
18664 You can also redefine the rules with LaTeX-commands that are given in parenthese
18665 s behind the rules description above.
18666 To increase for example the often too small default of the bottom-rule
18667 to 50\InsetSpace \thinspace{}
18668 % of the page, add this line to your document preamble:
18671 \begin_layout Standard
18678 bottomfraction}{0.5}
18681 \begin_layout Standard
18682 Sometimes you might need, under all circumstances, a float to be placed
18683 exactly at the position where it is inserted.
18684 For this case you can use the option
18690 Use this option very rarely and only if the document is nearly ready to
18692 Because the float is then no longer able to
18693 \begin_inset Quotes eld
18697 \begin_inset Quotes erd
18700 when you change your document and this will often destroy the page layout.
18703 \begin_layout Standard
18704 There are no placement options for text wrap floats, because they are always
18705 surrounded by the text of a certain paragraph.
18706 \begin_inset VSpace bigskip
18712 \begin_layout Standard
18713 Sometimes you have the problem that a float is placed at the top of a page
18714 while its corresponding section starts at the middle of the page, so that
18715 the reader could think the float is part of the previous section.
18716 To avoid this the LaTeX-command
18720 suppressf\SpecialChar \textcompwordmark{}
18724 It suppresses a given float placement for the page where it is inserted
18725 and can therefore be used to avoid that floats could be set before a section
18727 To get this, add these commands to your document preamble:
18730 \begin_layout Standard
18747 suppressf\SpecialChar \textcompwordmark{}
18753 \begin_layout Standard
18754 You can define the same for all section headings, like chapters and subsections.
18755 This definition is not recommended to be used for small text parts like
18756 subsubsections because LaTeX may then have problems to find a suitable
18760 \begin_layout Standard
18761 \begin_inset VSpace bigskip
18764 In some cases it is required to have all figures/tables at the end of the
18766 For this purpose the LaTeX-package
18768 endf\SpecialChar \textcompwordmark{}
18772 \begin_inset LatexCommand index
18773 name "LaTeX-packages ! endfloat"
18778 It puts all figure and table floats at the end of the document into own
18780 At the original float position a text hint like
18781 \begin_inset Quotes eld
18786 [Figure\InsetSpace ~
18790 \begin_inset Quotes erd
18794 The endfloat-package is loaded in the preamble with the line
18797 \begin_layout Standard
18802 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18806 \begin_layout Standard
18807 There are various package options to format the created figure/table sections.
18808 For more information we refer to the
18810 endf\SpecialChar \textcompwordmark{}
18814 \begin_inset LatexCommand cite
18822 \begin_inset Note Greyedout
18825 \begin_layout Standard
18828 Note: endf\SpecialChar \textcompwordmark{}
18831 doesn't provide an automatic translation for the text hint, you have to
18832 do this manually, see section\InsetSpace ~
18834 \begin_inset LatexCommand cite
18847 \begin_inset Note Greyedout
18850 \begin_layout Standard
18855 There is currently a bug in
18857 endf\SpecialChar \textcompwordmark{}
18860 when the caption contains a German
18861 \begin_inset Quotes eld
18865 \begin_inset Quotes erd
18869 Use in this case the command
18870 \begin_inset Quotes eld
18880 \begin_inset Quotes erd
18884 \begin_inset Quotes eld
18888 \begin_inset Quotes erd
18899 \begin_layout Standard
18900 \begin_inset VSpace bigskip
18903 For more details about float placements, have a look at LaTeX books,
18904 \begin_inset LatexCommand cite
18905 key "latexcompanion,latexguide,latexbook"
18912 \begin_layout Section
18914 \begin_inset LatexCommand label
18915 name "sec:Rotated-Floats"
18920 \begin_inset LatexCommand index
18921 name "Floats ! Rotating"
18928 \begin_layout Standard
18929 Especially for wide tables you might have floats rotated.
18930 To rotate a whole float including the caption, right-click on the float-box
18933 Rotate\InsetSpace ~
18939 \begin_layout Standard
18940 Rotated floats are always placed on its own page (or column, when you have
18941 a two-column document).
18942 They are normally rotated so that you can read them from the outside margin
18943 -- to the left on even pages, to the right on odd pages.
18946 \begin_layout Standard
18947 Referencing rotated floats is the same like for normal floats, the caption
18948 format is also the same: Table\InsetSpace ~
18950 \begin_inset LatexCommand ref
18951 reference "tab:Rotated-table"
18955 is an example of a rotated table float.
18958 \begin_layout Standard
18959 \begin_inset Note Greyedout
18962 \begin_layout Standard
18967 Not all DVI-viewers are able to display rotated floats.
18975 \begin_layout Standard
18976 \begin_inset Float table
18981 \begin_layout Standard
18982 \begin_inset Caption
18984 \begin_layout Standard
18985 \begin_inset LatexCommand label
18986 name "tab:Rotated-table"
18998 \begin_layout Standard
19000 \begin_inset Tabular
19001 <lyxtabular version="3" rows="1" columns="5">
19003 <column alignment="center" valignment="top" leftline="true" width="0">
19004 <column alignment="center" valignment="top" leftline="true" width="0">
19005 <column alignment="center" valignment="top" leftline="true" width="0">
19006 <column alignment="center" valignment="top" leftline="true" width="0">
19007 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19008 <row topline="true" bottomline="true">
19009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19012 \begin_layout Standard
19018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19021 \begin_layout Standard
19027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19030 \begin_layout Standard
19036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19039 \begin_layout Standard
19045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19048 \begin_layout Standard
19067 \begin_layout Section
19069 \begin_inset LatexCommand index
19070 name "Caption ! Formatting"
19075 \begin_inset LatexCommand index
19076 name "Floats ! Caption Formatting"
19081 \begin_inset LatexCommand index
19082 name "LaTeX-packages ! caption"
19087 \begin_inset LatexCommand label
19088 name "sec:Caption-Formatting"
19095 \begin_layout Standard
19100 environment is the default paragraph environment for
19105 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19108 \begin_inset Quotes eld
19116 \begin_inset Quotes erd
19119 followed by the caption text.
19121 \begin_inset Quotes eld
19125 \begin_inset Quotes erd
19128 is substituted in the printed output by the actual reference number.
19129 By default the label and the number are in the same font as the caption
19130 text and a colon follows the number to divide then label from the text.
19131 This caption format is not suitable for all document formats.
19135 \begin_layout Standard
19136 To change the default caption format, load the LaTeX-package
19141 \begin_inset LatexCommand index
19142 name "LaTeX-packages ! caption"
19146 in the document preamble with this line:
19149 \begin_layout Standard
19154 usepackage[format definition]{caption}
19157 \begin_layout Standard
19158 To have for example the label and the number in sans-serif bold font and
19159 the table captions always above the table like in this document, use the
19163 \begin_layout Standard
19168 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19171 \begin_layout Standard
19172 You can also define different caption formats for the different float types.
19173 In this case load the
19177 package without format specific options and define the different formats
19178 with the help of the command
19181 \begin_layout Standard
19186 captionsetup[float type]{format definition}
19189 \begin_layout Standard
19190 in the document preamble.
19191 For example the caption formats of Figure\InsetSpace ~
19193 \begin_inset LatexCommand ref
19194 reference "fig:This-is-an-fig"
19198 and Table\InsetSpace ~
19200 \begin_inset LatexCommand ref
19201 reference "tab:This-is-an-tab"
19205 can be created using these commands in the document preamble:
19208 \begin_layout Standard
19213 usepackage[tableposition=top]{caption}
19221 captionsetup[f\SpecialChar \textcompwordmark{}
19222 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19228 \begin_layout Standard
19236 captionsetup[figure]
19247 captionsetup[table]{labelfont={bf,sf}}
19250 \begin_layout Standard
19251 For more information about the package
19255 we refer to its documentation
19256 \begin_inset LatexCommand cite
19257 key "caption,caption-de"
19264 \begin_layout Standard
19265 \begin_inset VSpace bigskip
19273 \begin_inset LatexCommand index
19274 name "LaTeX-packages ! koma-script"
19280 article (koma-script)
19288 letter (koma-script)
19292 report (koma-script)
19294 \InsetSpace \thinspace{}
19295 ), you can alternatively to the
19303 's built-in command
19310 For example, to have the caption label in bold, add this command to your
19314 \begin_layout Standard
19319 setkomafont{captionlabel}{
19324 \begin_layout Standard
19325 For more information about
19336 \begin_inset LatexCommand cite
19337 key "koma-script,koma-script-de"
19344 \begin_layout Standard
19348 \begin_layout Standard
19352 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19359 \begin_inset Note Note
19362 \begin_layout Standard
19363 The caption format is changed only for this example.
19371 \begin_layout Standard
19372 \begin_inset Float figure
19378 \begin_layout Standard
19380 \begin_inset Graphics
19381 filename clipart/mobius.eps
19390 \begin_layout Standard
19391 \begin_inset Caption
19393 \begin_layout Standard
19394 \begin_inset LatexCommand label
19395 name "fig:This-is-an-fig"
19399 This is an example figure caption that is longer than one line to show the
19400 different caption format.
19401 Here a self-defined caption format is used.
19414 \begin_layout Standard
19418 \begin_layout Standard
19422 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19431 \begin_layout Standard
19432 \begin_inset Float table
19438 \begin_layout Standard
19439 \begin_inset Caption
19441 \begin_layout Standard
19442 \begin_inset LatexCommand label
19443 name "tab:This-is-an-tab"
19447 This is an example table caption that is longer than one line to show the
19448 different caption format.
19449 Here the standard caption format for tables in this document is used.
19457 \begin_layout Standard
19459 \begin_inset Tabular
19460 <lyxtabular version="3" rows="1" columns="5">
19462 <column alignment="center" valignment="top" leftline="true" width="0">
19463 <column alignment="center" valignment="top" leftline="true" width="0">
19464 <column alignment="center" valignment="top" leftline="true" width="0">
19465 <column alignment="center" valignment="top" leftline="true" width="0">
19466 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19467 <row topline="true" bottomline="true">
19468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19471 \begin_layout Standard
19477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19480 \begin_layout Standard
19486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19489 \begin_layout Standard
19495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19498 \begin_layout Standard
19504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19507 \begin_layout Standard
19526 \begin_layout Section
19528 \begin_inset LatexCommand index
19529 name "Caption ! Placement"
19534 \begin_inset LatexCommand index
19535 name "Floats ! Caption Placement"
19540 \begin_inset LatexCommand label
19541 name "sec:Caption-Placement"
19548 \begin_layout Standard
19549 The common caption placement rule is:
19552 \begin_layout Description
19553 Figure: Caption is set below the figure
19556 \begin_layout Description
19557 Table: Caption is set above the table
19560 \begin_layout Standard
19561 Having the caption above the table is unfortunately not supported in LaTeX's
19563 That means if you are using the document classes
19579 there will be no space between the caption and the table.
19580 To insert the needed space, add the following option to the load command
19581 of the LaTeX-package
19585 in your document preamble
19589 \begin_layout Standard
19590 See section\InsetSpace ~
19592 \begin_inset LatexCommand ref
19593 reference "sec:Caption-Formatting"
19597 for more information of the package
19609 \begin_layout Standard
19615 \begin_layout Standard
19621 \begin_inset LatexCommand index
19622 name "LaTeX-packages ! koma-script"
19628 article (koma-script)
19636 letter (koma-script)
19640 report (koma-script)
19642 \InsetSpace \thinspace{}
19643 ), you can alternatively to the
19647 package set the document class option
19651 , or you can use the environment
19653 caption\InsetSpace ~
19663 \begin_layout Standard
19664 \begin_inset VSpace bigskip
19667 It is also possible to set the caption beside a figure or table.
19668 To get this the LaTeX-package
19673 \begin_inset LatexCommand index
19674 name "LaTeX-packages ! sidecap"
19678 has to be loaded in the document preamble with the line
19681 \begin_layout Standard
19686 usepackage[option]{sidecap}
19689 \begin_layout Standard
19690 If you set no option, the caption is placed on the side of the outer page
19691 margin -- to the right on odd pages, to the left on even pages.
19692 You can change the placement to inner margin with the option
19697 To force the placement always to the right or left, use the option
19708 \begin_layout Standard
19709 To place in LyX the caption of a float on the side, it is necessary to add
19710 these commands to the document preamble:
19713 \begin_layout Standard
19719 \begin_layout Standard
19732 \begin_layout Standard
19753 \begin_layout Standard
19774 \begin_layout Standard
19785 renewenvironment{table}{
19792 \begin_layout Standard
19805 \begin_layout Standard
19826 \begin_layout Standard
19844 \begin_layout Standard
19857 \begin_layout Standard
19872 f\SpecialChar \textcompwordmark{}
19879 \begin_layout Standard
19892 MyEndf\SpecialChar \textcompwordmark{}
19895 endf\SpecialChar \textcompwordmark{}
19902 \begin_layout Standard
19913 renewenvironment{f\SpecialChar \textcompwordmark{}
19916 begin{SCf\SpecialChar \textcompwordmark{}
19919 end{SCf\SpecialChar \textcompwordmark{}
19923 \begin_layout Standard
19936 \begin_layout Standard
19949 f\SpecialChar \textcompwordmark{}
19958 \begin_layout Standard
19971 endf\SpecialChar \textcompwordmark{}
19974 MyEndf\SpecialChar \textcompwordmark{}
19978 \begin_layout Standard
19984 \begin_layout Standard
19985 The commands allow you to redefine the floats so that the caption is set
19987 For figure floats use the command
19990 \begin_layout Standard
19998 \begin_layout Standard
19999 in ERT before the float.
20000 Behind the float insert the command
20003 \begin_layout Standard
20011 \begin_layout Standard
20012 in ERT to get back to the original float definition.
20015 \begin_layout Standard
20016 For table floats use the corresponding commands
20019 \begin_layout Standard
20033 \begin_layout Standard
20034 Figure\InsetSpace ~
20036 \begin_inset LatexCommand ref
20037 reference "fig:cap-beside-fig"
20041 and Table\InsetSpace ~
20043 \begin_inset LatexCommand ref
20044 reference "tab:cap-beside-tab"
20048 are examples where the caption is set beside.
20051 \begin_layout Standard
20052 You can see in the examples that the caption text appears at the top of
20053 the floats for table floats and at the bottom for figure floats.
20054 To change this, you can use the command
20057 \begin_layout Standard
20062 sidecaptionvpos{float type}{placement}
20065 \begin_layout Standard
20066 in the document preamble or in ERT before the float.
20067 The float type is either
20075 , the placement can be
20076 \begin_inset Quotes eld
20084 \begin_inset Quotes erd
20088 \begin_inset Quotes eld
20096 \begin_inset Quotes erd
20100 \begin_inset Quotes eld
20108 \begin_inset Quotes erd
20112 To have for example the caption of figure floats vertically centered, use
20116 \begin_layout Standard
20121 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20125 \begin_layout Standard
20126 This was used for Figure\InsetSpace ~
20128 \begin_inset LatexCommand ref
20129 reference "fig:cap-beside-fig-2"
20136 \begin_layout Standard
20137 \begin_inset VSpace defskip
20140 For more information about the package
20144 we refer to its documentation
20145 \begin_inset LatexCommand cite
20153 \begin_layout Standard
20154 \begin_inset Note Greyedout
20157 \begin_layout Standard
20167 \begin_inset LatexCommand index
20168 name "LaTeX-packages ! hypcap"
20172 , described in section\InsetSpace ~
20174 \begin_inset LatexCommand ref
20175 reference "sub:Reference-Position"
20179 , has no effect on floats with the caption set beside.
20187 \begin_layout Standard
20191 \begin_layout Standard
20203 \begin_layout Standard
20204 \begin_inset Float figure
20209 \begin_layout Standard
20210 \begin_inset Graphics
20211 filename clipart/escher-lsd.eps
20219 \begin_layout Standard
20220 \begin_inset Caption
20222 \begin_layout Standard
20223 \begin_inset LatexCommand label
20224 name "fig:cap-beside-fig"
20228 This is a caption beside a figure.
20241 \begin_layout Standard
20245 \begin_layout Standard
20257 \begin_layout Standard
20258 \begin_inset Float table
20263 \begin_layout Standard
20264 \begin_inset Caption
20266 \begin_layout Standard
20267 \begin_inset LatexCommand label
20268 name "tab:cap-beside-tab"
20272 This is a caption beside a table.
20280 \begin_layout Standard
20281 \begin_inset Tabular
20282 <lyxtabular version="3" rows="4" columns="5">
20284 <column alignment="center" valignment="top" leftline="true" width="0">
20285 <column alignment="center" valignment="top" leftline="true" width="0">
20286 <column alignment="center" valignment="top" leftline="true" width="0">
20287 <column alignment="center" valignment="top" leftline="true" width="0">
20288 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20289 <row topline="true">
20290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20293 \begin_layout Standard
20299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20302 \begin_layout Standard
20308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20311 \begin_layout Standard
20317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20320 \begin_layout Standard
20326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20329 \begin_layout Standard
20336 <row topline="true">
20337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20340 \begin_layout Standard
20346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20349 \begin_layout Standard
20355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20358 \begin_layout Standard
20364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20367 \begin_layout Standard
20373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20376 \begin_layout Standard
20383 <row topline="true">
20384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20387 \begin_layout Standard
20393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20396 \begin_layout Standard
20402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20405 \begin_layout Standard
20411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20414 \begin_layout Standard
20420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20423 \begin_layout Standard
20430 <row topline="true" bottomline="true">
20431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20434 \begin_layout Standard
20440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20443 \begin_layout Standard
20449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20452 \begin_layout Standard
20458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20461 \begin_layout Standard
20467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20470 \begin_layout Standard
20489 \begin_layout Standard
20493 \begin_layout Standard
20505 \begin_layout Standard
20509 \begin_layout Standard
20513 sidecaptionvpos{figure}{c}
20519 \begin_inset Float figure
20524 \begin_layout Standard
20525 \begin_inset Graphics
20526 filename clipart/escher-lsd.eps
20534 \begin_layout Standard
20535 \begin_inset Caption
20537 \begin_layout Standard
20538 \begin_inset LatexCommand label
20539 name "fig:cap-beside-fig-2"
20543 This is a vertically centered caption beside a figure.
20556 \begin_layout Standard
20560 \begin_layout Standard
20572 \begin_layout Section
20574 \begin_inset LatexCommand label
20575 name "sec:Listings-of-Floats"
20580 \begin_inset LatexCommand index
20581 name "Floats ! Listings"
20588 \begin_layout Standard
20589 Similar to the the table of contents where the sections of the document
20590 are listed, there are listings for all float types, like the figures of
20592 You can insert them via the
20594 Insert\SpecialChar \menuseparator
20602 \begin_layout Standard
20603 The list entries are the float captions or its short title, the float number,
20604 and the page number where they appear in the document.
20607 \begin_layout Standard
20608 You can find the list of figures and tables at the end of this document.
20611 \begin_layout Chapter
20615 \begin_layout Section
20619 \begin_layout Standard
20632 \begin_layout Standard
20640 \begin_inset LatexCommand label
20641 name "sec:LyX-Notes"
20646 \begin_inset LatexCommand index
20647 name "Notes ! LyX Notes"
20652 \begin_inset Note Note
20655 \begin_layout Standard
20658 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20659 are displayed wrongly in PDF-bookmarks.
20660 For more information about this, have a look at
20661 \begin_inset LatexCommand cite
20674 \begin_layout Standard
20675 Notes are inserted with the toolbar button
20676 \begin_inset Graphics
20677 filename ../images/note-insert.xpm
20684 Insert\SpecialChar \menuseparator
20688 There are three types of notes:
20691 \begin_layout Description
20693 Note This note type is for internal notes that won't appear in the output.
20694 Its note-box looks like this:
20699 \begin_inset Graphics
20700 filename clipart/LyXNoteImageQt4.png
20707 \begin_inset Note Note
20710 \begin_layout Standard
20711 This is text in a note box that doesn't appear in the output.
20719 \begin_layout Description
20720 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20721 ent, when you export the document to LaTeX via the menu
20723 File\SpecialChar \menuseparator
20724 Export\SpecialChar \menuseparator
20725 LaTeX (pdflatex) / LaTeX (plain)
20728 Its note-box looks like this:
20733 \begin_inset Graphics
20734 filename clipart/CommentNoteImageQt4.png
20741 \begin_inset Note Comment
20744 \begin_layout Standard
20745 This is text in a note box that only appears as comment in LaTeX-files.
20753 \begin_layout Description
20754 Greyed\InsetSpace ~
20755 Out This note will appear in the output as grey text.
20756 Its note-box looks like this:
20761 \begin_inset Graphics
20762 filename clipart/GreyedOutNoteImageQt4.png
20774 \begin_layout Standard
20778 renewenvironment{lyxgreyedout}
20781 \begin_layout Standard
20785 textcolor[gray]{0.8}
20795 \begin_inset Note Greyedout
20798 \begin_layout Standard
20803 \begin_layout Standard
20804 This is an example footnote within a greyed out note.
20809 of a comment that appears in the output as grey text.
20818 \begin_layout Standard
20822 renewenvironment{lyxgreyedout}
20825 \begin_layout Standard
20839 \begin_inset Note Note
20842 \begin_layout Standard
20843 The greyed out note is here redefined to show it with the original LyX definitio
20844 n because greyed out notes are redefined in the preamble of this document,
20845 as described below, to have blue text.
20854 As you can see in the example, the first line of greyed out notes is a bit
20855 indented and greyed out notes can have footnotes.
20858 \begin_layout Description
20859 Framed This note will appear in the output as framed text.
20860 Its note-box looks like this:
20865 \begin_inset Graphics
20866 filename clipart/FramedNoteImageQt4.png
20873 \begin_inset Note Framed
20876 \begin_layout Standard
20877 This is text in a note box that appears framed in the output.
20882 In contrary to framed boxes
20886 \begin_layout Standard
20887 Framed boxes are described in section\InsetSpace ~
20889 \begin_inset LatexCommand ref
20890 reference "sec:Framed-Boxes"
20899 the frame uses always the whole text width and the note is set into its
20903 \begin_layout Description
20904 Shaded This note will appear in the output with red background color.
20905 Its note box looks like this:
20910 \begin_inset Graphics
20911 filename clipart/ShadedNoteImageQt4.png
20918 \begin_inset Note Shaded
20921 \begin_layout Standard
20922 This text in a note box appears in the output with red background.
20927 In contrary to colored boxes
20931 \begin_layout Standard
20932 Colored boxes are described in section\InsetSpace ~
20934 \begin_inset LatexCommand ref
20935 reference "sec:Colored-Boxes"
20944 the note uses always the whole text width and the note is set into its
20948 \begin_layout Standard
20949 \begin_inset VSpace bigskip
20952 When you use the toolbar button to insert notes, a
20958 You can switch between the three note types by right-clicking on the note-box.
20963 If you want to turn existing text into a note, mark it and click on the
20979 \begin_layout Standard
20980 \begin_inset VSpace bigskip
20983 You can change the text color of the greyed out notes in the preamble with
20984 the following command:
20987 \begin_layout Standard
20992 renewenvironment{lyxgreyedout}
20998 \begin_layout Standard
21016 \begin_layout Standard
21017 The available colors and the method to define own colors is explained in
21018 section\InsetSpace ~
21020 \begin_inset LatexCommand ref
21021 reference "sec:Colored-Tables"
21028 \begin_layout Standard
21029 Notes that appear in blue in this document are set using greyed out notes
21033 \begin_layout Standard
21034 \begin_inset VSpace bigskip
21040 \begin_layout Standard
21049 notes can be set in the
21056 \begin_layout Standard
21057 The default frame width for
21061 notes is 0.4\InsetSpace \thinspace{}
21062 pt; it can be changed by changing the size
21069 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21071 be changed by changing the size
21078 For example the frame appearance of the following
21082 note is set with the ERT commands
21085 \begin_layout Standard
21095 \begin_layout Standard
21099 \begin_layout Standard
21111 \begin_inset Note Framed
21114 \begin_layout Standard
21128 \begin_layout Standard
21142 \begin_layout Standard
21143 \begin_inset VSpace bigskip
21149 \begin_layout Standard
21154 notes the default space between the note content and the note border is
21155 3\InsetSpace \thinspace{}
21156 pt; it can be changed by changing the size
21164 The default background color red can be changed with the command
21168 def\SpecialChar \textcompwordmark{}
21176 def\SpecialChar \textcompwordmark{}
21179 command is explained in section\InsetSpace ~
21181 \begin_inset LatexCommand ref
21182 reference "sec:Colored-Tables"
21190 \begin_layout Standard
21197 \SpecialChar \textcompwordmark{}
21202 requires the LaTeX-package
21206 in the preamble, see section\InsetSpace ~
21208 \begin_inset LatexCommand ref
21209 reference "sec:Colored-Boxes"
21221 \begin_layout Standard
21222 For example the appearance of the following
21226 note is set with the ERT commands
21229 \begin_layout Standard
21242 def\SpecialChar \textcompwordmark{}
21243 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21246 \begin_layout Standard
21250 \begin_layout Standard
21263 \begin_layout Standard
21267 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21273 \begin_inset Note Shaded
21276 \begin_layout Standard
21279 This is yellow text in a
21289 note with darkgreen background.
21298 \begin_layout Standard
21311 \begin_layout Standard
21315 definecolor{shadecolor}{rgb}{1,0,0}
21323 \begin_layout Section
21325 \begin_inset LatexCommand label
21326 name "sec:Footnotes"
21331 \begin_inset LatexCommand index
21332 name "Notes ! Footnotes"
21337 \begin_inset LatexCommand index
21345 \begin_layout Standard
21346 Footnotes can be inserted using the toolbar button
21347 \begin_inset Graphics
21348 filename ../images/footnote-insert.xpm
21355 Insert\SpecialChar \menuseparator
21367 then the following footnote-box:
21368 \begin_inset Graphics
21369 filename clipart/footnoteQt4.png
21378 where you can enter the footnote text.
21379 If you want to turn existing text into a footnote, mark it and click on
21395 \begin_layout Standard
21396 Here is an example footnote:
21404 \begin_layout Standard
21405 \begin_inset LatexCommand label
21406 name "foot:This-is-an"
21410 This is an example footnote.
21423 \begin_layout Standard
21427 newcounter{MyRepeatFoot}
21430 \begin_layout Standard
21434 setcounter{MyRepeatFoot}{
21444 \begin_layout Standard
21445 The footnote will appear in the output as a superscript number at the text
21446 position where the footnote box is placed.
21447 The footnote text is placed at the bottom of the current page.
21448 The footnote number is calculated by LaTeX, the numbers are consecutive.
21449 It depends on your document-class, if the footnote number is reset for
21453 \begin_layout Standard
21454 Footnotes can be referenced like floats: Insert a label into the footnote
21455 and cross-reference this label in the text as described in section\InsetSpace ~
21457 \begin_inset LatexCommand ref
21458 reference "sec:Referencing-Floats"
21464 This is a cross-reference of Footnote\InsetSpace ~
21466 \begin_inset LatexCommand ref
21467 reference "foot:This-is-an"
21474 \begin_inset Note Greyedout
21477 \begin_layout Standard
21482 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21483 e.\InsetSpace \thinspace{}
21488 \begin_inset Quotes eld
21494 \begin_inset Quotes erd
21497 manually when you want to use the reference style
21499 Formatted\InsetSpace ~
21510 \begin_layout Standard
21511 \begin_inset VSpace defskip
21514 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21516 \begin_inset LatexCommand ref
21517 reference "sec:Minipages"
21522 Footnotes within longtables are described in section\InsetSpace ~
21524 \begin_inset LatexCommand ref
21525 reference "sub:Footnotes-in-Longtables"
21532 \begin_layout Standard
21533 \begin_inset VSpace defskip
21536 To create only a mark for a footnote, use the command
21540 footnotemark[number]
21543 This is used when you have the same annotation several times in a text
21544 but doesn't want to print the footnote text every time.
21547 the number of the repeating footnote while you are writing the text, you
21548 have to store its number.
21549 For the following footnote mark example, these commands were inserted in
21550 ERT behind Footnote\InsetSpace ~
21552 \begin_inset LatexCommand ref
21553 reference "foot:This-is-an"
21557 to store the footnote number:
21560 \begin_layout Standard
21565 newcounter{MyRepeatFoot}
21569 setcounter{MyRepeatFoot}{
21574 \begin_layout Standard
21575 The footnote mark was then created with this command:
21578 \begin_layout Standard
21588 \begin_layout Standard
21589 Here is an example footnote mark:
21597 \begin_layout Standard
21611 \begin_layout Subsection
21613 \begin_inset LatexCommand label
21614 name "sub:Footnote-Numbering"
21619 \begin_inset LatexCommand index
21620 name "Footnotes ! Numbering"
21627 \begin_layout Standard
21628 If you want to have footnotes numbered in the scheme
21629 \begin_inset Quotes eld
21633 \begin_inset Quotes erd
21636 , add the following command to your document preamble:
21639 \begin_layout Standard
21644 numberwithin{footnote}{chapter}
21647 \begin_layout Standard
21648 To be able to use the command
21659 in the document settings the option
21669 \begin_layout Standard
21673 \begin_layout Standard
21677 numberwithin{footnote}{chapter}
21682 This is another example footnote:
21688 \begin_layout Standard
21689 This is a footnote numbered in the scheme
21690 \begin_inset Quotes eld
21694 \begin_inset Quotes erd
21708 \begin_layout Standard
21712 numberwithin{footnote}{part}
21720 \begin_layout Standard
21721 \begin_inset VSpace bigskip
21727 \begin_layout Standard
21728 To reset the footnote number back to 1 after each section
21730 , add this command to your document preamble:
21733 \begin_layout Standard
21738 @addtoreset{footnote}{section}
21741 \begin_layout Standard
21742 \begin_inset VSpace bigskip
21745 The following preamble command changes the footnote numbering style to small
21749 \begin_layout Standard
21761 \begin_layout Standard
21765 \begin_layout Standard
21778 This is a footnote with roman numbering:
21782 \begin_layout Standard
21783 This is an example footnote with roman numbering.
21792 \begin_layout Standard
21808 \begin_layout Standard
21809 To change the numbering style to capital roman numerals replace in the command
21824 \begin_inset Quotes eld
21828 \begin_inset Quotes erd
21831 footnotes with capital or small Latin letters use
21845 \begin_inset Quotes eld
21849 \begin_inset Quotes erd
21852 footnotes with symbols use
21861 \begin_layout Standard
21862 \begin_inset Note Greyedout
21865 \begin_layout Standard
21870 You can only number 26 footnotes with Latin letters, because this numbering
21871 is limited to single letters.
21879 \begin_inset Note Greyedout
21882 \begin_layout Standard
21887 You can only number 9 footnotes with symbols.
21895 \begin_layout Standard
21896 To return to the default numbering style when you changed to another one,
21909 in the command above.
21912 \begin_layout Subsection
21914 \begin_inset LatexCommand index
21915 name "Footnotes ! Placement"
21922 \begin_layout Standard
21923 If you have several footnotes in one page, they appear without vertical
21924 space between them at the bottom of the page.
21925 To make them better readable you can e.\InsetSpace \thinspace{}
21927 add 1.5\InsetSpace \thinspace{}
21928 mm space with the following
21932 \begin_layout Standard
21954 \begin_layout Standard
21955 \begin_inset VSpace bigskip
21958 In a two-column document the footnotes appear at the bottom of every column,
21959 see Figure\InsetSpace ~
21961 \begin_inset LatexCommand ref
21962 reference "fig:Standard-footnote-placement"
21967 If the footnotes should only appear at the bottom of the right column,
21968 as in Figure\InsetSpace ~
21970 \begin_inset LatexCommand ref
21971 reference "fig:Footnote-placement-in"
21975 , use the LaTeX-package
21980 \begin_inset LatexCommand index
21981 name "LaTeX-packages ! ftnright"
21985 with this command in the document preamble:
21988 \begin_layout Standard
21993 usepackage{ftnright}
21996 \begin_layout Standard
21997 \begin_inset Float figure
22003 \begin_layout Standard
22007 \begin_layout Standard
22017 \begin_inset Graphics
22018 filename clipart/without_fntright.pdf
22027 \begin_layout Standard
22037 \begin_layout Standard
22038 \begin_inset Caption
22040 \begin_layout Standard
22041 \begin_inset LatexCommand label
22042 name "fig:Standard-footnote-placement"
22046 Standard footnote placement in two-column documents.
22059 \begin_layout Standard
22060 \begin_inset Float figure
22066 \begin_layout Standard
22070 \begin_layout Standard
22080 \begin_inset Graphics
22081 filename clipart/with_fntright.pdf
22090 \begin_layout Standard
22100 \begin_layout Standard
22101 \begin_inset Caption
22103 \begin_layout Standard
22104 \begin_inset LatexCommand label
22105 name "fig:Footnote-placement-in"
22109 Footnote placement in two-column documents when the LaTeX-package
22126 \begin_layout Standard
22127 \begin_inset VSpace bigskip
22130 In some scientific literature it is usual to collect the footnotes and print
22131 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22133 \begin_inset LatexCommand ref
22134 reference "fig:Endnotes----footnotes"
22139 They are then so called
22140 \begin_inset Quotes eld
22144 \begin_inset Quotes erd
22148 To use endnotes instead of footnotes in your document, load the LaTeX-package
22154 \begin_inset LatexCommand index
22155 name "LaTeX-packages ! endnotes"
22159 with the document preamble lines
22162 \begin_layout Standard
22167 usepackage{endnotes}
22178 \begin_layout Standard
22179 To insert the collected footnotes, insert the command
22182 \begin_layout Standard
22190 \begin_layout Standard
22191 in ERT at the the end of a section or chapter.
22194 \begin_layout Standard
22195 \begin_inset Float figure
22200 \begin_layout Standard
22205 \begin_layout Standard
22215 \begin_inset Graphics
22216 filename clipart/endnotes.pdf
22224 \begin_layout Standard
22234 \begin_layout Standard
22235 \begin_inset Caption
22237 \begin_layout Standard
22238 \begin_inset LatexCommand label
22239 name "fig:Endnotes----footnotes"
22243 Endnotes -- footnotes are printed in a separate paragraph at the end of
22244 sections or chapters.
22257 \begin_layout Standard
22258 \begin_inset VSpace defskip
22261 The paragraph heading for the endnotes isn't automatically translated into
22262 the document language, this must be done manually.
22263 The following preamble command translate the default English name
22264 \begin_inset Quotes eld
22268 \begin_inset Quotes erd
22271 to the German translation
22272 \begin_inset Quotes eld
22276 \begin_inset Quotes erd
22282 \begin_layout Standard
22289 notesname}{Anmerkungen}
22292 \begin_layout Standard
22293 \begin_inset VSpace defskip
22296 The numbering of endnotes can be changed like the footnote numbering as
22297 described in section\InsetSpace ~
22299 \begin_inset LatexCommand ref
22300 reference "sub:Footnote-Numbering"
22304 ; just replace the command
22317 To reset the endnote number use the command
22323 as described in section\InsetSpace ~
22325 \begin_inset LatexCommand ref
22326 reference "sub:Footnote-Numbering"
22330 and replace the command parameter
22341 \begin_layout Standard
22342 To create only a mark for an endnote, use the command
22346 endnotemark[number]
22348 similar to the command
22354 , described in section\InsetSpace ~
22356 \begin_inset LatexCommand ref
22357 reference "sec:Footnotes"
22364 \begin_layout Standard
22365 \begin_inset VSpace bigskip
22368 Footnotes can also be placed in the page margin and the footnote text alignment
22369 can be changed, see the LaTeX-package
22374 \begin_inset LatexCommand index
22375 name "LaTeX-packages ! footmisc"
22380 \begin_inset LatexCommand cite
22385 for more information about this.
22388 \begin_layout Standard
22389 For various further footnote formatting issues have a look at LaTeX-books,
22391 \begin_inset LatexCommand cite
22392 key "latexcompanion,latexguide,latexbook"
22399 \begin_layout Section
22401 \begin_inset LatexCommand index
22402 name "Notes ! Margin Notes"
22409 \begin_layout Standard
22410 Margin notes look and behave in LyX like footnotes.
22411 They are inserted via the menu
22413 Insert\SpecialChar \menuseparator
22414 Marginal\InsetSpace ~
22417 or the toolbar button
22418 \begin_inset Graphics
22419 filename ../images/marginalnote-insert.xpm
22435 \begin_inset Quotes eld
22439 \begin_inset Quotes erd
22442 appears where you can enter the text of the margin note.
22445 \begin_layout Standard
22446 At the side is an example margin note.
22450 \begin_inset Marginal
22453 \begin_layout Standard
22454 This is a margin note.
22462 \begin_layout Standard
22463 Margin notes appear at the right side in single-sided documents.
22464 In double-sided documents they appear in the outer margin -- left on even
22465 pages, right on odd pages.
22466 The text of margin notes is aligned opposite to the outer margin -- right-align
22467 ed when the note appears in the left margin.
22468 The first line of the margin note is placed at the position of the text
22469 line where it is inserted in the document.
22472 \begin_layout Standard
22473 \begin_inset VSpace bigskip
22476 To place the margin note in the inner margin, add the command
22479 \begin_layout Standard
22487 \begin_layout Standard
22488 in ERT before a margin note.
22489 The new placement is valid for all following margin notes.
22493 \begin_layout Standard
22503 \begin_inset Marginal
22506 \begin_layout Standard
22507 This is a margin note in the inner margin.
22519 \begin_inset Note Greyedout
22522 \begin_layout Standard
22527 There is often not enough space in the inner margin so that the notes are
22528 not correctly displayed in the output.
22536 \begin_layout Standard
22540 \begin_layout Standard
22549 To return to the default placement insert the command
22552 \begin_layout Standard
22560 \begin_layout Standard
22563 \begin_inset Note Greyedout
22566 \begin_layout Standard
22571 The command is ignored when it is within a paragraph where also the command
22586 \begin_layout Standard
22587 \begin_inset VSpace bigskip
22594 \begin_inset Marginal
22597 \begin_layout Standard
22598 AVeryLongMarginParWord that isn't hyphenated.
22606 Similar to the case described in section\InsetSpace ~
22608 \begin_inset LatexCommand ref
22609 reference "sub:Multiple-Lines-in"
22613 , long words cannot be hyphenated when they are the first word in a margin
22615 To avoid this, insert the command
22618 \begin_layout Standard
22626 \begin_layout Standard
22627 in ERT before the word
22631 \begin_inset Marginal
22634 \begin_layout Standard
22638 \begin_layout Standard
22647 AVeryLongMarginParWord that is hyphenated.
22655 \begin_layout Standard
22656 \begin_inset VSpace bigskip
22662 \begin_layout Standard
22663 \begin_inset Note Greyedout
22666 \begin_layout Standard
22671 Margin notes can normally not be used inside tables, floats, and footnotes.
22679 \begin_layout Standard
22680 \begin_inset VSpace bigskip
22686 \begin_layout Standard
22690 \begin_layout Standard
22700 \begin_inset Note Note
22703 \begin_layout Standard
22704 The following section will only be displayed when you have the LaTeX-package
22717 \begin_layout Standard
22718 This restriction can be evaded by using the LaTeX-package
22723 \begin_inset LatexCommand index
22724 name "LaTeX-packages ! marginnote"
22729 By adding these two lines to your document preamble, the command used by
22730 LyX for margin notes is redefined to use the command provided by the
22737 \begin_layout Standard
22742 usepackage{marginnote}
22753 \begin_layout Standard
22754 This is also used in this document because
22758 has another useful feature: You can set a vertical offset for the note.
22759 This is often needed when too many margin notes are too close together
22760 or for a better page layout.
22761 The offset is set in LyX as ERT directly behind the margin note in the
22765 \begin_layout Standard
22771 \begin_layout Standard
22772 where the offset is a length with one of the units listed in Table\InsetSpace ~
22774 \begin_inset LatexCommand ref
22775 reference "tab:Units"
22780 A negative value shifts the note up, a positive value shifts it down.
22784 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22787 \begin_inset Quotes eld
22797 \begin_inset Quotes erd
22801 \begin_inset Marginal
22804 \begin_layout Standard
22805 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22806 cm from its original position.
22818 \begin_layout Standard
22828 \begin_layout Standard
22829 \begin_inset VSpace defskip
22836 you can also change the alignment of the text in the margin note.
22837 For example the commands
22840 \begin_layout Standard
22847 raggedleftmarginnote}{
22855 raggedrightmarginnote}{
22860 \begin_layout Standard
22861 set the alignment to centered.
22866 raggedleftmarginnote
22868 denotes margin notes that appear at the left side.
22875 \begin_layout Standard
22881 raggedleftmarginnote}{
22886 \begin_layout Standard
22892 raggedrightmarginnote}{
22900 \begin_inset Marginal
22903 \begin_layout Standard
22904 The text of this margin note is centered.
22915 \begin_layout Standard
22922 raggedleftmarginnote}{
22930 raggedrightmarginnote}{
22939 \begin_layout Standard
22945 raggedleftmarginnote}{
22950 \begin_layout Standard
22956 raggedrightmarginnote}{
22966 \begin_layout Standard
22967 \begin_inset VSpace defskip
22970 For the other features of
22974 we refer to its documentation
22975 \begin_inset LatexCommand cite
22983 \begin_layout Standard
22984 \begin_inset VSpace bigskip
22987 You can change the layout of margin notes by redefining its definition.
22988 To create for example a header for all margin notes with the underlined,
22989 sans-serif, and bold header text
22990 \begin_inset Quotes eld
23002 \begin_inset Quotes erd
23005 , add this to your document preamble:
23008 \begin_layout Standard
23031 \begin_layout Standard
23048 underbar{Attention!}}}%
23054 \begin_layout Standard
23072 \begin_layout Standard
23079 \begin_layout Standard
23090 \begin_layout Standard
23101 \begin_layout Standard
23109 underbar{Attention!}}}%
23112 \begin_layout Standard
23126 \begin_inset Marginal
23129 \begin_layout Standard
23130 This is a margin note with a defined heading.
23142 \begin_layout Standard
23156 \begin_layout Standard
23173 \begin_inset Note Note
23176 \begin_layout Standard
23177 The margin note format is changed only for this example.
23185 \begin_layout Standard
23189 \begin_layout Standard
23199 \begin_inset Note Note
23202 \begin_layout Standard
23203 The following will be displayed when the LaTeX-package
23215 \begin_layout Standard
23216 You need to install the LaTeX-package
23220 to see the following part of this section in the output.
23223 \begin_layout Standard
23227 \begin_layout Standard
23239 \begin_layout Chapter
23243 \begin_layout Section
23245 \begin_inset LatexCommand index
23246 name "Boxes ! Introduction"
23253 \begin_layout Standard
23254 Boxes are used to format a block of text.
23255 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23257 \begin_inset LatexCommand ref
23258 reference "sec:Minipages"
23262 , to frame texts, see section\InsetSpace ~
23264 \begin_inset LatexCommand ref
23265 reference "sec:Framed-Boxes"
23269 , to prevent words to be hyphenated, see section\InsetSpace ~
23271 \begin_inset LatexCommand ref
23272 reference "sec:Prevent-Hyphenation"
23276 , to align text, see section\InsetSpace ~
23278 \begin_inset LatexCommand ref
23279 reference "sub:Vertical-Alignment"
23283 , or to set the background color of texts, see section\InsetSpace ~
23285 \begin_inset LatexCommand ref
23286 reference "sec:Colored-Boxes"
23293 \begin_layout Standard
23294 Boxes can be inserted with the menu
23296 Insert\SpecialChar \menuseparator
23300 A grey box with the label
23305 \begin_inset Graphics
23306 filename clipart/BoxInsetDefaultQt4.png
23311 , will be inserted.
23312 The box type can be specified by right-clicking on the box.
23313 The appearing box dialog offers the
23331 is the default for new boxes and is explained in section\InsetSpace ~
23333 \begin_inset LatexCommand ref
23334 reference "sec:Minipages"
23342 is described in section\InsetSpace ~
23344 \begin_inset LatexCommand ref
23345 reference "sec:Parboxes"
23352 \begin_layout Standard
23353 Boxes aren't numbered and can therefore not be referenced like floats or
23357 \begin_layout Standard
23358 \begin_inset Note Greyedout
23361 \begin_layout Standard
23366 Due to a bug in LyX you have to insert a protected space behind a box when
23367 you want to separate in a line the box from the following text with a space.
23375 \begin_layout Standard
23376 \begin_inset Note Greyedout
23379 \begin_layout Standard
23384 Boxes must not be the item in an
23400 \begin_layout Standard
23401 \begin_inset Note Greyedout
23404 \begin_layout Standard
23409 For an unknown reason you can only set the
23418 when you use a framed box.
23424 type and without frames are explained in section\InsetSpace ~
23426 \begin_inset LatexCommand ref
23427 reference "sec:Prevent-Hyphenation"
23439 \begin_layout Section
23441 \begin_inset LatexCommand label
23442 name "sec:Box-Dialog"
23447 \begin_inset LatexCommand index
23448 name "Boxes ! Box Dialog"
23453 \begin_inset LatexCommand index
23454 name "Boxes ! Alignment"
23461 \begin_layout Standard
23462 In the box dialog you can adjust the box geometry in the fields
23471 The available units for the geometry are explained in Table\InsetSpace ~
23473 \begin_inset LatexCommand ref
23474 reference "tab:Units"
23483 offers the following additional sizes:
23486 \begin_layout Description
23487 Depth This is the plain text
23488 \begin_inset Quotes eld
23492 \begin_inset Quotes erd
23496 It ignores the total depth when there are multiple text lines in the box:
23503 \begin_inset Box Boxed
23512 height_special "depth"
23515 \begin_layout Standard
23517 Box height set to 1\InsetSpace \thinspace{}
23530 \begin_layout Description
23531 Height This is the heigth of the text that is inside the box.
23532 A value of e.\InsetSpace \thinspace{}
23534 2 for this size will set the box heigth to 2 times the text
23536 \begin_inset Box Boxed
23545 height_special "height"
23548 \begin_layout Standard
23550 Box height set to 2\InsetSpace \thinspace{}
23559 \begin_layout Description
23561 Height This is the Height\InsetSpace \thinspace{}
23562 +\InsetSpace \thinspace{}
23564 \begin_inset Box Boxed
23573 height_special "totalheight"
23576 \begin_layout Standard
23578 Box height set to 1\InsetSpace \thinspace{}
23588 \begin_layout Description
23589 Width This set the width of the box as heigth:
23590 \begin_inset Box Boxed
23599 height_special "width"
23602 \begin_layout Standard
23604 Box height set to 1\InsetSpace \thinspace{}
23613 \begin_layout Standard
23614 \begin_inset VSpace bigskip
23617 When you have chosen an
23622 , the vertical box alignment can be:
23625 \begin_layout Description
23626 Top This is an example text line.
23628 \begin_inset Box Boxed
23637 height_special "totalheight"
23640 \begin_layout Standard
23642 This box is top-aligned.
23648 This is an example text line.
23651 \begin_layout Description
23652 Middle This is an example text line.
23654 \begin_inset Box Boxed
23663 height_special "totalheight"
23666 \begin_layout Standard
23668 This box is middle-aligned.
23674 This is an example text line.
23677 \begin_layout Description
23678 Bottom This is an example text line.
23680 \begin_inset Box Boxed
23689 height_special "totalheight"
23692 \begin_layout Standard
23694 This box is bottom-aligned.
23700 This is an example text line.
23703 \begin_layout Standard
23704 The horizontal box alignment can be set via LyX's paragraph dialog when
23705 you set the box into its own paragraph.
23708 \begin_layout Standard
23709 \begin_inset VSpace bigskip
23712 When you have chosen an
23717 , the box content can be vertical aligned to:
23720 \begin_layout Description
23721 top This is an example text line.
23723 \begin_inset Box Boxed
23732 height_special "totalheight"
23735 \begin_layout Standard
23737 This box text is top-aligned.
23743 This is an example text line.
23746 \begin_layout Description
23747 middle This is an example text line.
23749 \begin_inset Box Boxed
23758 height_special "totalheight"
23761 \begin_layout Standard
23763 This box text is middle-aligned.
23769 This is an example text line.
23772 \begin_layout Description
23773 bottom This is an example text line.
23775 \begin_inset Box Boxed
23784 height_special "totalheight"
23787 \begin_layout Standard
23789 This box text is bottom-aligned.
23795 This is an example text line.
23798 \begin_layout Description
23799 stretch This is an example text line.
23801 \begin_inset Box Boxed
23810 height_special "totalheight"
23813 \begin_layout Standard
23818 \begin_layout Standard
23823 \begin_layout Standard
23831 This is an example text line.
23834 \begin_layout Standard
23835 To stretch the box content, it must consist of more than one paragraph.
23836 In the example above every text line is in an own paragraph.
23839 \begin_layout Standard
23840 \begin_inset VSpace bigskip
23843 To align the box content horizontally you can use LyX's paragraph dialog
23844 when you have chosen an
23852 \begin_layout Standard
23854 \begin_inset Box Boxed
23863 height_special "totalheight"
23866 \begin_layout Standard
23871 \begin_layout Standard
23876 \begin_layout Standard
23886 \begin_layout Standard
23887 If you haven't set an
23892 , you can align the box content horizontally in the box dialog.
23895 \begin_layout Standard
23897 \begin_inset Box Boxed
23906 height_special "totalheight"
23909 \begin_layout Standard
23911 This box text is horizontally stretched.
23919 \begin_layout Section
23921 \begin_inset LatexCommand label
23922 name "sec:Framed-Boxes"
23927 \begin_inset LatexCommand index
23928 name "Boxes ! Frames"
23935 \begin_layout Standard
23936 The frame style of the box can be specified in the box-dialog in the drop-down
23942 The following frame types are possible:
23945 \begin_layout Description
23946 Rectangular\InsetSpace ~
23947 box This draws a rectangle frame around the box.
23948 The frame line thickness has the size of
23956 \begin_inset Box Boxed
23965 height_special "totalheight"
23968 \begin_layout Standard
23978 \begin_layout Description
23981 thin This draws an oval frame around the box.
23982 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23985 \begin_inset Box ovalbox
23994 height_special "totalheight"
23997 \begin_layout Standard
24007 \begin_layout Description
24010 thick This draws an oval frame around the box.
24011 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24014 \begin_inset Box Ovalbox
24023 height_special "totalheight"
24026 \begin_layout Standard
24036 \begin_layout Description
24037 Shadow\InsetSpace ~
24038 box This draws a rectangle frame with a shadow around the box.
24039 The frame line thickness has the size of
24045 , the shadow has a width of 4\InsetSpace \thinspace{}
24048 \begin_inset Box Shadowbox
24057 height_special "totalheight"
24060 \begin_layout Standard
24070 \begin_layout Description
24071 Double\InsetSpace ~
24072 box This draws a double-line rectangle frame around the box.
24073 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24080 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24088 The distance between the lines is 1.5\InsetSpace \thinspace{}
24095 \InsetSpace \thinspace{}
24096 +\InsetSpace \thinspace{}
24097 0.5\InsetSpace \thinspace{}
24100 \begin_inset Box Doublebox
24109 height_special "totalheight"
24112 \begin_layout Standard
24122 \begin_layout Standard
24123 \begin_inset VSpace bigskip
24126 LyX's box label will change to the used frame style when you set a frame.
24127 To be able to use the different frame styles, the LaTeX-package
24132 \begin_inset LatexCommand index
24133 name "LaTeX-packages ! fancybox"
24140 \begin_layout Standard
24141 \begin_inset VSpace bigskip
24144 The default value for the size
24150 is 0.4\InsetSpace \thinspace{}
24152 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24154 2\InsetSpace \thinspace{}
24158 \begin_layout Standard
24168 \begin_layout Standard
24172 \begin_layout Standard
24184 \begin_inset Box Boxed
24193 height_special "totalheight"
24196 \begin_layout Standard
24198 Rectangular box with
24204 \InsetSpace \thinspace{}
24205 =\InsetSpace \thinspace{}
24206 2\InsetSpace \thinspace{}
24216 \begin_layout Standard
24230 \begin_layout Standard
24231 \begin_inset VSpace bigskip
24234 The space between the frame and the box content is for all frame styles
24235 by default 3\InsetSpace \thinspace{}
24237 You can change it by setting the length
24244 For example the command
24247 \begin_layout Standard
24257 \begin_layout Standard
24258 sets the value to 10\InsetSpace \thinspace{}
24259 pt, like for the following box:
24262 \begin_layout Standard
24266 \begin_layout Standard
24278 \begin_inset Box Boxed
24287 height_special "totalheight"
24290 \begin_layout Standard
24292 Rectangular box with
24298 \InsetSpace \thinspace{}
24299 =\InsetSpace \thinspace{}
24300 10\InsetSpace \thinspace{}
24310 \begin_layout Standard
24324 \begin_layout Standard
24325 \begin_inset VSpace bigskip
24328 The diameter of the round corners of the oval boxes can be set with the
24339 \begin_layout Standard
24347 \begin_layout Standard
24348 sets the diameter to 1\InsetSpace \thinspace{}
24353 \begin_layout Standard
24361 \begin_layout Standard
24362 sets the diameter to
24364 num\InsetSpace \thinspace{}
24365 ×\InsetSpace \thinspace{}
24366 minimum(width and heigth of box)
24378 \begin_layout Standard
24382 \begin_layout Standard
24392 \begin_inset Box Ovalbox
24401 height_special "totalheight"
24404 \begin_layout Standard
24412 \InsetSpace \thinspace{}
24413 =\InsetSpace \thinspace{}
24414 1.5\InsetSpace \thinspace{}
24424 \begin_layout Standard
24436 \begin_layout Standard
24437 \begin_inset VSpace bigskip
24440 The size of the shadow can be adjusted by changing the length
24447 It it set to 2\InsetSpace \thinspace{}
24448 pt for the following box by this command:
24451 \begin_layout Standard
24461 \begin_layout Standard
24465 \begin_layout Standard
24477 \begin_inset Box Shadowbox
24486 height_special "totalheight"
24489 \begin_layout Standard
24497 \InsetSpace \thinspace{}
24498 =\InsetSpace \thinspace{}
24499 2\InsetSpace \thinspace{}
24509 \begin_layout Standard
24523 \begin_layout Standard
24524 \begin_inset VSpace bigskip
24527 Changed lengths and widths are valid for all boxes following the commands
24531 \begin_layout Section
24533 \begin_inset LatexCommand label
24534 name "sec:Minipages"
24539 \begin_inset LatexCommand index
24540 name "Boxes ! Minipages"
24547 \begin_layout Standard
24548 Minipages are treated by LaTeX as pages within pages and can therefore for
24549 example have their own footnotes.
24552 \begin_layout Standard
24553 Minipages are useful when you write documents with different languages.
24556 \begin_layout Standard
24557 Below are two example minipages side by side.
24558 Their width is set to 45\InsetSpace \thinspace{}
24559 col% and they are separated by a horizontal fill,
24560 that was inserted via the menu
24562 Insert\SpecialChar \menuseparator
24563 Special\InsetSpace ~
24564 Formatting\SpecialChar \menuseparator
24565 Horizontal\InsetSpace ~
24571 \begin_layout Standard
24572 \begin_inset Box Frameless
24581 height_special "totalheight"
24584 \begin_layout Standard
24587 Dies ist ein deutscher Text.
24588 Dies ist ein deutscher Text.
24589 Dies ist ein deutscher Text.
24590 Dies ist ein deutscher Text.
24591 Dies ist ein deutscher Text.
24592 Dies ist ein deutscher Text.
24593 Dies ist ein deutscher Text.
24594 Dies ist ein deutscher Text.
24595 Dies ist ein deutscher Text.
24596 Dies ist ein deutscher Text.
24597 Dies ist ein deutscher Text.
24598 Dies ist ein deutscher Text.
24599 Dies ist ein deutscher Text
24603 \begin_layout Standard
24606 Dies ist eine deutsche Fußnote.
24612 Dies ist ein deutscher Text.
24613 Dies ist ein deutscher Text.
24621 \begin_inset Box Frameless
24630 height_special "totalheight"
24633 \begin_layout Standard
24634 This is an English Text.
24635 This is an English Text.
24636 This is an English Text.
24637 This is an English Text.
24638 This is an English Text.
24639 This is an English Text.
24640 This is an English Text.
24641 This is an English Text.
24642 This is an English Text.
24643 This is an English Text.
24644 This is an English Text.
24645 This is an English Text.
24646 This is an English Text.
24647 This is an English Text.
24648 This is an English Text.
24649 This is an English Text.
24653 \begin_layout Standard
24654 This is an English footnote.
24659 This is an English Text.
24668 \begin_layout Standard
24669 \begin_inset VSpace bigskip
24672 Another application for minipages are footnotes within tables.
24673 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24674 bottom of the current page.
24675 But when you put the table with the footnote to a minipage, the footnote
24676 will appear at its bottom, numbered with Latin letters.
24677 The footnote number is reset to 1 in every minipage but not outside the
24681 \begin_layout Standard
24682 The footnote of this table doesn't appear:
24683 \begin_inset Tabular
24684 <lyxtabular version="3" rows="3" columns="4">
24686 <column alignment="center" valignment="top" leftline="true" width="0pt">
24687 <column alignment="center" valignment="top" leftline="true" width="0pt">
24688 <column alignment="center" valignment="top" leftline="true" width="0pt">
24689 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24690 <row topline="true">
24691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24694 \begin_layout Standard
24700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24703 \begin_layout Standard
24709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24712 \begin_layout Standard
24717 \begin_layout Standard
24718 This is a footnote within a table.
24728 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24731 \begin_layout Standard
24738 <row topline="true">
24739 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24742 \begin_layout Standard
24748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24751 \begin_layout Standard
24757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24760 \begin_layout Standard
24766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24769 \begin_layout Standard
24776 <row topline="true" bottomline="true">
24777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24780 \begin_layout Standard
24786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24789 \begin_layout Standard
24795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24798 \begin_layout Standard
24804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24807 \begin_layout Standard
24821 \begin_layout Standard
24823 \begin_inset Box Frameless
24832 height_special "totalheight"
24835 \begin_layout Standard
24837 \begin_inset Tabular
24838 <lyxtabular version="3" rows="3" columns="4">
24840 <column alignment="center" valignment="top" leftline="true" width="0pt">
24841 <column alignment="center" valignment="top" leftline="true" width="0pt">
24842 <column alignment="center" valignment="top" leftline="true" width="0pt">
24843 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24844 <row topline="true">
24845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24848 \begin_layout Standard
24854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24857 \begin_layout Standard
24863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24866 \begin_layout Standard
24871 \begin_layout Standard
24872 This is a footnote within a table.
24882 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24885 \begin_layout Standard
24892 <row topline="true">
24893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24896 \begin_layout Standard
24902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24905 \begin_layout Standard
24911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24914 \begin_layout Standard
24920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24923 \begin_layout Standard
24930 <row topline="true" bottomline="true">
24931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24934 \begin_layout Standard
24940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24943 \begin_layout Standard
24949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24952 \begin_layout Standard
24958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24961 \begin_layout Standard
24980 \begin_layout Standard
24981 \begin_inset VSpace bigskip
24984 The document-wide paragraph settings are ignored within minipages.
24985 That means that there will be no space between paragraphs in minipages
24986 although you set it to e.\InsetSpace \thinspace{}
24992 in the document settings.
24995 \begin_layout Standard
24996 Minipages can also be used to set a background color for text parts, see
24997 section\InsetSpace ~
24999 \begin_inset LatexCommand ref
25000 reference "sub:Color-for-Paragraphs"
25007 \begin_layout Standard
25008 \begin_inset Note Greyedout
25011 \begin_layout Standard
25016 You cannot have floats or margin notes inside minipages but minipages can
25017 be used inside tables, floats, and other boxes.
25025 \begin_layout Section
25027 \begin_inset LatexCommand label
25028 name "sec:Parboxes"
25033 \begin_inset LatexCommand index
25034 name "Boxes ! Parboxes"
25041 \begin_layout Standard
25042 Parboxes are very similar to minipages with the difference that they cannot
25044 The main difference to minipages is that minipages are in contrary to parboxes
25045 no real boxes but LaTeX-environments.
25048 \begin_layout Standard
25050 \begin_inset Box Frameless
25059 height_special "totalheight"
25062 \begin_layout Standard
25063 This a text within a parbox.
25064 This a text within a parbox.
25067 \begin_layout Standard
25068 This footnote won't appear:
25072 \begin_layout Standard
25073 This footnote is inside a parbox and will therefore not appear.
25086 \begin_layout Section
25087 Boxes for Words and Characters
25088 \begin_inset LatexCommand index
25089 name "Boxes ! for Characters"
25096 \begin_layout Subsection
25097 Prevent Hyphenation
25098 \begin_inset LatexCommand label
25099 name "sec:Prevent-Hyphenation"
25104 \begin_inset LatexCommand index
25105 name "Boxes ! to Prevent Hyphenation"
25112 \begin_layout Standard
25113 You can use a special kind of boxes to prevent words or text to be hyphenated.
25116 e is an example text:
25119 \begin_layout Standard
25120 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25126 \begin_layout Standard
25127 To prevent the hyphenation of the word
25128 \begin_inset Quotes eld
25132 \begin_inset Quotes erd
25138 \begin_layout Standard
25146 \begin_layout Standard
25147 in ERT before the word.
25148 Behind the word insert a closing brace
25149 \begin_inset Quotes eld
25157 \begin_inset Quotes erd
25164 \begin_layout Standard
25176 \begin_layout Standard
25177 This is the result:
25180 \begin_layout Standard
25181 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25187 \begin_layout Standard
25200 \begin_layout Standard
25210 \begin_layout Standard
25211 Of course the word now protrudes over the side margin.
25212 To avoid this, add via the menu
25214 Insert\SpecialChar \menuseparator
25215 Special\InsetSpace ~
25216 Formatting\SpecialChar \menuseparator
25224 ) a line break before the word:
25227 \begin_layout Standard
25228 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25236 \begin_layout Standard
25249 \begin_layout Standard
25259 \begin_layout Subsection
25261 \begin_inset LatexCommand label
25262 name "sub:Vertical-Alignment"
25267 \begin_inset LatexCommand index
25268 name "Boxes ! for Vertical Alignment"
25273 \begin_inset LatexCommand index
25274 name "Boxes ! Raiseboxes"
25281 \begin_layout Standard
25282 With the help of the command
25288 you can align words, characters or other boxes vertically to the surrounding
25296 is used with the following scheme:
25299 \begin_layout Standard
25304 raisebox{lift}[height][depth]{box content}
25307 \begin_layout Standard
25308 The lift can be a positive value to raise the box or a negative value to
25312 \begin_layout Standard
25313 To align for example the word
25314 \begin_inset Quotes eld
25318 \begin_inset Quotes erd
25321 so that the bottom of the
25322 \begin_inset Quotes eld
25326 \begin_inset Quotes erd
25330 \begin_inset Quotes eld
25334 \begin_inset Quotes erd
25337 is at the baseline, insert the command
25340 \begin_layout Standard
25350 \begin_layout Standard
25351 in ERT before the word.
25352 Behind the word insert a closing brace
25353 \begin_inset Quotes eld
25361 \begin_inset Quotes erd
25366 This is the result:
25369 \begin_layout Standard
25370 This is a text line with the word
25374 \begin_layout Standard
25386 \begin_inset Quotes eld
25390 \begin_inset Quotes erd
25397 \begin_layout Standard
25407 \begin_layout Standard
25408 \begin_inset VSpace bigskip
25411 When you raise or lower characters in a line, the line distance will be
25415 \begin_layout Standard
25416 This is a text line with the word
25420 \begin_layout Standard
25432 \begin_inset Quotes eld
25436 \begin_inset Quotes erd
25443 \begin_layout Standard
25452 This is a text line with the word
25456 \begin_layout Standard
25466 \begin_inset Quotes eld
25470 \begin_inset Quotes erd
25477 \begin_layout Standard
25487 \begin_layout Standard
25488 If you want to prevent this for a certain reason, set the box height to
25493 \begin_layout Standard
25503 \begin_layout Standard
25504 This is a text line with the word
25508 \begin_layout Standard
25520 \begin_inset Quotes eld
25524 \begin_inset Quotes erd
25531 \begin_layout Standard
25540 This is a text line with the word
25544 \begin_layout Standard
25548 raisebox{0.5cm}[0pt]{
25554 \begin_inset Quotes eld
25558 \begin_inset Quotes erd
25565 \begin_layout Standard
25575 \begin_layout Section
25577 \begin_inset LatexCommand label
25578 name "sec:Colored-Boxes"
25583 \begin_inset LatexCommand index
25584 name "Boxes ! Color"
25591 \begin_layout Subsection
25593 \begin_inset LatexCommand index
25594 name "Color ! for Text"
25601 \begin_layout Standard
25602 To color the background of text the text must be put into a so called colorbox.
25603 This requires that the LaTeX-package
25608 \begin_inset LatexCommand index
25609 name "LaTeX-packages ! color"
25613 is loaded in the document preamble with the command
25616 \begin_layout Standard
25621 @ifundef\SpecialChar \textcompwordmark{}
25628 \begin_layout Standard
25639 usepackage{color}}{}
25642 \begin_layout Standard
25647 will be loaded automatically by LyX when you color text
25651 \begin_layout Standard
25652 To avoid that it is loaded twice the command
25656 @ifundef\SpecialChar \textcompwordmark{}
25667 \begin_layout Standard
25668 \begin_inset VSpace medskip
25671 Colorboxes are created with the command
25678 This will be used with the following scheme:
25681 \begin_layout Standard
25686 colorbox{color}{box content}
25689 \begin_layout Standard
25690 The box content can also be a box and colorboxes can also be within other
25694 \begin_layout Standard
25695 The following colors are predefined:
25734 You can also define your own color as described in section\InsetSpace ~
25736 \begin_inset LatexCommand ref
25737 reference "sec:Colored-Tables"
25744 \begin_layout Standard
25745 To have e.\InsetSpace \thinspace{}
25747 a red background for a word, insert the command
25750 \begin_layout Standard
25758 \begin_layout Standard
25759 before the word in ERT.
25760 Behind the word insert a closing brace
25761 \begin_inset Quotes eld
25769 \begin_inset Quotes erd
25774 This is the result:
25777 \begin_layout Standard
25778 This is a line where the word
25782 \begin_layout Standard
25792 \begin_inset Quotes eld
25796 \begin_inset Quotes erd
25803 \begin_layout Standard
25810 has a red background.
25813 \begin_layout Standard
25814 \begin_inset VSpace bigskip
25817 If you would have the box frame in a different color, you can use the command
25824 with the following scheme:
25827 \begin_layout Standard
25832 fcolorbox{frame color}{box color}{box content}
25835 \begin_layout Standard
25849 The frame thickness and the space between the frame and the box content
25850 can be adjusted with the lengths
25862 , respectively, as described in section\InsetSpace ~
25864 \begin_inset LatexCommand ref
25865 reference "sec:Framed-Boxes"
25872 \begin_layout Standard
25873 For the following example the command
25876 \begin_layout Standard
25881 fcolorbox{cyan}{magenta}{
25884 \begin_layout Standard
25888 \begin_layout Standard
25889 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25896 \begin_layout Standard
25911 \begin_layout Standard
25915 fcolorbox{cyan}{magenta}{
25920 This is text within a colored, framed box.
25924 \begin_layout Standard
25934 \begin_layout Standard
25935 \begin_inset VSpace bigskip
25938 Of course you can also have colored text inside a colorbox:
25944 \begin_layout Standard
25948 fcolorbox{cyan}{magenta}{
25955 This is colored text within a colored, framed box.
25961 \begin_layout Standard
25972 \begin_layout Standard
25986 \begin_layout Standard
25989 \begin_inset VSpace medskip
25995 \begin_layout Standard
25996 \begin_inset Note Greyedout
25999 \begin_layout Standard
26004 Text in colorboxes cannot have line breaks.
26005 To color multiple text lines or paragraphs, use a box inside a colorbox
26006 as described in the following.
26014 \begin_layout Subsection
26015 Color for Paragraphs
26016 \begin_inset LatexCommand label
26017 name "sub:Color-for-Paragraphs"
26022 \begin_inset LatexCommand index
26023 name "Color ! for Paragraphs"
26030 \begin_layout Standard
26031 To set the background color for more than one text line, put the text into
26033 Before the minipage insert the
26042 \begin_layout Standard
26050 \begin_layout Standard
26052 Behind the minipage insert a closing brace
26053 \begin_inset Quotes eld
26061 \begin_inset Quotes erd
26067 \begin_layout Standard
26071 \begin_layout Standard
26075 colorbox{lightgrey}{
26081 \begin_inset Box Frameless
26090 height_special "totalheight"
26093 \begin_layout Standard
26094 This is text with background color.
26095 This is text with background color.
26098 \begin_layout Standard
26099 \begin_inset VSpace defskip
26102 The text can have footnotes
26106 \begin_layout Standard
26107 Another example footnote
26112 and can include tables and figures.
26115 \begin_layout Standard
26117 \begin_inset Tabular
26118 <lyxtabular version="3" rows="3" columns="3">
26120 <column alignment="center" valignment="top" leftline="true" width="0">
26121 <column alignment="center" valignment="top" leftline="true" width="0">
26122 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26123 <row topline="true">
26124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26127 \begin_layout Standard
26133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26136 \begin_layout Standard
26142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26145 \begin_layout Standard
26152 <row topline="true">
26153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26156 \begin_layout Standard
26162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26165 \begin_layout Standard
26167 \begin_inset Quotes erd
26175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26178 \begin_layout Standard
26185 <row topline="true" bottomline="true">
26186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26189 \begin_layout Standard
26195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26198 \begin_layout Standard
26204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26207 \begin_layout Standard
26227 \begin_layout Standard
26237 \begin_layout Section
26238 URLs (Uniform Resource Locators)
26239 \begin_inset LatexCommand index
26247 \begin_layout Standard
26248 Links to web pages or email addresses can be inserted via the menu
26250 Insert\SpecialChar \menuseparator
26254 The appearing URL dialog has two fields; the
26262 field for the URL description, which will be typeset as plain text immediately
26266 \begin_layout Standard
26267 Here is an example URL:
26268 \begin_inset LatexCommand url
26269 name "LyX's homepage"
26270 target "http://www.lyx.org"
26277 \begin_layout Standard
26280 Generate\InsetSpace ~
26283 in the URL dialog has only an affect when you export your document to the
26285 \begin_inset Quotes eld
26293 \begin_inset Quotes erd
26299 \begin_layout Standard
26300 You cannot change the style of the link text.
26305 field will have the default text style of the document while the text of
26310 field will have the style
26311 \begin_inset Quotes eld
26319 \begin_inset Quotes erd
26325 \begin_layout Standard
26326 When you use the LaTeX-package
26331 \begin_inset LatexCommand index
26332 name "LaTeX-packages ! hyperref"
26336 to link cross-references in the output, URLs will automatically become
26337 clickable hyperlinks in DVI and PDF-output.
26340 \begin_layout Standard
26341 \begin_inset Note Greyedout
26344 \begin_layout Standard
26349 When you use the following characters: "%", "#", "^", you have to write
26350 them with a preceding backslash, e.\InsetSpace \thinspace{}
26353 \begin_inset Quotes eld
26359 \begin_inset Quotes erd
26363 URLs must not end with a backslash.
26371 \begin_layout Standard
26372 \begin_inset VSpace bigskip
26375 To create real hyperlinks without the force to write the link location to
26376 the text, you can use the command
26379 \begin_layout Standard
26384 href{link location}{link text}
26387 \begin_layout Standard
26389 To get for example a link to LyX's web page, write the command
26392 \begin_layout Standard
26397 href{http://www.lyx.org}{
26400 \begin_layout Standard
26402 Insert after the command the link text
26403 \begin_inset Quotes eld
26407 \begin_inset Quotes erd
26410 as normal text followed by a closing brace
26411 \begin_inset Quotes eld
26419 \begin_inset Quotes erd
26423 This is the result:
26427 \begin_layout Standard
26431 href{http://www.lyx.org}{
26440 \begin_layout Standard
26450 \begin_layout Standard
26451 To link to email addresses, add the prefix
26452 \begin_inset Quotes eld
26460 \begin_inset Quotes erd
26463 to the link location:
26469 \begin_layout Standard
26473 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26478 lyx-docs mailing list
26482 \begin_layout Standard
26492 \begin_layout Standard
26499 instead of LyX's URL box has the advantage that you can specify the text
26500 style of the link text like for all other text parts.
26501 You can therefore set hyphenation points and forced linebreaks to have
26502 long link text broken at the page margin.
26503 You are furthermore able to change the text style for all URLs in your
26504 document with an option in
26508 's load command and the restrictions mentioned above doesn't apply for
26517 \begin_layout Standard
26523 \begin_layout Chapter
26529 \begin_layout Standard
26542 \begin_layout Standard
26550 \begin_inset LatexCommand index
26556 \begin_inset LatexCommand label
26557 name "cha:Units-available-in"
26562 \begin_inset Note Note
26565 \begin_layout Standard
26568 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26569 are displayed wrongly in PDF-bookmarks.
26570 For more information about this, have a look at
26571 \begin_inset LatexCommand cite
26584 \begin_layout Standard
26585 To understand the units described in this documentation, Table\InsetSpace ~
26587 \begin_inset LatexCommand ref
26588 reference "tab:Units"
26592 explains all units available in LyX.
26595 \begin_layout Standard
26596 \begin_inset Float table
26602 \begin_layout Standard
26603 \begin_inset Caption
26605 \begin_layout Standard
26606 \begin_inset LatexCommand label
26619 \begin_layout Standard
26620 \begin_inset VSpace medskip
26626 \begin_layout Standard
26628 \begin_inset Tabular
26629 <lyxtabular version="3" rows="20" columns="2">
26631 <column alignment="center" valignment="top" leftline="true" width="0">
26632 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26633 <row topline="true" bottomline="true">
26634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26637 \begin_layout Standard
26643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26646 \begin_layout Standard
26653 <row topline="true">
26654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26657 \begin_layout Standard
26663 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26666 \begin_layout Standard
26673 <row topline="true">
26674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26677 \begin_layout Standard
26683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26686 \begin_layout Standard
26693 <row topline="true">
26694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26697 \begin_layout Standard
26703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26706 \begin_layout Standard
26713 <row topline="true">
26714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26717 \begin_layout Standard
26723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26726 \begin_layout Standard
26727 point (72.27\InsetSpace \thinspace{}
26728 pt = 1\InsetSpace \thinspace{}
26735 <row topline="true">
26736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26739 \begin_layout Standard
26745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26748 \begin_layout Standard
26749 pica (1\InsetSpace \thinspace{}
26750 pc = 12\InsetSpace \thinspace{}
26757 <row topline="true">
26758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26761 \begin_layout Standard
26767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26770 \begin_layout Standard
26771 scaled point (65536\InsetSpace \thinspace{}
26772 sp = 1\InsetSpace \thinspace{}
26779 <row topline="true">
26780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26783 \begin_layout Standard
26789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26792 \begin_layout Standard
26793 big point (72\InsetSpace \thinspace{}
26794 bp = 1\InsetSpace \thinspace{}
26801 <row topline="true">
26802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26805 \begin_layout Standard
26811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26814 \begin_layout Standard
26815 didot (72\InsetSpace \thinspace{}
26817 \begin_inset Formula $\approx$
26820 37.6\InsetSpace \thinspace{}
26827 <row topline="true">
26828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26831 \begin_layout Standard
26837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26840 \begin_layout Standard
26841 cicero (1\InsetSpace \thinspace{}
26842 cc = 12\InsetSpace \thinspace{}
26849 <row topline="true">
26850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26853 \begin_layout Standard
26859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26862 \begin_layout Standard
26863 % of original image width
26869 <row topline="true">
26870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26873 \begin_layout Standard
26879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26882 \begin_layout Standard
26889 <row topline="true">
26890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26893 \begin_layout Standard
26899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26902 \begin_layout Standard
26909 <row topline="true">
26910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26913 \begin_layout Standard
26919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26922 \begin_layout Standard
26929 <row topline="true">
26930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26933 \begin_layout Standard
26939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26942 \begin_layout Standard
26949 <row topline="true">
26950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26953 \begin_layout Standard
26959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26962 \begin_layout Standard
26969 <row topline="true">
26970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26973 \begin_layout Standard
26979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26982 \begin_layout Standard
26989 <row topline="true">
26990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26993 \begin_layout Standard
26999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27002 \begin_layout Standard
27013 <row topline="true">
27014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27017 \begin_layout Standard
27023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27026 \begin_layout Standard
27037 <row topline="true" bottomline="true">
27038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27041 \begin_layout Standard
27047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27050 \begin_layout Standard
27051 math unit (1\InsetSpace \thinspace{}
27052 mu = 1/18\InsetSpace \thinspace{}
27071 \begin_layout Chapter
27072 Output File Formats with Graphics
27073 \begin_inset LatexCommand label
27074 name "cha:Output-File-Formats"
27081 \begin_layout Section
27083 \begin_inset LatexCommand index
27084 name "File Formats ! DVI"
27089 \begin_inset LatexCommand index
27090 name "DVI|see{File Formats}"
27097 \begin_layout Standard
27098 This file type has the extension
27099 \begin_inset Quotes eld
27107 \begin_inset Quotes erd
27112 \begin_inset Quotes eld
27116 \begin_inset Quotes erd
27119 (DVI), because it is completely portable; you can move them from one machine
27120 to another without needing to do any sort of conversion.
27121 At the time when this file-format was developed, this was no matter of
27123 DVIs are used for quick previews and as pre-stage for other output formats,
27127 \begin_layout Standard
27128 \begin_inset Note Greyedout
27131 \begin_layout Standard
27136 DVI-files doesn't contain images, they will only be a linked.
27141 So don't forget this, if you move your
27145 file to another computer.
27146 This property can also slow down your computer when you view the DVI.
27147 Because the DVI-viewer has to convert the image in the background to make
27148 it visible when you scroll in the DVI.
27149 So we recommend to use PDF for files with many images.
27152 \begin_layout Standard
27153 You can export your document to DVI by using the menu
27155 File\SpecialChar \menuseparator
27156 Export\SpecialChar \menuseparator
27160 You can view your document as DVI via the
27164 menu or by using the toolbar button
27165 \begin_inset Graphics
27166 filename ../images/buffer-view_dvi.xpm
27174 \begin_layout Section
27176 \begin_inset LatexCommand label
27177 name "sec:PostScript"
27182 \begin_inset LatexCommand index
27183 name "File Formats ! PostScript\\protect\\pagebreak"
27188 \begin_inset LatexCommand index
27189 name "PostScript|see{File Formats}"
27196 \begin_layout Standard
27197 This file type has the extension
27198 \begin_inset Quotes eld
27206 \begin_inset Quotes erd
27210 PostScript was developed by the company
27214 as printer language.
27215 The file contains therefore commands that the printer uses to print the
27217 PostScript can be seen as
27218 \begin_inset Quotes eld
27221 programming language
27222 \begin_inset Quotes erd
27225 ; you can calculate with it and draw diagrams and images
27229 \begin_layout Standard
27230 If you are interested to learn more about this, have a look at the LaTeX-package
27236 \begin_inset LatexCommand cite
27247 Due to this ability, the files are often bigger than PDFs.
27250 \begin_layout Standard
27251 PostScript can only contain images in the format
27252 \begin_inset Quotes eld
27255 Encapsulated PostScript
27256 \begin_inset Quotes erd
27259 (EPS, file extension
27260 \begin_inset Quotes eld
27268 \begin_inset Quotes erd
27272 As LyX allows you to use any known image format in your document, it has
27273 to convert images in the background to EPS.
27274 If you have e.g 50 images in your document, LyX has to do 50 conversions
27275 whenever you view or export your document.
27276 This will slow down your work flow with LyX drastically.
27277 So if you plan to use PostScript, you can insert your images directly as
27278 EPS to avoid this problem.
27281 \begin_layout Standard
27282 You can export your document to PostScript using the menu
27284 File\SpecialChar \menuseparator
27285 Export\SpecialChar \menuseparator
27289 You can view your document as PostScript via the
27293 menu or by using the toolbar button
27294 \begin_inset Graphics
27295 filename ../images/buffer-view_ps.xpm
27303 \begin_layout Section
27305 \begin_inset LatexCommand label
27311 \begin_inset LatexCommand index
27312 name "File Formats ! PDF"
27317 \begin_inset LatexCommand index
27325 \begin_layout Standard
27326 This file type has the extension
27327 \begin_inset Quotes eld
27335 \begin_inset Quotes erd
27340 \begin_inset Quotes eld
27343 Portable Document Format
27344 \begin_inset Quotes erd
27347 (PDF) is developed by
27351 as derivative from PostScript.
27352 It is more compressed and it uses much less commands than PostScript.
27354 \begin_inset Quotes eld
27358 \begin_inset Quotes erd
27361 implies, it can be processed at any computer system and the printed output
27362 looks exactly the same.
27365 \begin_layout Standard
27366 PDF can contain images in its own PDF format, in the format
27367 \begin_inset Quotes eld
27370 Joint Photographic Experts Group
27371 \begin_inset Quotes erd
27374 (JPG, file extension
27375 \begin_inset Quotes eld
27383 \begin_inset Quotes erd
27387 \begin_inset Quotes eld
27395 \begin_inset Quotes erd
27398 ), and in the format
27399 \begin_inset Quotes eld
27402 Portable Network Graphics
27403 \begin_inset Quotes erd
27406 (PNG, file extension
27407 \begin_inset Quotes eld
27415 \begin_inset Quotes erd
27419 You can although use any other image format, because LyX converts them
27420 in the background to one of these formats.
27421 But as described in the section about PostScript, the image conversion
27422 will slow down your work flow.
27423 So it is recommended to use images in one of the three mentioned formats.
27426 \begin_layout Standard
27427 You can export your document to PDF via the menu
27429 File\SpecialChar \menuseparator
27432 in three different ways:
27435 \begin_layout Description
27436 PDF This uses the program
27440 that creates a PDF from a PostScript-version of your file.
27441 The PostScript-version is produced by the program
27445 which uses a DVI-version as intermediate step.
27446 So this export variant consist of three conversions.
27449 \begin_layout Description
27451 (dvipdfm) This uses the program
27455 that converts your file in the background to DVI and in a second step to
27459 \begin_layout Description
27461 (pdflatex) This uses the program
27465 that converts your file directly to PDF.
27468 \begin_layout Standard
27469 It is recommended to use
27478 supports all features of actual PDF-versions, is quick and works stable
27484 is not under development and therefore a bit outdated.
27487 \begin_layout Standard
27488 You can view your document as PDF via the
27492 menu or by using the toolbar button
27493 \begin_inset Graphics
27494 filename ../images/buffer-view_pdf2.xpm
27511 \begin_layout Chapter
27512 Explanation of Equation\InsetSpace ~
27514 \begin_inset LatexCommand eqref
27520 \begin_inset LatexCommand label
27521 name "cha:Explanation-of-Equation"
27528 \begin_layout Standard
27534 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27537 can be calculated to
27540 \begin_layout Standard
27541 \begin_inset Formula \begin{equation}
27542 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27549 \begin_layout Standard
27551 \begin_inset Formula $W_{g\, n}$
27554 is the given width of all cells.
27561 is the LaTeX-length between the cell text and the cell border, its default
27562 value is 6\InsetSpace \thinspace{}
27570 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27574 \begin_layout Standard
27575 Following equation\InsetSpace ~
27577 \begin_inset LatexCommand eqref
27578 reference "eq:Wtot_n"
27582 , the total width of a multicolumn
27583 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27589 \begin_layout Standard
27590 \begin_inset Formula \begin{equation}
27591 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27598 \begin_layout Standard
27599 By setting equation\InsetSpace ~
27601 \begin_inset LatexCommand eqref
27602 reference "eq:Wtot_n"
27607 \begin_inset LatexCommand eqref
27608 reference "eq:Wtot_mult"
27612 equal we can calculate the needed given width
27613 \begin_inset Formula $W_{g\, n}$
27620 columns are spanned, so that each column has a total width of
27621 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27627 \begin_layout Standard
27628 \begin_inset Formula \begin{equation}
27629 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27636 \begin_layout Bibliography
27637 \begin_inset LatexCommand bibitem
27638 key "latexcompanion"
27642 Frank Mittelbach and Michel Goossens:
27644 The LaTeX Companion Second Edition.
27647 Addison-Wesley, 2004
27650 \begin_layout Bibliography
27651 \begin_inset LatexCommand bibitem
27656 Helmut Kopka and Patrick W.
27659 A Guide to LaTeX Fourth Edition.
27662 Addison-Wesley, 2003
27665 \begin_layout Bibliography
27666 \begin_inset LatexCommand bibitem
27673 LaTeX: A Document Preparation System.
27676 Addison-Wesley, second edition, 1994
27679 \begin_layout Bibliography
27680 \begin_inset LatexCommand bibitem
27689 \begin_layout Standard
27693 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27703 \begin_layout Standard
27710 of the LaTeX-package
27715 \begin_inset LatexCommand index
27716 name "LaTeX-packages ! booktabs"
27723 \begin_layout Bibliography
27724 \begin_inset LatexCommand bibitem
27733 \begin_layout Standard
27737 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27746 \begin_layout Standard
27753 of the LaTeX-package
27758 \begin_inset LatexCommand index
27759 name "LaTeX-packages ! caption"
27766 \begin_layout Bibliography
27767 \begin_inset LatexCommand bibitem
27776 \begin_layout Standard
27780 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27790 \begin_layout Standard
27797 of the LaTeX-package
27802 \begin_layout Bibliography
27803 \begin_inset LatexCommand bibitem
27812 \begin_layout Standard
27816 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27826 \begin_layout Standard
27833 of the LaTeX-package
27835 endf\SpecialChar \textcompwordmark{}
27839 \begin_inset LatexCommand index
27840 name "LaTeX-packages ! endfloat"
27847 \begin_layout Bibliography
27848 \begin_inset LatexCommand bibitem
27857 \begin_layout Standard
27861 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27871 \begin_layout Standard
27878 of the LaTeX-package
27880 floatf\SpecialChar \textcompwordmark{}
27884 \begin_inset LatexCommand index
27885 name "LaTeX-packages ! floatflt"
27892 \begin_layout Bibliography
27893 \begin_inset LatexCommand bibitem
27902 \begin_layout Standard
27906 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27916 \begin_layout Standard
27923 of the LaTeX-package
27928 \begin_inset LatexCommand index
27929 name "LaTeX-packages ! footmisc"
27936 \begin_layout Bibliography
27937 \begin_inset LatexCommand bibitem
27946 \begin_layout Standard
27950 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27959 \begin_layout Standard
27966 of the LaTeX-package
27971 \begin_inset LatexCommand index
27972 name "LaTeX-packages ! hyperref"
27979 \begin_layout Bibliography
27980 \begin_inset LatexCommand bibitem
27989 \begin_layout Standard
27993 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28003 \begin_layout Standard
28010 of the LaTeX-package
28015 \begin_inset LatexCommand index
28016 name "LaTeX-packages ! hyperref"
28023 \begin_layout Bibliography
28024 \begin_inset LatexCommand bibitem
28033 \begin_layout Standard
28037 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28047 \begin_layout Standard
28054 of the LaTeX-package
28059 \begin_inset LatexCommand index
28060 name "LaTeX-packages ! koma-script"
28067 \begin_layout Bibliography
28068 \begin_inset LatexCommand bibitem
28069 key "koma-script-de"
28077 \begin_layout Standard
28081 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28091 \begin_layout Standard
28098 of the LaTeX-package
28103 \begin_inset LatexCommand index
28104 name "LaTeX-packages ! koma-script"
28111 \begin_layout Bibliography
28112 \begin_inset LatexCommand bibitem
28121 \begin_layout Standard
28125 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28135 \begin_layout Standard
28142 of the LaTeX-package
28147 \begin_inset LatexCommand index
28148 name "LaTeX-packages ! marginnote"
28155 \begin_layout Bibliography
28156 \begin_inset LatexCommand bibitem
28165 \begin_layout Standard
28169 href{http://tug.org/PSTricks/main.cgi/}{
28178 \begin_layout Standard
28185 of the LaTeX-package
28190 \begin_inset LatexCommand index
28191 name "LaTeX-packages ! PSTricks"
28198 \begin_layout Bibliography
28199 \begin_inset LatexCommand bibitem
28208 \begin_layout Standard
28212 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28221 \begin_layout Standard
28228 of the LaTeX-package
28233 \begin_inset LatexCommand index
28234 name "LaTeX-packages ! sidecap"
28241 \begin_layout Bibliography
28242 \begin_inset LatexCommand bibitem
28251 \begin_layout Standard
28255 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28264 \begin_layout Standard
28271 about new LyX-features planned for the release
28278 \begin_layout Standard
28279 \begin_inset LatexCommand printindex
28286 \begin_layout Standard
28287 \begin_inset FloatList figure
28294 \begin_layout Standard
28295 \begin_inset FloatList table