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}
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 % define a new reference format
97 {Figure~float~\ref{#1} printed on page~\pageref{#1}}
99 % used for colored tables
100 \@ifundefined{textcolor}
101 {\usepackage{color}}{}
102 \usepackage{colortbl}
103 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
104 \definecolor{lightgrey}{gray}{0.8}
107 \usepackage{multirow}
108 %\renewcommand{\multirowsetup}{\centering}
110 % used for book-style tables
111 \usepackage{booktabs}
113 % used to have extra space in table cells,
114 \setlength{\extrarowheight}{2pt}
116 % used for customized tables
119 {>{\centering\hspace{0pt}}m{#1}}
122 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
125 {>{\columncolor{#1}\hspace{0pt}}c}
127 \newcolumntype{V}{!{\vrule width 1.5pt}}
129 \newcolumntype{W}{!{\color{green}\vline}}
132 % To be able to enter the characters ° and · directly in LyX
133 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
134 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
136 % insert additional vertical space of
137 % 1.5 mm between footnotes
139 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
141 % enable algorithm floats to be referenced
142 \newfloat{Xalgorithm}{tbp}{loa}
143 \floatname{Xalgorithm}{Algorithm}
144 \newcommand{\theHalgorithm}{\theHXalgorithm}
145 \renewenvironment{algorithm}[1][tbp]
146 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
148 % number algorithm floats within chapters
149 \numberwithin{Xalgorithm}{chapter}
151 % redefine the greyed out note
152 \renewenvironment{lyxgreyedout}
153 {\textcolor{blue}\bgroup}{\egroup}
155 % ------------------------------------
156 % used to check for needed LaTeX packages
159 % check for package arydshln
160 % used for tables with dashed lines
161 \newboolean{arydshln}
162 \IfFileExists{arydshln.sty}
163 {\usepackage{arydshln}
164 \setboolean{arydshln}{true}}
165 {\setboolean{arydshln}{false}}
167 % check for package marginnote
168 % used for margin notes
169 \newboolean{marginnote}
170 \IfFileExists{marginnote.sty}
171 {\usepackage{marginnote}
172 \let\marginpar\marginnote
173 \setboolean{marginnote}{true}}
174 {\setboolean{marginnote}{false}}
176 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
181 \font_typewriter default
182 \font_default_family default
196 \paperorientation portrait
199 \paragraph_separation skip
201 \quotes_language english
204 \paperpagestyle default
208 \tracking_changes false
216 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
224 \begin_layout Standard
226 If you have comments or error corrections, please send them to the LyX Documenta
233 \begin_layout Standard
237 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
242 lyx-docs@lists.lyx.org
246 \begin_layout Standard
259 \begin_inset Note Note
262 \begin_layout Standard
263 original author: Uwe Stöhr
279 \begin_layout Standard
280 \begin_inset LatexCommand tableofcontents
287 \begin_layout Standard
288 \begin_inset Note Note
291 \begin_layout Standard
292 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
302 If they are not installed you can export the document anyway but the sections
303 where the packages are required won't appear in the output.
306 \begin_layout Standard
307 The latest PDF-version of this document can be found here:
311 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
319 \begin_layout Chapter
321 \begin_inset LatexCommand label
327 \begin_inset LatexCommand index
335 \begin_layout Section
337 \begin_inset LatexCommand index
338 name "Figure ! Graphics Dialog"
345 \begin_layout Standard
346 To insert an image into your document, place the cursor at the text position
347 you want and click on the toolbar icon
348 \begin_inset Graphics
349 filename ../images/dialog-show-new-inset_graphics.xpm
356 Insert\SpecialChar \menuseparator
360 Then a dialog will appear to choose the file to load.
361 The image will appear in the output exactly at the position where it is
365 \begin_layout Standard
366 The graphics dialog can be called at any time by right-clicking on an image.
367 This dialog has three tabs:
370 \begin_layout Description
375 Here you can choose an image file and adjust its appearance in the output.
376 The available units for the image size are explained in appendix\InsetSpace ~
378 \begin_inset LatexCommand ref
379 reference "cha:Units-available-in"
385 You can rotate images counter-clockwise by setting a rotation angle and
387 The image will also be rotated inside LyX.
390 \begin_layout Description
395 Alternatively to the usage of scaling units it is possible to set image
396 coordinates to adjust the height and width of the image in the output.
397 The coordinates can also be calculated automatically by pressing the button
409 bounding\InsetSpace ~
412 will only print the image region within the given coordinates.
413 Normally you don't need to take care about image coordinates and can ignore
417 \begin_layout Description
423 In this tab you can modify the appearance of the image within LyX and set
424 the image to be a subfigure of a figure float with an own caption.
425 Subfigures are explained in section\InsetSpace ~
427 \begin_inset LatexCommand ref
428 reference "sec:Figure-Floats"
434 LaTeX experts can also specify on this tab additional LaTeX options.
442 makes the image appear in the output only as a frame with the size of the
452 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
459 When the option is used the images will not be unzipped on export, since
460 LaTeX can handle them as they are.
462 Zipped EPS-graphics are useful to save
463 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
465 \begin_inset LatexCommand ref
466 reference "sec:PostScript"
471 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
482 zgrep %%Bounding x.eps.gz > x.eps.bb
486 The second command creates the bounding box file
487 \begin_inset Quotes eld
491 \begin_inset Quotes erd
494 that is needed by LaTeX for zipped graphics.
497 \begin_layout Standard
500 This is an example image in EPS format
504 \begin_layout Standard
505 Image formats are explained in section\InsetSpace ~
507 \begin_inset LatexCommand ref
508 reference "sec:Image-Formats"
517 within a separate, horizontally centered paragraph:
520 \begin_layout Standard
522 \begin_inset Graphics
533 \begin_layout Standard
534 This is the same image like the one above but in draft mode:
537 \begin_layout Standard
539 \begin_inset Graphics
551 \begin_layout Section
553 \begin_inset LatexCommand label
554 name "sec:Figure-Floats"
559 \begin_inset LatexCommand index
560 name "Floats ! Figure Floats"
565 \begin_inset LatexCommand index
566 name "Figure ! Floats"
573 \begin_layout Standard
574 For general explanations about floats, have a look at section\InsetSpace ~
576 \begin_inset LatexCommand ref
577 reference "sec:FloatIntroduction"
584 \begin_layout Standard
586 \begin_inset Graphics
587 filename ../images/float-insert_figure.xpm
594 Insert\SpecialChar \menuseparator
595 Float\SpecialChar \menuseparator
598 inserts a float with the label
599 \begin_inset Quotes eld
608 \begin_inset Quotes erd
612 Set the cursor behind this label, press Enter and insert the image as described
613 above to get the caption printed below the image.
614 This was done for Figure\InsetSpace ~
616 \begin_inset LatexCommand ref
617 reference "fig:kill-plat"
622 If you want the caption to be above the image, set the cursor at the end
623 of the caption, press enter and insert the image.
624 This was done in Figure\InsetSpace ~
626 \begin_inset LatexCommand ref
627 reference "fig:escher"
632 More about the caption placement is described in section\InsetSpace ~
634 \begin_inset LatexCommand ref
635 reference "sec:Caption-Placement"
642 \begin_layout Standard
643 \begin_inset Float figure
648 \begin_layout Standard
650 \begin_inset Graphics
651 filename platypus.eps
661 \begin_layout Standard
664 \begin_layout Standard
665 \begin_inset LatexCommand label
670 A severely distorted platypus in a float.
683 \begin_layout Standard
684 \begin_inset Float figure
689 \begin_layout Standard
692 \begin_layout Standard
693 \begin_inset LatexCommand label
707 \begin_layout Standard
709 \begin_inset Graphics
710 filename escher-lsd.eps
725 \begin_layout Standard
726 \begin_inset LatexCommand index
727 name "References ! to Figures"
733 \begin_inset LatexCommand ref
734 reference "fig:kill-plat"
739 \begin_inset LatexCommand ref
740 reference "fig:escher"
744 are an example of cross-referenced figures.
745 Figures can be cross-referenced in the text by referencing their label.
746 To do this insert a label in the caption using the menu
748 Insert\SpecialChar \menuseparator
751 or the toolbar button
752 \begin_inset Graphics
753 filename ../images/label-insert.xpm
759 You can now refer to the label using the menu
761 Insert\SpecialChar \menuseparator
765 or the toolbar button
766 \begin_inset Graphics
767 filename ../images/dialog-show-new-inset_ref.xpm
773 It is important to use references to floats, rather than using vague references
775 \begin_inset Quotes eld
779 \begin_inset Quotes erd
782 , because as LaTeX will reposition the floats in the final document, it
784 \begin_inset Quotes eld
788 \begin_inset Quotes erd
794 \begin_layout Standard
795 Normally only one image is inserted to a figure float, but sometimes you
796 might want to use two images with separate subcaptions.
797 This can be set in the tab
802 of the graphics dialog.
803 Choose there the option
807 and enter the subcaption for the image in the caption field.
808 Note that only the main caption of the float is added to the List of Figures.
811 \begin_layout Standard
814 \begin_inset LatexCommand ref
815 reference "fig:Two-distorted-images"
819 is an example of a figure float with two images set side by side.
820 You can also set the images one below the other.
823 \begin_layout Standard
824 \begin_inset Float figure
829 \begin_layout Standard
833 \begin_inset Graphics
834 filename escher-lsd.eps
837 subcaptionText "Undefinable structure"
844 \begin_inset Graphics
845 filename platypus.eps
849 subcaptionText "Platypus"
858 \begin_layout Standard
861 \begin_layout Standard
862 \begin_inset LatexCommand label
863 name "fig:Two-distorted-images"
867 Two distorted images.
880 \begin_layout Section
882 \begin_inset LatexCommand label
883 name "sec:Image-Formats"
888 \begin_inset LatexCommand index
894 \begin_inset LatexCommand index
895 name "Figure ! Image Formats"
902 \begin_layout Standard
903 You can insert images in any known file format.
904 But as explained in appendix\InsetSpace ~
906 \begin_inset LatexCommand ref
907 reference "cha:Output-File-Formats"
911 , every output document format allows only a few image formats.
912 LyX uses therefore the program
916 in the background to convert the images to the right format.
917 To increase your work flow by avoiding these conversions in the background,
918 you can use only the image formats that can directly be embedded in the
920 The output file formats are explained in appendix\InsetSpace ~
922 \begin_inset LatexCommand ref
923 reference "cha:Output-File-Formats"
930 \begin_layout Standard
931 Similar to fonts there are two types of image formats:
934 \begin_layout Description
936 images consist of pixel values, often in a compressed form.
937 They are therefore not fully scalable and look pixeled in large zooms.
938 Well-known bitmap image formats are
939 \begin_inset Quotes eld
942 Graphics Interchange Format
943 \begin_inset Quotes erd
947 \begin_inset Quotes eld
955 \begin_inset Quotes erd
959 \begin_inset LatexCommand index
960 name "GIF|see{Image formats}"
965 \begin_inset Quotes eld
968 Portable Network Graphics
969 \begin_inset Quotes erd
973 \begin_inset Quotes eld
981 \begin_inset Quotes erd
985 \begin_inset LatexCommand index
986 name "PNG|see{Image formats}"
991 \begin_inset Quotes eld
994 Joint Photographic Experts Group
995 \begin_inset Quotes erd
999 \begin_inset Quotes eld
1007 \begin_inset Quotes erd
1011 \begin_inset Quotes eld
1019 \begin_inset Quotes erd
1023 \begin_inset LatexCommand index
1024 name "JPG|see{Image formats}"
1031 \begin_layout Description
1033 images consist of vectors and can therefore be scaled to any size
1035 The scaling ability is necessary if you want to create presentations, because
1036 presentations are always scaled by the video projector.
1037 Scaling is also useful for online documents to let the user zoom into diagrams.
1040 ell-known scalable image formats are
1041 \begin_inset Quotes eld
1044 Scalable Vector Graphics
1045 \begin_inset Quotes erd
1048 (SVG, file extension
1049 \begin_inset Quotes eld
1057 \begin_inset Quotes erd
1061 \begin_inset LatexCommand index
1062 name "SVG|see{Image formats}"
1067 \begin_inset Quotes eld
1070 Encapsulated PostScript
1071 \begin_inset Quotes erd
1074 (EPS, file extension
1075 \begin_inset Quotes eld
1083 \begin_inset Quotes erd
1087 \begin_inset LatexCommand index
1088 name "EPS|see{Image formats}"
1093 \begin_inset Quotes eld
1096 Portable Document Format
1097 \begin_inset Quotes erd
1100 (PDF, file extension
1101 \begin_inset Quotes eld
1109 \begin_inset Quotes erd
1113 \begin_inset LatexCommand index
1119 \begin_inset Quotes eld
1123 \begin_inset Quotes erd
1126 (WMF, file extension
1127 \begin_inset Quotes eld
1135 \begin_inset Quotes erd
1139 \begin_inset LatexCommand index
1140 name "SVG|see{Image formats}"
1146 \begin_inset Quotes eld
1150 \begin_inset Quotes erd
1153 , because you can convert any bitmap image to a PDF or EPS-image and the
1154 result will still be a bitmap image.
1155 In this cases only a header with the image properties is added to the original
1160 \begin_layout Standard
1161 In the case of PDF, the original image is additionally compressed.
1167 The PDF-files generated by
1171 are for example bitmap images.
1174 \begin_layout Standard
1175 Normally it is not possible to convert a bitmap image into a scalable one,
1177 Only the image formats PDF and EPS can directly be embedded to PDF and
1178 PostScript output files, respectively.
1179 SVG and WMF-images are currently recalculated to bitmaps when the output
1180 file is generated because there is currently no adequate WMF/SVG
1181 \begin_inset Formula $\to$
1184 PDF/EPS converter available.
1187 \begin_layout Chapter
1189 \begin_inset LatexCommand label
1195 \begin_inset LatexCommand index
1203 \begin_layout Section
1205 \begin_inset LatexCommand index
1206 name "Table ! Introduction"
1213 \begin_layout Standard
1214 You can insert a table using either the toolbar button
1215 \begin_inset Graphics
1216 filename ../images/tabular-insert.xpm
1223 Insert\SpecialChar \menuseparator
1227 The toolbar button offers you a graphical selection: Move the mouse to
1228 set the column/row number of the table that should be created and then
1229 press a mouse button.
1230 When you use the menu to create a table, a dialog will appear, asking you
1231 for the number of rows and columns.
1233 The default table has lines around any
1234 cell and the first row appears separated from the rest of the table.
1235 This separation occurs due to a double line: The cells of the first row
1236 have a line below them and the cells of the second row have a line above
1238 Here is an example table:
1241 \begin_layout Standard
1243 \begin_inset Tabular
1244 <lyxtabular version="3" rows="4" columns="4">
1246 <column alignment="center" valignment="top" leftline="true" width="0">
1247 <column alignment="center" valignment="top" leftline="true" width="0">
1248 <column alignment="center" valignment="top" leftline="true" width="0">
1249 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1250 <row topline="true" bottomline="true">
1251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1254 \begin_layout Standard
1260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1263 \begin_layout Standard
1278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1281 \begin_layout Standard
1287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1290 \begin_layout Standard
1297 <row topline="true">
1298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1301 \begin_layout Standard
1316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1319 \begin_layout Standard
1325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1328 \begin_layout Standard
1334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1337 \begin_layout Standard
1344 <row topline="true">
1345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1348 \begin_layout Standard
1363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1366 \begin_layout Standard
1372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1375 \begin_layout Standard
1381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1384 \begin_layout Standard
1391 <row topline="true" bottomline="true">
1392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1395 \begin_layout Standard
1410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1413 \begin_layout Standard
1419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1422 \begin_layout Standard
1428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1431 \begin_layout Standard
1445 \begin_layout Section
1447 \begin_inset LatexCommand index
1448 name "Table ! Dialog"
1455 \begin_layout Standard
1456 You can alter a table by clicking on it with the right mouse button, which
1457 brings up the table dialog.
1458 Here you can adjust the settings of that cell and row/column respectively
1459 where the cursor is currently placed.
1460 Most of the dialog options also work on selections.
1461 This means if you select more cells, columns or rows, the action is done
1462 for the whole selection.
1463 Note that there is a difference between selecting the
1467 of the cell, and the cell itself.
1468 You can alter tables with the following tabs of the table dialog:
1471 \begin_layout Description
1477 Here you can set the horizontal alignment for the current row and the width
1478 of the current column.
1479 When you have set a width you can also adjust the vertical alignment of
1481 A given width will allow the cell to have line breaks and multiple paragraphs
1482 of text, see section\InsetSpace ~
1484 \begin_inset LatexCommand ref
1485 reference "sub:Multiple-Lines-in"
1490 If you set no width, the column is as wide as their widest cell content
1493 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1494 cell, see section\InsetSpace ~
1496 \begin_inset LatexCommand ref
1497 reference "sub:Multicolumns"
1503 The rotate check boxes rotates the current cell, a selection, or the whole
1504 table counter-clockwise by 90°.
1505 The rotation is not shown within LyX, only in the output.
1508 \begin_inset Note Greyedout
1511 \begin_layout Standard
1516 Not all DVI-viewers are able to display rotations.
1523 It is also possible to enter a LaTeX-argument which is needed for special
1524 table formattings, see section\InsetSpace ~
1526 \begin_inset LatexCommand ref
1527 reference "sub:Multicolumn-Calculations"
1532 \begin_inset LatexCommand ref
1533 reference "sec:Colored-Tables"
1540 \begin_layout Description
1545 In this tab you can add and delete border lines for the current row/column.
1552 will convert the table to a formal table as described in section\InsetSpace ~
1554 \begin_inset LatexCommand ref
1555 reference "sec:Formal-Tables"
1561 You can also add here space to table rows as decribed in section\InsetSpace ~
1563 \begin_inset LatexCommand ref
1564 reference "sub:Row-Spacing"
1571 \begin_layout Description
1576 This tab is to make a table a so called
1577 \begin_inset Quotes eld
1585 \begin_inset Quotes erd
1588 that can run over several pages.
1589 Section\InsetSpace ~
1591 \begin_inset LatexCommand ref
1592 reference "sec:Longtables"
1597 \begin_inset LatexCommand ref
1598 reference "sec:Special-Longtable-Issues"
1602 describe the longtable features in detail.
1605 \begin_layout Standard
1606 When the table toolbar is opened, you can move the cursor with the arrow
1607 keys from cell to cell and the property of the current cell will immediately
1608 be displayed in the dialog.
1611 \begin_layout Section
1613 \begin_inset LatexCommand index
1614 name "Table ! Toolbar"
1621 \begin_layout Standard
1622 The table toolbar is an alternative to the table dialog to be able to alter
1624 It should normally appear at the bottom of LyX's main window when the cursor
1626 You can alternatively switch it on to appear always, by right-clicking
1627 in LyX's main menu bar.
1630 \begin_layout Standard
1631 The toolbar has the following icons:
1634 \begin_layout Labeling
1635 \labelwidthstring 00.00.0000
1636 \begin_inset Graphics
1637 filename ../images/tabular-feature_append-row.xpm
1641 adds a row below the current cell or selection
1644 \begin_layout Labeling
1645 \labelwidthstring 00.00.0000
1646 \begin_inset Graphics
1647 filename ../images/tabular-feature_append-column.xpm
1651 adds a column right beside the current cell or selection
1654 \begin_layout Labeling
1655 \labelwidthstring 00.00.0000
1656 \begin_inset Graphics
1657 filename ../images/tabular-feature_delete-row.xpm
1661 deletes the current row or selection
1664 \begin_layout Labeling
1665 \labelwidthstring 00.00.0000
1666 \begin_inset Graphics
1667 filename ../images/tabular-feature_delete-column.xpm
1671 deletes the current column or selection
1674 \begin_layout Labeling
1675 \labelwidthstring 00.00.0000
1676 \begin_inset Graphics
1677 filename ../images/tabular-feature_toggle-line-top.xpm
1681 adds a line at the top of the current cell / row or of a selection
1684 \begin_layout Labeling
1685 \labelwidthstring 00.00.0000
1686 \begin_inset Graphics
1687 filename ../images/tabular-feature_toggle-line-bottom.xpm
1691 adds a line at the bottom of the current cell / row or of a selection
1694 \begin_layout Labeling
1695 \labelwidthstring 00.00.0000
1696 \begin_inset Graphics
1697 filename ../images/tabular-feature_toggle-line-left.xpm
1701 adds a line at the left side of the current cell / row or of a selection
1704 \begin_layout Labeling
1705 \labelwidthstring 00.00.0000
1706 \begin_inset Graphics
1707 filename ../images/tabular-feature_toggle-line-right.xpm
1711 adds a line at the right side of the current cell / row or of a selection
1714 \begin_layout Labeling
1715 \labelwidthstring 00.00.0000
1716 \begin_inset Graphics
1717 filename ../images/tabular-feature_set-all-lines.xpm
1721 adds lines around the current or selected cells - if the current cell no
1722 multicolumn this also affects the current row and column
1725 \begin_layout Labeling
1726 \labelwidthstring 00.00.0000
1727 \begin_inset Graphics
1728 filename ../images/tabular-feature_unset-all-lines.xpm
1732 deletes all lines of the current or selected cells - if the current cell
1733 no multicolumn this also affects the current row and column
1736 \begin_layout Labeling
1737 \labelwidthstring 00.00.0000
1738 \begin_inset Graphics
1739 filename ../images/tabular-feature_align-left.xpm
1743 left-aligns the content of the current cell / column
1746 \begin_layout Labeling
1747 \labelwidthstring 00.00.0000
1748 \begin_inset Graphics
1749 filename ../images/tabular-feature_align-center.xpm
1753 centers the content of the current cell / column horizontally
1756 \begin_layout Labeling
1757 \labelwidthstring 00.00.0000
1758 \begin_inset Graphics
1759 filename ../images/tabular-feature_align-right.xpm
1763 right-aligns the content of the current cell / column
1766 \begin_layout Labeling
1767 \labelwidthstring 00.00.0000
1768 \begin_inset Graphics
1769 filename ../images/tabular-feature_valign-top.xpm
1773 aligns the content of the current cell vertically to the top
1776 \begin_layout Labeling
1777 \labelwidthstring 00.00.0000
1778 \begin_inset Graphics
1779 filename ../images/tabular-feature_valign-middle.xpm
1783 centers the content of the current cell vertically
1786 \begin_layout Labeling
1787 \labelwidthstring 00.00.0000
1788 \begin_inset Graphics
1789 filename ../images/tabular-feature_valign-bottom.xpm
1793 aligns the content of the current cell vertically to the bottom
1796 \begin_layout Labeling
1797 \labelwidthstring 00.00.0000
1798 \begin_inset Graphics
1799 filename ../images/tabular-feature_set-rotate-cell.xpm
1803 rotates the current cell or selection counter-clockwise by 90°
1806 \begin_layout Labeling
1807 \labelwidthstring 00.00.0000
1808 \begin_inset Graphics
1809 filename ../images/tabular-feature_set-rotate-tabular.xpm
1813 rotates the whole table counter-clockwise by 90°
1816 \begin_layout Labeling
1817 \labelwidthstring 00.00.0000
1818 \begin_inset Graphics
1819 filename ../images/tabular-feature_multicolumn.xpm
1823 sets the current cell or selection as a multicolumn
1826 \begin_layout Section
1828 \begin_inset LatexCommand index
1829 name "Table ! Edit Menu"
1836 \begin_layout Standard
1837 Additionally to the table dialog and toolbar, the menu
1839 Edit\SpecialChar \menuseparator
1842 allows you to add and delete border lines for the current row/column and
1843 to set the current selection as multicolumn.
1844 The menu is only available when the cursor is inside a table.
1847 \begin_layout Section
1849 \begin_inset LatexCommand label
1850 name "sec:Table-Floats"
1855 \begin_inset LatexCommand index
1856 name "Floats ! Tables"
1861 \begin_inset LatexCommand index
1862 name "Table ! Floats"
1869 \begin_layout Standard
1870 For general explanations about floats, have a look at section\InsetSpace ~
1872 \begin_inset LatexCommand ref
1873 reference "sec:FloatIntroduction"
1880 \begin_layout Standard
1881 \begin_inset Float table
1887 \begin_layout Standard
1888 \begin_inset Caption
1890 \begin_layout Standard
1891 \begin_inset LatexCommand label
1892 name "tab:a table float"
1904 \begin_layout Standard
1906 \begin_inset Tabular
1907 <lyxtabular version="3" rows="3" columns="3">
1909 <column alignment="center" valignment="top" leftline="true" width="0pt">
1910 <column alignment="center" valignment="top" leftline="true" width="0pt">
1911 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1912 <row topline="true" bottomline="true">
1913 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1916 \begin_layout Standard
1931 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1934 \begin_layout Standard
1949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1952 \begin_layout Standard
1968 <row topline="true">
1969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1972 \begin_layout Standard
1987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1990 \begin_layout Standard
2005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2008 \begin_layout Standard
2024 <row topline="true" bottomline="true">
2025 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2028 \begin_layout Standard
2038 \begin_inset Formula $\int x^{2}dx$
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2049 \begin_layout Standard
2059 \begin_inset Formula $\left[\begin{array}{cc}
2061 c & d\end{array}\right]$
2069 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2072 \begin_layout Standard
2082 \begin_inset Formula $1+1=2$
2103 \begin_layout Standard
2104 Table floats can be inserted using the menu
2106 Insert\SpecialChar \menuseparator
2107 Float\SpecialChar \menuseparator
2110 or the toolbar button
2111 \begin_inset Graphics
2112 filename ../images/float-insert_table.xpm
2120 \begin_layout Standard
2121 The float appears as a collapsible box with the label
2122 \begin_inset Quotes eld
2131 \begin_inset Quotes erd
2135 The text following the label is the caption of the table.
2136 To insert a table to the the float set the cursor at the end of the caption
2137 text, press enter and insert the table.
2138 The caption is now printed above the table.
2141 \begin_layout Standard
2144 \begin_inset LatexCommand ref
2145 reference "tab:a table float"
2149 is an example table within a table float.
2152 \begin_layout Standard
2153 Having the caption above the table is the common rule that is unfortunately
2154 not supported in LaTeX's standard classes.
2155 That means if you are using the document classes
2171 there will be no space between the caption and the table.
2172 To insert the needed space, add the following option to the load command
2173 of the LaTeX-package
2178 \begin_inset LatexCommand index
2179 name "LaTeX-packages ! caption"
2183 in your document preamble
2187 \begin_layout Standard
2188 For more information have a look at section\InsetSpace ~
2190 \begin_inset LatexCommand ref
2191 reference "sec:Caption-Placement"
2203 \begin_layout Standard
2209 \begin_layout Standard
2214 , which is described in section\InsetSpace ~
2216 \begin_inset LatexCommand ref
2217 reference "sec:Caption-Formatting"
2221 , is used to adjust the caption format.
2224 \begin_layout Standard
2225 \begin_inset LatexCommand index
2226 name "References ! to Tables"
2230 Tables can be cross-referenced in the text by referencing their label.
2231 To do this insert a label in the caption using the menu
2233 Insert\SpecialChar \menuseparator
2236 or the toolbar button
2237 \begin_inset Graphics
2238 filename ../images/label-insert.xpm
2244 You can now refer to the label using the menu
2246 Insert\SpecialChar \menuseparator
2250 or the toolbar button
2251 \begin_inset Graphics
2252 filename ../images/dialog-show-new-inset_ref.xpm
2260 \begin_layout Standard
2264 \begin_layout Section
2266 \begin_inset LatexCommand label
2267 name "sec:Longtables"
2272 \begin_inset LatexCommand index
2278 \begin_inset LatexCommand index
2279 name "Table ! Longtables"
2286 \begin_layout Standard
2287 If the table is too long to fit on one page, you can use the option
2297 of the table dialog to split the table automatically over more pages.
2298 Doing this enables some check boxes and you can now define:
2301 \begin_layout Description
2306 : The current row and all rows above, that don't have any special options
2307 defined, are defined to be the header rows of all pages of the longtable;
2308 except for the first page, if
2314 This therefore called the main header.
2317 \begin_layout Description
2323 : The current row and all rows above, that don't have any special options
2324 defined, are defined to be the header rows of the first page of the longtable.
2327 \begin_layout Description
2332 : The current row and all rows below, that don't have any special options
2333 defined, are defined to be the footer rows of all pages of the longtable;
2334 except for the last page, if
2342 \begin_layout Description
2348 : The current row and all rows below, that don't have any special options
2349 defined, are defined to be the footer rows of the last page of the longtable.
2352 \begin_layout Standard
2353 You can also specify a row where the table is splitted.
2354 If you set more than one option in the same table row, you should be aware
2355 of the fact that only the first one is used in the given table row.
2356 The others will then be defined as
2361 In this context, first means first in this order:
2363 Footer, Last\InsetSpace ~
2379 See the following longtable to see how it works:
2382 \begin_layout Standard
2384 \begin_inset Tabular
2385 <lyxtabular version="3" rows="69" columns="3">
2386 <features islongtable="true">
2387 <column alignment="left" valignment="top" leftline="true" width="0cm">
2388 <column alignment="left" valignment="top" width="0pt">
2389 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2390 <row topline="true" bottomline="true" endfirsthead="true">
2391 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2394 \begin_layout Standard
2397 Example Phone List (ignore the names)
2402 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2405 \begin_layout Standard
2411 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2414 \begin_layout Standard
2421 <row topline="true" bottomline="true" endfirsthead="true">
2422 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2425 \begin_layout Standard
2433 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2436 \begin_layout Standard
2442 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2445 \begin_layout Standard
2454 <row topline="true" bottomline="true" endhead="true">
2455 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2458 \begin_layout Standard
2466 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2469 \begin_layout Standard
2475 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2478 \begin_layout Standard
2485 <row topline="true" bottomline="true" endhead="true">
2486 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2489 \begin_layout Standard
2497 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2500 \begin_layout Standard
2506 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2509 \begin_layout Standard
2518 <row topline="true" bottomline="true" endfoot="true">
2519 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2522 \begin_layout Standard
2523 continued on next page
2528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2531 \begin_layout Standard
2537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2540 \begin_layout Standard
2548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2551 \begin_layout Standard
2559 <cell alignment="center" valignment="top" topline="true" usebox="none">
2562 \begin_layout Standard
2568 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2571 \begin_layout Standard
2579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2582 \begin_layout Standard
2590 <cell alignment="center" valignment="top" topline="true" usebox="none">
2593 \begin_layout Standard
2599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2602 \begin_layout Standard
2610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2613 \begin_layout Standard
2621 <cell alignment="center" valignment="top" topline="true" usebox="none">
2624 \begin_layout Standard
2630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2633 \begin_layout Standard
2641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2644 \begin_layout Standard
2652 <cell alignment="center" valignment="top" topline="true" usebox="none">
2655 \begin_layout Standard
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2664 \begin_layout Standard
2672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2675 \begin_layout Standard
2683 <cell alignment="center" valignment="top" topline="true" usebox="none">
2686 \begin_layout Standard
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2695 \begin_layout Standard
2703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2706 \begin_layout Standard
2714 <cell alignment="center" valignment="top" topline="true" usebox="none">
2717 \begin_layout Standard
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2726 \begin_layout Standard
2734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2737 \begin_layout Standard
2745 <cell alignment="center" valignment="top" topline="true" usebox="none">
2748 \begin_layout Standard
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2757 \begin_layout Standard
2765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2768 \begin_layout Standard
2776 <cell alignment="center" valignment="top" topline="true" usebox="none">
2779 \begin_layout Standard
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2788 \begin_layout Standard
2796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2799 \begin_layout Standard
2807 <cell alignment="center" valignment="top" topline="true" usebox="none">
2810 \begin_layout Standard
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2819 \begin_layout Standard
2827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2830 \begin_layout Standard
2838 <cell alignment="center" valignment="top" topline="true" usebox="none">
2841 \begin_layout Standard
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2850 \begin_layout Standard
2858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2861 \begin_layout Standard
2869 <cell alignment="center" valignment="top" topline="true" usebox="none">
2872 \begin_layout Standard
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2881 \begin_layout Standard
2889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2892 \begin_layout Standard
2900 <cell alignment="center" valignment="top" topline="true" usebox="none">
2903 \begin_layout Standard
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2912 \begin_layout Standard
2920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2923 \begin_layout Standard
2931 <cell alignment="center" valignment="top" topline="true" usebox="none">
2934 \begin_layout Standard
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2943 \begin_layout Standard
2951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2954 \begin_layout Standard
2962 <cell alignment="center" valignment="top" topline="true" usebox="none">
2965 \begin_layout Standard
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2974 \begin_layout Standard
2982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2985 \begin_layout Standard
2993 <cell alignment="center" valignment="top" topline="true" usebox="none">
2996 \begin_layout Standard
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3005 \begin_layout Standard
3013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3016 \begin_layout Standard
3024 <cell alignment="center" valignment="top" topline="true" usebox="none">
3027 \begin_layout Standard
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3036 \begin_layout Standard
3044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3047 \begin_layout Standard
3055 <cell alignment="center" valignment="top" topline="true" usebox="none">
3058 \begin_layout Standard
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3067 \begin_layout Standard
3075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3078 \begin_layout Standard
3086 <cell alignment="center" valignment="top" topline="true" usebox="none">
3089 \begin_layout Standard
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3098 \begin_layout Standard
3106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3109 \begin_layout Standard
3117 <cell alignment="center" valignment="top" topline="true" usebox="none">
3120 \begin_layout Standard
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3129 \begin_layout Standard
3137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3140 \begin_layout Standard
3148 <cell alignment="center" valignment="top" topline="true" usebox="none">
3151 \begin_layout Standard
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3160 \begin_layout Standard
3168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3171 \begin_layout Standard
3179 <cell alignment="center" valignment="top" topline="true" usebox="none">
3182 \begin_layout Standard
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3191 \begin_layout Standard
3199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3202 \begin_layout Standard
3210 <cell alignment="center" valignment="top" topline="true" usebox="none">
3213 \begin_layout Standard
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3222 \begin_layout Standard
3230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3233 \begin_layout Standard
3241 <cell alignment="center" valignment="top" topline="true" usebox="none">
3244 \begin_layout Standard
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3253 \begin_layout Standard
3261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3264 \begin_layout Standard
3272 <cell alignment="center" valignment="top" topline="true" usebox="none">
3275 \begin_layout Standard
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3284 \begin_layout Standard
3292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3295 \begin_layout Standard
3303 <cell alignment="center" valignment="top" topline="true" usebox="none">
3306 \begin_layout Standard
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3315 \begin_layout Standard
3323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3326 \begin_layout Standard
3334 <cell alignment="center" valignment="top" topline="true" usebox="none">
3337 \begin_layout Standard
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3346 \begin_layout Standard
3354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3357 \begin_layout Standard
3365 <cell alignment="center" valignment="top" topline="true" usebox="none">
3368 \begin_layout Standard
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3377 \begin_layout Standard
3385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3388 \begin_layout Standard
3396 <cell alignment="center" valignment="top" topline="true" usebox="none">
3399 \begin_layout Standard
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3408 \begin_layout Standard
3416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3419 \begin_layout Standard
3427 <cell alignment="center" valignment="top" topline="true" usebox="none">
3430 \begin_layout Standard
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3439 \begin_layout Standard
3447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3450 \begin_layout Standard
3458 <cell alignment="center" valignment="top" topline="true" usebox="none">
3461 \begin_layout Standard
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3470 \begin_layout Standard
3477 <row bottomline="true">
3478 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3481 \begin_layout Standard
3489 <cell alignment="center" valignment="top" topline="true" usebox="none">
3492 \begin_layout Standard
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3501 \begin_layout Standard
3508 <row bottomline="true">
3509 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3512 \begin_layout Standard
3518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3521 \begin_layout Standard
3527 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3530 \begin_layout Standard
3538 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3541 \begin_layout Standard
3549 <cell alignment="center" valignment="top" topline="true" usebox="none">
3552 \begin_layout Standard
3558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3561 \begin_layout Standard
3569 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3572 \begin_layout Standard
3580 <cell alignment="center" valignment="top" topline="true" usebox="none">
3583 \begin_layout Standard
3589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3592 \begin_layout Standard
3600 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3603 \begin_layout Standard
3611 <cell alignment="center" valignment="top" topline="true" usebox="none">
3614 \begin_layout Standard
3620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3623 \begin_layout Standard
3631 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3634 \begin_layout Standard
3642 <cell alignment="center" valignment="top" topline="true" usebox="none">
3645 \begin_layout Standard
3651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3654 \begin_layout Standard
3662 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3665 \begin_layout Standard
3673 <cell alignment="center" valignment="top" topline="true" usebox="none">
3676 \begin_layout Standard
3682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3685 \begin_layout Standard
3693 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3696 \begin_layout Standard
3704 <cell alignment="center" valignment="top" topline="true" usebox="none">
3707 \begin_layout Standard
3713 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3716 \begin_layout Standard
3724 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3727 \begin_layout Standard
3735 <cell alignment="center" valignment="top" topline="true" usebox="none">
3738 \begin_layout Standard
3744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3747 \begin_layout Standard
3755 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3758 \begin_layout Standard
3766 <cell alignment="center" valignment="top" topline="true" usebox="none">
3769 \begin_layout Standard
3775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3778 \begin_layout Standard
3786 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3789 \begin_layout Standard
3797 <cell alignment="center" valignment="top" topline="true" usebox="none">
3800 \begin_layout Standard
3806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3809 \begin_layout Standard
3817 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3820 \begin_layout Standard
3828 <cell alignment="center" valignment="top" topline="true" usebox="none">
3831 \begin_layout Standard
3837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3840 \begin_layout Standard
3848 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3851 \begin_layout Standard
3859 <cell alignment="center" valignment="top" topline="true" usebox="none">
3862 \begin_layout Standard
3868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3871 \begin_layout Standard
3879 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3882 \begin_layout Standard
3890 <cell alignment="center" valignment="top" topline="true" usebox="none">
3893 \begin_layout Standard
3899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3902 \begin_layout Standard
3910 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3913 \begin_layout Standard
3921 <cell alignment="center" valignment="top" topline="true" usebox="none">
3924 \begin_layout Standard
3930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3933 \begin_layout Standard
3941 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3944 \begin_layout Standard
3952 <cell alignment="center" valignment="top" topline="true" usebox="none">
3955 \begin_layout Standard
3961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3964 \begin_layout Standard
3972 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3975 \begin_layout Standard
3983 <cell alignment="center" valignment="top" topline="true" usebox="none">
3986 \begin_layout Standard
3992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3995 \begin_layout Standard
4003 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4006 \begin_layout Standard
4014 <cell alignment="center" valignment="top" topline="true" usebox="none">
4017 \begin_layout Standard
4023 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4026 \begin_layout Standard
4034 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4037 \begin_layout Standard
4045 <cell alignment="center" valignment="top" topline="true" usebox="none">
4048 \begin_layout Standard
4054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4057 \begin_layout Standard
4065 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4068 \begin_layout Standard
4076 <cell alignment="center" valignment="top" topline="true" usebox="none">
4079 \begin_layout Standard
4085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4088 \begin_layout Standard
4096 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4099 \begin_layout Standard
4107 <cell alignment="center" valignment="top" topline="true" usebox="none">
4110 \begin_layout Standard
4116 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4119 \begin_layout Standard
4127 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4130 \begin_layout Standard
4138 <cell alignment="center" valignment="top" topline="true" usebox="none">
4141 \begin_layout Standard
4147 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4150 \begin_layout Standard
4158 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4161 \begin_layout Standard
4169 <cell alignment="center" valignment="top" topline="true" usebox="none">
4172 \begin_layout Standard
4178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4181 \begin_layout Standard
4189 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4192 \begin_layout Standard
4200 <cell alignment="center" valignment="top" topline="true" usebox="none">
4203 \begin_layout Standard
4209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4212 \begin_layout Standard
4220 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4223 \begin_layout Standard
4231 <cell alignment="center" valignment="top" topline="true" usebox="none">
4234 \begin_layout Standard
4240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4243 \begin_layout Standard
4251 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4254 \begin_layout Standard
4262 <cell alignment="center" valignment="top" topline="true" usebox="none">
4265 \begin_layout Standard
4271 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4274 \begin_layout Standard
4282 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4285 \begin_layout Standard
4293 <cell alignment="center" valignment="top" topline="true" usebox="none">
4296 \begin_layout Standard
4302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4305 \begin_layout Standard
4313 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4316 \begin_layout Standard
4324 <cell alignment="center" valignment="top" topline="true" usebox="none">
4327 \begin_layout Standard
4333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4336 \begin_layout Standard
4344 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4347 \begin_layout Standard
4355 <cell alignment="center" valignment="top" topline="true" usebox="none">
4358 \begin_layout Standard
4364 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4367 \begin_layout Standard
4375 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4378 \begin_layout Standard
4386 <cell alignment="center" valignment="top" topline="true" usebox="none">
4389 \begin_layout Standard
4395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4398 \begin_layout Standard
4406 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4409 \begin_layout Standard
4417 <cell alignment="center" valignment="top" topline="true" usebox="none">
4420 \begin_layout Standard
4426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4429 \begin_layout Standard
4437 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4440 \begin_layout Standard
4448 <cell alignment="center" valignment="top" topline="true" usebox="none">
4451 \begin_layout Standard
4457 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4460 \begin_layout Standard
4467 <row bottomline="true">
4468 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4471 \begin_layout Standard
4479 <cell alignment="center" valignment="top" topline="true" usebox="none">
4482 \begin_layout Standard
4488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4491 \begin_layout Standard
4498 <row bottomline="true" endlastfoot="true">
4499 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4502 \begin_layout Standard
4508 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4511 \begin_layout Standard
4517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4520 \begin_layout Standard
4535 \begin_layout Standard
4539 addtocounter{table}{-1}
4545 \begin_inset Note Note
4548 \begin_layout Standard
4549 See greyed-out note in section 2.6.2 for an explanation of this command.
4557 \begin_layout Subsection
4558 Footnotes in Longtables
4559 \begin_inset LatexCommand label
4560 name "sub:Footnotes-in-Longtables"
4565 \begin_inset LatexCommand index
4566 name "Longtables ! Footnotes"
4573 \begin_layout Standard
4574 Footnotes can be inserted to every longtable cell.
4575 They appear at the bottom of the page where the table cell with the footnote
4579 \begin_inset LatexCommand ref
4580 reference "tab:DiffCaptions"
4584 has for example a footnote.
4587 \begin_layout Subsection
4589 \begin_inset LatexCommand index
4590 name "Longtables ! Captions"
4597 \begin_layout Standard
4598 A longtable cannot be put into a table float because floats can only be
4600 Therefore the caption layout cannot be used for longtables.
4603 \begin_layout Standard
4604 To add a caption, a dirty hack is needed:
4607 \begin_layout Enumerate
4611 \begin_layout Enumerate
4612 Mark the first row an disable its upper line
4615 \begin_layout Enumerate
4616 Insert the following command as ERT into the first table cell:
4622 caption[short title]{full title}
4629 \begin_layout Enumerate
4631 \begin_inset Quotes eld
4639 \begin_inset Quotes erd
4642 as ERT into every cell of the first row
4645 \begin_layout Standard
4652 command is used like for normal captions, the short title that will appear
4653 in the LOT instead of the full title is optional.
4658 in the table cells omits the vertical line between the the cells.
4659 The first table row is now only a dummy row for the caption, the actual
4660 table starts with the second row.
4663 \begin_layout Standard
4664 Here is a short longtable to see how it works:
4667 \begin_layout Standard
4668 \begin_inset Tabular
4669 <lyxtabular version="3" rows="6" columns="5">
4670 <features islongtable="true">
4671 <column alignment="center" valignment="top" leftline="true" width="0">
4672 <column alignment="center" valignment="top" leftline="true" width="0">
4673 <column alignment="center" valignment="top" leftline="true" width="0">
4674 <column alignment="center" valignment="top" leftline="true" width="0">
4675 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4680 \begin_layout Standard
4684 \begin_layout Standard
4688 caption[Longtable]{Longtable with caption}
4702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4705 \begin_layout Standard
4709 \begin_layout Standard
4721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4724 \begin_layout Standard
4728 \begin_layout Standard
4740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4743 \begin_layout Standard
4747 \begin_layout Standard
4759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4762 \begin_layout Standard
4766 \begin_layout Standard
4779 <row topline="true">
4780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4783 \begin_layout Standard
4789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4792 \begin_layout Standard
4798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4801 \begin_layout Standard
4807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4810 \begin_layout Standard
4816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4819 \begin_layout Standard
4826 <row topline="true">
4827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4830 \begin_layout Standard
4836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4839 \begin_layout Standard
4845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4848 \begin_layout Standard
4854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4857 \begin_layout Standard
4863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4866 \begin_layout Standard
4873 <row topline="true">
4874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4877 \begin_layout Standard
4883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4886 \begin_layout Standard
4892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4895 \begin_layout Standard
4901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4904 \begin_layout Standard
4910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4913 \begin_layout Standard
4920 <row topline="true">
4921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4924 \begin_layout Standard
4930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4933 \begin_layout Standard
4939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4942 \begin_layout Standard
4948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4951 \begin_layout Standard
4957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4960 \begin_layout Standard
4967 <row topline="true" bottomline="true">
4968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4971 \begin_layout Standard
4977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4980 \begin_layout Standard
4986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4989 \begin_layout Standard
4995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4998 \begin_layout Standard
5004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5007 \begin_layout Standard
5021 \begin_layout Standard
5022 \begin_inset VSpace medskip
5026 \begin_inset Note Greyedout
5029 \begin_layout Standard
5034 The table number is increased for every longtable, also if you didn't set
5036 For this reason you could have the case that e.g.
5038 2.4 follows on Table\InsetSpace ~
5039 2.1 in the list of tables if there are two longtables
5041 To avoid this you can add the following command in ERT behind every longtable
5045 \begin_layout Standard
5050 addtocounter{table}{-1}
5058 \begin_layout Standard
5059 \begin_inset Note Greyedout
5062 \begin_layout Standard
5067 If you are using the LaTeX-package
5072 \begin_inset LatexCommand index
5073 name "LaTeX-packages ! hyperref"
5077 to link cross-references, the link to a longtable caption will always point
5078 to the beginning of the document.
5086 \begin_layout Subsubsection
5087 References to Longtables
5088 \begin_inset LatexCommand index
5089 name "Longtables ! References"
5096 \begin_layout Standard
5097 \begin_inset Tabular
5098 <lyxtabular version="3" rows="6" columns="5">
5099 <features islongtable="true">
5100 <column alignment="center" valignment="top" leftline="true" width="0">
5101 <column alignment="center" valignment="top" leftline="true" width="0">
5102 <column alignment="center" valignment="top" leftline="true" width="0">
5103 <column alignment="center" valignment="top" leftline="true" width="0">
5104 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5109 \begin_layout Standard
5113 \begin_layout Standard
5117 caption{Referenced longtable
5123 \begin_inset LatexCommand label
5124 name "tab:RefExample"
5132 \begin_layout Standard
5148 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5151 \begin_layout Standard
5155 \begin_layout Standard
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5170 \begin_layout Standard
5174 \begin_layout Standard
5186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5189 \begin_layout Standard
5193 \begin_layout Standard
5205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5208 \begin_layout Standard
5212 \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" 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">
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
5413 <row topline="true" bottomline="true">
5414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5417 \begin_layout Standard
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5426 \begin_layout Standard
5432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5435 \begin_layout Standard
5441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5444 \begin_layout Standard
5450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5453 \begin_layout Standard
5467 \begin_layout Standard
5468 To reference a longtable, insert a label into the
5475 This is done by splitting the ERT of the caption command.
5476 The part of the caption command before the last closing brace
5479 \begin_layout Standard
5484 caption[short title]{full title
5487 \begin_layout Standard
5488 is in the first ERT box, the label is inserted behind it.
5489 Note that you have to add the label prefix
5490 \begin_inset Quotes eld
5498 \begin_inset Quotes eld
5501 manually in the label field.
5502 The second ERT box contains the rest of the
5507 \begin_layout Standard
5517 \begin_layout Standard
5518 and is inserted behind the label box, see Table\InsetSpace ~
5520 \begin_inset LatexCommand ref
5521 reference "tab:RefExample"
5528 \begin_layout Standard
5529 The caption layout can be set together with all other caption of your document
5530 using the LaTeX-package
5535 \begin_inset LatexCommand index
5536 name "LaTeX-packages ! caption"
5540 , see section\InsetSpace ~
5542 \begin_inset LatexCommand ref
5543 reference "sec:Caption-Formatting"
5550 \begin_layout Subsubsection
5552 \begin_inset LatexCommand index
5553 name "Longtables ! Caption Width"
5560 \begin_layout Standard
5561 The maximal width of of caption lines is defined by the length
5568 It default value is 4\InsetSpace \thinspace{}
5570 To change it add the following command to your document preamble or as
5571 ERT into your document before the longtable that should be affected
5574 \begin_layout Standard
5584 \begin_layout Standard
5585 where the width could have one of the units listed in appendix\InsetSpace ~
5587 \begin_inset LatexCommand ref
5588 reference "cha:Units-available-in"
5595 \begin_layout Standard
5596 The following tables show the difference:
5599 \begin_layout Standard
5600 \begin_inset Tabular
5601 <lyxtabular version="3" rows="6" columns="5">
5602 <features islongtable="true">
5603 <column alignment="center" valignment="top" leftline="true" width="0">
5604 <column alignment="center" valignment="top" leftline="true" width="0">
5605 <column alignment="center" valignment="top" leftline="true" width="0">
5606 <column alignment="center" valignment="top" leftline="true" width="0">
5607 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5612 \begin_layout Standard
5616 \begin_layout Standard
5620 caption[caption with default width]{long full title with default width
5623 \begin_layout Standard
5625 long full title with default width long full title with default width}
5639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5642 \begin_layout Standard
5646 \begin_layout Standard
5658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5661 \begin_layout Standard
5665 \begin_layout Standard
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5680 \begin_layout Standard
5684 \begin_layout Standard
5696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5699 \begin_layout Standard
5703 \begin_layout Standard
5716 <row topline="true">
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5720 \begin_layout Standard
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5729 \begin_layout Standard
5735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5738 \begin_layout Standard
5744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5747 \begin_layout Standard
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5756 \begin_layout Standard
5763 <row topline="true">
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5767 \begin_layout Standard
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5776 \begin_layout Standard
5782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5785 \begin_layout Standard
5791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5794 \begin_layout Standard
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5803 \begin_layout Standard
5810 <row topline="true">
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_layout Standard
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_layout Standard
5829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5832 \begin_layout Standard
5838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_layout Standard
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5850 \begin_layout Standard
5857 <row topline="true">
5858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_layout Standard
5867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_layout Standard
5876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_layout Standard
5885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5888 \begin_layout Standard
5894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5897 \begin_layout Standard
5904 <row topline="true" bottomline="true">
5905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5908 \begin_layout Standard
5914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5917 \begin_layout Standard
5923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5926 \begin_layout Standard
5932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5935 \begin_layout Standard
5941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5944 \begin_layout Standard
5958 \begin_layout Standard
5962 \begin_layout Standard
5974 \begin_inset Tabular
5975 <lyxtabular version="3" rows="6" columns="5">
5976 <features islongtable="true">
5977 <column alignment="center" valignment="top" leftline="true" width="0">
5978 <column alignment="center" valignment="top" leftline="true" width="0">
5979 <column alignment="center" valignment="top" leftline="true" width="0">
5980 <column alignment="center" valignment="top" leftline="true" width="0">
5981 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5986 \begin_layout Standard
5990 \begin_layout Standard
5994 caption[caption with width
6000 ,cm]{long full title with width set to 5
6005 \begin_layout Standard
6007 long full title with width set to 5
6009 ,cm long full title with width set to 5
6025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6028 \begin_layout Standard
6032 \begin_layout Standard
6044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6047 \begin_layout Standard
6051 \begin_layout Standard
6063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6066 \begin_layout Standard
6070 \begin_layout Standard
6082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6085 \begin_layout Standard
6089 \begin_layout Standard
6102 <row topline="true">
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6106 \begin_layout Standard
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6115 \begin_layout Standard
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6124 \begin_layout Standard
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6133 \begin_layout Standard
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6142 \begin_layout Standard
6149 <row topline="true">
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6153 \begin_layout Standard
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6162 \begin_layout Standard
6168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6171 \begin_layout Standard
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6180 \begin_layout Standard
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6189 \begin_layout Standard
6196 <row topline="true">
6197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6200 \begin_layout Standard
6206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6209 \begin_layout Standard
6215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6218 \begin_layout Standard
6224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6227 \begin_layout Standard
6233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6236 \begin_layout Standard
6243 <row topline="true">
6244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6247 \begin_layout Standard
6253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6256 \begin_layout Standard
6262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6265 \begin_layout Standard
6271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6274 \begin_layout Standard
6280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6283 \begin_layout Standard
6290 <row topline="true" bottomline="true">
6291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6294 \begin_layout Standard
6300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6303 \begin_layout Standard
6309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6312 \begin_layout Standard
6318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6321 \begin_layout Standard
6327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6330 \begin_layout Standard
6345 \begin_layout Standard
6359 \begin_layout Standard
6363 \begin_layout Subsubsection
6364 Different Captions for Table Pages
6365 \begin_inset LatexCommand index
6366 name "Longtables ! Different Captions for Pages"
6373 \begin_layout Standard
6374 When the other captions should differ from the one of the first table page,
6381 command with a non-empty short title in a dummy caption row marked as first
6383 The caption used for the other table pages is inserted as
6389 command without a short title in a dummy caption row that is marked as
6391 When this caption shouldn't include the table number, use the command
6404 The label to reference the table is inserted into the caption of the first
6408 \begin_inset LatexCommand ref
6409 reference "tab:DiffCaptions"
6413 is an example for a longtable with different heading where the second caption
6414 doesn't include the table number.
6417 \begin_layout Standard
6419 \begin_inset Tabular
6420 <lyxtabular version="3" rows="60" columns="3">
6421 <features islongtable="true">
6422 <column alignment="left" valignment="top" leftline="true" width="0cm">
6423 <column alignment="left" valignment="top" rightline="true" width="0pt">
6424 <column alignment="right" valignment="top" rightline="true" width="0pt">
6425 <row endfirsthead="true">
6426 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6429 \begin_layout Standard
6433 \begin_layout Standard
6437 caption[Example Phone List]{Example Phone List
6443 \begin_inset LatexCommand label
6444 name "tab:DiffCaptions"
6452 \begin_layout Standard
6468 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6471 \begin_layout Standard
6475 \begin_layout Standard
6487 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6490 \begin_layout Standard
6494 \begin_layout Standard
6507 <row topline="true" bottomline="true" endfirsthead="true">
6508 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6511 \begin_layout Standard
6514 Example Phone List (ignore the names)
6519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6522 \begin_layout Standard
6528 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6531 \begin_layout Standard
6538 <row topline="true" bottomline="true" endfirsthead="true">
6539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6542 \begin_layout Standard
6550 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6553 \begin_layout Standard
6559 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6562 \begin_layout Standard
6571 <row bottomline="true" endhead="true">
6572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6575 \begin_layout Standard
6579 \begin_layout Standard
6583 caption*{Continued Example Phone List}
6597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6600 \begin_layout Standard
6604 \begin_layout Standard
6616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6619 \begin_layout Standard
6623 \begin_layout Standard
6636 <row topline="true" bottomline="true" endhead="true">
6637 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6640 \begin_layout Standard
6648 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6651 \begin_layout Standard
6657 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6660 \begin_layout Standard
6667 <row topline="true" bottomline="true" endhead="true">
6668 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6671 \begin_layout Standard
6679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6682 \begin_layout Standard
6688 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6691 \begin_layout Standard
6700 <row topline="true" bottomline="true" endfoot="true">
6701 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6704 \begin_layout Standard
6705 continued on next page
6710 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6713 \begin_layout Standard
6719 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="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="right" 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
6989 <cell alignment="center" valignment="top" topline="true" usebox="none">
6992 \begin_layout Standard
6998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7001 \begin_layout Standard
7009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7012 \begin_layout Standard
7020 <cell alignment="center" valignment="top" topline="true" usebox="none">
7023 \begin_layout Standard
7029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7032 \begin_layout Standard
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7043 \begin_layout Standard
7051 <cell alignment="center" valignment="top" topline="true" usebox="none">
7054 \begin_layout Standard
7060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7063 \begin_layout Standard
7071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7074 \begin_layout Standard
7082 <cell alignment="center" valignment="top" topline="true" usebox="none">
7085 \begin_layout Standard
7091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7094 \begin_layout Standard
7102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7105 \begin_layout Standard
7113 <cell alignment="center" valignment="top" topline="true" usebox="none">
7116 \begin_layout Standard
7122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7125 \begin_layout Standard
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7136 \begin_layout Standard
7144 <cell alignment="center" valignment="top" topline="true" usebox="none">
7147 \begin_layout Standard
7153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7156 \begin_layout Standard
7164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7167 \begin_layout Standard
7176 \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
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
7517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7520 \begin_layout Standard
7528 <cell alignment="center" valignment="top" topline="true" usebox="none">
7531 \begin_layout Standard
7537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7540 \begin_layout Standard
7548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7551 \begin_layout Standard
7559 <cell alignment="center" valignment="top" topline="true" usebox="none">
7562 \begin_layout Standard
7568 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7571 \begin_layout Standard
7579 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7582 \begin_layout Standard
7590 <cell alignment="center" valignment="top" topline="true" usebox="none">
7593 \begin_layout Standard
7599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7602 \begin_layout Standard
7610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7613 \begin_layout Standard
7621 <cell alignment="center" valignment="top" topline="true" usebox="none">
7624 \begin_layout Standard
7630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7633 \begin_layout Standard
7641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7644 \begin_layout Standard
7652 <cell alignment="center" valignment="top" topline="true" usebox="none">
7655 \begin_layout Standard
7661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7664 \begin_layout Standard
7671 <row bottomline="true">
7672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7675 \begin_layout Standard
7683 <cell alignment="center" valignment="top" topline="true" usebox="none">
7686 \begin_layout Standard
7692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7695 \begin_layout Standard
7702 <row bottomline="true">
7703 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7706 \begin_layout Standard
7712 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7715 \begin_layout Standard
7721 <cell multicolumn="2" 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
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
8166 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8169 \begin_layout Standard
8177 <cell alignment="center" valignment="top" topline="true" usebox="none">
8180 \begin_layout Standard
8186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8189 \begin_layout Standard
8197 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8200 \begin_layout Standard
8208 <cell alignment="center" valignment="top" topline="true" usebox="none">
8211 \begin_layout Standard
8217 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8220 \begin_layout Standard
8228 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8231 \begin_layout Standard
8239 <cell alignment="center" valignment="top" topline="true" usebox="none">
8242 \begin_layout Standard
8248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8251 \begin_layout Standard
8259 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8262 \begin_layout Standard
8270 <cell alignment="center" valignment="top" topline="true" usebox="none">
8273 \begin_layout Standard
8279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8282 \begin_layout Standard
8290 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8293 \begin_layout Standard
8301 <cell alignment="center" valignment="top" topline="true" usebox="none">
8304 \begin_layout Standard
8310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8313 \begin_layout Standard
8320 <row bottomline="true">
8321 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8324 \begin_layout Standard
8332 <cell alignment="center" valignment="top" topline="true" usebox="none">
8335 \begin_layout Standard
8341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8344 \begin_layout Standard
8351 <row bottomline="true" endlastfoot="true">
8352 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8355 \begin_layout Standard
8361 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8364 \begin_layout Standard
8370 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8373 \begin_layout Standard
8387 \begin_layout Section
8388 Special Longtable Issues
8389 \begin_inset LatexCommand label
8390 name "sec:Special-Longtable-Issues"
8397 \begin_layout Subsection
8398 Longtable Calculation
8399 \begin_inset LatexCommand index
8400 name "Longtables ! Calculation"
8407 \begin_layout Standard
8408 LaTeX calculates the height of table pages and their page breaks using so
8410 Chunks are pieces of the tables that are at once in LaTeX's memory.
8411 The default value is historically set to only 20 table rows.
8412 If you are using longtables with many pages this may slow down the creation
8414 You can safely increase the chunk size to values of 100-1000 by adding
8415 this command line to your document preamble:
8418 \begin_layout Standard
8423 setcounter{LTchunksize}{100}
8426 \begin_layout Subsection
8427 Floats and Longtables
8428 \begin_inset LatexCommand index
8429 name "Longtables ! Floats"
8436 \begin_layout Standard
8437 There might be problems when a float appears on the same page where a longtable
8439 To avoid such situation, add the command
8445 as ERT before your longtable.
8448 \begin_layout Subsection
8450 \begin_inset LatexCommand index
8451 name "Longtables ! Forced Page Breaks"
8458 \begin_layout Standard
8459 By default tables are only broken between rows.
8460 If you have a cell with multiples lines and want to have a page break within
8461 the cell, insert the new line command
8462 \begin_inset Quotes eld
8474 \begin_inset Quotes erd
8477 as ERT at this point of the cell where it should be broken.
8486 command you have to insert in ERT so many
8487 \begin_inset Quotes eld
8495 \begin_inset Quotes erd
8498 characters like the number of the following table columns.
8503 is the character to separate table cells.
8504 Write in ERT after each
8508 the content of the corresponding following cell and delete the content
8519 command, insert so many
8523 characters like the number of table columns before the current column.
8524 In Table\InsetSpace ~
8526 \begin_inset LatexCommand ref
8527 reference "tab:ForcedPagebreak"
8531 the cell that should be broken is in the second column followed by another
8533 Therefore the following command was inserted in the cell as ERT behind
8535 \begin_inset Quotes eld
8543 \begin_inset Quotes erd
8549 \begin_layout Standard
8561 \begin_layout Standard
8563 \begin_inset Quotes eld
8567 \begin_inset Quotes erd
8570 in the third columns of the row was deleted.
8571 If your footer row of the longtable has for a certain reason no upper line
8572 but you would have a horizontal line where the cell is broken, use this
8576 \begin_layout Standard
8590 \begin_layout Standard
8591 When the cell to be broken is in the last column, the command
8594 \begin_layout Standard
8601 parf\SpecialChar \textcompwordmark{}
8605 \begin_layout Standard
8606 must be inserted as ERT at the beginning of the cell.
8607 This assures that the part of the cell that will be displayed on the new
8608 page appears with the full width.
8612 \begin_layout Standard
8614 \begin_inset Tabular
8615 <lyxtabular version="3" rows="39" columns="3">
8616 <features islongtable="true">
8617 <column alignment="left" valignment="top" leftline="true" width="0cm">
8618 <column alignment="left" valignment="top" rightline="true" width="3cm">
8619 <column alignment="right" valignment="top" rightline="true" width="0pt">
8620 <row endfirsthead="true">
8621 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8624 \begin_layout Standard
8628 \begin_layout Standard
8632 caption[Table with forced page break in table cell]{Table with forced page
8639 \begin_inset LatexCommand label
8640 name "tab:ForcedPagebreak"
8648 \begin_layout Standard
8664 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8667 \begin_layout Standard
8671 \begin_layout Standard
8683 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8686 \begin_layout Standard
8690 \begin_layout Standard
8703 <row topline="true" bottomline="true" endfirsthead="true">
8704 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8707 \begin_layout Standard
8710 Example Phone List (ignore the names)
8715 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8718 \begin_layout Standard
8724 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8727 \begin_layout Standard
8734 <row topline="true" bottomline="true" endfirsthead="true">
8735 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8738 \begin_layout Standard
8746 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8749 \begin_layout Standard
8755 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8758 \begin_layout Standard
8767 <row bottomline="true" endhead="true">
8768 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8771 \begin_layout Standard
8775 \begin_layout Standard
8779 caption{Continued table with forced page break in table cell}
8793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8796 \begin_layout Standard
8800 \begin_layout Standard
8812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8815 \begin_layout Standard
8819 \begin_layout Standard
8832 <row topline="true" bottomline="true" endhead="true">
8833 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8836 \begin_layout Standard
8844 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8847 \begin_layout Standard
8853 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8856 \begin_layout Standard
8863 <row topline="true" bottomline="true" endhead="true">
8864 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8867 \begin_layout Standard
8875 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8878 \begin_layout Standard
8884 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8887 \begin_layout Standard
8896 <row topline="true" bottomline="true" endfoot="true">
8897 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8900 \begin_layout Standard
8901 continued on next page
8906 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8909 \begin_layout Standard
8915 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8918 \begin_layout Standard
8926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8929 \begin_layout Standard
8937 <cell alignment="center" valignment="top" topline="true" usebox="none">
8940 \begin_layout Standard
8946 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8949 \begin_layout Standard
8957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8960 \begin_layout Standard
8968 <cell alignment="center" valignment="top" topline="true" usebox="none">
8971 \begin_layout Standard
8977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8980 \begin_layout Standard
8988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8991 \begin_layout Standard
8999 <cell alignment="center" valignment="top" topline="true" usebox="none">
9002 \begin_layout Standard
9008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9011 \begin_layout Standard
9019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9022 \begin_layout Standard
9030 <cell alignment="center" valignment="top" topline="true" usebox="none">
9033 \begin_layout Standard
9039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9042 \begin_layout Standard
9050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9053 \begin_layout Standard
9061 <cell alignment="center" valignment="top" topline="true" usebox="none">
9064 \begin_layout Standard
9070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9073 \begin_layout Standard
9081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9084 \begin_layout Standard
9092 <cell alignment="center" valignment="top" topline="true" usebox="none">
9095 \begin_layout Standard
9101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9104 \begin_layout Standard
9112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9115 \begin_layout Standard
9123 <cell alignment="center" valignment="top" topline="true" usebox="none">
9126 \begin_layout Standard
9132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9135 \begin_layout Standard
9143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9146 \begin_layout Standard
9154 <cell alignment="center" valignment="top" topline="true" usebox="none">
9157 \begin_layout Standard
9163 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9166 \begin_layout Standard
9174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9177 \begin_layout Standard
9185 <cell alignment="center" valignment="top" topline="true" usebox="none">
9188 \begin_layout Standard
9194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9197 \begin_layout Standard
9205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9208 \begin_layout Standard
9216 <cell alignment="center" valignment="top" topline="true" usebox="none">
9219 \begin_layout Standard
9225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9228 \begin_layout Standard
9236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9239 \begin_layout Standard
9247 <cell alignment="center" valignment="top" topline="true" usebox="none">
9250 \begin_layout Standard
9256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9259 \begin_layout Standard
9267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9270 \begin_layout Standard
9278 <cell alignment="center" valignment="top" topline="true" usebox="none">
9281 \begin_layout Standard
9287 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9290 \begin_layout Standard
9298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9301 \begin_layout Standard
9309 <cell alignment="center" valignment="top" topline="true" usebox="none">
9312 \begin_layout Standard
9318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9321 \begin_layout Standard
9329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9332 \begin_layout Standard
9340 <cell alignment="center" valignment="top" topline="true" usebox="none">
9343 \begin_layout Standard
9349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9352 \begin_layout Standard
9360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9363 \begin_layout Standard
9371 <cell alignment="center" valignment="top" topline="true" usebox="none">
9374 \begin_layout Standard
9380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9383 \begin_layout Standard
9391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9394 \begin_layout Standard
9402 <cell alignment="center" valignment="top" topline="true" usebox="none">
9405 \begin_layout Standard
9411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9414 \begin_layout Standard
9422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9425 \begin_layout Standard
9433 <cell alignment="center" valignment="top" topline="true" usebox="none">
9436 \begin_layout Standard
9442 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9445 \begin_layout Standard
9453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9456 \begin_layout Standard
9464 <cell alignment="center" valignment="top" topline="true" usebox="none">
9467 \begin_layout Standard
9473 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9476 \begin_layout Standard
9484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9487 \begin_layout Standard
9495 <cell alignment="center" valignment="top" topline="true" usebox="none">
9498 \begin_layout Standard
9504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9507 \begin_layout Standard
9515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9518 \begin_layout Standard
9526 <cell alignment="center" valignment="top" topline="true" usebox="none">
9529 \begin_layout Standard
9535 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9538 \begin_layout Standard
9546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9549 \begin_layout Standard
9557 <cell alignment="center" valignment="top" topline="true" usebox="none">
9560 \begin_layout Standard
9566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9569 \begin_layout Standard
9577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9580 \begin_layout Standard
9588 <cell alignment="center" valignment="top" topline="true" usebox="none">
9591 \begin_layout Standard
9597 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9600 \begin_layout Standard
9608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9611 \begin_layout Standard
9619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9622 \begin_layout Standard
9624 Fürst von Montecompatri, 11.
9625 Fürst von Sulmona und Vivaro, 10.
9626 Fürst von Rossano, 5.
9627 Herzog von Canemorte, 11.
9628 Herzog von Palombara, 5.
9629 Herzog von Castelchiodato,
9633 \begin_layout Standard
9642 \begin_layout Standard
9650 Herzog von Poggionativo, 11.
9651 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9652 Graf von Valinfreda, 11.
9653 Baron von Cropalati, 11.
9654 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9662 \begin_layout Standard
9670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9673 \begin_layout Standard
9681 <cell alignment="center" valignment="top" topline="true" usebox="none">
9684 \begin_layout Standard
9690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9693 \begin_layout Standard
9701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9704 \begin_layout Standard
9712 <cell alignment="center" valignment="top" topline="true" usebox="none">
9715 \begin_layout Standard
9721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9724 \begin_layout Standard
9732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9735 \begin_layout Standard
9743 <cell alignment="center" valignment="top" topline="true" usebox="none">
9746 \begin_layout Standard
9752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9755 \begin_layout Standard
9763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9766 \begin_layout Standard
9774 <cell alignment="center" valignment="top" topline="true" usebox="none">
9777 \begin_layout Standard
9783 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9786 \begin_layout Standard
9794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9797 \begin_layout Standard
9805 <cell alignment="center" valignment="top" topline="true" usebox="none">
9808 \begin_layout Standard
9814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9817 \begin_layout Standard
9825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9828 \begin_layout Standard
9836 <cell alignment="center" valignment="top" topline="true" usebox="none">
9839 \begin_layout Standard
9845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9848 \begin_layout Standard
9856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9859 \begin_layout Standard
9867 <cell alignment="center" valignment="top" topline="true" usebox="none">
9870 \begin_layout Standard
9876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9879 \begin_layout Standard
9886 <row bottomline="true">
9887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9890 \begin_layout Standard
9898 <cell alignment="center" valignment="top" topline="true" usebox="none">
9901 \begin_layout Standard
9907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9910 \begin_layout Standard
9917 <row endlastfoot="true">
9918 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9921 \begin_layout Standard
9927 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9930 \begin_layout Standard
9936 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9939 \begin_layout Standard
9953 \begin_layout Section
9954 Multiple Lines Columns and Rows
9957 \begin_layout Subsection
9958 Multiple Lines in Table Cells
9959 \begin_inset LatexCommand label
9960 name "sub:Multiple-Lines-in"
9965 \begin_inset LatexCommand index
9966 name "Multiple Lines in Table Cells"
9971 \begin_inset LatexCommand index
9972 name "Table ! Linebreaks"
9979 \begin_layout Standard
9981 \begin_inset Float table
9987 \begin_layout Standard
9988 \begin_inset Caption
9990 \begin_layout Standard
9991 \begin_inset LatexCommand label
9992 name "tab:Table-with-multiple"
9996 Table with multiple lines in cells
10004 \begin_layout Standard
10006 \begin_inset Tabular
10007 <lyxtabular version="3" rows="3" columns="3">
10009 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10010 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10011 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10012 <row topline="true">
10013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10016 \begin_layout Standard
10021 \begin_layout Standard
10035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10038 \begin_layout Standard
10044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10047 \begin_layout Standard
10054 <row topline="true">
10055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10058 \begin_layout Standard
10064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10067 \begin_layout Standard
10073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10076 \begin_layout Standard
10083 <row topline="true" bottomline="true">
10084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10087 \begin_layout Standard
10093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10096 \begin_layout Standard
10102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10105 \begin_layout Standard
10124 \begin_layout Standard
10125 Adjusting a fixed width for a column, enables to enter text as a paragraph
10126 with multiple lines and hyphenations.
10129 \begin_layout Standard
10130 To produce Table\InsetSpace ~
10132 \begin_inset LatexCommand ref
10133 reference "tab:Table-with-multiple"
10137 , create a 3×3 table, mark the first cell and right-click on it.
10138 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10139 cm and choose centered
10140 for the vertical and horizontal alignment.
10141 As our text is smaller than than 2.5\InsetSpace \thinspace{}
10142 cm, only one line will appear.
10143 To get two lines, we add a line break with the command
10146 \begin_layout Standard
10154 \begin_layout Standard
10156 If the text is wider than the set cell width it will automatically be broken
10160 \begin_layout Standard
10161 To center the text inside the two other cells of the first row vertically,
10162 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
10164 centered alignments.
10165 Then do the same for the third cell of the row.
10168 \begin_layout Standard
10169 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10170 by LaTeX if it is the first entry.
10171 Therefore you need to insert something, to make the word not being the
10172 first entry: Add the command
10175 \begin_layout Standard
10183 \begin_layout Standard
10184 in ERT before the word.
10185 As the space is zero, it doesn't change the output.
10188 \begin_inset LatexCommand ref
10189 reference "tab:Table-with-and"
10196 \begin_layout Standard
10197 \begin_inset Float table
10202 \begin_layout Standard
10203 \begin_inset Caption
10205 \begin_layout Standard
10206 \begin_inset LatexCommand label
10207 name "tab:Table-with-and"
10211 Table with and without hyphenation
10219 \begin_layout Standard
10223 \begin_inset Tabular
10224 <lyxtabular version="3" rows="3" columns="3">
10226 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10227 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10228 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10229 <row topline="true">
10230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10233 \begin_layout Standard
10234 verylongtablecellword
10239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10242 \begin_layout Standard
10248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10251 \begin_layout Standard
10258 <row topline="true">
10259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10262 \begin_layout Standard
10268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10271 \begin_layout Standard
10277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10280 \begin_layout Standard
10287 <row topline="true" bottomline="true">
10288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10291 \begin_layout Standard
10297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10300 \begin_layout Standard
10306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10309 \begin_layout Standard
10323 \begin_inset Tabular
10324 <lyxtabular version="3" rows="3" columns="3">
10326 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10327 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10328 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10329 <row topline="true">
10330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10333 \begin_layout Standard
10337 \begin_layout Standard
10346 verylongtablecellword
10351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10354 \begin_layout Standard
10360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10363 \begin_layout Standard
10370 <row topline="true">
10371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10374 \begin_layout Standard
10380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10383 \begin_layout Standard
10389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10392 \begin_layout Standard
10399 <row topline="true" bottomline="true">
10400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10403 \begin_layout Standard
10409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10412 \begin_layout Standard
10418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10421 \begin_layout Standard
10442 \begin_layout Standard
10448 \begin_layout Subsection
10450 \begin_inset LatexCommand label
10451 name "sub:Multicolumns"
10456 \begin_inset LatexCommand index
10457 name "Multicolumns"
10462 \begin_inset LatexCommand index
10463 name "Table ! Multicolumns"
10470 \begin_layout Subsubsection
10474 \begin_layout Standard
10475 To span a cell over multiple columns, mark as much cells within a line that
10476 should be one spanned cell and use either the table-toolbar button
10477 \begin_inset Graphics
10478 filename ../images/tabular-feature_multicolumn.xpm
10485 Edit\SpecialChar \menuseparator
10486 Table\SpecialChar \menuseparator
10489 , or right click on the marked cells and choose multicolumn in the appearing
10490 table dialog under the tab
10497 \begin_layout Standard
10498 Multicolumns have there own cell settings.
10499 That means changing cell borders, cell alignment, and the width only affects
10501 Here is an example table with a multicolumn cell in the first row and one
10502 in the last row without the upper border:
10505 \begin_layout Standard
10507 \begin_inset Tabular
10508 <lyxtabular version="3" rows="3" columns="4">
10509 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10510 <column alignment="center" valignment="top" leftline="true" width="0pt">
10511 <column alignment="center" valignment="middle" leftline="true" width="0">
10512 <column alignment="center" valignment="top" leftline="true" width="0in">
10513 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10514 <row topline="true" bottomline="true">
10515 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10518 \begin_layout Standard
10524 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10527 \begin_layout Standard
10537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10540 \begin_layout Standard
10546 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10549 \begin_layout Standard
10556 <row topline="true">
10557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10560 \begin_layout Standard
10575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10578 \begin_layout Standard
10584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10587 \begin_layout Standard
10593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10596 \begin_layout Standard
10603 <row topline="true" bottomline="true">
10604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10607 \begin_layout Standard
10613 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10616 \begin_layout Standard
10622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10625 \begin_layout Standard
10631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10634 \begin_layout Standard
10648 \begin_layout Subsubsection
10649 Multicolumn Calculations
10650 \begin_inset LatexCommand label
10651 name "sub:Multicolumn-Calculations"
10656 \begin_inset LatexCommand index
10657 name "Multicolumns ! Calculations"
10664 \begin_layout Standard
10665 LyX supports multicolumns directly, but we have to take notice of the cell
10666 width of the columns spanned by the multicolumn cell.
10669 \begin_layout Standard
10670 \begin_inset Float table
10675 \begin_layout Standard
10676 \begin_inset Caption
10678 \begin_layout Standard
10679 \begin_inset LatexCommand label
10680 name "tab:Table-with-centered"
10684 Table with centered multicolumn text above two columns that have exactly
10685 half the width of the multicolumn cell
10686 \begin_inset OptArg
10689 \begin_layout Standard
10690 Perfect multicolumn table
10703 \begin_layout Standard
10705 \begin_inset Tabular
10706 <lyxtabular version="3" rows="3" columns="3">
10708 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10709 <column alignment="center" valignment="middle" leftline="true" width="0">
10710 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10711 <row topline="true">
10712 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10715 \begin_layout Standard
10716 multiple lines multicolumn
10721 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10724 \begin_layout Standard
10730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10733 \begin_layout Standard
10740 <row topline="true">
10741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10744 \begin_layout Standard
10750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10753 \begin_layout Standard
10759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10762 \begin_layout Standard
10769 <row topline="true" bottomline="true">
10770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10773 \begin_layout Standard
10779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10782 \begin_layout Standard
10788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10791 \begin_layout Standard
10810 \begin_layout Standard
10811 To create for example Table\InsetSpace ~
10813 \begin_inset LatexCommand ref
10814 reference "tab:Table-with-centered"
10818 , mark the first two cells in the first row a 3×3 table and right-click
10820 Now choose for this cell
10828 and a width of 2.5\InsetSpace \thinspace{}
10829 cm in the table dialog.
10830 The spanned columns should have exactly half the width of the multicolumn
10831 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10832 cm for the first column.
10833 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10835 width - width of first column).
10836 This was done for Table\InsetSpace ~
10838 \begin_inset LatexCommand ref
10839 reference "tab:Table-without-half"
10846 \begin_layout Standard
10847 \begin_inset Float table
10852 \begin_layout Standard
10853 \begin_inset Caption
10855 \begin_layout Standard
10856 \begin_inset LatexCommand label
10857 name "tab:Table-without-half"
10861 Table where the spanned table columns have not exactly half the width of
10862 the multicolumn cell
10863 \begin_inset OptArg
10866 \begin_layout Standard
10867 Imperfect multicolumn table
10880 \begin_layout Standard
10882 \begin_inset Tabular
10883 <lyxtabular version="3" rows="3" columns="3">
10885 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10886 <column alignment="center" valignment="top" leftline="true" width="0">
10887 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10888 <row topline="true" bottomline="true">
10889 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10892 \begin_layout Standard
10893 multiple lines multicolumn
10898 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10901 \begin_layout Standard
10907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10910 \begin_layout Standard
10917 <row topline="true">
10918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10921 \begin_layout Standard
10927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10930 \begin_layout Standard
10936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10939 \begin_layout Standard
10946 <row topline="true" bottomline="true">
10947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10950 \begin_layout Standard
10956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10959 \begin_layout Standard
10965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10968 \begin_layout Standard
10987 \begin_layout Standard
10988 You can see that the first column has not the half width of the multicolumn
10989 cell, it is a bit bigger.
10990 The reason is that the given width of a cell
10991 \begin_inset Formula $W_{g}$
10994 is not its total width
10995 \begin_inset Formula $W_{\mathrm{tot}}$
10998 because a cell is always a bit larger than its given width.
10999 Appendix\InsetSpace ~
11001 \begin_inset LatexCommand eqref
11002 reference "cha:Explanation-of-Equation"
11006 explains it in detail.
11009 \begin_layout Standard
11010 The needed given width
11011 \begin_inset Formula $W_{g\, n}$
11018 columns are spanned columns can be calculated, so that each column has
11020 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11024 \begin_inset Formula \begin{equation}
11025 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11032 \begin_layout Standard
11033 In our case we have
11034 \begin_inset Formula $n=2$
11038 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11041 cm and the default values for the lengths, so that equation
11042 \begin_inset LatexCommand ref
11048 \begin_inset Formula \begin{equation}
11049 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11056 \begin_layout Standard
11057 To enable calculations in LaTeX, the LaTeX-package
11061 must be loaded with the document preamble line
11062 \begin_inset LatexCommand index
11063 name "LaTeX-packages ! calc"
11070 \begin_layout Standard
11078 \begin_layout Standard
11079 LyX does not allow to calculate lengths in the width-field of the table
11081 Therefore you have to format the column by inserting a LaTeX-argument in
11083 Here is an overview about the arguments:
11086 \begin_layout Itemize
11091 creates cell with a fixed width, its text is vertically top-aligned
11094 \begin_layout Itemize
11099 creates cell with a fixed width, its text is vertically centered
11102 \begin_layout Itemize
11107 creates cell with a fixed width, its text is vertically bottom-aligned
11110 \begin_layout Standard
11111 By entering a LaTeX-argument, all cell properties set in the table dialog
11114 \begin_inset Note Greyedout
11117 \begin_layout Standard
11122 Due to a bug, LyX shows the overwritten properties anyway.
11127 As the text should be horizontally centered, the command
11134 You can now enter the following LaTeX-argument for the first spanned column:
11137 \begin_layout Standard
11142 centering}m{1.25cm-6.2pt}
11145 \begin_layout Standard
11147 \begin_inset Quotes eld
11155 \begin_inset Quotes erd
11158 at the beginning draws the border line and the command
11162 means, that the commands inside the braces are applied before the cell
11166 \begin_layout Standard
11167 Although we have chosen centered alignment for the text of the multicolumn
11168 cell, it is still left aligned.
11169 This is because LyX only applies the alignment to single columns.
11170 So we have to use for the multicolumn the LaTeX-argument
11173 \begin_layout Standard
11178 centering}m{2.5cm}|
11181 \begin_layout Subsection
11183 \begin_inset LatexCommand index
11189 \begin_inset LatexCommand index
11190 name "Table ! Multirows"
11195 \begin_inset LatexCommand index
11196 name "LaTeX-packages ! multirow"
11203 \begin_layout Standard
11204 In contrary to multicolumns multirows are not yet supported by LyX so a
11205 bit of ERT needs to be used.
11206 To use multirows load the LaTeX-package
11210 in your document preamble with the command
11213 \begin_layout Standard
11218 usepackage{multirow}
11221 \begin_layout Standard
11222 Multirows are created with the command
11225 \begin_layout Standard
11230 multirow{number of rows}{cell width}{cell entry}
11233 \begin_layout Standard
11234 To create the following table:
11237 \begin_layout Standard
11242 \begin_layout Standard
11256 \begin_inset Tabular
11257 <lyxtabular version="3" rows="3" columns="3">
11259 <column alignment="center" valignment="top" leftline="true" width="0">
11260 <column alignment="center" valignment="top" leftline="true" width="0">
11261 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11262 <row topline="true">
11263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11266 \begin_layout Standard
11272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11275 \begin_layout Standard
11281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11284 \begin_layout Standard
11291 <row topline="true">
11292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11295 \begin_layout Standard
11299 \begin_layout Standard
11303 multirow{2}{2.5cm}{
11312 \begin_layout Standard
11324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11327 \begin_layout Standard
11333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11336 \begin_layout Standard
11343 <row topline="true" bottomline="true">
11344 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11347 \begin_layout Standard
11353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11356 \begin_layout Standard
11362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11365 \begin_layout Standard
11380 \begin_layout Standard
11396 \begin_layout Standard
11397 create a 3×3 table.
11398 To get rid of the line above the last cell in the first column, the cell
11399 is marked as multicolumn and the upper border is unset.
11400 The multirow is now created in the second row of the first column by inserting
11404 \begin_layout Standard
11409 multirow{2}{2.5cm}{
11412 \begin_layout Standard
11414 According to the command parameters the multirow spans now two rows and
11415 has a width of 2.5\InsetSpace \thinspace{}
11417 The content of the multirow cell follows outside the ERT box and the command
11418 is finished with a right brace
11422 in another ERT-box behind the text.
11425 \begin_layout Standard
11432 left-aligns its content by default.
11433 To override the default, renew the command
11442 \begin_layout Standard
11454 \begin_layout Standard
11455 in ERT in the document preamble.
11456 Then all entries of multirow cells in the document are centered.
11457 If centering is only needed for several tables, you can renew the command
11458 in an ERT box just before the table instead of the preamble.
11459 If the text should be right-aligned, replace
11472 To return to left-alignment
11481 \begin_layout Section
11483 \begin_inset LatexCommand label
11484 name "sec:Formal-Tables"
11489 \begin_inset LatexCommand index
11490 name "Table ! Formal"
11497 \begin_layout Standard
11498 Tables are often typeset in books similar to Table\InsetSpace ~
11500 \begin_inset LatexCommand ref
11501 reference "tab:Example-booktabs-table"
11506 This kind of tables is called
11507 \begin_inset Quotes eld
11515 \begin_inset Quotes erd
11519 To make a table a formal table use the option
11527 tab of the table dialog.
11530 \begin_layout Standard
11531 \begin_inset Float table
11537 \begin_layout Standard
11538 \begin_inset Caption
11540 \begin_layout Standard
11541 \begin_inset LatexCommand label
11542 name "tab:Example-booktabs-table"
11546 Example booktabs-table
11554 \begin_layout Standard
11556 \begin_inset Tabular
11557 <lyxtabular version="3" rows="8" columns="4">
11558 <features booktabs="true">
11559 <column alignment="center" valignment="top" rightline="true" width="0">
11560 <column alignment="center" valignment="top" width="0">
11561 <column alignment="center" valignment="top" width="0">
11562 <column alignment="center" valignment="top" width="0">
11563 <row topline="true">
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11567 \begin_layout Standard
11573 <cell alignment="center" valignment="top" topline="true" usebox="none">
11576 \begin_layout Standard
11578 \begin_inset Formula $\,$
11586 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11589 \begin_layout Standard
11591 \begin_inset Formula $\,$
11599 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11602 \begin_layout Standard
11610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11613 \begin_layout Standard
11617 \begin_layout Standard
11630 \begin_layout Standard
11639 Detector thickness [µm]
11644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11647 \begin_layout Standard
11653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11656 \begin_layout Standard
11662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11665 \begin_layout Standard
11672 <row topline="true">
11673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11676 \begin_layout Standard
11682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11685 \begin_layout Standard
11691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11694 \begin_layout Standard
11700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11703 \begin_layout Standard
11710 <row topspace="default">
11711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11714 \begin_layout Standard
11715 Spatial resolution [µm]
11720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11723 \begin_layout Standard
11729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11732 \begin_layout Standard
11738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11741 \begin_layout Standard
11748 <row topspace="default">
11749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11752 \begin_layout Standard
11754 \begin_inset Formula $f_{\mathrm{max}}$
11762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11765 \begin_layout Standard
11771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11774 \begin_layout Standard
11780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11783 \begin_layout Standard
11790 <row topspace="default">
11791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11794 \begin_layout Standard
11798 \begin_layout Standard
11802 cmidrule(l{10pt}){1-1}
11807 LSF-spatial resolution
11812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11815 \begin_layout Standard
11821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11824 \begin_layout Standard
11830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11833 \begin_layout Standard
11841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11844 \begin_layout Standard
11850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11853 \begin_layout Standard
11859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11862 \begin_layout Standard
11868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11871 \begin_layout Standard
11878 <row bottomline="true">
11879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11882 \begin_layout Standard
11888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11891 \begin_layout Standard
11897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11900 \begin_layout Standard
11906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11909 \begin_layout Standard
11928 \begin_layout Standard
11929 Spaces to table rows can be added using the
11933 tab of the table dialog as described in section\InsetSpace ~
11935 \begin_inset LatexCommand ref
11936 reference "sub:Row-Spacing"
11943 \begin_layout Standard
11944 In contrary to normal tables, formal tables have no vertical table lines.
11945 The horizontal table lines can be set like for normal tables but they appear
11946 with different width in the output:
11948 The first and the last table line have
11949 a default width of 0.08\InsetSpace \thinspace{}
11950 em while the other lines have a default width of
11951 0.05\InsetSpace \thinspace{}
11955 \begin_layout Standard
11956 The default widths can be changed with the following preamble lines
11959 \begin_layout Standard
11979 \begin_layout Standard
11980 This example is for the first line, the so called toprule.
11981 If you want to change the width for the last line, replace
11990 To change the width for the other lines replace
11999 You can use all units listed in appendix\InsetSpace ~
12001 \begin_inset LatexCommand ref
12002 reference "cha:Units-available-in"
12009 \begin_layout Standard
12010 Lines that don't span over all table columns can be created by setting a
12011 table line for multicolumn cells.
12012 LyX will then internally use the command
12018 to create this line.
12022 \begin_layout Standard
12027 cmidrule[width](trim){startcol-endcol}
12030 \begin_layout Standard
12037 are are currently not supported by LyX so you have to use ERT to be able
12045 s can manually be created by inserting the command as ERT as first cell
12046 entry of the first cell of a row.
12047 The line is then drawn in the output above the current row.
12050 \begin_layout Standard
12051 The default for the width is 0.03\InsetSpace \thinspace{}
12053 Startcol is the number of the column where the line starts and endcol the
12054 column number where the line ends.
12055 The endcol always needs to be specified, also when the line should span
12057 The optional parameter trim could be either
12065 where the trimwidth is also optional.
12066 Using for example the parameter
12070 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12072 If you don't specify the trimwidth the lines are trimmed by the default
12073 of 0.5\InsetSpace \thinspace{}
12077 \begin_layout Standard
12078 \begin_inset VSpace bigskip
12083 \begin_inset LatexCommand ref
12084 reference "tab:Example-booktabs-table"
12088 was created using the commands
12091 \begin_layout Standard
12101 \begin_layout Standard
12102 at the beginning of the in the second row and
12105 \begin_layout Standard
12110 cmidrule(l{10pt}){1-1}
12113 \begin_layout Standard
12117 \begin_layout Standard
12121 \begin_layout Standard
12122 \begin_inset VSpace bigskip
12128 \begin_layout Standard
12129 You might want to have overlapping
12135 s like in Table\InsetSpace ~
12137 \begin_inset LatexCommand ref
12138 reference "tab:Special-booktabs-table"
12143 This can be achieved with the ERT command
12146 \begin_layout Standard
12154 \begin_layout Standard
12155 The command that was used for the second row of Table\InsetSpace ~
12157 \begin_inset LatexCommand ref
12158 reference "tab:Special-booktabs-table"
12165 \begin_layout Standard
12179 \begin_layout Standard
12180 The command for the sixth row is
12183 \begin_layout Standard
12195 \begin_layout Standard
12196 \begin_inset VSpace bigskip
12202 \begin_layout Standard
12203 If you are anyway not satisfied with the border line spacing, you can use
12204 the following command to produce lines that span over all table columns
12209 \begin_layout Standard
12214 specialrule{width}{space above}{space below}
12217 \begin_layout Standard
12218 For more informations about these specialties, we refer to the manual of
12224 \begin_inset LatexCommand cite
12230 \begin_inset LatexCommand index
12231 name "LaTeX-packages ! booktabs"
12238 \begin_layout Standard
12239 \begin_inset Float table
12245 \begin_layout Standard
12246 \begin_inset Caption
12248 \begin_layout Standard
12249 \begin_inset LatexCommand label
12250 name "tab:Special-booktabs-table"
12254 Special booktabs-table
12262 \begin_layout Standard
12264 \begin_inset Tabular
12265 <lyxtabular version="3" rows="8" columns="4">
12266 <features booktabs="true">
12267 <column alignment="center" valignment="top" width="0">
12268 <column alignment="center" valignment="top" width="0">
12269 <column alignment="center" valignment="top" width="0">
12270 <column alignment="center" valignment="top" width="0">
12271 <row topline="true">
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12275 \begin_layout Standard
12281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12284 \begin_layout Standard
12285 Medipix\InsetSpace \thinspace{}
12291 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12294 \begin_layout Standard
12295 Medipix\InsetSpace \thinspace{}
12301 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12304 \begin_layout Standard
12312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12315 \begin_layout Standard
12319 \begin_layout Standard
12332 \begin_layout Standard
12345 \begin_layout Standard
12358 \begin_layout Standard
12367 Detector thickness [µm]
12372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12375 \begin_layout Standard
12381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12384 \begin_layout Standard
12390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12393 \begin_layout Standard
12400 <row topline="true">
12401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12404 \begin_layout Standard
12410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12413 \begin_layout Standard
12419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12422 \begin_layout Standard
12428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12431 \begin_layout Standard
12438 <row topspace="default">
12439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12442 \begin_layout Standard
12443 Spatial resolution [µm]
12448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12451 \begin_layout Standard
12457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12460 \begin_layout Standard
12466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12469 \begin_layout Standard
12476 <row topspace="default">
12477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12480 \begin_layout Standard
12482 \begin_inset Formula $f_{\mathrm{max}}$
12490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12493 \begin_layout Standard
12499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12502 \begin_layout Standard
12508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12511 \begin_layout Standard
12518 <row topline="true">
12519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12522 \begin_layout Standard
12526 \begin_layout Standard
12539 \begin_layout Standard
12548 LSF-spatial resolution
12553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12556 \begin_layout Standard
12562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12565 \begin_layout Standard
12571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12574 \begin_layout Standard
12582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_layout Standard
12591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12594 \begin_layout Standard
12600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12603 \begin_layout Standard
12609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12612 \begin_layout Standard
12619 <row bottomline="true">
12620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12623 \begin_layout Standard
12629 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12632 \begin_layout Standard
12638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12641 \begin_layout Standard
12647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12650 \begin_layout Standard
12669 \begin_layout Section
12670 Vertical Table Alignment
12671 \begin_inset LatexCommand index
12672 name "Table ! Alignment"
12679 \begin_layout Standard
12680 To align tables vertically in a text line the table must be inside a box.
12681 The box can then be vertically aligned as described in section\InsetSpace ~
12683 \begin_inset LatexCommand ref
12684 reference "sec:Box-Dialog"
12691 \begin_layout Standard
12692 In the following example the tables are inside a minipage
12696 \begin_layout Standard
12697 Minipages are described in section\InsetSpace ~
12699 \begin_inset LatexCommand ref
12700 reference "sec:Minipages"
12709 box that has a width of 15\InsetSpace \thinspace{}
12713 \begin_layout Itemize
12715 \begin_inset Box Frameless
12724 height_special "totalheight"
12727 \begin_layout Standard
12728 \begin_inset Tabular
12729 <lyxtabular version="3" rows="3" columns="3">
12731 <column alignment="center" valignment="top" leftline="true" width="0">
12732 <column alignment="center" valignment="top" leftline="true" width="0">
12733 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12734 <row topline="true">
12735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12738 \begin_layout Standard
12744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12747 \begin_layout Standard
12753 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12756 \begin_layout Standard
12763 <row topline="true">
12764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12767 \begin_layout Standard
12773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12776 \begin_layout Standard
12782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12785 \begin_layout Standard
12792 <row topline="true" bottomline="true">
12793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12796 \begin_layout Standard
12802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12805 \begin_layout Standard
12811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12814 \begin_layout Standard
12834 \begin_layout Standard
12846 \begin_inset Box Frameless
12855 height_special "totalheight"
12858 \begin_layout Standard
12859 \begin_inset Tabular
12860 <lyxtabular version="3" rows="3" columns="3">
12862 <column alignment="center" valignment="top" leftline="true" width="0">
12863 <column alignment="center" valignment="top" leftline="true" width="0">
12864 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12865 <row topline="true">
12866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12869 \begin_layout Standard
12875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12878 \begin_layout Standard
12884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12887 \begin_layout Standard
12894 <row topline="true">
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12898 \begin_layout Standard
12904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12907 \begin_layout Standard
12913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12916 \begin_layout Standard
12923 <row topline="true" bottomline="true">
12924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12927 \begin_layout Standard
12933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12936 \begin_layout Standard
12942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12945 \begin_layout Standard
12965 \begin_layout Standard
12975 \begin_layout Itemize
12977 \begin_inset Box Frameless
12986 height_special "totalheight"
12989 \begin_layout Standard
12990 \begin_inset Tabular
12991 <lyxtabular version="3" rows="3" columns="3">
12993 <column alignment="center" valignment="top" leftline="true" width="0">
12994 <column alignment="center" valignment="top" leftline="true" width="0">
12995 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12996 <row topline="true">
12997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13000 \begin_layout Standard
13006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13009 \begin_layout Standard
13015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13018 \begin_layout Standard
13025 <row topline="true">
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13029 \begin_layout Standard
13035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13038 \begin_layout Standard
13044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13047 \begin_layout Standard
13054 <row topline="true" bottomline="true">
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13058 \begin_layout Standard
13064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13067 \begin_layout Standard
13073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13076 \begin_layout Standard
13095 \begin_layout Itemize
13097 \begin_inset Box Frameless
13106 height_special "totalheight"
13109 \begin_layout Standard
13110 \begin_inset Tabular
13111 <lyxtabular version="3" rows="3" columns="3">
13113 <column alignment="center" valignment="top" leftline="true" width="0">
13114 <column alignment="center" valignment="top" leftline="true" width="0">
13115 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13116 <row topline="true">
13117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13120 \begin_layout Standard
13126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13129 \begin_layout Standard
13135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13138 \begin_layout Standard
13145 <row topline="true">
13146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13149 \begin_layout Standard
13155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13158 \begin_layout Standard
13164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13167 \begin_layout Standard
13174 <row topline="true" bottomline="true">
13175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13178 \begin_layout Standard
13184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13187 \begin_layout Standard
13193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13196 \begin_layout Standard
13216 \begin_layout Standard
13228 \begin_inset Box Frameless
13237 height_special "totalheight"
13240 \begin_layout Standard
13241 \begin_inset Tabular
13242 <lyxtabular version="3" rows="3" columns="3">
13244 <column alignment="center" valignment="top" leftline="true" width="0">
13245 <column alignment="center" valignment="top" leftline="true" width="0">
13246 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13247 <row topline="true">
13248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13251 \begin_layout Standard
13257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13260 \begin_layout Standard
13266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13269 \begin_layout Standard
13276 <row topline="true">
13277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13280 \begin_layout Standard
13286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13289 \begin_layout Standard
13295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13298 \begin_layout Standard
13305 <row topline="true" bottomline="true">
13306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13309 \begin_layout Standard
13315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13318 \begin_layout Standard
13324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13327 \begin_layout Standard
13347 \begin_layout Standard
13357 \begin_layout Standard
13358 As you can see, the content of the first and last table row is not correctly
13359 aligned with the text line where the table is in.
13360 To get this alignment, the minipage box must be set into a raisebox
13364 \begin_layout Standard
13365 Raiseboxes are described in section\InsetSpace ~
13367 \begin_inset LatexCommand ref
13368 reference "sub:Vertical-Alignment"
13378 In the example above the second table in the first item is aligned using
13382 \begin_layout Standard
13392 \begin_layout Standard
13394 Behind the box the closing brace
13398 is inserted as ERT.
13399 For the second table in the last item the command
13402 \begin_layout Standard
13412 \begin_layout Standard
13416 \begin_layout Standard
13417 \begin_inset Note Greyedout
13420 \begin_layout Standard
13425 The alignment of the table row content to the surrounding text line is not
13427 The needed factor of the
13433 command for this alignment depends on the document font, the font size,
13434 and the table line thickness.
13442 \begin_layout Section
13444 \begin_inset LatexCommand label
13445 name "sec:Colored-Tables"
13450 \begin_inset LatexCommand index
13451 name "Table ! Color"
13458 \begin_layout Subsection
13460 \begin_inset LatexCommand index
13461 name "Table Color ! for Cells"
13466 \begin_inset LatexCommand index
13467 name "Color ! for Table Cells"
13474 \begin_layout Standard
13475 \begin_inset Float table
13481 \begin_layout Standard
13482 \begin_inset Caption
13484 \begin_layout Standard
13485 \begin_inset LatexCommand label
13486 name "tab:Table-colored-without"
13490 Table colored without using the package
13495 \begin_inset OptArg
13498 \begin_layout Standard
13499 Table without colortbl
13512 \begin_layout Standard
13514 \begin_inset Tabular
13515 <lyxtabular version="3" rows="3" columns="3">
13517 <column alignment="center" valignment="top" leftline="true" width="0">
13518 <column alignment="center" valignment="top" leftline="true" width="0">
13519 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13520 <row topline="true">
13521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13524 \begin_layout Standard
13532 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13535 \begin_layout Standard
13543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13546 \begin_layout Standard
13555 <row topline="true">
13556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13559 \begin_layout Standard
13567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13570 \begin_layout Standard
13578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13581 \begin_layout Standard
13590 <row topline="true" bottomline="true">
13591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13594 \begin_layout Standard
13602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13605 \begin_layout Standard
13613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13616 \begin_layout Standard
13637 \begin_layout Standard
13638 If you only need colored text, mark the cells and choose a color in the
13641 Edit\SpecialChar \menuseparator
13646 This was used to create Table\InsetSpace ~
13648 \begin_inset LatexCommand ref
13649 reference "tab:Table-colored-without"
13654 In any other case you have to use the LaTeX-package
13659 \begin_inset LatexCommand index
13660 name "LaTeX-packages ! colortbl"
13667 \begin_layout Standard
13668 To create colored tables,
13672 must be loaded in the preamble with the line
13675 \begin_layout Standard
13680 usepackage{colortbl}
13683 \begin_layout Standard
13684 The color of a column is adjusted with the command
13687 \begin_layout Standard
13692 columncolor{name of color}
13695 \begin_layout Standard
13701 More about the command
13705 is described in section\InsetSpace ~
13707 \begin_inset LatexCommand ref
13708 reference "sub:Multicolumn-Calculations"
13715 \begin_layout Standard
13716 The following color names are predefined:
13719 \begin_layout Standard
13753 \begin_layout Standard
13754 \begin_inset VSpace medskip
13760 \begin_layout Standard
13761 You can also define your own color with the command
13764 \begin_layout Standard
13769 def\SpecialChar \textcompwordmark{}
13770 inecolor{color name}{color model}{color values}
13773 \begin_layout Standard
13774 The color model can be
13777 \begin_layout Labeling
13778 \labelwidthstring 00.00.0000
13779 cmyk: cyan, magenta, yellow, black
13782 \begin_layout Labeling
13783 \labelwidthstring 00.00.0000
13784 rgb: red, green blue
13787 \begin_layout Labeling
13788 \labelwidthstring 00.00.0000
13792 \begin_layout Standard
13793 and the color values are comma separated numbers between 0 and 1 describing
13794 the factor for the corresponding color of the color model.
13797 \begin_layout Standard
13798 You can e.\InsetSpace \thinspace{}
13804 " in the preamble with
13807 \begin_layout Standard
13812 def\SpecialChar \textcompwordmark{}
13813 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13816 \begin_layout Standard
13824 \begin_layout Standard
13829 def\SpecialChar \textcompwordmark{}
13830 inecolor{lightgray}{gray}{0.8}
13833 \begin_layout Standard
13834 \begin_inset VSpace medskip
13840 \begin_layout Standard
13841 Lines are colored with the command
13844 \begin_layout Standard
13849 rowcolor{name of color}
13852 \begin_layout Standard
13853 and cells are colored with the command
13856 \begin_layout Standard
13861 cellcolor{name of color}
13864 \begin_layout Standard
13865 Both commands are inserted at the beginning of a cell as ERT.
13868 \begin_layout Standard
13869 To color characters in the table, mark the cells and use the LyX menu
13871 Edit\SpecialChar \menuseparator
13876 If a cell contains ERT mark only the characters, otherwise the colored
13877 ERT will cause LaTeX-errors.
13880 \begin_layout Standard
13881 \begin_inset VSpace bigskip
13887 \begin_layout Standard
13888 To create Table\InsetSpace ~
13890 \begin_inset LatexCommand ref
13891 reference "tab:Table-colored-using"
13895 do the following: The color of the first column should be
13903 \begin_layout Standard
13908 columncolor{darkgreen}
13913 \begin_layout Standard
13914 as LaTeX-argument for this column.
13915 The first row should be blue, therefore the ERT command
13918 \begin_layout Standard
13926 \begin_layout Standard
13927 is inserted to the first cell of this row.
13928 Note that this overwrites the column color for the first cell.
13929 The last cell of the last row is colored magenta by inserting the ERT command
13932 \begin_layout Standard
13940 \begin_layout Standard
13941 The characters could now be colored using the menu
13943 Edit\SpecialChar \menuseparator
13950 \begin_layout Standard
13951 \begin_inset Float table
13957 \begin_layout Standard
13958 \begin_inset Caption
13960 \begin_layout Standard
13961 \begin_inset LatexCommand label
13962 name "tab:Table-colored-using"
13966 Table colored using the package
13971 \begin_inset OptArg
13974 \begin_layout Standard
13975 Table with colortbl
13988 \begin_layout Standard
13990 \begin_inset Tabular
13991 <lyxtabular version="3" rows="3" columns="3">
13993 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13994 <column alignment="center" valignment="top" width="0">
13995 <column alignment="center" valignment="top" width="0">
13997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14000 \begin_layout Standard
14004 \begin_layout Standard
14020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14023 \begin_layout Standard
14031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14034 \begin_layout Standard
14044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14047 \begin_layout Standard
14055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14058 \begin_layout Standard
14066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14069 \begin_layout Standard
14079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14082 \begin_layout Standard
14090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14093 \begin_layout Standard
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14104 \begin_layout Standard
14108 \begin_layout Standard
14137 \begin_layout Subsection
14139 \begin_inset LatexCommand index
14140 name "Table Color ! for Lines"
14145 \begin_inset LatexCommand index
14146 name "Color ! for Table Lines"
14153 \begin_layout Standard
14154 As described in section\InsetSpace ~
14156 \begin_inset LatexCommand ref
14157 reference "sub:Line-Thickness"
14161 , the line thickness for all lines in a table can be adjusted with the length
14169 It is set to 1.5\InsetSpace \thinspace{}
14170 pt for all tables of this section.
14174 \begin_layout Standard
14180 arrayrulewidth}{1.5pt}
14188 \begin_layout Standard
14189 To color vertical lines for example with green, create the following column
14190 format in the document preamble, according to the description in section\InsetSpace ~
14192 \begin_inset LatexCommand ref
14193 reference "sub:Customized-Format"
14200 \begin_layout Standard
14205 newcolumntype{W}{!{
14212 \begin_layout Standard
14213 For Table\InsetSpace ~
14215 \begin_inset LatexCommand ref
14216 reference "tab:Table-with-vertical-colored"
14223 \begin_layout Standard
14229 \begin_layout Standard
14230 was used for the last column and
14233 \begin_layout Standard
14239 \begin_layout Standard
14240 for the other columns.
14243 \begin_layout Standard
14244 If you want to have several colors, define more column formats.
14247 \begin_layout Standard
14248 \begin_inset Float table
14253 \begin_layout Standard
14254 \begin_inset Caption
14256 \begin_layout Standard
14257 \begin_inset LatexCommand label
14258 name "tab:Table-with-vertical-colored"
14262 Table with colored vertical lines
14270 \begin_layout Standard
14272 \begin_inset Tabular
14273 <lyxtabular version="3" rows="3" columns="3">
14275 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14276 <column alignment="center" valignment="top" width="0" special="Wc">
14277 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14278 <row topline="true">
14279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14282 \begin_layout Standard
14288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14291 \begin_layout Standard
14297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14300 \begin_layout Standard
14307 <row topline="true">
14308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14311 \begin_layout Standard
14317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14320 \begin_layout Standard
14326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14329 \begin_layout Standard
14336 <row topline="true" bottomline="true">
14337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14340 \begin_layout Standard
14346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14349 \begin_layout Standard
14355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14358 \begin_layout Standard
14377 \begin_layout Standard
14378 \begin_inset VSpace bigskip
14381 To color horizontal lines for example with red, like in Table\InsetSpace ~
14383 \begin_inset LatexCommand ref
14384 reference "tab:Table-with-horizontal-colored"
14388 , insert these commands in ERT before the table or table float:
14391 \begin_layout Standard
14408 arrayrulecolor{red}
14412 arrayrulecolor{black}}
14415 \begin_layout Standard
14419 \begin_layout Standard
14430 \begin_layout Standard
14438 arrayrulecolor{red}
14442 arrayrulecolor{black}}
14448 \begin_inset Float table
14453 \begin_layout Standard
14454 \begin_inset Caption
14456 \begin_layout Standard
14457 \begin_inset LatexCommand label
14458 name "tab:Table-with-horizontal-colored"
14462 Table with colored horizontal lines
14470 \begin_layout Standard
14472 \begin_inset Tabular
14473 <lyxtabular version="3" rows="3" columns="3">
14475 <column alignment="center" valignment="top" leftline="true" width="0">
14476 <column alignment="center" valignment="top" leftline="true" width="0">
14477 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14478 <row topline="true">
14479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14482 \begin_layout Standard
14488 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14491 \begin_layout Standard
14497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14500 \begin_layout Standard
14507 <row topline="true">
14508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14511 \begin_layout Standard
14517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14520 \begin_layout Standard
14526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14529 \begin_layout Standard
14536 <row topline="true" bottomline="true">
14537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14540 \begin_layout Standard
14546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14549 \begin_layout Standard
14555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14558 \begin_layout Standard
14577 \begin_layout Standard
14581 \begin_layout Standard
14593 \begin_layout Standard
14594 To return to the default line color black, insert this command in ERT behind
14595 the table or table float:
14598 \begin_layout Standard
14610 \begin_layout Standard
14613 \begin_inset LatexCommand ref
14614 reference "tab:Table-with-colored"
14618 is an example with colored vertical and horizontal lines.
14621 \begin_layout Standard
14622 \begin_inset Float table
14627 \begin_layout Standard
14628 \begin_inset Caption
14630 \begin_layout Standard
14631 \begin_inset LatexCommand label
14632 name "tab:Table-with-colored"
14636 Table with colored lines
14644 \begin_layout Standard
14646 \begin_inset Tabular
14647 <lyxtabular version="3" rows="3" columns="3">
14649 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14650 <column alignment="center" valignment="top" width="0" special="Wc">
14651 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14652 <row topline="true">
14653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14656 \begin_layout Standard
14662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14665 \begin_layout Standard
14671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14674 \begin_layout Standard
14681 <row topline="true">
14682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14685 \begin_layout Standard
14691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14694 \begin_layout Standard
14700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14703 \begin_layout Standard
14710 <row topline="true" bottomline="true" topspace="default">
14711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14714 \begin_layout Standard
14720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14723 \begin_layout Standard
14729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14732 \begin_layout Standard
14751 \begin_layout Standard
14755 \begin_layout Standard
14771 \begin_layout Standard
14775 \begin_layout Standard
14781 arrayrulewidth}{0.4pt}
14789 \begin_layout Section
14790 Table Customization
14791 \begin_inset LatexCommand index
14792 name "Table Customization"
14797 \begin_inset LatexCommand index
14798 name "Table ! Customization"
14805 \begin_layout Subsection
14807 \begin_inset LatexCommand label
14808 name "sub:Row-Spacing"
14813 \begin_inset LatexCommand index
14814 name "Table Customization ! Row Spacing"
14821 \begin_layout Standard
14822 You can add vertical space to table rows in the
14826 tab of the table dialog.
14827 You find there three possibilities:
14830 \begin_layout Description
14833 row will add space above the characters of the table row.
14834 If the table is a formal table
14838 \begin_layout Standard
14839 Formal tables are explained in section\InsetSpace ~
14841 \begin_inset LatexCommand ref
14842 reference "sec:Formal-Tables"
14851 LyX will insert as default 0.5\InsetSpace \thinspace{}
14853 For normal tables the inserted space will unfortunately destroy the vertical
14854 table lines as in the following table:
14855 \begin_inset Tabular
14856 <lyxtabular version="3" rows="3" columns="1">
14858 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14859 <row topline="true">
14860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14863 \begin_layout Standard
14870 <row topline="true" topspace="3mm">
14871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14874 \begin_layout Standard
14875 3\InsetSpace \thinspace{}
14876 mm space top of row
14882 <row topline="true" bottomline="true">
14883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14886 \begin_layout Standard
14899 So inserting space to the top of row for normal tables is only useful when
14900 you don't have vertical lines.
14903 \begin_layout Description
14904 Bottom\InsetSpace ~
14906 row will add space below the characters of the table row.
14907 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14909 normal tables the default size is 2\InsetSpace \thinspace{}
14913 \begin_layout Description
14914 Between\InsetSpace ~
14915 rows only has an effect when you have selected the whole table row
14917 The space is added between the current and the following row.
14918 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14920 For normal tables the inserted space will unfortunately destroy the vertical
14921 table lines as in the following table:
14922 \begin_inset Tabular
14923 <lyxtabular version="3" rows="3" columns="1">
14925 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14926 <row topline="true">
14927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14930 \begin_layout Standard
14937 <row topline="true" interlinespace="3mm">
14938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14941 \begin_layout Standard
14942 \begin_inset Formula $\downarrow$
14945 3\InsetSpace \thinspace{}
14946 mm space between row
14947 \begin_inset Formula $\downarrow$
14956 <row topline="true" bottomline="true">
14957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14960 \begin_layout Standard
14961 \begin_inset Formula $\uparrow$
14964 3\InsetSpace \thinspace{}
14965 mm space between row
14966 \begin_inset Formula $\uparrow$
14981 So inserting space to the top of row for normal tables is only useful when
14982 you don't have vertical lines.
14985 \begin_layout Standard
14986 When you want to add extra height to all cells of all tables, you can do
14987 this with the following preamble line:
14990 \begin_layout Standard
14997 extrarowheight}{height}
15000 \begin_layout Standard
15001 But this has the disadvantage that the cell texts are no longer exactly
15002 vertically centered.
15005 \begin_layout Subsection
15006 Special Cell Alignment
15007 \begin_inset LatexCommand index
15008 name "Table Customization ! Special Cell Alignment"
15015 \begin_layout Standard
15016 Sometimes it looks better when the cell entries of a column are aligned
15017 with a special character, e.\InsetSpace \thinspace{}
15019 with the decimal separator as in Table\InsetSpace ~
15021 \begin_inset LatexCommand ref
15022 reference "tab:Table-cells-of"
15029 \begin_layout Standard
15030 \begin_inset Float table
15036 \begin_layout Standard
15037 \begin_inset Caption
15039 \begin_layout Standard
15040 \begin_inset LatexCommand label
15041 name "tab:Table-cells-of"
15045 Table cells of a column aligned with the decimal separator.
15053 \begin_layout Standard
15055 \begin_inset Tabular
15056 <lyxtabular version="3" rows="4" columns="2">
15058 <column alignment="right" valignment="top" width="0">
15059 <column alignment="left" valignment="top" width="0" special="@{}l">
15060 <row bottomline="true">
15061 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15064 \begin_layout Standard
15070 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15073 \begin_layout Standard
15081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15084 \begin_layout Standard
15090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15093 \begin_layout Standard
15101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15104 \begin_layout Standard
15110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15113 \begin_layout Standard
15121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15124 \begin_layout Standard
15130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15133 \begin_layout Standard
15152 \begin_layout Standard
15153 This table was created with a 4×2 table.
15154 The heading is a centered multicolumn.
15155 The first column is right-aligned and contains the digits before the decimal
15156 point and the decimal point.
15157 The second column is left aligned and contains the digits after the decimal
15159 To omit the space that is normally between two table columns, use the following
15160 LaTeX-argument for the second column:
15163 \begin_layout Standard
15169 \begin_layout Standard
15170 If you need a vertical line right beside the second column, use this LaTeX-argum
15176 \begin_layout Standard
15179 \begin_inset LatexCommand ref
15180 reference "tab:Several-table-cell"
15184 shows some example alignments.
15185 For the alignment with the relation sign, you must add the second smallest
15186 math-space at the beginning of the last column to get the correct space
15187 surrounding the relation sign.
15190 \begin_layout Standard
15191 \begin_inset Float table
15196 \begin_layout Standard
15197 \begin_inset Caption
15199 \begin_layout Standard
15200 \begin_inset LatexCommand label
15201 name "tab:Several-table-cell"
15205 Several table cell alignments.
15213 \begin_layout Standard
15215 \begin_inset Tabular
15216 <lyxtabular version="3" rows="4" columns="6">
15218 <column alignment="right" valignment="top" width="0">
15219 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15220 <column alignment="right" valignment="top" width="0">
15221 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15222 <column alignment="right" valignment="top" width="0">
15223 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15224 <row bottomline="true">
15225 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15228 \begin_layout Standard
15234 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15237 \begin_layout Standard
15243 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15246 \begin_layout Standard
15252 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15255 \begin_layout Standard
15261 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15264 \begin_layout Standard
15270 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15273 \begin_layout Standard
15281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15284 \begin_layout Standard
15290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15293 \begin_layout Standard
15294 24\InsetSpace \thinspace{}
15300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15303 \begin_layout Standard
15304 \begin_inset Formula $10\cdot$
15312 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15315 \begin_layout Standard
15316 \begin_inset Formula $10^{\mbox{-}17}$
15324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15327 \begin_layout Standard
15328 \begin_inset Formula $\Gamma(t)\propto$
15336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15339 \begin_layout Standard
15340 \begin_inset Formula $\:\Upsilon(t)$
15350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15353 \begin_layout Standard
15359 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15362 \begin_layout Standard
15363 768\InsetSpace \thinspace{}
15369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15372 \begin_layout Standard
15373 \begin_inset Formula $5.78\cdot$
15381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15384 \begin_layout Standard
15385 \begin_inset Formula $10^{7}$
15393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15396 \begin_layout Standard
15397 \begin_inset Formula $A\ne$
15405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15408 \begin_layout Standard
15409 \begin_inset Formula $\: B_{\mathrm{red}}$
15419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15422 \begin_layout Standard
15428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15431 \begin_layout Standard
15432 6\InsetSpace \thinspace{}
15438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15441 \begin_layout Standard
15443 \begin_inset Formula $33.5\cdot$
15451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15454 \begin_layout Standard
15455 \begin_inset Formula $10^{4}$
15463 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15466 \begin_layout Standard
15467 \begin_inset Formula $\sin(\alpha)\ge$
15475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15478 \begin_layout Standard
15479 \begin_inset Formula $\:\sin(\beta)$
15500 \begin_layout Standard
15501 \begin_inset VSpace bigskip
15504 There is also the LaTeX-package
15509 \begin_inset LatexCommand index
15510 name "LaTeX-packages ! dcolumn"
15514 that provides table cell alignments.
15515 But this unfortunately treats the cell entries as math and doesn't allow
15516 formulas in table cells: The first column of Table\InsetSpace ~
15518 \begin_inset LatexCommand ref
15519 reference "tab:Several-table-cell"
15527 like the first column in Table\InsetSpace ~
15529 \begin_inset LatexCommand ref
15530 reference "tab:Alignments-when"
15534 and only with some tricks like the expected.
15535 The alignment of the second and third column of Table\InsetSpace ~
15537 \begin_inset LatexCommand ref
15538 reference "tab:Several-table-cell"
15542 is not possible with
15549 \begin_layout Standard
15550 \begin_inset Float table
15556 \begin_layout Standard
15557 \begin_inset Caption
15559 \begin_layout Standard
15560 \begin_inset LatexCommand label
15561 name "tab:Alignments-when"
15565 Alignments when LaTeX-package dcolumn is used.
15566 For the second and third alignment some tricks were used.
15574 \begin_layout Standard
15576 \begin_inset Tabular
15577 <lyxtabular version="3" rows="4" columns="3">
15579 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15580 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15581 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15582 <row bottomline="true">
15583 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15586 \begin_layout Standard
15592 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15595 \begin_layout Standard
15601 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15604 \begin_layout Standard
15612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15615 \begin_layout Standard
15616 12×24\InsetSpace \thinspace{}
15622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15625 \begin_layout Standard
15626 12×24\InsetSpace \thinspace{}
15628 \begin_inset Formula $\mbox{bottles}$
15636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15639 \begin_layout Standard
15641 \begin_inset Formula $\mbox{bottles}$
15651 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15654 \begin_layout Standard
15655 1024×768\InsetSpace \thinspace{}
15661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15664 \begin_layout Standard
15665 1024×768\InsetSpace \thinspace{}
15667 \begin_inset Formula $\mbox{Pixels}$
15675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15678 \begin_layout Standard
15680 \begin_inset Formula $\mbox{Pixels}$
15690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15693 \begin_layout Standard
15694 32×6\InsetSpace \thinspace{}
15700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15703 \begin_layout Standard
15704 32×6\InsetSpace \thinspace{}
15706 \begin_inset Formula $\mbox{cm}$
15714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15717 \begin_layout Standard
15719 \begin_inset Formula $\mbox{cm}$
15740 \begin_layout Subsection
15741 Customized Cell/Column Format
15742 \begin_inset LatexCommand label
15743 name "sub:Customized-Format"
15748 \begin_inset LatexCommand index
15749 name "Table Customization ! Cell/Column Format"
15756 \begin_layout Standard
15757 Calculating the needed width for spanned columns like in section\InsetSpace ~
15759 \begin_inset LatexCommand ref
15760 reference "sub:Multicolumn-Calculations"
15764 is very annoying if you have several tables with multicolumn cells.
15765 To make life easier, you can define a cell/column format in the preamble,
15766 so that it can be used in all tables of the document.
15767 The format is defined with the command
15770 \begin_layout Standard
15775 newcolumntype{name of format}[number of arguments]{commands}
15778 \begin_layout Standard
15779 The format name may only consist of one letter.
15804 are predefined and cannot be used.
15805 But all letters are allowed as capitals.
15808 \begin_layout Standard
15809 \begin_inset VSpace medskip
15815 \begin_layout Standard
15816 For vertically and horizontally centered multicolumn cells with a fixed
15817 width you can define the cell format
15820 \begin_layout Standard
15825 newcolumntype{M}[1]{>{
15832 \begin_layout Standard
15839 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15841 \begin_inset LatexCommand ref
15842 reference "sub:Multiple-Lines-in"
15847 Now you can simply enter
15850 \begin_layout Standard
15856 \begin_layout Standard
15857 as LaTeX-argument in the table dialog to create a multicolumn.
15860 \begin_layout Standard
15861 \begin_inset VSpace bigskip
15867 \begin_layout Standard
15868 For cells spanned by a multicolumn cell, you can define the format
15871 \begin_layout Standard
15876 newcolumntype{S}[2]{>{
15886 \begin_layout Standard
15897 newcolumntype{S}[2]
15901 \begin_layout Standard
15912 arrayrulewidth)*(1-#2))/#2}}
15915 \begin_layout Standard
15916 This format uses equation
15917 \begin_inset LatexCommand eqref
15922 to calculate the needed width so that each spanned cell has the same width.
15925 \begin_layout Standard
15929 \begin_layout Standard
15932 |S{width of multicolumn cell}{number of spanned columns}
15935 \begin_layout Standard
15936 as LaTeX-argument of the column.
15939 \begin_layout Standard
15940 \begin_inset VSpace bigskip
15946 \begin_layout Standard
15947 For colored columns, you can define
15950 \begin_layout Standard
15955 newcolumntype{K}[1]{>{
15962 \begin_layout Standard
15964 \begin_inset Quotes eld
15968 \begin_inset Quotes erd
15971 at the end creates a column with a flexible width whose text is horizontally
15976 \begin_layout Standard
15982 \begin_layout Standard
15986 \begin_layout Standard
15987 \begin_inset VSpace bigskip
15993 \begin_layout Standard
15994 To create Table\InsetSpace ~
15996 \begin_inset LatexCommand ref
15997 reference "tab:Table-using-user-defined"
16001 use the LaTeX-arguments
16004 \begin_layout Standard
16010 \begin_layout Standard
16011 for the first column and the multicolumn,
16014 \begin_layout Standard
16020 \begin_layout Standard
16021 for the the last column, and
16024 \begin_layout Standard
16030 \begin_layout Standard
16031 for the cells in the second column.
16034 \begin_layout Standard
16035 \begin_inset Float table
16041 \begin_layout Standard
16042 \begin_inset Caption
16044 \begin_layout Standard
16045 \begin_inset LatexCommand label
16046 name "tab:Table-using-user-defined"
16050 Table using user-defined table formats
16058 \begin_layout Standard
16060 \begin_inset Tabular
16061 <lyxtabular version="3" rows="3" columns="4">
16063 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
16064 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
16065 <column alignment="center" valignment="middle" leftline="true" width="0">
16066 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
16067 <row topline="true">
16068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16071 \begin_layout Standard
16072 verylongtablecellword
16077 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
16080 \begin_layout Standard
16081 multiple lines multicolumn
16086 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16089 \begin_layout Standard
16095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16098 \begin_layout Standard
16105 <row topline="true">
16106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16109 \begin_layout Standard
16115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16118 \begin_layout Standard
16124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16127 \begin_layout Standard
16133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16136 \begin_layout Standard
16143 <row topline="true" bottomline="true">
16144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16147 \begin_layout Standard
16153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16156 \begin_layout Standard
16162 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16165 \begin_layout Standard
16171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16174 \begin_layout Standard
16193 \begin_layout Subsection
16195 \begin_inset LatexCommand label
16196 name "sub:Line-Thickness"
16201 \begin_inset LatexCommand index
16202 name "Table Customization ! Line Thickness"
16209 \begin_layout Standard
16210 The line thickness for all lines in a table can be adjusted with the length
16218 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16219 pt, like in Table\InsetSpace ~
16221 \begin_inset LatexCommand ref
16222 reference "tab:Table-with-1.5"
16226 , insert the command
16229 \begin_layout Standard
16236 arrayrulewidth}{1.5pt}
16239 \begin_layout Standard
16240 in ERT before the table or table float.
16241 The changed thickness is valid for all following tables.
16242 To use the default value again, set
16248 to 0.4\InsetSpace \thinspace{}
16249 pt in ERT behind the table or table float.
16252 \begin_layout Standard
16256 \begin_layout Standard
16262 arrayrulewidth}{1.5pt}
16268 \begin_inset Float table
16273 \begin_layout Standard
16274 \begin_inset Caption
16276 \begin_layout Standard
16277 \begin_inset LatexCommand label
16278 name "tab:Table-with-1.5"
16282 Table with 1.5\InsetSpace \thinspace{}
16291 \begin_layout Standard
16293 \begin_inset Tabular
16294 <lyxtabular version="3" rows="3" columns="3">
16296 <column alignment="center" valignment="top" leftline="true" width="0">
16297 <column alignment="center" valignment="top" leftline="true" width="0">
16298 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16299 <row topline="true">
16300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16303 \begin_layout Standard
16309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16312 \begin_layout Standard
16318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16321 \begin_layout Standard
16328 <row topline="true">
16329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16332 \begin_layout Standard
16338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16341 \begin_layout Standard
16347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16350 \begin_layout Standard
16357 <row topline="true" bottomline="true">
16358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16361 \begin_layout Standard
16367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16370 \begin_layout Standard
16376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16379 \begin_layout Standard
16399 \begin_layout Standard
16405 arrayrulewidth}{0.4pt}
16413 \begin_layout Standard
16414 \begin_inset VSpace bigskip
16417 To set the line thickness to 1.5\InsetSpace \thinspace{}
16418 pt only for horizontal lines, like in Table\InsetSpace ~
16420 \begin_inset LatexCommand ref
16421 reference "tab:Table-with-horizontal"
16425 , insert these commands in ERT before the table or table float:
16428 \begin_layout Standard
16451 arrayrulewidth 1.5pt}
16461 arrayrulewidth 0.4pt}}
16464 \begin_layout Standard
16465 To return to the default line thickness, insert this command in ERT behind
16466 the table or table float:
16469 \begin_layout Standard
16481 \begin_layout Standard
16485 \begin_layout Standard
16496 \begin_layout Standard
16505 \begin_layout Standard
16513 arrayrulewidth 1.5pt}
16516 \begin_layout Standard
16526 arrayrulewidth 0.4pt}}
16532 \begin_inset Float table
16537 \begin_layout Standard
16538 \begin_inset Caption
16540 \begin_layout Standard
16541 \begin_inset LatexCommand label
16542 name "tab:Table-with-horizontal"
16546 Table with 1.5\InsetSpace \thinspace{}
16547 pt thick horizontal lines
16555 \begin_layout Standard
16557 \begin_inset Tabular
16558 <lyxtabular version="3" rows="3" columns="3">
16560 <column alignment="center" valignment="top" leftline="true" width="0">
16561 <column alignment="center" valignment="top" leftline="true" width="0">
16562 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16563 <row topline="true">
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16567 \begin_layout Standard
16573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16576 \begin_layout Standard
16582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16585 \begin_layout Standard
16592 <row topline="true">
16593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16596 \begin_layout Standard
16602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16605 \begin_layout Standard
16611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16614 \begin_layout Standard
16621 <row topline="true" bottomline="true">
16622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16625 \begin_layout Standard
16631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16634 \begin_layout Standard
16640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16643 \begin_layout Standard
16663 \begin_layout Standard
16679 \begin_layout Standard
16680 \begin_inset VSpace bigskip
16683 To set the line thickness to 1.5\InsetSpace \thinspace{}
16684 pt only for vertical lines, create the following
16685 column format in the document preamble, according to the description in
16686 section\InsetSpace ~
16688 \begin_inset LatexCommand ref
16689 reference "sub:Customized-Format"
16696 \begin_layout Standard
16701 newcolumntype{V}{!{
16703 vrule width 1.5pt}}
16706 \begin_layout Standard
16707 For Table\InsetSpace ~
16709 \begin_inset LatexCommand ref
16710 reference "tab:Table-with-vertical"
16717 \begin_layout Standard
16723 \begin_layout Standard
16724 was used for the last column and
16727 \begin_layout Standard
16733 \begin_layout Standard
16734 for the other columns.
16737 \begin_layout Standard
16738 \begin_inset Float table
16743 \begin_layout Standard
16744 \begin_inset Caption
16746 \begin_layout Standard
16747 \begin_inset LatexCommand label
16748 name "tab:Table-with-vertical"
16752 Table with 1.5\InsetSpace \thinspace{}
16753 pt thick vertical lines
16761 \begin_layout Standard
16763 \begin_inset Tabular
16764 <lyxtabular version="3" rows="3" columns="3">
16766 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16767 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16768 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
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" rightline="true" usebox="none">
16791 \begin_layout Standard
16798 <row topline="true">
16799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16802 \begin_layout Standard
16808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16811 \begin_layout Standard
16817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16820 \begin_layout Standard
16827 <row topline="true" bottomline="true">
16828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16831 \begin_layout Standard
16837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16840 \begin_layout Standard
16846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16849 \begin_layout Standard
16868 \begin_layout Subsection
16870 \begin_inset LatexCommand index
16871 name "Table Customization ! Dashed Lines"
16878 \begin_layout Standard
16882 \begin_layout Standard
16892 \begin_inset Note Note
16895 \begin_layout Standard
16896 The following section will only be displayed when you have the LaTeX-package
16909 \begin_layout Standard
16910 \begin_inset Float table
16916 \begin_layout Standard
16917 \begin_inset Caption
16919 \begin_layout Standard
16920 \begin_inset LatexCommand label
16921 name "tab:Table-with-dashed"
16925 Table with dashed lines
16933 \begin_layout Standard
16935 \begin_inset Tabular
16936 <lyxtabular version="3" rows="5" columns="5">
16938 <column alignment="center" valignment="top" leftline="true" width="0">
16939 <column alignment="center" valignment="top" leftline="true" width="0">
16940 <column alignment="center" valignment="top" width="0" special=":c">
16941 <column alignment="center" valignment="top" leftline="true" width="0">
16942 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16943 <row topline="true" bottomline="true">
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" leftline="true" usebox="none">
16965 \begin_layout Standard
16971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16974 \begin_layout Standard
16980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16983 \begin_layout Standard
16990 <row topline="true">
16991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16994 \begin_layout Standard
17000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17003 \begin_layout Standard
17009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17012 \begin_layout Standard
17018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17021 \begin_layout Standard
17027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17030 \begin_layout Standard
17038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17041 \begin_layout Standard
17045 \begin_layout Standard
17059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17062 \begin_layout Standard
17068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17071 \begin_layout Standard
17077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17080 \begin_layout Standard
17086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17089 \begin_layout Standard
17096 <row topline="true">
17097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17100 \begin_layout Standard
17104 \begin_layout Standard
17118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17121 \begin_layout Standard
17127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17130 \begin_layout Standard
17136 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17139 \begin_layout Standard
17145 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17148 \begin_layout Standard
17155 <row topline="true" bottomline="true">
17156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17159 \begin_layout Standard
17165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17168 \begin_layout Standard
17174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17177 \begin_layout Standard
17183 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17186 \begin_layout Standard
17192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17195 \begin_layout Standard
17214 \begin_layout Standard
17215 LyX doesn't natively support dashed lines, so you have to use ERT.
17216 As prerequisite the LaTeX-package
17221 \begin_inset LatexCommand index
17222 name "LaTeX-packages ! arydshln"
17226 must be loaded in the document preamble with the command
17229 \begin_layout Standard
17234 usepackage{arydshln}
17237 \begin_layout Standard
17238 To make a vertical line dashed, enter the colon
17239 \begin_inset Quotes eld
17243 \begin_inset Quotes erd
17246 together with the character for the horizontal alignment as LaTeX-argument
17247 in the table cell dialog.
17250 \begin_layout Standard
17251 For a horizontal dashed line add the command
17254 \begin_layout Standard
17262 \begin_layout Standard
17263 in ERT as first element of the first cell in the table row.
17266 \begin_layout Standard
17267 For dashed multicolumn lines use the command
17270 \begin_layout Standard
17275 cdashline{line number
17280 \begin_layout Standard
17281 in ERT as first element of the first cell in the table row.
17282 If you have for example a multicolumn spanning over columns 2 to 4 and
17283 you want to have a dashed line above, add the command
17286 \begin_layout Standard
17294 \begin_layout Standard
17295 as first element of the first cell in the row of the multicolumn.
17298 \begin_layout Standard
17299 \begin_inset VSpace bigskip
17305 \begin_layout Standard
17308 \begin_inset LatexCommand ref
17309 reference "tab:Table-with-dashed"
17314 \begin_inset Quotes eld
17322 \begin_inset Quotes erd
17325 as LaTeX-argument of the third column.
17332 was inserted to the first cell of the third row and the the ERT command
17341 was inserted to the first cell of the fourth row.
17344 \begin_layout Standard
17345 \begin_inset Note Greyedout
17348 \begin_layout Standard
17353 The used LaTeX-package
17357 is apparently not compatible with the LaTeX-package
17362 \begin_inset LatexCommand index
17363 name "LaTeX-packages ! colortbl"
17367 that is used for colored tables in section\InsetSpace ~
17369 \begin_inset LatexCommand ref
17370 reference "sec:Colored-Tables"
17375 That means colored tables cannot have dashed lines.
17383 \begin_layout Standard
17387 \begin_layout Standard
17397 \begin_inset Note Note
17400 \begin_layout Standard
17401 The following will be displayed when the LaTeX-package
17413 \begin_layout Standard
17414 You need to install the package
17418 to see the contents of this section in the output.
17421 \begin_layout Standard
17425 \begin_layout Standard
17437 \begin_layout Chapter
17439 \begin_inset LatexCommand index
17445 \begin_inset LatexCommand label
17453 \begin_layout Section
17455 \begin_inset LatexCommand label
17456 name "sec:FloatIntroduction"
17461 \begin_inset LatexCommand index
17462 name "Floats ! Introduction"
17469 \begin_layout Standard
17470 A float is a block of text associated with some sort of label, which doesn't
17471 have a fixed location.
17473 \begin_inset Quotes eld
17477 \begin_inset Quotes erd
17480 forward or backward a page or two, to wherever it fits best.
17487 Margin\InsetSpace ~
17490 are also floats, because they can float to the next page when there are
17491 too many notes at the page.
17494 \begin_layout Standard
17495 Floats allow a high quality layout.
17496 Images and tables can evenly be spread to the pages to avoid white space
17497 and pages without text.
17498 As the floating often destroys the context between the text and the image/table
17499 , every float can be referenced in the text.
17500 Floats are therefore numbered.
17501 Referencing is described in section\InsetSpace ~
17503 \begin_inset LatexCommand ref
17504 reference "sec:Referencing-Floats"
17511 \begin_layout Standard
17512 To insert a float, use the menu
17514 Insert\SpecialChar \menuseparator
17518 This inserts a box with a label in the
17526 \begin_layout Standard
17531 environment is described in LyX's
17540 into your document.
17541 Every label ends with the character
17542 \begin_inset Quotes eld
17546 \begin_inset Quotes erd
17549 as placeholder for the float number in the output.
17550 The label will automatically be translated to the document language in
17552 Behind the label you can insert the caption text.
17553 The image or table is inserted above or below the caption in a separate
17554 paragraph within the float.
17555 More about the caption placement is described in section\InsetSpace ~
17557 \begin_inset LatexCommand ref
17558 reference "sec:Caption-Placement"
17563 To keep your LyX-document readable, you can open and close the float box
17564 by left-clicking on the box label.
17565 A closed float box looks like this:
17566 \begin_inset Graphics
17567 filename ../clipart/floatQt4.png
17572 -- a gray button with a red label.
17575 \begin_layout Standard
17576 It is recommended to insert floats as a separate paragraph to avoid possible
17577 LaTeX-errors that can occur when the surrounding text is specially formatted.
17580 \begin_layout Standard
17581 Existing figures or tables can be put into a float by marking them and then
17582 pressing the corresponding toolbar button for a new float.
17585 \begin_layout Section
17589 \begin_layout Standard
17590 Besides figure and table floats that are described in section\InsetSpace ~
17592 \begin_inset LatexCommand ref
17593 reference "sec:Figure-Floats"
17598 \begin_inset LatexCommand ref
17599 reference "sec:Table-Floats"
17603 , respectively, LyX offers the float types
17616 \begin_layout Subsection
17618 \begin_inset LatexCommand index
17619 name "Floats ! Algorithm Floats"
17626 \begin_layout Standard
17627 \begin_inset Float algorithm
17633 \begin_layout Standard
17634 \begin_inset Caption
17636 \begin_layout Standard
17637 \begin_inset LatexCommand label
17638 name "alg:Example-Algorithm-float"
17642 Example Algorithm float
17650 \begin_layout LyX-Code
17653 Sum:= Sum + A(I); /*senseless comment*/
17656 \begin_inset VSpace -4mm
17667 \begin_layout Standard
17668 This float type is inserted with the menu
17670 Insert\SpecialChar \menuseparator
17671 Floats\SpecialChar \menuseparator
17675 It is used for program codes and descriptions of algorithms.
17676 A possible environment for algorithms is the
17680 , described in LyX's
17685 Algorithm\InsetSpace ~
17687 \begin_inset LatexCommand ref
17688 reference "alg:Example-Algorithm-float"
17692 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17693 mm vertical space was added
17694 at the end of the float to have the bottom rule exactly below the last
17698 \begin_layout Standard
17699 The float label is not automatically translated into the document language.
17700 If your document is not in English, you have to do this manually by adding
17705 to the document preamble
17710 \begin_layout Standard
17715 floatname{algorithm}{your\InsetSpace ~
17719 \begin_layout Standard
17726 \begin_inset Quotes eld
17734 \begin_inset Quotes erd
17740 \begin_layout Description
17745 When the LaTeX-package
17750 \begin_inset LatexCommand index
17751 name "LaTeX-packages ! hyperref"
17755 is used to link cross-references to floats in the PDF-output, it must be
17756 loaded in the document preamble before the definition of floats to be able
17757 to reference floats.
17758 As LyX sets the float definition for algorithm floats automatically before
17759 the user editable part of the document preamble, you need to insert the
17760 following preamble lines
17764 the loading command of
17771 \begin_inset VSpace defskip
17778 newfloat{Xalgorithm}{tbp}{loa}
17782 floatname{Xalgorithm}{your\InsetSpace ~
17795 renewenvironment{algorithm}[1][tbp]
17801 \begin_layout Standard
17812 begin{Xalgorithm}[#1]}{
17815 \begin_inset VSpace defskip
17828 \begin_inset Quotes eld
17836 \begin_inset Quotes erd
17842 \begin_layout Standard
17843 Algorithm floats are not by default numbered in the scheme
17844 \begin_inset Quotes eld
17848 \begin_inset Quotes erd
17851 like it is the case for table and figure floats in many document-classes.
17852 To number algorithm floats in the same scheme, add this command to your
17856 \begin_layout Standard
17861 numberwithin{algorithm}{chapter}
17864 \begin_layout Standard
17865 If you use the LaTeX-package
17869 , add this line instead
17877 (the commands from above) to the preamble:
17880 \begin_layout Standard
17885 numberwithin{Xalgorithm}{chapter}
17888 \begin_layout Standard
17889 To be able to use the command
17900 in the document settings the option
17910 \begin_layout Subsection
17912 \begin_inset LatexCommand index
17913 name "Floats ! Text Wrap Floats"
17918 \begin_inset LatexCommand label
17919 name "sub:floatflt-wrap-float"
17926 \begin_layout Standard
17927 This float type is used if you want to
17928 \begin_inset Quotes eld
17932 \begin_inset Quotes erd
17935 text around a figure so that it only occupies some fraction of the column
17937 It can be inserted using the menu
17938 \begin_inset Wrap figure
17943 \begin_layout Standard
17944 \begin_inset Graphics
17945 filename mobius.eps
17948 rotateOrigin center
17955 \begin_layout Standard
17956 \begin_inset Caption
17958 \begin_layout Standard
17959 \begin_inset LatexCommand label
17960 name "fig:This-is-a"
17964 This is a wrapped figure, and this is the brilliant caption that describes
17966 \begin_inset VSpace medskip
17981 Insert\SpecialChar \menuseparator
17982 Floats\SpecialChar \menuseparator
17987 if the LaTeX-package
17992 \begin_inset LatexCommand index
17993 name "LaTeX-packages ! floatflt"
18001 \begin_layout Standard
18002 Installing a LaTeX-package is explained it in the
18012 The width and placement of the float is adjusted by right-clicking on the
18014 Figure\InsetSpace ~
18016 \begin_inset LatexCommand ref
18017 reference "fig:This-is-a"
18021 is an example text wrap float with a width of 40
18022 \begin_inset Formula $\,$
18029 \begin_layout Standard
18030 Available units are explained in
18031 \begin_inset LatexCommand ref
18032 reference "cha:Units-available-in"
18041 Some space was added under the caption to separate it better from the surroundi
18045 \begin_layout Standard
18050 also supports table wrap floats, but they are not yet supported by LyX.
18051 If you need this, read the documentation of
18056 \begin_inset LatexCommand cite
18064 \begin_layout Standard
18065 \begin_inset Note Greyedout
18068 \begin_layout Standard
18074 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18076 having a figure too close to the bottom
18077 of the page can mess things up in the way that the float doesn't appear
18078 in the output or that it is placed over some other text.
18082 \begin_layout Standard
18083 The better solution is to use the LaTeX-package
18085 wrapf\SpecialChar \textcompwordmark{}
18089 \begin_inset LatexCommand index
18090 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18096 floatf\SpecialChar \textcompwordmark{}
18099 , but it is currently not supported by LyX.
18112 \begin_layout Standard
18116 \begin_layout Itemize
18117 Wrap floats should not be placed in paragraphs that run over a page break.
18118 That means that wrap floats should better be inserted to the exact place
18119 when the document is nearly ready and you are able to estimate where page
18120 breaks will appear.
18123 \begin_layout Itemize
18124 Wrap floats should either be placed in an own paragraph before the paragraph
18125 where they should wrap into or within a paragraph.
18128 \begin_layout Itemize
18129 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18130 there is a text paragraph between them as separator.
18133 \begin_layout Itemize
18134 Wrap floats are not allowed in section headings or tables.
18137 \begin_layout Section
18139 \begin_inset LatexCommand label
18140 name "sec:Referencing-Floats"
18145 \begin_inset LatexCommand index
18146 name "Floats ! References"
18151 \begin_inset LatexCommand index
18159 \begin_layout Standard
18160 To reference a float, insert a label into its caption using the menu
18162 Insert\SpecialChar \menuseparator
18165 or the toolbar button
18166 \begin_inset Graphics
18167 filename ../images/label-insert.xpm
18173 A grey label box like this one:
18174 \begin_inset Graphics
18175 filename ../clipart/labelQt4.png
18180 will be inserted and the label window pops up asking for the label text.
18181 LyX offers as text the first words of the caption with a prefix.
18182 The prefix depends on the float type, e.\InsetSpace \thinspace{}
18184 for figure floats the prefix will
18192 \begin_layout Standard
18193 The label is used as anchor and name for the reference.
18194 You can refer to the label using the menu
18196 Insert\SpecialChar \menuseparator
18199 or the toolbar button
18200 \begin_inset Graphics
18201 filename ../images/dialog-show-new-inset_ref.xpm
18207 A grey cross-reference box like this one:
18208 \begin_inset Graphics
18209 filename ../clipart/referenceQt4.png
18214 will be inserted and the cross-reference window appear showing all labels
18216 If you have multiple LyX-documents opened, choose the one you are working
18217 on from the drop-list at the top of the dialog.
18218 You can now sort the labels alphabetically and then choose one.
18219 At the position of the cross-reference box the float number will appear
18223 \begin_layout Standard
18224 It is recommended to use a protected space between the cross-reference name
18225 and its number to avoid line breaks between them.
18226 If a cross-reference refers to a non-existing label, you will see two question
18227 marks in the output instead of the reference.
18230 \begin_layout Standard
18231 You can change labels at any time by clicking on the label box.
18232 References to the changed label will automatically change its link to the
18233 new label text, so that you don't need to take care about this.
18236 \begin_layout Standard
18243 in the cross-reference window sets the cursor before the referred label.
18244 The button text changes then to Go\InsetSpace ~
18245 Back and you can use it to set the cursor
18246 back to the cross-reference.
18247 Right-clicking on a cross-reference box also sets the cursor before the
18248 referenced label but without a possibility to go back.
18251 \begin_layout Subsection
18252 Cross-reference formats
18253 \begin_inset LatexCommand label
18254 name "sub:Cross-reference-formats"
18259 \begin_inset LatexCommand index
18260 name "References ! Formats"
18267 \begin_layout Standard
18268 There are six varieties of cross-references:
18271 \begin_layout Description
18272 <reference>: prints the float number, this is the default:
18273 \begin_inset LatexCommand ref
18274 reference "fig:Two-distorted-images"
18281 \begin_layout Description
18282 (<reference>): prints the float number within two parentheses, this is the
18283 style normally used to reference formulas, especially when the reference
18285 \begin_inset Quotes eld
18289 \begin_inset Quotes erd
18293 \begin_inset LatexCommand eqref
18301 \begin_layout Description
18302 <page>: prints the page number: Page\InsetSpace ~
18304 \begin_inset LatexCommand pageref
18305 reference "fig:Two-distorted-images"
18312 \begin_layout Description
18315 <page>: prints the text "on page" and the page number:
18316 \begin_inset LatexCommand vpageref
18317 reference "fig:Two-distorted-images"
18324 \begin_layout Description
18325 <reference>\InsetSpace ~
18328 <page>: prints the float number, the text "on page", and
18330 \begin_inset LatexCommand vref
18331 reference "fig:Two-distorted-images"
18338 \begin_layout Description
18339 Formatted\InsetSpace ~
18340 reference: prints a self defined cross-reference format:
18343 \begin_inset LatexCommand prettyref
18344 reference "fig:Two-distorted-images"
18351 \begin_layout Standard
18352 Note that the style <page> won't print the page number if the label is on
18353 the previous, the same, or the next page.
18354 You will e.\InsetSpace \thinspace{}
18357 \begin_inset Quotes eld
18365 \begin_inset Quotes erd
18371 \begin_layout Standard
18372 The number and current page of the referred document part in the output,
18373 is automatically calculated by LaTeX.
18374 The varieties are adjusted in the field
18378 of the cross-reference window, that appear when you click on the cross-referenc
18380 \begin_inset VSpace bigskip
18386 \begin_layout Standard
18387 To define a format for the
18389 Formatted\InsetSpace ~
18392 style, you have to use the following command in the document preamble:
18395 \begin_layout Standard
18400 newrefformat{prefix}{text}
18403 \begin_layout Standard
18404 This formatting command affects all references to labels with the same prefix.
18405 To get the format of the
18407 Formatted\InsetSpace ~
18410 example above, this command was used:
18413 \begin_layout Standard
18424 \begin_layout Standard
18435 ref{#1} printed on page~
18440 \begin_layout Standard
18441 The tilde "~" is the LaTeX equivalent for the protected space.
18448 refers to the float number, the command
18454 to the page number.
18457 \begin_layout Subsection
18458 Automatic Reference Naming
18459 \begin_inset LatexCommand index
18460 name "References ! Automatic Reference Naming"
18467 \begin_layout Standard
18472 provides a very useful feature that cross-references automatically include
18473 the name of the referenced floats (or text parts like sections).
18474 You save to write e.\InsetSpace \thinspace{}
18477 \begin_inset Quotes eld
18481 \begin_inset Quotes erd
18484 before every reference box.
18485 To get this automatic reference naming, you have to load the LaTeX-package
18491 \begin_inset LatexCommand index
18492 name "LaTeX-packages ! hyperref"
18496 in the document preamble with
18499 \begin_layout Standard
18504 usepackage[pdfborder={0 0 0}]{hyperref}
18519 \begin_layout Standard
18524 is used to link cross-references in the DVI- and PDF-output, this means
18525 that the reader of your document will be able to click on a table of content
18526 (TOC) entry or on a reference and he will be shown the referenced document
18532 also creates PDF-bookmarks for every section of your document to make it
18533 easier for readers to navigate through the document.
18534 This is also used in this document but when you have a look in the document
18535 preamble you will find various options in the load command of
18540 To learn more about the
18544 package, we refer to its documentation
18545 \begin_inset LatexCommand cite
18553 \begin_layout Standard
18554 \begin_inset Note Greyedout
18557 \begin_layout Standard
18562 Automatic reference naming cannot be used when you use cross-references
18565 Formatted\InsetSpace ~
18568 style, described in section\InsetSpace ~
18570 \begin_inset LatexCommand ref
18571 reference "sub:Cross-reference-formats"
18576 That is the reason why it is not used in this document.
18584 \begin_layout Subsection
18586 \begin_inset LatexCommand label
18587 name "sub:Reference-Position"
18592 \begin_inset LatexCommand index
18593 name "References ! Reference Position"
18600 \begin_layout Standard
18606 \begin_inset LatexCommand index
18607 name "LaTeX-packages ! hyperref"
18611 to link cross-references in the output, you will see that clicking on an
18612 image float reference jumps to the image label.
18613 The caption will be the first text part on the screen, so that you cannot
18614 see the image without scrolling.
18615 This is because the reference link anchor is placed at the position of
18617 With the use of the package
18622 \begin_inset LatexCommand index
18623 name "LaTeX-packages ! hypcap"
18627 , which is part of the LaTeX-package
18632 \begin_inset LatexCommand index
18633 name "LaTeX-packages ! oberdiek"
18637 , the link anchor is placed at the beginning of a float.
18638 To use this feature for figure floats, load
18642 in the document preamble with the line
18645 \begin_layout Standard
18650 usepackage[f\SpecialChar \textcompwordmark{}
18654 \begin_layout Standard
18659 for all floats but this isn't recommended for stability reasons.
18660 For more informations, have a look at
18665 \begin_inset LatexCommand cite
18673 \begin_layout Standard
18674 \begin_inset Note Greyedout
18677 \begin_layout Standard
18686 must be loaded after
18690 in the document preamble.
18698 \begin_layout Section
18700 \begin_inset LatexCommand label
18701 name "sec:Float-Placement"
18706 \begin_inset LatexCommand index
18707 name "Floats ! Placement"
18714 \begin_layout Standard
18715 Right-clicking on a float-box opens a dialog where you can alter the placement
18716 options that LaTeX uses for positioning the float.
18723 is only useful for two-column documents: If you select it, the float will
18724 span across both columns on the page instead of being confined to just
18729 Rotate\InsetSpace ~
18732 is used to rotate floats, see section
18733 \begin_inset LatexCommand ref
18734 reference "sec:Rotated-Floats"
18741 \begin_layout Standard
18742 You can use one ore more of the following options in the float dialog to
18743 set the placement for a particular float when you uncheck the option
18746 default\InsetSpace ~
18752 \begin_layout Description
18755 possible: try to place the float on the position where it is inserted
18758 \begin_layout Description
18761 page: try to place the float on the top of the current page
18764 \begin_layout Description
18765 Bottom\InsetSpace ~
18767 page: try to place the float on the bottom of the current page
18770 \begin_layout Description
18773 floats: try to place the float on an own page
18776 \begin_layout Standard
18777 The order of the above option is
18782 That means, if you use the default placement, LaTeX will first try out
18795 , and then the others.
18796 If you don't use the default, LaTeX will try only the checked options but
18798 If none of the 4 placements are possible the procedure is internally repeated
18799 but it is tried to put the float on the following page.
18802 \begin_layout Standard
18803 By default, each options has its own rules:
18806 \begin_layout Labeling
18807 \labelwidthstring 00.00.0000
18814 only floats occupying less than 70\InsetSpace \thinspace{}
18815 % of the page can be placed at the top
18825 \begin_layout Labeling
18826 \labelwidthstring 00.00.0000
18829 Bottom\InsetSpace ~
18833 : only floats occupying less than 30\InsetSpace \thinspace{}
18834 % of the page can be placed at the bottom
18845 \begin_layout Labeling
18846 \labelwidthstring 00.00.0000
18853 : only if more than 50\InsetSpace \thinspace{}
18854 % of the page are occupied by floats, several floats
18855 can be set together on a page.
18865 \begin_layout Standard
18866 If you don't like these rules, you can ignore them by using the additional
18869 Ignore\InsetSpace ~
18875 You can also redefine the rules with LaTeX-commands that are given in parenthese
18876 s behind the rules description above.
18877 To increase for example the often too small default of the bottom-rule
18878 to 50\InsetSpace \thinspace{}
18879 % of the page, add this line to your document preamble:
18882 \begin_layout Standard
18889 bottomfraction}{0.5}
18892 \begin_layout Standard
18893 Sometimes you might need, under all circumstances, a float to be placed
18894 exactly at the position where it is inserted.
18895 For this case you can use the option
18901 Use this option very rarely and only if the document is nearly ready to
18903 Because the float is then no longer able to
18904 \begin_inset Quotes eld
18908 \begin_inset Quotes erd
18911 when you change your document and this will often destroy the page layout.
18914 \begin_layout Standard
18915 There are no placement options for text wrap floats, because they are always
18916 surrounded by the text of a certain paragraph.
18917 \begin_inset VSpace bigskip
18923 \begin_layout Standard
18924 Sometimes you have the problem that a float is placed at the top of a page
18925 while its corresponding section starts at the middle of the page, so that
18926 the reader could think the float is part of the previous section.
18927 To avoid this the LaTeX-command
18931 suppressf\SpecialChar \textcompwordmark{}
18935 It suppresses a given float placement for the page where it is inserted
18936 and can therefore be used to avoid that floats could be set before a section
18938 To get this, add these commands to your document preamble:
18941 \begin_layout Standard
18958 suppressf\SpecialChar \textcompwordmark{}
18964 \begin_layout Standard
18965 You can define the same for all section headings, like chapters and subsections.
18966 This definition is not recommended to be used for small text parts like
18967 subsubsections because LaTeX may then have problems to find a suitable
18971 \begin_layout Standard
18972 \begin_inset VSpace bigskip
18975 In some cases it is required to have all figures/tables at the end of the
18977 For this purpose the LaTeX-package
18979 endf\SpecialChar \textcompwordmark{}
18983 \begin_inset LatexCommand index
18984 name "LaTeX-packages ! endfloat"
18989 It puts all figure and table floats at the end of the document into own
18991 At the original float position a text hint like
18992 \begin_inset Quotes eld
18997 [Figure\InsetSpace ~
19001 \begin_inset Quotes erd
19005 The endfloat-package is loaded in the preamble with the line
19008 \begin_layout Standard
19013 usepackage[options]{endf\SpecialChar \textcompwordmark{}
19017 \begin_layout Standard
19018 There are various package options to format the created figure/table sections.
19019 For more information we refer to the
19021 endf\SpecialChar \textcompwordmark{}
19025 \begin_inset LatexCommand cite
19033 \begin_inset Note Greyedout
19036 \begin_layout Standard
19039 Note: endf\SpecialChar \textcompwordmark{}
19042 doesn't provide an automatic translation for the text hint, you have to
19043 do this manually, see section\InsetSpace ~
19045 \begin_inset LatexCommand cite
19058 \begin_inset Note Greyedout
19061 \begin_layout Standard
19066 There is currently a bug in
19068 endf\SpecialChar \textcompwordmark{}
19071 when the caption contains a German
19072 \begin_inset Quotes eld
19076 \begin_inset Quotes erd
19080 Use in this case the command
19081 \begin_inset Quotes eld
19091 \begin_inset Quotes erd
19095 \begin_inset Quotes eld
19099 \begin_inset Quotes erd
19110 \begin_layout Standard
19111 \begin_inset VSpace bigskip
19114 For more details about float placements, have a look at LaTeX books,
19115 \begin_inset LatexCommand cite
19116 key "latexcompanion,latexguide,latexbook"
19123 \begin_layout Section
19125 \begin_inset LatexCommand label
19126 name "sec:Rotated-Floats"
19131 \begin_inset LatexCommand index
19132 name "Floats ! Rotating"
19139 \begin_layout Standard
19140 Especially for wide tables you might have floats rotated.
19141 To rotate a whole float including the caption, right-click on the float-box
19144 Rotate\InsetSpace ~
19150 \begin_layout Standard
19151 Rotated floats are always placed on its own page (or column, when you have
19152 a two-column document).
19153 They are normally rotated so that you can read them from the outside margin
19154 -- to the left on even pages, to the right on odd pages.
19157 \begin_layout Standard
19158 Referencing rotated floats is the same like for normal floats, the caption
19159 format is also the same: Table\InsetSpace ~
19161 \begin_inset LatexCommand ref
19162 reference "tab:Rotated-table"
19166 is an example of a rotated table float.
19169 \begin_layout Standard
19170 \begin_inset Note Greyedout
19173 \begin_layout Standard
19178 Not all DVI-viewers are able to display rotated floats.
19186 \begin_layout Standard
19187 \begin_inset Float table
19192 \begin_layout Standard
19193 \begin_inset Caption
19195 \begin_layout Standard
19196 \begin_inset LatexCommand label
19197 name "tab:Rotated-table"
19209 \begin_layout Standard
19211 \begin_inset Tabular
19212 <lyxtabular version="3" rows="1" columns="5">
19214 <column alignment="center" valignment="top" leftline="true" width="0">
19215 <column alignment="center" valignment="top" leftline="true" width="0">
19216 <column alignment="center" valignment="top" leftline="true" width="0">
19217 <column alignment="center" valignment="top" leftline="true" width="0">
19218 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19219 <row topline="true" bottomline="true">
19220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19223 \begin_layout Standard
19229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19232 \begin_layout Standard
19238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19241 \begin_layout Standard
19247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19250 \begin_layout Standard
19256 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19259 \begin_layout Standard
19278 \begin_layout Section
19280 \begin_inset LatexCommand index
19281 name "Caption ! Formatting"
19286 \begin_inset LatexCommand index
19287 name "Floats ! Caption Formatting"
19292 \begin_inset LatexCommand index
19293 name "LaTeX-packages ! caption"
19298 \begin_inset LatexCommand label
19299 name "sec:Caption-Formatting"
19306 \begin_layout Standard
19311 environment is the default paragraph environment for
19316 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19319 \begin_inset Quotes eld
19327 \begin_inset Quotes erd
19330 followed by the caption text.
19332 \begin_inset Quotes eld
19336 \begin_inset Quotes erd
19339 is substituted in the printed output by the actual reference number.
19340 By default the label and the number are in the same font as the caption
19341 text and a colon follows the number to divide then label from the text.
19342 This caption format is not suitable for all document formats.
19346 \begin_layout Standard
19347 To change the default caption format, load the LaTeX-package
19352 \begin_inset LatexCommand index
19353 name "LaTeX-packages ! caption"
19357 in the document preamble with this line:
19360 \begin_layout Standard
19365 usepackage[format definition]{caption}
19368 \begin_layout Standard
19369 To have for example the label and the number in sans-serif bold font and
19370 the table captions always above the table like in this document, use the
19374 \begin_layout Standard
19379 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19382 \begin_layout Standard
19383 You can also define different caption formats for the different float types.
19384 In this case load the
19388 package without format specific options and define the different formats
19389 with the help of the command
19392 \begin_layout Standard
19397 captionsetup[float type]{format definition}
19400 \begin_layout Standard
19401 in the document preamble.
19402 For example the caption formats of Figure\InsetSpace ~
19404 \begin_inset LatexCommand ref
19405 reference "fig:This-is-an-fig"
19409 and Table\InsetSpace ~
19411 \begin_inset LatexCommand ref
19412 reference "tab:This-is-an-tab"
19416 can be created using these commands in the document preamble:
19419 \begin_layout Standard
19424 usepackage[tableposition=top]{caption}
19432 captionsetup[f\SpecialChar \textcompwordmark{}
19433 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19439 \begin_layout Standard
19447 captionsetup[figure]
19458 captionsetup[table]{labelfont={bf,sf}}
19461 \begin_layout Standard
19462 For more information about the package
19466 we refer to its documentation
19467 \begin_inset LatexCommand cite
19468 key "caption,caption-de"
19475 \begin_layout Standard
19476 \begin_inset VSpace bigskip
19484 \begin_inset LatexCommand index
19485 name "LaTeX-packages ! koma-script"
19491 article (koma-script)
19499 letter (koma-script)
19503 report (koma-script)
19505 \InsetSpace \thinspace{}
19506 ), you can alternatively to the
19514 's built-in command
19521 For example, to have the caption label in bold, add this command to your
19525 \begin_layout Standard
19530 setkomafont{captionlabel}{
19535 \begin_layout Standard
19536 For more information about
19547 \begin_inset LatexCommand cite
19548 key "koma-script,koma-script-de"
19555 \begin_layout Standard
19559 \begin_layout Standard
19563 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19570 \begin_inset Note Note
19573 \begin_layout Standard
19574 The caption format is changed only for this example.
19582 \begin_layout Standard
19583 \begin_inset Float figure
19589 \begin_layout Standard
19591 \begin_inset Graphics
19592 filename mobius.eps
19601 \begin_layout Standard
19602 \begin_inset Caption
19604 \begin_layout Standard
19605 \begin_inset LatexCommand label
19606 name "fig:This-is-an-fig"
19610 This is an example figure caption that is longer than one line to show the
19611 different caption format.
19612 Here a self-defined caption format is used.
19625 \begin_layout Standard
19629 \begin_layout Standard
19633 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19642 \begin_layout Standard
19643 \begin_inset Float table
19649 \begin_layout Standard
19650 \begin_inset Caption
19652 \begin_layout Standard
19653 \begin_inset LatexCommand label
19654 name "tab:This-is-an-tab"
19658 This is an example table caption that is longer than one line to show the
19659 different caption format.
19660 Here the standard caption format for tables in this document is used.
19668 \begin_layout Standard
19670 \begin_inset Tabular
19671 <lyxtabular version="3" rows="1" columns="5">
19673 <column alignment="center" valignment="top" leftline="true" width="0">
19674 <column alignment="center" valignment="top" leftline="true" width="0">
19675 <column alignment="center" valignment="top" leftline="true" width="0">
19676 <column alignment="center" valignment="top" leftline="true" width="0">
19677 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19678 <row topline="true" bottomline="true">
19679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19682 \begin_layout Standard
19688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19691 \begin_layout Standard
19697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19700 \begin_layout Standard
19706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19709 \begin_layout Standard
19715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19718 \begin_layout Standard
19737 \begin_layout Section
19739 \begin_inset LatexCommand index
19740 name "Caption ! Placement"
19745 \begin_inset LatexCommand index
19746 name "Floats ! Caption Placement"
19751 \begin_inset LatexCommand label
19752 name "sec:Caption-Placement"
19759 \begin_layout Standard
19760 The common caption placement rule is:
19763 \begin_layout Description
19764 Figure: Caption is set below the figure
19767 \begin_layout Description
19768 Table: Caption is set above the table
19771 \begin_layout Standard
19772 Having the caption above the table is unfortunately not supported in LaTeX's
19774 That means if you are using the document classes
19790 there will be no space between the caption and the table.
19791 To insert the needed space, add the following option to the load command
19792 of the LaTeX-package
19796 in your document preamble
19800 \begin_layout Standard
19801 See section\InsetSpace ~
19803 \begin_inset LatexCommand ref
19804 reference "sec:Caption-Formatting"
19808 for more information of the package
19820 \begin_layout Standard
19826 \begin_layout Standard
19832 \begin_inset LatexCommand index
19833 name "LaTeX-packages ! koma-script"
19839 article (koma-script)
19847 letter (koma-script)
19851 report (koma-script)
19853 \InsetSpace \thinspace{}
19854 ), you can alternatively to the
19858 package set the document class option
19862 , or you can use the environment
19864 caption\InsetSpace ~
19874 \begin_layout Standard
19875 \begin_inset VSpace bigskip
19878 It is also possible to set the caption beside a figure or table.
19879 To get this the LaTeX-package
19884 \begin_inset LatexCommand index
19885 name "LaTeX-packages ! sidecap"
19889 has to be loaded in the document preamble with the line
19892 \begin_layout Standard
19897 usepackage[option]{sidecap}
19900 \begin_layout Standard
19901 If you set no option, the caption is placed on the side of the outer page
19902 margin -- to the right on odd pages, to the left on even pages.
19903 You can change the placement to inner margin with the option
19908 To force the placement always to the right or left, use the option
19919 \begin_layout Standard
19920 To place in LyX the caption of a float on the side, it is necessary to add
19921 these commands to the document preamble:
19924 \begin_layout Standard
19930 \begin_layout Standard
19943 \begin_layout Standard
19964 \begin_layout Standard
19985 \begin_layout Standard
19996 renewenvironment{table}{
20003 \begin_layout Standard
20016 \begin_layout Standard
20037 \begin_layout Standard
20055 \begin_layout Standard
20068 \begin_layout Standard
20083 f\SpecialChar \textcompwordmark{}
20090 \begin_layout Standard
20103 MyEndf\SpecialChar \textcompwordmark{}
20106 endf\SpecialChar \textcompwordmark{}
20113 \begin_layout Standard
20124 renewenvironment{f\SpecialChar \textcompwordmark{}
20127 begin{SCf\SpecialChar \textcompwordmark{}
20130 end{SCf\SpecialChar \textcompwordmark{}
20134 \begin_layout Standard
20147 \begin_layout Standard
20160 f\SpecialChar \textcompwordmark{}
20169 \begin_layout Standard
20182 endf\SpecialChar \textcompwordmark{}
20185 MyEndf\SpecialChar \textcompwordmark{}
20189 \begin_layout Standard
20195 \begin_layout Standard
20196 The commands allow you to redefine the floats so that the caption is set
20198 For figure floats use the command
20201 \begin_layout Standard
20209 \begin_layout Standard
20210 in ERT before the float.
20211 Behind the float insert the command
20214 \begin_layout Standard
20222 \begin_layout Standard
20223 in ERT to get back to the original float definition.
20226 \begin_layout Standard
20227 For table floats use the corresponding commands
20230 \begin_layout Standard
20244 \begin_layout Standard
20245 Figure\InsetSpace ~
20247 \begin_inset LatexCommand ref
20248 reference "fig:cap-beside-fig"
20252 and Table\InsetSpace ~
20254 \begin_inset LatexCommand ref
20255 reference "tab:cap-beside-tab"
20259 are examples where the caption is set beside.
20262 \begin_layout Standard
20263 You can see in the examples that the caption text appears at the top of
20264 the floats for table floats and at the bottom for figure floats.
20265 To change this, you can use the command
20268 \begin_layout Standard
20273 sidecaptionvpos{float type}{placement}
20276 \begin_layout Standard
20277 in the document preamble or in ERT before the float.
20278 The float type is either
20286 , the placement can be
20287 \begin_inset Quotes eld
20295 \begin_inset Quotes erd
20299 \begin_inset Quotes eld
20307 \begin_inset Quotes erd
20311 \begin_inset Quotes eld
20319 \begin_inset Quotes erd
20323 To have for example the caption of figure floats vertically centered, use
20327 \begin_layout Standard
20332 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20336 \begin_layout Standard
20337 This was used for Figure\InsetSpace ~
20339 \begin_inset LatexCommand ref
20340 reference "fig:cap-beside-fig-2"
20347 \begin_layout Standard
20348 \begin_inset VSpace defskip
20351 For more information about the package
20355 we refer to its documentation
20356 \begin_inset LatexCommand cite
20364 \begin_layout Standard
20365 \begin_inset Note Greyedout
20368 \begin_layout Standard
20378 \begin_inset LatexCommand index
20379 name "LaTeX-packages ! hypcap"
20383 , described in section\InsetSpace ~
20385 \begin_inset LatexCommand ref
20386 reference "sub:Reference-Position"
20390 , has no effect on floats with the caption set beside.
20398 \begin_layout Standard
20402 \begin_layout Standard
20414 \begin_layout Standard
20415 \begin_inset Float figure
20420 \begin_layout Standard
20421 \begin_inset Graphics
20422 filename escher-lsd.eps
20430 \begin_layout Standard
20431 \begin_inset Caption
20433 \begin_layout Standard
20434 \begin_inset LatexCommand label
20435 name "fig:cap-beside-fig"
20439 This is a caption beside a figure.
20452 \begin_layout Standard
20456 \begin_layout Standard
20468 \begin_layout Standard
20469 \begin_inset Float table
20474 \begin_layout Standard
20475 \begin_inset Caption
20477 \begin_layout Standard
20478 \begin_inset LatexCommand label
20479 name "tab:cap-beside-tab"
20483 This is a caption beside a table.
20491 \begin_layout Standard
20492 \begin_inset Tabular
20493 <lyxtabular version="3" rows="4" columns="5">
20495 <column alignment="center" valignment="top" leftline="true" width="0">
20496 <column alignment="center" valignment="top" leftline="true" width="0">
20497 <column alignment="center" valignment="top" leftline="true" width="0">
20498 <column alignment="center" valignment="top" leftline="true" width="0">
20499 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20500 <row topline="true">
20501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20504 \begin_layout Standard
20510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20513 \begin_layout Standard
20519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20522 \begin_layout Standard
20528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20531 \begin_layout Standard
20537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20540 \begin_layout Standard
20547 <row topline="true">
20548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20551 \begin_layout Standard
20557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20560 \begin_layout Standard
20566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20569 \begin_layout Standard
20575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20578 \begin_layout Standard
20584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20587 \begin_layout Standard
20594 <row topline="true">
20595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20598 \begin_layout Standard
20604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20607 \begin_layout Standard
20613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20616 \begin_layout Standard
20622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20625 \begin_layout Standard
20631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20634 \begin_layout Standard
20641 <row topline="true" bottomline="true">
20642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20645 \begin_layout Standard
20651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20654 \begin_layout Standard
20660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20663 \begin_layout Standard
20669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20672 \begin_layout Standard
20678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20681 \begin_layout Standard
20700 \begin_layout Standard
20704 \begin_layout Standard
20716 \begin_layout Standard
20720 \begin_layout Standard
20724 sidecaptionvpos{figure}{c}
20730 \begin_inset Float figure
20735 \begin_layout Standard
20736 \begin_inset Graphics
20737 filename escher-lsd.eps
20745 \begin_layout Standard
20746 \begin_inset Caption
20748 \begin_layout Standard
20749 \begin_inset LatexCommand label
20750 name "fig:cap-beside-fig-2"
20754 This is a vertically centered caption beside a figure.
20767 \begin_layout Standard
20771 \begin_layout Standard
20783 \begin_layout Section
20785 \begin_inset LatexCommand label
20786 name "sec:Listings-of-Floats"
20791 \begin_inset LatexCommand index
20792 name "Floats ! Listings"
20799 \begin_layout Standard
20800 Similar to the the table of contents where the sections of the document
20801 are listed, there are listings for all float types, like the figures of
20803 You can insert them via the
20805 Insert\SpecialChar \menuseparator
20813 \begin_layout Standard
20814 The list entries are the float captions or its short title, the float number,
20815 and the page number where they appear in the document.
20818 \begin_layout Standard
20819 You can find the list of figures and tables at the end of this document.
20822 \begin_layout Chapter
20826 \begin_layout Section
20830 \begin_layout Standard
20843 \begin_layout Standard
20851 \begin_inset LatexCommand label
20852 name "sec:LyX-Notes"
20857 \begin_inset LatexCommand index
20858 name "Notes ! LyX Notes"
20863 \begin_inset Note Note
20866 \begin_layout Standard
20869 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20870 are displayed wrongly in PDF-bookmarks.
20871 For more information about this, have a look at
20872 \begin_inset LatexCommand cite
20885 \begin_layout Standard
20886 Notes are inserted with the toolbar button
20887 \begin_inset Graphics
20888 filename ../images/note-insert.xpm
20895 Insert\SpecialChar \menuseparator
20899 There are three types of notes:
20902 \begin_layout Description
20904 Note This note type is for internal notes that won't appear in the output.
20905 Its note-box looks like this:
20910 \begin_inset Graphics
20911 filename ../clipart/LyXNoteImageQt4.png
20918 \begin_inset Note Note
20921 \begin_layout Standard
20922 This is text in a note box that doesn't appear in the output.
20930 \begin_layout Description
20931 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20932 ent, when you export the document to LaTeX via the menu
20934 File\SpecialChar \menuseparator
20935 Export\SpecialChar \menuseparator
20936 LaTeX (pdflatex) / LaTeX (plain)
20939 Its note-box looks like this:
20944 \begin_inset Graphics
20945 filename ../clipart/CommentNoteImageQt4.png
20952 \begin_inset Note Comment
20955 \begin_layout Standard
20956 This is text in a note box that only appears as comment in LaTeX-files.
20964 \begin_layout Description
20965 Greyed\InsetSpace ~
20966 Out This note will appear in the output as grey text.
20967 Its note-box looks like this:
20972 \begin_inset Graphics
20973 filename ../clipart/GreyedOutNoteImageQt4.png
20985 \begin_layout Standard
20989 renewenvironment{lyxgreyedout}
20992 \begin_layout Standard
20996 textcolor[gray]{0.8}
21006 \begin_inset Note Greyedout
21009 \begin_layout Standard
21014 \begin_layout Standard
21015 This is an example footnote within a greyed out note.
21020 of a comment that appears in the output as grey text.
21029 \begin_layout Standard
21033 renewenvironment{lyxgreyedout}
21036 \begin_layout Standard
21050 \begin_inset Note Note
21053 \begin_layout Standard
21054 The greyed out note is here redefined to show it with the original LyX definitio
21055 n because greyed out notes are redefined in the preamble of this document,
21056 as described below, to have blue text.
21065 As you can see in the example, the first line of greyed out notes is a bit
21066 indented and greyed out notes can have footnotes.
21069 \begin_layout Description
21070 Framed This note will appear in the output as framed text.
21071 Its note-box looks like this:
21076 \begin_inset Graphics
21077 filename ../clipart/FramedNoteImageQt4.png
21084 \begin_inset Note Framed
21087 \begin_layout Standard
21088 This is text in a note box that appears framed in the output.
21093 In contrary to framed boxes
21097 \begin_layout Standard
21098 Framed boxes are described in section\InsetSpace ~
21100 \begin_inset LatexCommand ref
21101 reference "sec:Framed-Boxes"
21110 the frame uses always the whole text width and the note is set into its
21114 \begin_layout Description
21115 Shaded This note will appear in the output with red background color.
21116 Its note box looks like this:
21121 \begin_inset Graphics
21122 filename ../clipart/ShadedNoteImageQt4.png
21129 \begin_inset Note Shaded
21132 \begin_layout Standard
21133 This text in a note box appears in the output with red background.
21138 In contrary to colored boxes
21142 \begin_layout Standard
21143 Colored boxes are described in section\InsetSpace ~
21145 \begin_inset LatexCommand ref
21146 reference "sec:Colored-Boxes"
21155 the note uses always the whole text width and the note is set into its
21159 \begin_layout Standard
21160 \begin_inset VSpace bigskip
21163 When you use the toolbar button to insert notes, a
21169 You can switch between the three note types by right-clicking on the note-box.
21174 If you want to turn existing text into a note, mark it and click on the
21190 \begin_layout Standard
21191 \begin_inset VSpace bigskip
21194 You can change the text color of the greyed out notes in the preamble with
21195 the following command:
21198 \begin_layout Standard
21203 renewenvironment{lyxgreyedout}
21209 \begin_layout Standard
21227 \begin_layout Standard
21228 The available colors and the method to define own colors is explained in
21229 section\InsetSpace ~
21231 \begin_inset LatexCommand ref
21232 reference "sec:Colored-Tables"
21239 \begin_layout Standard
21240 Notes that appear in blue in this document are set using greyed out notes
21244 \begin_layout Standard
21245 \begin_inset VSpace bigskip
21251 \begin_layout Standard
21260 notes can be set in the
21267 \begin_layout Standard
21268 The default frame width for
21272 notes is 0.4\InsetSpace \thinspace{}
21273 pt; it can be changed by changing the size
21280 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21282 be changed by changing the size
21289 For example the frame appearance of the following
21293 note is set with the ERT commands
21296 \begin_layout Standard
21306 \begin_layout Standard
21310 \begin_layout Standard
21322 \begin_inset Note Framed
21325 \begin_layout Standard
21339 \begin_layout Standard
21353 \begin_layout Standard
21354 \begin_inset VSpace bigskip
21360 \begin_layout Standard
21365 notes the default space between the note content and the note border is
21366 3\InsetSpace \thinspace{}
21367 pt; it can be changed by changing the size
21375 The default background color red can be changed with the command
21379 def\SpecialChar \textcompwordmark{}
21387 def\SpecialChar \textcompwordmark{}
21390 command is explained in section\InsetSpace ~
21392 \begin_inset LatexCommand ref
21393 reference "sec:Colored-Tables"
21401 \begin_layout Standard
21408 \SpecialChar \textcompwordmark{}
21413 requires the LaTeX-package
21417 in the preamble, see section\InsetSpace ~
21419 \begin_inset LatexCommand ref
21420 reference "sec:Colored-Boxes"
21432 \begin_layout Standard
21433 For example the appearance of the following
21437 note is set with the ERT commands
21440 \begin_layout Standard
21453 def\SpecialChar \textcompwordmark{}
21454 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21457 \begin_layout Standard
21461 \begin_layout Standard
21474 \begin_layout Standard
21478 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21484 \begin_inset Note Shaded
21487 \begin_layout Standard
21490 This is yellow text in a
21494 note with darkgreen background.
21503 \begin_layout Standard
21516 \begin_layout Standard
21520 definecolor{shadecolor}{rgb}{1,0,0}
21528 \begin_layout Section
21530 \begin_inset LatexCommand label
21531 name "sec:Footnotes"
21536 \begin_inset LatexCommand index
21537 name "Notes ! Footnotes"
21542 \begin_inset LatexCommand index
21550 \begin_layout Standard
21551 Footnotes can be inserted using the toolbar button
21552 \begin_inset Graphics
21553 filename ../images/footnote-insert.xpm
21560 Insert\SpecialChar \menuseparator
21572 then the following footnote-box:
21573 \begin_inset Graphics
21574 filename ../clipart/footnoteQt4.png
21583 where you can enter the footnote text.
21584 If you want to turn existing text into a footnote, mark it and click on
21600 \begin_layout Standard
21601 Here is an example footnote:
21609 \begin_layout Standard
21610 \begin_inset LatexCommand label
21611 name "foot:This-is-an"
21615 This is an example footnote.
21628 \begin_layout Standard
21632 newcounter{MyRepeatFoot}
21635 \begin_layout Standard
21639 setcounter{MyRepeatFoot}{
21649 \begin_layout Standard
21650 The footnote will appear in the output as a superscript number at the text
21651 position where the footnote box is placed.
21652 The footnote text is placed at the bottom of the current page.
21653 The footnote number is calculated by LaTeX, the numbers are consecutive.
21654 It depends on your document-class, if the footnote number is reset for
21658 \begin_layout Standard
21659 Footnotes can be referenced like floats: Insert a label into the footnote
21660 and cross-reference this label in the text as described in section\InsetSpace ~
21662 \begin_inset LatexCommand ref
21663 reference "sec:Referencing-Floats"
21669 This is a cross-reference of Footnote\InsetSpace ~
21671 \begin_inset LatexCommand prettyref
21672 reference "foot:This-is-an"
21679 \begin_inset Note Greyedout
21682 \begin_layout Standard
21687 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21688 e.\InsetSpace \thinspace{}
21693 \begin_inset Quotes eld
21699 \begin_inset Quotes erd
21702 manually when you want to use the reference style
21704 Formatted\InsetSpace ~
21715 \begin_layout Standard
21716 \begin_inset VSpace defskip
21719 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21721 \begin_inset LatexCommand ref
21722 reference "sec:Minipages"
21727 Footnotes within longtables are described in section\InsetSpace ~
21729 \begin_inset LatexCommand ref
21730 reference "sub:Footnotes-in-Longtables"
21737 \begin_layout Standard
21738 \begin_inset VSpace defskip
21741 To create only a mark for a footnote, use the command
21745 footnotemark[number]
21748 This is used when you have the same annotation several times in a text
21749 but doesn't want to print the footnote text every time.
21752 the number of the repeating footnote while you are writing the text, you
21753 have to store its number.
21754 For the following footnote mark example, these commands were inserted in
21755 ERT behind Footnote\InsetSpace ~
21757 \begin_inset LatexCommand ref
21758 reference "foot:This-is-an"
21762 to store the footnote number:
21765 \begin_layout Standard
21770 newcounter{MyRepeatFoot}
21774 setcounter{MyRepeatFoot}{
21779 \begin_layout Standard
21780 The footnote mark was then created with this command:
21783 \begin_layout Standard
21793 \begin_layout Standard
21794 Here is an example footnote mark:
21802 \begin_layout Standard
21816 \begin_layout Subsection
21818 \begin_inset LatexCommand label
21819 name "sub:Footnote-Numbering"
21824 \begin_inset LatexCommand index
21825 name "Footnotes ! Numbering"
21832 \begin_layout Standard
21833 If you want to have footnotes numbered in the scheme
21834 \begin_inset Quotes eld
21838 \begin_inset Quotes erd
21841 , add the following command to your document preamble:
21844 \begin_layout Standard
21849 numberwithin{footnote}{chapter}
21852 \begin_layout Standard
21853 To be able to use the command
21864 in the document settings the option
21874 \begin_layout Standard
21878 \begin_layout Standard
21882 numberwithin{footnote}{chapter}
21887 This is another example footnote:
21893 \begin_layout Standard
21894 This is a footnote numbered in the scheme
21895 \begin_inset Quotes eld
21899 \begin_inset Quotes erd
21913 \begin_layout Standard
21917 numberwithin{footnote}{part}
21925 \begin_layout Standard
21926 \begin_inset VSpace bigskip
21932 \begin_layout Standard
21933 To reset the footnote number back to 1 after each section
21935 , add this command to your document preamble:
21938 \begin_layout Standard
21943 @addtoreset{footnote}{section}
21946 \begin_layout Standard
21947 \begin_inset VSpace bigskip
21950 The following preamble command changes the footnote numbering style to small
21954 \begin_layout Standard
21966 \begin_layout Standard
21970 \begin_layout Standard
21983 This is a footnote with roman numbering:
21987 \begin_layout Standard
21988 This is an example footnote with roman numbering.
21997 \begin_layout Standard
22013 \begin_layout Standard
22014 To change the numbering style to capital roman numerals replace in the command
22029 \begin_inset Quotes eld
22033 \begin_inset Quotes erd
22036 footnotes with capital or small Latin letters use
22050 \begin_inset Quotes eld
22054 \begin_inset Quotes erd
22057 footnotes with symbols use
22066 \begin_layout Standard
22067 \begin_inset Note Greyedout
22070 \begin_layout Standard
22077 You can only number 26 footnotes with Latin letters, because this numbering
22078 is limited to single letters.
22086 \begin_inset Note Greyedout
22089 \begin_layout Standard
22094 You can only number 9 footnotes with symbols.
22102 \begin_layout Standard
22103 To return to the default numbering style when you changed to another one,
22116 in the command above.
22119 \begin_layout Subsection
22121 \begin_inset LatexCommand index
22122 name "Footnotes ! Placement"
22129 \begin_layout Standard
22130 If you have several footnotes in one page, they appear without vertical
22131 space between them at the bottom of the page.
22132 To make them better readable you can e.\InsetSpace \thinspace{}
22134 add 1.5\InsetSpace \thinspace{}
22135 mm space with the following
22139 \begin_layout Standard
22161 \begin_layout Standard
22162 \begin_inset VSpace bigskip
22165 In a two-column document the footnotes appear at the bottom of every column,
22166 see Figure\InsetSpace ~
22168 \begin_inset LatexCommand ref
22169 reference "fig:Standard-footnote-placement"
22174 If the footnotes should only appear at the bottom of the right column,
22175 as in Figure\InsetSpace ~
22177 \begin_inset LatexCommand ref
22178 reference "fig:Footnote-placement-in"
22182 , use the LaTeX-package
22187 \begin_inset LatexCommand index
22188 name "LaTeX-packages ! ftnright"
22192 with this command in the document preamble:
22195 \begin_layout Standard
22200 usepackage{ftnright}
22203 \begin_layout Standard
22204 \begin_inset Float figure
22210 \begin_layout Standard
22214 \begin_layout Standard
22224 \begin_inset Graphics
22225 filename ../clipart/without_fntright.pdf
22234 \begin_layout Standard
22244 \begin_layout Standard
22245 \begin_inset Caption
22247 \begin_layout Standard
22248 \begin_inset LatexCommand label
22249 name "fig:Standard-footnote-placement"
22253 Standard footnote placement in two-column documents.
22266 \begin_layout Standard
22267 \begin_inset Float figure
22273 \begin_layout Standard
22277 \begin_layout Standard
22287 \begin_inset Graphics
22288 filename ../clipart/with_fntright.pdf
22297 \begin_layout Standard
22307 \begin_layout Standard
22308 \begin_inset Caption
22310 \begin_layout Standard
22311 \begin_inset LatexCommand label
22312 name "fig:Footnote-placement-in"
22316 Footnote placement in two-column documents when the LaTeX-package
22333 \begin_layout Standard
22334 \begin_inset VSpace bigskip
22337 In some scientific literature it is usual to collect the footnotes and print
22338 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22340 \begin_inset LatexCommand ref
22341 reference "fig:Endnotes----footnotes"
22346 They are then so called
22347 \begin_inset Quotes eld
22351 \begin_inset Quotes erd
22355 To use endnotes instead of footnotes in your document, load the LaTeX-package
22361 \begin_inset LatexCommand index
22362 name "LaTeX-packages ! endnotes"
22366 with the document preamble lines
22369 \begin_layout Standard
22374 usepackage{endnotes}
22385 \begin_layout Standard
22386 To insert the collected footnotes, insert the command
22389 \begin_layout Standard
22397 \begin_layout Standard
22398 in ERT at the the end of a section or chapter.
22401 \begin_layout Standard
22402 \begin_inset Float figure
22407 \begin_layout Standard
22412 \begin_layout Standard
22422 \begin_inset Graphics
22423 filename ../clipart/endnotes.pdf
22431 \begin_layout Standard
22441 \begin_layout Standard
22442 \begin_inset Caption
22444 \begin_layout Standard
22445 \begin_inset LatexCommand label
22446 name "fig:Endnotes----footnotes"
22450 Endnotes -- footnotes are printed in a separate paragraph at the end of
22451 sections or chapters.
22464 \begin_layout Standard
22465 \begin_inset VSpace defskip
22468 The paragraph heading for the endnotes isn't automatically translated into
22469 the document language, this must be done manually.
22470 The following preamble command translate the default English name
22471 \begin_inset Quotes eld
22475 \begin_inset Quotes erd
22478 to the German translation
22479 \begin_inset Quotes eld
22483 \begin_inset Quotes erd
22489 \begin_layout Standard
22496 notesname}{Anmerkungen}
22499 \begin_layout Standard
22500 \begin_inset VSpace defskip
22503 The numbering of endnotes can be changed like the footnote numbering as
22504 described in section\InsetSpace ~
22506 \begin_inset LatexCommand ref
22507 reference "sub:Footnote-Numbering"
22511 ; just replace the command
22524 To reset the endnote number use the command
22530 as described in section\InsetSpace ~
22532 \begin_inset LatexCommand ref
22533 reference "sub:Footnote-Numbering"
22537 and replace the command parameter
22548 \begin_layout Standard
22549 To create only a mark for an endnote, use the command
22553 endnotemark[number]
22555 similar to the command
22561 , described in section\InsetSpace ~
22563 \begin_inset LatexCommand ref
22564 reference "sec:Footnotes"
22571 \begin_layout Standard
22572 \begin_inset VSpace bigskip
22575 Footnotes can also be placed in the page margin and the footnote text alignment
22576 can be changed, see the LaTeX-package
22581 \begin_inset LatexCommand index
22582 name "LaTeX-packages ! footmisc"
22587 \begin_inset LatexCommand cite
22592 for more information about this.
22595 \begin_layout Standard
22596 For various further footnote formatting issues have a look at LaTeX-books,
22598 \begin_inset LatexCommand cite
22599 key "latexcompanion,latexguide,latexbook"
22606 \begin_layout Section
22608 \begin_inset LatexCommand index
22609 name "Notes ! Margin Notes"
22616 \begin_layout Standard
22617 Margin notes look and behave in LyX like footnotes.
22618 They are inserted via the menu
22620 Insert\SpecialChar \menuseparator
22621 Marginal\InsetSpace ~
22624 or the toolbar button
22625 \begin_inset Graphics
22626 filename ../images/marginalnote-insert.xpm
22648 \begin_inset Quotes eld
22652 \begin_inset Quotes erd
22655 appears where you can enter the text of the margin note.
22658 \begin_layout Standard
22659 At the side is an example margin note.
22663 \begin_inset Marginal
22666 \begin_layout Standard
22667 This is a margin note.
22675 \begin_layout Standard
22676 Margin notes appear at the right side in single-sided documents.
22677 In double-sided documents they appear in the outer margin -- left on even
22678 pages, right on odd pages.
22679 The text of margin notes is aligned opposite to the outer margin -- right-align
22680 ed when the note appears in the left margin.
22681 The first line of the margin note is placed at the position of the text
22682 line where it is inserted in the document.
22685 \begin_layout Standard
22686 \begin_inset VSpace bigskip
22689 To place the margin note in the inner margin, add the command
22692 \begin_layout Standard
22700 \begin_layout Standard
22701 in ERT before a margin note.
22702 The new placement is valid for all following margin notes.
22706 \begin_layout Standard
22716 \begin_inset Marginal
22719 \begin_layout Standard
22720 This is a margin note in the inner margin.
22732 \begin_inset Note Greyedout
22735 \begin_layout Standard
22740 There is often not enough space in the inner margin so that the notes are
22741 not correctly displayed in the output.
22749 \begin_layout Standard
22753 \begin_layout Standard
22762 To return to the default placement insert the command
22765 \begin_layout Standard
22773 \begin_layout Standard
22776 \begin_inset Note Greyedout
22779 \begin_layout Standard
22784 The command is ignored when it is within a paragraph where also the command
22799 \begin_layout Standard
22800 \begin_inset VSpace bigskip
22807 \begin_inset Marginal
22810 \begin_layout Standard
22811 AVeryLongMarginParWord that isn't hyphenated.
22819 Similar to the case described in section\InsetSpace ~
22821 \begin_inset LatexCommand ref
22822 reference "sub:Multiple-Lines-in"
22826 , long words cannot be hyphenated when they are the first word in a margin
22828 To avoid this, insert the command
22831 \begin_layout Standard
22839 \begin_layout Standard
22840 in ERT before the word
22844 \begin_inset Marginal
22847 \begin_layout Standard
22851 \begin_layout Standard
22860 AVeryLongMarginParWord that is hyphenated.
22868 \begin_layout Standard
22869 \begin_inset VSpace bigskip
22875 \begin_layout Standard
22876 \begin_inset Note Greyedout
22879 \begin_layout Standard
22884 Margin notes can normally not be used inside tables, floats, and footnotes.
22892 \begin_layout Standard
22893 \begin_inset VSpace bigskip
22899 \begin_layout Standard
22903 \begin_layout Standard
22913 \begin_inset Note Note
22916 \begin_layout Standard
22917 The following section will only be displayed when you have the LaTeX-package
22930 \begin_layout Standard
22931 This restriction can be evaded by using the LaTeX-package
22936 \begin_inset LatexCommand index
22937 name "LaTeX-packages ! marginnote"
22942 By adding these two lines to your document preamble, the command used by
22943 LyX for margin notes is redefined to use the command provided by the
22950 \begin_layout Standard
22955 usepackage{marginnote}
22966 \begin_layout Standard
22967 This is also used in this document because
22971 has another useful feature: You can set a vertical offset for the note.
22972 This is often needed when too many margin notes are too close together
22973 or for a better page layout.
22974 The offset is set in LyX as ERT directly behind the margin note in the
22978 \begin_layout Standard
22984 \begin_layout Standard
22985 where the offset is a length with one of the units listed in Table\InsetSpace ~
22987 \begin_inset LatexCommand ref
22988 reference "tab:Units"
22993 A negative value shifts the note up, a positive value shifts it down.
22997 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23000 \begin_inset Quotes eld
23010 \begin_inset Quotes erd
23014 \begin_inset Marginal
23017 \begin_layout Standard
23018 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23019 cm from its original position.
23031 \begin_layout Standard
23041 \begin_layout Standard
23042 \begin_inset VSpace defskip
23049 you can also change the alignment of the text in the margin note.
23050 For example the commands
23053 \begin_layout Standard
23060 raggedleftmarginnote}{
23068 raggedrightmarginnote}{
23073 \begin_layout Standard
23074 set the alignment to centered.
23079 raggedleftmarginnote
23081 denotes margin notes that appear at the left side.
23088 \begin_layout Standard
23094 raggedleftmarginnote}{
23099 \begin_layout Standard
23105 raggedrightmarginnote}{
23113 \begin_inset Marginal
23116 \begin_layout Standard
23117 The text of this margin note is centered.
23128 \begin_layout Standard
23135 raggedleftmarginnote}{
23143 raggedrightmarginnote}{
23152 \begin_layout Standard
23158 raggedleftmarginnote}{
23163 \begin_layout Standard
23169 raggedrightmarginnote}{
23179 \begin_layout Standard
23180 \begin_inset VSpace defskip
23183 For the other features of
23187 we refer to its documentation
23188 \begin_inset LatexCommand cite
23196 \begin_layout Standard
23197 \begin_inset VSpace bigskip
23200 You can change the layout of margin notes by redefining its definition.
23201 To create for example a header for all margin notes with the underlined,
23202 sans-serif, and bold header text
23203 \begin_inset Quotes eld
23215 \begin_inset Quotes erd
23218 , add this to your document preamble:
23221 \begin_layout Standard
23244 \begin_layout Standard
23261 underbar{Attention!}}}%
23267 \begin_layout Standard
23285 \begin_layout Standard
23292 \begin_layout Standard
23303 \begin_layout Standard
23314 \begin_layout Standard
23322 underbar{Attention!}}}%
23325 \begin_layout Standard
23339 \begin_inset Marginal
23342 \begin_layout Standard
23343 This is a margin note with a defined heading.
23355 \begin_layout Standard
23369 \begin_layout Standard
23386 \begin_inset Note Note
23389 \begin_layout Standard
23390 The margin note format is changed only for this example.
23398 \begin_layout Standard
23402 \begin_layout Standard
23412 \begin_inset Note Note
23415 \begin_layout Standard
23416 The following will be displayed when the LaTeX-package
23428 \begin_layout Standard
23429 You need to install the LaTeX-package
23433 to see the following part of this section in the output.
23436 \begin_layout Standard
23440 \begin_layout Standard
23452 \begin_layout Chapter
23456 \begin_layout Section
23458 \begin_inset LatexCommand index
23459 name "Boxes ! Introduction"
23466 \begin_layout Standard
23467 Boxes are used to format a block of text.
23468 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23470 \begin_inset LatexCommand ref
23471 reference "sec:Minipages"
23475 , to frame texts, see section\InsetSpace ~
23477 \begin_inset LatexCommand ref
23478 reference "sec:Framed-Boxes"
23482 , to prevent words to be hyphenated, see section\InsetSpace ~
23484 \begin_inset LatexCommand ref
23485 reference "sec:Prevent-Hyphenation"
23489 , to align text, see section\InsetSpace ~
23491 \begin_inset LatexCommand ref
23492 reference "sub:Vertical-Alignment"
23496 , or to set the background color of texts, see section\InsetSpace ~
23498 \begin_inset LatexCommand ref
23499 reference "sec:Colored-Boxes"
23506 \begin_layout Standard
23507 Boxes can be inserted with the menu
23509 Insert\SpecialChar \menuseparator
23513 A grey box with the label
23518 \begin_inset Graphics
23519 filename ../clipart/BoxInsetDefaultQt4.png
23524 , will be inserted.
23525 The box type can be specified by right-clicking on the box.
23526 The appearing box dialog offers the
23544 is the default for new boxes and is explained in section\InsetSpace ~
23546 \begin_inset LatexCommand ref
23547 reference "sec:Minipages"
23555 is described in section\InsetSpace ~
23557 \begin_inset LatexCommand ref
23558 reference "sec:Parboxes"
23565 \begin_layout Standard
23566 Boxes aren't numbered and can therefore not be referenced like floats or
23570 \begin_layout Standard
23571 \begin_inset Note Greyedout
23574 \begin_layout Standard
23579 Due to a bug in LyX you have to insert a protected space behind a box when
23580 you want to separate in a line the box from the following text with a space.
23588 \begin_layout Standard
23589 \begin_inset Note Greyedout
23592 \begin_layout Standard
23597 Boxes must not be the item in an
23613 \begin_layout Standard
23614 \begin_inset Note Greyedout
23617 \begin_layout Standard
23622 For an unknown reason you can only set the
23631 when you use a framed box.
23637 type and without frames are explained in section\InsetSpace ~
23639 \begin_inset LatexCommand ref
23640 reference "sec:Prevent-Hyphenation"
23652 \begin_layout Section
23654 \begin_inset LatexCommand label
23655 name "sec:Box-Dialog"
23660 \begin_inset LatexCommand index
23661 name "Boxes ! Box Dialog"
23666 \begin_inset LatexCommand index
23667 name "Boxes ! Alignment"
23674 \begin_layout Standard
23675 In the box dialog you can adjust the box geometry in the fields
23684 The available units for the geometry are explained in Table\InsetSpace ~
23686 \begin_inset LatexCommand ref
23687 reference "tab:Units"
23696 offers the following additional sizes:
23699 \begin_layout Description
23700 Depth This is the plain text
23701 \begin_inset Quotes eld
23705 \begin_inset Quotes erd
23709 It ignores the total depth when there are multiple text lines in the box:
23716 \begin_inset Box Boxed
23725 height_special "depth"
23728 \begin_layout Standard
23730 Box height set to 1\InsetSpace \thinspace{}
23743 \begin_layout Description
23744 Height This is the heigth of the text that is inside the box.
23745 A value of e.\InsetSpace \thinspace{}
23747 2 for this size will set the box heigth to 2 times the text
23749 \begin_inset Box Boxed
23758 height_special "height"
23761 \begin_layout Standard
23763 Box height set to 2\InsetSpace \thinspace{}
23772 \begin_layout Description
23774 Height This is the Height\InsetSpace \thinspace{}
23775 +\InsetSpace \thinspace{}
23777 \begin_inset Box Boxed
23786 height_special "totalheight"
23789 \begin_layout Standard
23791 Box height set to 1\InsetSpace \thinspace{}
23801 \begin_layout Description
23802 Width This set the width of the box as heigth:
23803 \begin_inset Box Boxed
23812 height_special "width"
23815 \begin_layout Standard
23817 Box height set to 1\InsetSpace \thinspace{}
23826 \begin_layout Standard
23827 \begin_inset VSpace bigskip
23830 When you have chosen an
23835 , the vertical box alignment can be:
23838 \begin_layout Description
23839 Top This is an example text line.
23841 \begin_inset Box Boxed
23850 height_special "totalheight"
23853 \begin_layout Standard
23855 This box is top-aligned.
23861 This is an example text line.
23864 \begin_layout Description
23865 Middle This is an example text line.
23867 \begin_inset Box Boxed
23876 height_special "totalheight"
23879 \begin_layout Standard
23881 This box is middle-aligned.
23887 This is an example text line.
23890 \begin_layout Description
23891 Bottom This is an example text line.
23893 \begin_inset Box Boxed
23902 height_special "totalheight"
23905 \begin_layout Standard
23907 This box is bottom-aligned.
23913 This is an example text line.
23916 \begin_layout Standard
23917 The horizontal box alignment can be set via LyX's paragraph dialog when
23918 you set the box into its own paragraph.
23921 \begin_layout Standard
23922 \begin_inset VSpace bigskip
23925 When you have chosen an
23930 , the box content can be vertical aligned to:
23933 \begin_layout Description
23934 top This is an example text line.
23936 \begin_inset Box Boxed
23945 height_special "totalheight"
23948 \begin_layout Standard
23950 This box text is top-aligned.
23956 This is an example text line.
23959 \begin_layout Description
23960 middle This is an example text line.
23962 \begin_inset Box Boxed
23971 height_special "totalheight"
23974 \begin_layout Standard
23976 This box text is middle-aligned.
23982 This is an example text line.
23985 \begin_layout Description
23986 bottom This is an example text line.
23988 \begin_inset Box Boxed
23997 height_special "totalheight"
24000 \begin_layout Standard
24002 This box text is bottom-aligned.
24008 This is an example text line.
24011 \begin_layout Description
24012 stretch This is an example text line.
24014 \begin_inset Box Boxed
24023 height_special "totalheight"
24026 \begin_layout Standard
24031 \begin_layout Standard
24036 \begin_layout Standard
24044 This is an example text line.
24047 \begin_layout Standard
24048 To stretch the box content, it must consist of more than one paragraph.
24049 In the example above every text line is in an own paragraph.
24052 \begin_layout Standard
24053 \begin_inset VSpace bigskip
24056 To align the box content horizontally you can use LyX's paragraph dialog
24057 when you have chosen an
24065 \begin_layout Standard
24067 \begin_inset Box Boxed
24076 height_special "totalheight"
24079 \begin_layout Standard
24084 \begin_layout Standard
24089 \begin_layout Standard
24099 \begin_layout Standard
24100 If you haven't set an
24105 , you can align the box content horizontally in the box dialog.
24108 \begin_layout Standard
24110 \begin_inset Box Boxed
24119 height_special "totalheight"
24122 \begin_layout Standard
24124 This box text is horizontally stretched.
24132 \begin_layout Section
24134 \begin_inset LatexCommand label
24135 name "sec:Framed-Boxes"
24140 \begin_inset LatexCommand index
24141 name "Boxes ! Frames"
24148 \begin_layout Standard
24149 The frame style of the box can be specified in the box-dialog in the drop-down
24155 The following frame types are possible:
24158 \begin_layout Description
24159 Rectangular\InsetSpace ~
24160 box This draws a rectangle frame around the box.
24161 The frame line thickness has the size of
24169 \begin_inset Box Boxed
24178 height_special "totalheight"
24181 \begin_layout Standard
24191 \begin_layout Description
24194 thin This draws an oval frame around the box.
24195 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24198 \begin_inset Box ovalbox
24207 height_special "totalheight"
24210 \begin_layout Standard
24220 \begin_layout Description
24223 thick This draws an oval frame around the box.
24224 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24227 \begin_inset Box Ovalbox
24236 height_special "totalheight"
24239 \begin_layout Standard
24249 \begin_layout Description
24250 Shadow\InsetSpace ~
24251 box This draws a rectangle frame with a shadow around the box.
24252 The frame line thickness has the size of
24258 , the shadow has a width of 4\InsetSpace \thinspace{}
24261 \begin_inset Box Shadowbox
24270 height_special "totalheight"
24273 \begin_layout Standard
24283 \begin_layout Description
24284 Double\InsetSpace ~
24285 box This draws a double-line rectangle frame around the box.
24286 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24293 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24301 The distance between the lines is 1.5\InsetSpace \thinspace{}
24308 \InsetSpace \thinspace{}
24309 +\InsetSpace \thinspace{}
24310 0.5\InsetSpace \thinspace{}
24313 \begin_inset Box Doublebox
24322 height_special "totalheight"
24325 \begin_layout Standard
24335 \begin_layout Standard
24336 \begin_inset VSpace bigskip
24339 LyX's box label will change to the used frame style when you set a frame.
24340 To be able to use the different frame styles, the LaTeX-package
24345 \begin_inset LatexCommand index
24346 name "LaTeX-packages ! fancybox"
24353 \begin_layout Standard
24354 \begin_inset VSpace bigskip
24357 The default value for the size
24363 is 0.4\InsetSpace \thinspace{}
24365 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24367 2\InsetSpace \thinspace{}
24371 \begin_layout Standard
24381 \begin_layout Standard
24385 \begin_layout Standard
24397 \begin_inset Box Boxed
24406 height_special "totalheight"
24409 \begin_layout Standard
24411 Rectangular box with
24417 \InsetSpace \thinspace{}
24418 =\InsetSpace \thinspace{}
24419 2\InsetSpace \thinspace{}
24429 \begin_layout Standard
24443 \begin_layout Standard
24444 \begin_inset VSpace bigskip
24447 The space between the frame and the box content is for all frame styles
24448 by default 3\InsetSpace \thinspace{}
24450 You can change it by setting the length
24457 For example the command
24460 \begin_layout Standard
24470 \begin_layout Standard
24471 sets the value to 10\InsetSpace \thinspace{}
24472 pt, like for the following box:
24475 \begin_layout Standard
24479 \begin_layout Standard
24491 \begin_inset Box Boxed
24500 height_special "totalheight"
24503 \begin_layout Standard
24505 Rectangular box with
24511 \InsetSpace \thinspace{}
24512 =\InsetSpace \thinspace{}
24513 10\InsetSpace \thinspace{}
24523 \begin_layout Standard
24537 \begin_layout Standard
24538 \begin_inset VSpace bigskip
24541 The diameter of the round corners of the oval boxes can be set with the
24552 \begin_layout Standard
24560 \begin_layout Standard
24561 sets the diameter to 1\InsetSpace \thinspace{}
24566 \begin_layout Standard
24574 \begin_layout Standard
24575 sets the diameter to
24577 num\InsetSpace \thinspace{}
24578 ×\InsetSpace \thinspace{}
24579 minimum(width and heigth of box)
24591 \begin_layout Standard
24595 \begin_layout Standard
24605 \begin_inset Box Ovalbox
24614 height_special "totalheight"
24617 \begin_layout Standard
24625 \InsetSpace \thinspace{}
24626 =\InsetSpace \thinspace{}
24627 1.5\InsetSpace \thinspace{}
24637 \begin_layout Standard
24649 \begin_layout Standard
24650 \begin_inset VSpace bigskip
24653 The size of the shadow can be adjusted by changing the length
24660 It it set to 2\InsetSpace \thinspace{}
24661 pt for the following box by this command:
24664 \begin_layout Standard
24674 \begin_layout Standard
24678 \begin_layout Standard
24690 \begin_inset Box Shadowbox
24699 height_special "totalheight"
24702 \begin_layout Standard
24710 \InsetSpace \thinspace{}
24711 =\InsetSpace \thinspace{}
24712 2\InsetSpace \thinspace{}
24722 \begin_layout Standard
24736 \begin_layout Standard
24737 \begin_inset VSpace bigskip
24740 Changed lengths and widths are valid for all boxes following the commands
24744 \begin_layout Section
24746 \begin_inset LatexCommand label
24747 name "sec:Minipages"
24752 \begin_inset LatexCommand index
24753 name "Boxes ! Minipages"
24760 \begin_layout Standard
24761 Minipages are treated by LaTeX as pages within pages and can therefore for
24762 example have their own footnotes.
24765 \begin_layout Standard
24766 Minipages are useful when you write documents with different languages.
24769 \begin_layout Standard
24770 Below are two example minipages side by side.
24771 Their width is set to 45\InsetSpace \thinspace{}
24772 col% and they are separated by a horizontal fill,
24773 that was inserted via the menu
24775 Insert\SpecialChar \menuseparator
24776 Special\InsetSpace ~
24777 Formatting\SpecialChar \menuseparator
24778 Horizontal\InsetSpace ~
24784 \begin_layout Standard
24785 \begin_inset Box Frameless
24794 height_special "totalheight"
24797 \begin_layout Standard
24800 Dies ist ein deutscher Text.
24801 Dies ist ein deutscher Text.
24802 Dies ist ein deutscher Text.
24803 Dies ist ein deutscher Text.
24804 Dies ist ein deutscher Text.
24805 Dies ist ein deutscher Text.
24806 Dies ist ein deutscher Text.
24807 Dies ist ein deutscher Text.
24808 Dies ist ein deutscher Text.
24809 Dies ist ein deutscher Text.
24810 Dies ist ein deutscher Text.
24811 Dies ist ein deutscher Text.
24812 Dies ist ein deutscher Text
24816 \begin_layout Standard
24819 Dies ist eine deutsche Fußnote.
24825 Dies ist ein deutscher Text.
24826 Dies ist ein deutscher Text.
24834 \begin_inset Box Frameless
24843 height_special "totalheight"
24846 \begin_layout Standard
24847 This is an English Text.
24848 This is an English Text.
24849 This is an English Text.
24850 This is an English Text.
24851 This is an English Text.
24852 This is an English Text.
24853 This is an English Text.
24854 This is an English Text.
24855 This is an English Text.
24856 This is an English Text.
24857 This is an English Text.
24858 This is an English Text.
24859 This is an English Text.
24860 This is an English Text.
24861 This is an English Text.
24862 This is an English Text.
24866 \begin_layout Standard
24867 This is an English footnote.
24872 This is an English Text.
24881 \begin_layout Standard
24882 \begin_inset VSpace bigskip
24885 Another application for minipages are footnotes within tables.
24886 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24887 bottom of the current page.
24888 But when you put the table with the footnote to a minipage, the footnote
24889 will appear at its bottom, numbered with Latin letters.
24890 The footnote number is reset to 1 in every minipage but not outside the
24894 \begin_layout Standard
24895 The footnote of this table doesn't appear:
24896 \begin_inset Tabular
24897 <lyxtabular version="3" rows="3" columns="4">
24899 <column alignment="center" valignment="top" leftline="true" width="0pt">
24900 <column alignment="center" valignment="top" leftline="true" width="0pt">
24901 <column alignment="center" valignment="top" leftline="true" width="0pt">
24902 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24903 <row topline="true">
24904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24907 \begin_layout Standard
24913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24916 \begin_layout Standard
24922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24925 \begin_layout Standard
24930 \begin_layout Standard
24931 This is a footnote within a table.
24941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24944 \begin_layout Standard
24951 <row topline="true">
24952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24955 \begin_layout Standard
24961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24964 \begin_layout Standard
24970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24973 \begin_layout Standard
24979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24982 \begin_layout Standard
24989 <row topline="true" bottomline="true">
24990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24993 \begin_layout Standard
24999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25002 \begin_layout Standard
25008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25011 \begin_layout Standard
25017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25020 \begin_layout Standard
25034 \begin_layout Standard
25036 \begin_inset Box Frameless
25045 height_special "totalheight"
25048 \begin_layout Standard
25050 \begin_inset Tabular
25051 <lyxtabular version="3" rows="3" columns="4">
25053 <column alignment="center" valignment="top" leftline="true" width="0pt">
25054 <column alignment="center" valignment="top" leftline="true" width="0pt">
25055 <column alignment="center" valignment="top" leftline="true" width="0pt">
25056 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25057 <row topline="true">
25058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25061 \begin_layout Standard
25067 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25070 \begin_layout Standard
25076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25079 \begin_layout Standard
25084 \begin_layout Standard
25085 This is a footnote within a table.
25095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25098 \begin_layout Standard
25105 <row topline="true">
25106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25109 \begin_layout Standard
25115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25118 \begin_layout Standard
25124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25127 \begin_layout Standard
25133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25136 \begin_layout Standard
25143 <row topline="true" bottomline="true">
25144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25147 \begin_layout Standard
25153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25156 \begin_layout Standard
25162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25165 \begin_layout Standard
25171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25174 \begin_layout Standard
25193 \begin_layout Standard
25194 \begin_inset VSpace bigskip
25197 The document-wide paragraph settings are ignored within minipages.
25198 That means that there will be no space between paragraphs in minipages
25199 although you set it to e.\InsetSpace \thinspace{}
25205 in the document settings.
25208 \begin_layout Standard
25209 Minipages can also be used to set a background color for text parts, see
25210 section\InsetSpace ~
25212 \begin_inset LatexCommand ref
25213 reference "sub:Color-for-Paragraphs"
25220 \begin_layout Standard
25221 \begin_inset Note Greyedout
25224 \begin_layout Standard
25229 You cannot have floats or margin notes inside minipages but minipages can
25230 be used inside tables, floats, and other boxes.
25238 \begin_layout Section
25240 \begin_inset LatexCommand label
25241 name "sec:Parboxes"
25246 \begin_inset LatexCommand index
25247 name "Boxes ! Parboxes"
25254 \begin_layout Standard
25255 Parboxes are very similar to minipages with the difference that they cannot
25257 The main difference to minipages is that minipages are in contrary to parboxes
25258 no real boxes but LaTeX-environments.
25261 \begin_layout Standard
25263 \begin_inset Box Frameless
25272 height_special "totalheight"
25275 \begin_layout Standard
25276 This a text within a parbox.
25277 This a text within a parbox.
25280 \begin_layout Standard
25281 This footnote won't appear:
25285 \begin_layout Standard
25286 This footnote is inside a parbox and will therefore not appear.
25299 \begin_layout Section
25300 Boxes for Words and Characters
25301 \begin_inset LatexCommand index
25302 name "Boxes ! for Characters"
25309 \begin_layout Subsection
25310 Prevent Hyphenation
25311 \begin_inset LatexCommand label
25312 name "sec:Prevent-Hyphenation"
25317 \begin_inset LatexCommand index
25318 name "Boxes ! to Prevent Hyphenation"
25325 \begin_layout Standard
25326 You can use a special kind of boxes to prevent words or text to be hyphenated.
25329 e is an example text:
25332 \begin_layout Standard
25333 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25339 \begin_layout Standard
25340 To prevent the hyphenation of the word
25341 \begin_inset Quotes eld
25345 \begin_inset Quotes erd
25351 \begin_layout Standard
25359 \begin_layout Standard
25360 in ERT before the word.
25361 Behind the word insert a closing brace
25362 \begin_inset Quotes eld
25370 \begin_inset Quotes erd
25377 \begin_layout Standard
25389 \begin_layout Standard
25390 This is the result:
25393 \begin_layout Standard
25394 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25400 \begin_layout Standard
25413 \begin_layout Standard
25423 \begin_layout Standard
25424 Of course the word now protrudes over the side margin.
25425 To avoid this, add via the menu
25427 Insert\SpecialChar \menuseparator
25428 Special\InsetSpace ~
25429 Formatting\SpecialChar \menuseparator
25437 ) a line break before the word:
25440 \begin_layout Standard
25441 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25449 \begin_layout Standard
25462 \begin_layout Standard
25472 \begin_layout Subsection
25474 \begin_inset LatexCommand label
25475 name "sub:Vertical-Alignment"
25480 \begin_inset LatexCommand index
25481 name "Boxes ! for Vertical Alignment"
25486 \begin_inset LatexCommand index
25487 name "Boxes ! Raiseboxes"
25494 \begin_layout Standard
25495 With the help of the command
25501 you can align words, characters or other boxes vertically to the surrounding
25509 is used with the following scheme:
25512 \begin_layout Standard
25517 raisebox{lift}[height][depth]{box content}
25520 \begin_layout Standard
25521 The lift can be a positive value to raise the box or a negative value to
25525 \begin_layout Standard
25526 To align for example the word
25527 \begin_inset Quotes eld
25531 \begin_inset Quotes erd
25534 so that the bottom of the
25535 \begin_inset Quotes eld
25539 \begin_inset Quotes erd
25543 \begin_inset Quotes eld
25547 \begin_inset Quotes erd
25550 is at the baseline, insert the command
25553 \begin_layout Standard
25563 \begin_layout Standard
25564 in ERT before the word.
25565 Behind the word insert a closing brace
25566 \begin_inset Quotes eld
25574 \begin_inset Quotes erd
25579 This is the result:
25582 \begin_layout Standard
25583 This is a text line with the word
25587 \begin_layout Standard
25599 \begin_inset Quotes eld
25603 \begin_inset Quotes erd
25610 \begin_layout Standard
25620 \begin_layout Standard
25621 \begin_inset VSpace bigskip
25624 When you raise or lower characters in a line, the line distance will be
25628 \begin_layout Standard
25629 This is a text line with the word
25633 \begin_layout Standard
25645 \begin_inset Quotes eld
25649 \begin_inset Quotes erd
25656 \begin_layout Standard
25665 This is a text line with the word
25669 \begin_layout Standard
25679 \begin_inset Quotes eld
25683 \begin_inset Quotes erd
25690 \begin_layout Standard
25700 \begin_layout Standard
25701 If you want to prevent this for a certain reason, set the box height to
25706 \begin_layout Standard
25716 \begin_layout Standard
25717 This is a text line with the word
25721 \begin_layout Standard
25733 \begin_inset Quotes eld
25737 \begin_inset Quotes erd
25744 \begin_layout Standard
25753 This is a text line with the word
25757 \begin_layout Standard
25761 raisebox{0.5cm}[0pt]{
25767 \begin_inset Quotes eld
25771 \begin_inset Quotes erd
25778 \begin_layout Standard
25788 \begin_layout Section
25790 \begin_inset LatexCommand label
25791 name "sec:Colored-Boxes"
25796 \begin_inset LatexCommand index
25797 name "Boxes ! Color"
25804 \begin_layout Subsection
25806 \begin_inset LatexCommand index
25807 name "Color ! for Text"
25814 \begin_layout Standard
25815 To color the background of text the text must be put into a so called colorbox.
25816 This requires that the LaTeX-package
25821 \begin_inset LatexCommand index
25822 name "LaTeX-packages ! color"
25826 is loaded in the document preamble with the command
25829 \begin_layout Standard
25834 @ifundef\SpecialChar \textcompwordmark{}
25841 \begin_layout Standard
25852 usepackage{color}}{}
25855 \begin_layout Standard
25860 will be loaded automatically by LyX when you color text
25864 \begin_layout Standard
25865 To avoid that it is loaded twice the command
25869 @ifundef\SpecialChar \textcompwordmark{}
25880 \begin_layout Standard
25881 \begin_inset VSpace medskip
25884 Colorboxes are created with the command
25891 This will be used with the following scheme:
25894 \begin_layout Standard
25899 colorbox{color}{box content}
25902 \begin_layout Standard
25903 The box content can also be a box and colorboxes can also be within other
25907 \begin_layout Standard
25908 The following colors are predefined:
25946 You can also define your own color as described in section\InsetSpace ~
25948 \begin_inset LatexCommand ref
25949 reference "sec:Colored-Tables"
25956 \begin_layout Standard
25957 To have e.\InsetSpace \thinspace{}
25959 a red background for a word, insert the command
25962 \begin_layout Standard
25970 \begin_layout Standard
25971 before the word in ERT.
25972 Behind the word insert a closing brace
25973 \begin_inset Quotes eld
25981 \begin_inset Quotes erd
25986 This is the result:
25989 \begin_layout Standard
25990 This is a line where the word
25994 \begin_layout Standard
26004 \begin_inset Quotes eld
26008 \begin_inset Quotes erd
26015 \begin_layout Standard
26022 has a red background.
26025 \begin_layout Standard
26026 \begin_inset VSpace bigskip
26029 If you would have the box frame in a different color, you can use the command
26036 with the following scheme:
26039 \begin_layout Standard
26044 fcolorbox{frame color}{box color}{box content}
26047 \begin_layout Standard
26061 The frame thickness and the space between the frame and the box content
26062 can be adjusted with the lengths
26074 , respectively, as described in section\InsetSpace ~
26076 \begin_inset LatexCommand ref
26077 reference "sec:Framed-Boxes"
26084 \begin_layout Standard
26085 For the following example the command
26088 \begin_layout Standard
26093 fcolorbox{cyan}{magenta}{
26096 \begin_layout Standard
26100 \begin_layout Standard
26101 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26108 \begin_layout Standard
26123 \begin_layout Standard
26127 fcolorbox{cyan}{magenta}{
26132 This is text within a colored, framed box.
26136 \begin_layout Standard
26146 \begin_layout Standard
26147 \begin_inset VSpace bigskip
26150 Of course you can also have colored text inside a colorbox:
26156 \begin_layout Standard
26160 fcolorbox{cyan}{magenta}{
26167 This is colored text within a colored, framed box.
26173 \begin_layout Standard
26184 \begin_layout Standard
26198 \begin_layout Standard
26201 \begin_inset VSpace medskip
26207 \begin_layout Standard
26208 \begin_inset Note Greyedout
26211 \begin_layout Standard
26216 Text in colorboxes cannot have line breaks.
26217 To color multiple text lines or paragraphs, use a box inside a colorbox
26218 as described in the following.
26226 \begin_layout Subsection
26227 Color for Paragraphs
26228 \begin_inset LatexCommand label
26229 name "sub:Color-for-Paragraphs"
26234 \begin_inset LatexCommand index
26235 name "Color ! for Paragraphs"
26242 \begin_layout Standard
26243 To set the background color for more than one text line, put the text into
26245 Before the minipage insert the
26254 \begin_layout Standard
26262 \begin_layout Standard
26264 Behind the minipage insert a closing brace
26265 \begin_inset Quotes eld
26273 \begin_inset Quotes erd
26279 \begin_layout Standard
26283 \begin_layout Standard
26287 colorbox{lightgrey}{
26293 \begin_inset Box Frameless
26302 height_special "totalheight"
26305 \begin_layout Standard
26306 This is text with background color.
26307 This is text with background color.
26310 \begin_layout Standard
26311 \begin_inset VSpace defskip
26314 The text can have footnotes
26318 \begin_layout Standard
26319 Another example footnote
26324 and can include tables and figures.
26327 \begin_layout Standard
26329 \begin_inset Tabular
26330 <lyxtabular version="3" rows="3" columns="3">
26332 <column alignment="center" valignment="top" leftline="true" width="0">
26333 <column alignment="center" valignment="top" leftline="true" width="0">
26334 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26335 <row topline="true">
26336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26339 \begin_layout Standard
26345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26348 \begin_layout Standard
26354 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26357 \begin_layout Standard
26364 <row topline="true">
26365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26368 \begin_layout Standard
26374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26377 \begin_layout Standard
26379 \begin_inset Quotes erd
26387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26390 \begin_layout Standard
26397 <row topline="true" bottomline="true">
26398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26401 \begin_layout Standard
26407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26410 \begin_layout Standard
26416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26419 \begin_layout Standard
26439 \begin_layout Standard
26449 \begin_layout Section
26450 URLs (Uniform Resource Locators)
26451 \begin_inset LatexCommand index
26459 \begin_layout Standard
26460 Links to web pages or email addresses can be inserted via the menu
26462 Insert\SpecialChar \menuseparator
26466 The appearing URL dialog has two fields; the
26474 field for the URL description, which will be typeset as plain text immediately
26478 \begin_layout Standard
26479 Here is an example URL:
26480 \begin_inset LatexCommand url
26481 name "LyX's homepage"
26482 target "http://www.lyx.org"
26489 \begin_layout Standard
26492 Generate\InsetSpace ~
26495 in the URL dialog has only an affect when you export your document to the
26497 \begin_inset Quotes eld
26505 \begin_inset Quotes erd
26511 \begin_layout Standard
26512 You cannot change the style of the link text.
26517 field will have the default text style of the document while the text of
26522 field will have the style
26523 \begin_inset Quotes eld
26531 \begin_inset Quotes erd
26537 \begin_layout Standard
26538 When you use the LaTeX-package
26543 \begin_inset LatexCommand index
26544 name "LaTeX-packages ! hyperref"
26548 to link cross-references in the output, URLs will automatically become
26549 clickable hyperlinks in DVI and PDF-output.
26552 \begin_layout Standard
26553 \begin_inset Note Greyedout
26556 \begin_layout Standard
26561 When you use the following characters: "%", "#", "^", you have to write
26562 them with a preceding backslash, e.\InsetSpace \thinspace{}
26565 \begin_inset Quotes eld
26571 \begin_inset Quotes erd
26575 URLs must not end with a backslash.
26583 \begin_layout Standard
26584 \begin_inset VSpace bigskip
26587 To create real hyperlinks without the force to write the link location to
26588 the text, you can use the command
26591 \begin_layout Standard
26596 href{link location}{link text}
26599 \begin_layout Standard
26601 To get for example a link to LyX's web page, write the command
26604 \begin_layout Standard
26609 href{http://www.lyx.org}{
26612 \begin_layout Standard
26614 Insert after the command the link text
26615 \begin_inset Quotes eld
26619 \begin_inset Quotes erd
26622 as normal text followed by a closing brace
26623 \begin_inset Quotes eld
26631 \begin_inset Quotes erd
26635 This is the result:
26639 \begin_layout Standard
26643 href{http://www.lyx.org}{
26652 \begin_layout Standard
26662 \begin_layout Standard
26663 To link to email addresses, add the prefix
26664 \begin_inset Quotes eld
26672 \begin_inset Quotes erd
26675 to the link location:
26681 \begin_layout Standard
26685 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26690 lyx-docs mailing list
26694 \begin_layout Standard
26704 \begin_layout Standard
26711 instead of LyX's URL box has the advantage that you can specify the text
26712 style of the link text like for all other text parts.
26713 You can therefore set hyphenation points and forced linebreaks to have
26714 long link text broken at the page margin.
26715 You are furthermore able to change the text style for all URLs in your
26716 document with an option in
26720 's load command and the restrictions mentioned above doesn't apply for
26729 \begin_layout Standard
26735 \begin_layout Chapter
26741 \begin_layout Standard
26754 \begin_layout Standard
26762 \begin_inset LatexCommand index
26768 \begin_inset LatexCommand label
26769 name "cha:Units-available-in"
26774 \begin_inset Note Note
26777 \begin_layout Standard
26780 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26781 are displayed wrongly in PDF-bookmarks.
26782 For more information about this, have a look at
26783 \begin_inset LatexCommand cite
26796 \begin_layout Standard
26797 To understand the units described in this documentation, Table\InsetSpace ~
26799 \begin_inset LatexCommand ref
26800 reference "tab:Units"
26804 explains all units available in LyX.
26807 \begin_layout Standard
26808 \begin_inset Float table
26814 \begin_layout Standard
26815 \begin_inset Caption
26817 \begin_layout Standard
26818 \begin_inset LatexCommand label
26831 \begin_layout Standard
26832 \begin_inset VSpace medskip
26838 \begin_layout Standard
26840 \begin_inset Tabular
26841 <lyxtabular version="3" rows="20" columns="2">
26843 <column alignment="center" valignment="top" leftline="true" width="0">
26844 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26845 <row topline="true" bottomline="true">
26846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26849 \begin_layout Standard
26855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26858 \begin_layout Standard
26865 <row topline="true">
26866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26869 \begin_layout Standard
26875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26878 \begin_layout Standard
26885 <row topline="true">
26886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26889 \begin_layout Standard
26895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26898 \begin_layout Standard
26905 <row topline="true">
26906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26909 \begin_layout Standard
26915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26918 \begin_layout Standard
26925 <row topline="true">
26926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26929 \begin_layout Standard
26935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26938 \begin_layout Standard
26939 point (72.27\InsetSpace \thinspace{}
26940 pt = 1\InsetSpace \thinspace{}
26947 <row topline="true">
26948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26951 \begin_layout Standard
26957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26960 \begin_layout Standard
26961 pica (1\InsetSpace \thinspace{}
26962 pc = 12\InsetSpace \thinspace{}
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
26983 scaled point (65536\InsetSpace \thinspace{}
26984 sp = 1\InsetSpace \thinspace{}
26991 <row topline="true">
26992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26995 \begin_layout Standard
27001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27004 \begin_layout Standard
27005 big point (72\InsetSpace \thinspace{}
27006 bp = 1\InsetSpace \thinspace{}
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
27027 didot (72\InsetSpace \thinspace{}
27029 \begin_inset Formula $\approx$
27032 37.6\InsetSpace \thinspace{}
27039 <row topline="true">
27040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27043 \begin_layout Standard
27049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27052 \begin_layout Standard
27053 cicero (1\InsetSpace \thinspace{}
27054 cc = 12\InsetSpace \thinspace{}
27061 <row topline="true">
27062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27065 \begin_layout Standard
27071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27074 \begin_layout Standard
27075 % of original image width
27081 <row topline="true">
27082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27085 \begin_layout Standard
27091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27094 \begin_layout Standard
27101 <row topline="true">
27102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27105 \begin_layout Standard
27111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27114 \begin_layout Standard
27121 <row topline="true">
27122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27125 \begin_layout Standard
27131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27134 \begin_layout Standard
27141 <row topline="true">
27142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27145 \begin_layout Standard
27151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27154 \begin_layout Standard
27161 <row topline="true">
27162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27165 \begin_layout Standard
27171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27174 \begin_layout Standard
27181 <row topline="true">
27182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27185 \begin_layout Standard
27191 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27194 \begin_layout Standard
27201 <row topline="true">
27202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27205 \begin_layout Standard
27211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27214 \begin_layout Standard
27225 <row topline="true">
27226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27229 \begin_layout Standard
27235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27238 \begin_layout Standard
27249 <row topline="true" bottomline="true">
27250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27253 \begin_layout Standard
27259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27262 \begin_layout Standard
27263 math unit (1\InsetSpace \thinspace{}
27264 mu = 1/18\InsetSpace \thinspace{}
27283 \begin_layout Chapter
27284 Output File Formats with Graphics
27285 \begin_inset LatexCommand label
27286 name "cha:Output-File-Formats"
27293 \begin_layout Section
27295 \begin_inset LatexCommand index
27296 name "File Formats ! DVI"
27301 \begin_inset LatexCommand index
27302 name "DVI|see{File Formats}"
27309 \begin_layout Standard
27310 This file type has the extension
27311 \begin_inset Quotes eld
27319 \begin_inset Quotes erd
27324 \begin_inset Quotes eld
27328 \begin_inset Quotes erd
27331 (DVI), because it is completely portable; you can move them from one machine
27332 to another without needing to do any sort of conversion.
27333 At the time when this file-format was developed, this was no matter of
27335 DVIs are used for quick previews and as pre-stage for other output formats,
27339 \begin_layout Standard
27340 \begin_inset Note Greyedout
27343 \begin_layout Standard
27348 DVI-files doesn't contain images, they will only be a linked.
27353 So don't forget this, if you move your
27357 file to another computer.
27358 This property can also slow down your computer when you view the DVI.
27359 Because the DVI-viewer has to convert the image in the background to make
27360 it visible when you scroll in the DVI.
27361 So we recommend to use PDF for files with many images.
27364 \begin_layout Standard
27365 You can export your document to DVI by using the menu
27367 File\SpecialChar \menuseparator
27368 Export\SpecialChar \menuseparator
27372 You can view your document as PostScript via the
27376 menu or by using the toolbar button
27377 \begin_inset Graphics
27378 filename ../images/buffer-view_dvi.xpm
27386 \begin_layout Section
27388 \begin_inset LatexCommand label
27389 name "sec:PostScript"
27394 \begin_inset LatexCommand index
27395 name "File Formats ! PostScript\\protect\\pagebreak"
27400 \begin_inset LatexCommand index
27401 name "PostScript|see{File Formats}"
27408 \begin_layout Standard
27409 This file type has the extension
27410 \begin_inset Quotes eld
27418 \begin_inset Quotes erd
27422 PostScript was developed by the company
27426 as printer language.
27427 The file contains therefore commands that the printer uses to print the
27429 PostScript can be seen as
27430 \begin_inset Quotes eld
27433 programming language
27434 \begin_inset Quotes erd
27437 ; you can calculate with it and draw diagrams and images
27441 \begin_layout Standard
27442 If you are interested to learn more about this, have a look at the LaTeX-package
27448 \begin_inset LatexCommand cite
27459 Due to this ability, the files are often bigger than PDFs.
27462 \begin_layout Standard
27463 PostScript can only contain images in the format
27464 \begin_inset Quotes eld
27467 Encapsulated PostScript
27468 \begin_inset Quotes erd
27471 (EPS, file extension
27472 \begin_inset Quotes eld
27480 \begin_inset Quotes erd
27484 As LyX allows you to use any known image format in your document, it has
27485 to convert images in the background to EPS.
27486 If you have e.g 50 images in your document, LyX has to do 50 conversions
27487 whenever you view or export your document.
27488 This will slow down your work flow with LyX drastically.
27489 So if you plan to use PostScript, you can insert your images directly as
27490 EPS to avoid this problem.
27493 \begin_layout Standard
27494 You can export your document to PostScript using the menu
27496 File\SpecialChar \menuseparator
27497 Export\SpecialChar \menuseparator
27501 You can view your document as PostScript via the
27505 menu or by using the toolbar button
27506 \begin_inset Graphics
27507 filename ../images/buffer-view_ps.xpm
27515 \begin_layout Section
27517 \begin_inset LatexCommand label
27523 \begin_inset LatexCommand index
27524 name "File Formats ! PDF"
27529 \begin_inset LatexCommand index
27537 \begin_layout Standard
27538 This file type has the extension
27539 \begin_inset Quotes eld
27547 \begin_inset Quotes erd
27552 \begin_inset Quotes eld
27555 Portable Document Format
27556 \begin_inset Quotes erd
27559 (PDF) is developed by
27563 as derivative from PostScript.
27564 It is more compressed and it uses much less commands than PostScript.
27566 \begin_inset Quotes eld
27570 \begin_inset Quotes erd
27573 implies, it can be processed at any computer system and the printed output
27574 looks exactly the same.
27577 \begin_layout Standard
27578 PDF can contain images in its own PDF format, in the format
27579 \begin_inset Quotes eld
27582 Joint Photographic Experts Group
27583 \begin_inset Quotes erd
27586 (JPG, file extension
27587 \begin_inset Quotes eld
27595 \begin_inset Quotes erd
27599 \begin_inset Quotes eld
27607 \begin_inset Quotes erd
27610 ), and in the format
27611 \begin_inset Quotes eld
27614 Portable Network Graphics
27615 \begin_inset Quotes erd
27618 (PNG, file extension
27619 \begin_inset Quotes eld
27627 \begin_inset Quotes erd
27631 You can although use any other image format, because LyX converts them
27632 in the background to one of these formats.
27633 But as described in the section about PostScript, the image conversion
27634 will slow down your work flow.
27635 So it is recommended to use images in one of the three mentioned formats.
27638 \begin_layout Standard
27639 You can export your document to PDF via the menu
27641 File\SpecialChar \menuseparator
27644 in three different ways:
27647 \begin_layout Description
27648 PDF This uses the program
27652 that creates a PDF from a PostScript-version of your file.
27653 The PostScript-version is produced by the program
27657 which uses a DVI-version as intermediate step.
27658 So this export variant consist of three conversions.
27661 \begin_layout Description
27663 (dvipdfm) This uses the program
27667 that converts your file in the background to DVI and in a second step to
27671 \begin_layout Description
27673 (pdflatex) This uses the program
27677 that converts your file directly to PDF.
27680 \begin_layout Standard
27681 It is recommended to use
27690 supports all features of actual PDF-versions, is quick and works stable
27696 is not under development and therefore a bit outdated.
27699 \begin_layout Standard
27700 You can view your document as PDF via the
27704 menu or by using the toolbar button
27705 \begin_inset Graphics
27706 filename ../images/buffer-view_pdf2.xpm
27723 \begin_layout Chapter
27724 Explanation of Equation\InsetSpace ~
27726 \begin_inset LatexCommand eqref
27732 \begin_inset LatexCommand label
27733 name "cha:Explanation-of-Equation"
27740 \begin_layout Standard
27746 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27749 can be calculated to
27752 \begin_layout Standard
27753 \begin_inset Formula \begin{equation}
27754 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27761 \begin_layout Standard
27763 \begin_inset Formula $W_{g\, n}$
27766 is the given width of all cells.
27773 is the LaTeX-length between the cell text and the cell border, its default
27774 value is 6\InsetSpace \thinspace{}
27782 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27786 \begin_layout Standard
27787 Following equation\InsetSpace ~
27789 \begin_inset LatexCommand eqref
27790 reference "eq:Wtot_n"
27794 , the total width of a multicolumn
27795 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27801 \begin_layout Standard
27802 \begin_inset Formula \begin{equation}
27803 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27810 \begin_layout Standard
27811 By setting equation\InsetSpace ~
27813 \begin_inset LatexCommand eqref
27814 reference "eq:Wtot_n"
27819 \begin_inset LatexCommand eqref
27820 reference "eq:Wtot_mult"
27824 equal we can calculate the needed given width
27825 \begin_inset Formula $W_{g\, n}$
27832 columns are spanned, so that each column has a total width of
27833 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27839 \begin_layout Standard
27840 \begin_inset Formula \begin{equation}
27841 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27848 \begin_layout Bibliography
27849 \begin_inset LatexCommand bibitem
27850 key "latexcompanion"
27854 Frank Mittelbach and Michel Goossens:
27856 The LaTeX Companion Second Edition.
27859 Addison-Wesley, 2004
27862 \begin_layout Bibliography
27863 \begin_inset LatexCommand bibitem
27868 Helmut Kopka and Patrick W.
27871 A Guide to LaTeX Fourth Edition.
27874 Addison-Wesley, 2003
27877 \begin_layout Bibliography
27878 \begin_inset LatexCommand bibitem
27885 LaTeX: A Document Preparation System.
27888 Addison-Wesley, second edition, 1994
27891 \begin_layout Bibliography
27892 \begin_inset LatexCommand bibitem
27901 \begin_layout Standard
27905 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27915 \begin_layout Standard
27922 of the LaTeX-package
27927 \begin_inset LatexCommand index
27928 name "LaTeX-packages ! booktabs"
27935 \begin_layout Bibliography
27936 \begin_inset LatexCommand bibitem
27945 \begin_layout Standard
27949 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27958 \begin_layout Standard
27965 of the LaTeX-package
27970 \begin_inset LatexCommand index
27971 name "LaTeX-packages ! caption"
27978 \begin_layout Bibliography
27979 \begin_inset LatexCommand bibitem
27988 \begin_layout Standard
27992 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
28002 \begin_layout Standard
28009 of the LaTeX-package
28014 \begin_layout Bibliography
28015 \begin_inset LatexCommand bibitem
28024 \begin_layout Standard
28028 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
28038 \begin_layout Standard
28045 of the LaTeX-package
28047 endf\SpecialChar \textcompwordmark{}
28051 \begin_inset LatexCommand index
28052 name "LaTeX-packages ! endfloat"
28059 \begin_layout Bibliography
28060 \begin_inset LatexCommand bibitem
28069 \begin_layout Standard
28073 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
28083 \begin_layout Standard
28090 of the LaTeX-package
28092 floatf\SpecialChar \textcompwordmark{}
28096 \begin_inset LatexCommand index
28097 name "LaTeX-packages ! floatflt"
28104 \begin_layout Bibliography
28105 \begin_inset LatexCommand bibitem
28114 \begin_layout Standard
28118 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
28128 \begin_layout Standard
28135 of the LaTeX-package
28140 \begin_inset LatexCommand index
28141 name "LaTeX-packages ! footmisc"
28148 \begin_layout Bibliography
28149 \begin_inset LatexCommand bibitem
28158 \begin_layout Standard
28162 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
28171 \begin_layout Standard
28178 of the LaTeX-package
28183 \begin_inset LatexCommand index
28184 name "LaTeX-packages ! hyperref"
28191 \begin_layout Bibliography
28192 \begin_inset LatexCommand bibitem
28201 \begin_layout Standard
28205 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28215 \begin_layout Standard
28222 of the LaTeX-package
28227 \begin_inset LatexCommand index
28228 name "LaTeX-packages ! hyperref"
28235 \begin_layout Bibliography
28236 \begin_inset LatexCommand bibitem
28245 \begin_layout Standard
28249 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28259 \begin_layout Standard
28266 of the LaTeX-package
28271 \begin_inset LatexCommand index
28272 name "LaTeX-packages ! koma-script"
28279 \begin_layout Bibliography
28280 \begin_inset LatexCommand bibitem
28281 key "koma-script-de"
28289 \begin_layout Standard
28293 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28303 \begin_layout Standard
28310 of the LaTeX-package
28315 \begin_inset LatexCommand index
28316 name "LaTeX-packages ! koma-script"
28323 \begin_layout Bibliography
28324 \begin_inset LatexCommand bibitem
28333 \begin_layout Standard
28337 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28347 \begin_layout Standard
28354 of the LaTeX-package
28359 \begin_inset LatexCommand index
28360 name "LaTeX-packages ! marginnote"
28367 \begin_layout Bibliography
28368 \begin_inset LatexCommand bibitem
28377 \begin_layout Standard
28381 href{http://tug.org/PSTricks/main.cgi/}{
28390 \begin_layout Standard
28397 of the LaTeX-package
28402 \begin_inset LatexCommand index
28403 name "LaTeX-packages ! PSTricks"
28410 \begin_layout Bibliography
28411 \begin_inset LatexCommand bibitem
28420 \begin_layout Standard
28424 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28433 \begin_layout Standard
28440 of the LaTeX-package
28445 \begin_inset LatexCommand index
28446 name "LaTeX-packages ! sidecap"
28453 \begin_layout Bibliography
28454 \begin_inset LatexCommand bibitem
28463 \begin_layout Standard
28467 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28476 \begin_layout Standard
28483 about new LyX-features planned for the release
28490 \begin_layout Standard
28491 \begin_inset LatexCommand printindex
28498 \begin_layout Standard
28499 \begin_inset FloatList figure
28506 \begin_layout Standard
28507 \begin_inset FloatList table