1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % enables calculation of values,
82 % provides special table cell alignments
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
95 % 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 examples 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
4599 on one page but the caption environment of floats can also be used for
4603 \begin_layout Standard
4604 As LyX does not yet fully support captions in longtables, a hack is needed
4608 \begin_layout Enumerate
4614 \begin_layout Enumerate
4615 Mark the first row an disable its upper line.
4618 \begin_layout Enumerate
4619 Insert a caption via the menu
4621 Insert\SpecialChar \menuseparator
4627 into the first table cell.
4629 You can also add a short title for the caption.
4632 \begin_layout Enumerate
4634 \begin_inset Quotes eld
4646 \begin_inset Quotes erd
4649 as ERT behind the caption.
4652 \begin_layout Standard
4653 A short title that will appear in the LOT instead of the full title.
4662 behind the caption omits the vertical lines between the following cells
4664 The first table row is now only a dummy row for the caption, the actual
4665 table starts with the second row.
4668 \begin_layout Standard
4669 Here is a short longtable to see how it works:
4672 \begin_layout Standard
4673 \begin_inset Tabular
4674 <lyxtabular version="3" rows="6" columns="5">
4675 <features islongtable="true">
4676 <column alignment="center" valignment="top" leftline="true" width="0">
4677 <column alignment="center" valignment="top" leftline="true" width="0">
4678 <column alignment="center" valignment="top" leftline="true" width="0">
4679 <column alignment="center" valignment="top" leftline="true" width="0">
4680 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4685 \begin_layout Standard
4686 \begin_inset Caption
4688 \begin_layout Standard
4689 Longtable with caption
4693 \begin_layout Standard
4708 \begin_layout Standard
4724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4727 \begin_layout Standard
4733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4736 \begin_layout Standard
4742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4745 \begin_layout Standard
4751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4754 \begin_layout Standard
4761 <row topline="true">
4762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4765 \begin_layout Standard
4771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4774 \begin_layout Standard
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
4808 <row topline="true">
4809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4812 \begin_layout Standard
4818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4821 \begin_layout Standard
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" rightline="true" usebox="none">
4848 \begin_layout Standard
4855 <row topline="true">
4856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4859 \begin_layout Standard
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4868 \begin_layout Standard
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" rightline="true" usebox="none">
4895 \begin_layout Standard
4902 <row topline="true">
4903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4906 \begin_layout Standard
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4915 \begin_layout Standard
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" rightline="true" usebox="none">
4942 \begin_layout Standard
4949 <row topline="true" bottomline="true">
4950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4953 \begin_layout Standard
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4962 \begin_layout Standard
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" rightline="true" usebox="none">
4989 \begin_layout Standard
5003 \begin_layout Standard
5004 \begin_inset VSpace medskip
5008 \begin_inset Note Greyedout
5011 \begin_layout Standard
5016 The table number is increased for every longtable, also if you didn't set
5018 For this reason you could have the case that e.g.
5020 2.4 follows on Table\InsetSpace ~
5021 2.1 in the list of tables if there are two longtables
5023 To avoid this you can add the following command in ERT behind every longtable
5027 \begin_layout Standard
5032 addtocounter{table}{-1}
5040 \begin_layout Standard
5041 \begin_inset Note Greyedout
5044 \begin_layout Standard
5049 If you are using the LaTeX-package
5054 \begin_inset LatexCommand index
5055 name "LaTeX-packages ! hyperref"
5059 to link cross-references, the link to a longtable caption will always point
5060 to the beginning of the document.
5068 \begin_layout Subsubsection
5069 References to Longtables
5070 \begin_inset LatexCommand index
5071 name "Longtables ! References"
5078 \begin_layout Standard
5079 \begin_inset Tabular
5080 <lyxtabular version="3" rows="6" columns="5">
5081 <features islongtable="true">
5082 <column alignment="center" valignment="top" leftline="true" width="0">
5083 <column alignment="center" valignment="top" leftline="true" width="0">
5084 <column alignment="center" valignment="top" leftline="true" width="0">
5085 <column alignment="center" valignment="top" leftline="true" width="0">
5086 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5091 \begin_layout Standard
5092 \begin_inset Caption
5094 \begin_layout Standard
5095 Referenced longtable
5096 \begin_inset LatexCommand label
5097 name "tab:RefExample"
5110 \begin_layout Standard
5126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5129 \begin_layout Standard
5135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5138 \begin_layout Standard
5144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5147 \begin_layout Standard
5153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5156 \begin_layout Standard
5163 <row topline="true">
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5167 \begin_layout Standard
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5176 \begin_layout Standard
5182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5185 \begin_layout Standard
5191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5194 \begin_layout Standard
5200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5203 \begin_layout Standard
5210 <row topline="true">
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5214 \begin_layout Standard
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5223 \begin_layout Standard
5229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5232 \begin_layout Standard
5238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5241 \begin_layout Standard
5247 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5250 \begin_layout Standard
5257 <row topline="true">
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5261 \begin_layout Standard
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5270 \begin_layout Standard
5276 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5279 \begin_layout Standard
5285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5288 \begin_layout Standard
5294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5297 \begin_layout Standard
5304 <row topline="true">
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5308 \begin_layout Standard
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5317 \begin_layout Standard
5323 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5326 \begin_layout Standard
5332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5335 \begin_layout Standard
5341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5344 \begin_layout Standard
5351 <row topline="true" bottomline="true">
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_layout Standard
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5364 \begin_layout Standard
5370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_layout Standard
5379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5382 \begin_layout Standard
5388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5391 \begin_layout Standard
5405 \begin_layout Standard
5406 To reference a longtable, insert a label into the caption.
5407 Note that you have to add the label prefix
5408 \begin_inset Quotes eld
5416 \begin_inset Quotes eld
5419 manually in the label field.
5422 \begin_layout Standard
5423 This is a reference to Table\InsetSpace ~
5425 \begin_inset LatexCommand ref
5426 reference "tab:RefExample"
5433 \begin_layout Standard
5434 The caption layout can be set together with all other caption of your document
5435 using the LaTeX-package
5440 \begin_inset LatexCommand index
5441 name "LaTeX-packages ! caption"
5445 , see section\InsetSpace ~
5447 \begin_inset LatexCommand ref
5448 reference "sec:Caption-Formatting"
5455 \begin_layout Subsubsection
5457 \begin_inset LatexCommand index
5458 name "Longtables ! Caption Width"
5465 \begin_layout Standard
5466 The maximal width of of caption lines is defined by the length
5473 Its default value is 4\InsetSpace \thinspace{}
5475 To change it add the following command to your document preamble or as
5476 ERT into your document before the longtable that should be affected
5479 \begin_layout Standard
5489 \begin_layout Standard
5490 where the width could have one of the units listed in appendix\InsetSpace ~
5492 \begin_inset LatexCommand ref
5493 reference "cha:Units-available-in"
5500 \begin_layout Standard
5501 The following tables show the difference:
5504 \begin_layout Standard
5505 \begin_inset Tabular
5506 <lyxtabular version="3" rows="6" columns="5">
5507 <features islongtable="true">
5508 <column alignment="center" valignment="top" leftline="true" width="0">
5509 <column alignment="center" valignment="top" leftline="true" width="0">
5510 <column alignment="center" valignment="top" leftline="true" width="0">
5511 <column alignment="center" valignment="top" leftline="true" width="0">
5512 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5517 \begin_layout Standard
5518 \begin_inset Caption
5520 \begin_layout Standard
5521 long full title with default width long full title with default width long
5522 full title with default width
5526 \begin_layout Standard
5527 caption with default width
5541 \begin_layout Standard
5557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5560 \begin_layout Standard
5566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5569 \begin_layout Standard
5575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5578 \begin_layout Standard
5584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5587 \begin_layout Standard
5594 <row topline="true">
5595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5598 \begin_layout Standard
5604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5607 \begin_layout Standard
5613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5616 \begin_layout Standard
5622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5625 \begin_layout Standard
5631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5634 \begin_layout Standard
5641 <row topline="true">
5642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5645 \begin_layout Standard
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5654 \begin_layout Standard
5660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5663 \begin_layout Standard
5669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5672 \begin_layout Standard
5678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5681 \begin_layout Standard
5688 <row topline="true">
5689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5692 \begin_layout Standard
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5701 \begin_layout Standard
5707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5710 \begin_layout Standard
5716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5719 \begin_layout Standard
5725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5728 \begin_layout Standard
5735 <row topline="true">
5736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5739 \begin_layout Standard
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5748 \begin_layout Standard
5754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5757 \begin_layout Standard
5763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5766 \begin_layout Standard
5772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5775 \begin_layout Standard
5782 <row topline="true" bottomline="true">
5783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5786 \begin_layout Standard
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5795 \begin_layout Standard
5801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5804 \begin_layout Standard
5810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5813 \begin_layout Standard
5819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5822 \begin_layout Standard
5836 \begin_layout Standard
5840 \begin_layout Standard
5852 \begin_inset Tabular
5853 <lyxtabular version="3" rows="6" columns="5">
5854 <features islongtable="true">
5855 <column alignment="center" valignment="top" leftline="true" width="0">
5856 <column alignment="center" valignment="top" leftline="true" width="0">
5857 <column alignment="center" valignment="top" leftline="true" width="0">
5858 <column alignment="center" valignment="top" leftline="true" width="0">
5859 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5864 \begin_layout Standard
5865 \begin_inset Caption
5867 \begin_layout Standard
5868 long full title with width set to 5\InsetSpace \thinspace{}
5869 cm long full title with width set to
5870 5\InsetSpace \thinspace{}
5871 cm long full title with width set to 5\InsetSpace \thinspace{}
5876 \begin_layout Standard
5877 caption with width\InsetSpace \thinspace{}
5878 =\InsetSpace \thinspace{}
5879 5\InsetSpace \thinspace{}
5894 \begin_layout Standard
5910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5913 \begin_layout Standard
5919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5922 \begin_layout Standard
5928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5931 \begin_layout Standard
5937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5940 \begin_layout Standard
5947 <row topline="true">
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5951 \begin_layout Standard
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5960 \begin_layout Standard
5966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5969 \begin_layout Standard
5975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5978 \begin_layout Standard
5984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5987 \begin_layout Standard
5994 <row topline="true">
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5998 \begin_layout Standard
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6007 \begin_layout Standard
6013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6016 \begin_layout Standard
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6025 \begin_layout Standard
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6034 \begin_layout Standard
6041 <row topline="true">
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6045 \begin_layout Standard
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6054 \begin_layout Standard
6060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6063 \begin_layout Standard
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6072 \begin_layout Standard
6078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6081 \begin_layout Standard
6088 <row topline="true">
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6092 \begin_layout Standard
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6101 \begin_layout Standard
6107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6110 \begin_layout Standard
6116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6119 \begin_layout Standard
6125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6128 \begin_layout Standard
6135 <row topline="true" bottomline="true">
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6139 \begin_layout Standard
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6148 \begin_layout Standard
6154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6157 \begin_layout Standard
6163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6166 \begin_layout Standard
6172 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6175 \begin_layout Standard
6190 \begin_layout Standard
6204 \begin_layout Standard
6208 \begin_layout Subsubsection
6209 Different Captions for Table Pages
6210 \begin_inset LatexCommand index
6211 name "Longtables ! Different Captions for Pages"
6218 \begin_layout Standard
6219 When the other captions should differ from the one of the first table page,
6220 insert a caption with a non-empty short title in a dummy caption row marked
6222 The caption used for the other table pages is inserted as caption without
6223 a short title in a dummy caption row that is marked as main header.
6224 When this caption shouldn't include the table number, use the command
6227 \begin_layout Standard
6232 caption*{caption text}
6235 \begin_layout Standard
6236 instead of LyX's caption box.
6237 The label to reference the table is inserted into the caption of the first
6241 \begin_inset LatexCommand ref
6242 reference "tab:DiffCaptions"
6246 is an example for a longtable with different heading where the second caption
6247 doesn't include the table number.
6250 \begin_layout Standard
6252 \begin_inset Tabular
6253 <lyxtabular version="3" rows="60" columns="3">
6254 <features islongtable="true">
6255 <column alignment="left" valignment="top" leftline="true" width="0cm">
6256 <column alignment="left" valignment="top" rightline="true" width="0pt">
6257 <column alignment="right" valignment="top" rightline="true" width="0pt">
6258 <row endfirsthead="true">
6259 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6262 \begin_layout Standard
6263 \begin_inset Caption
6265 \begin_layout Standard
6267 \begin_inset LatexCommand label
6268 name "tab:DiffCaptions"
6276 \begin_layout Standard
6291 \begin_layout Standard
6307 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6310 \begin_layout Standard
6316 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6319 \begin_layout Standard
6326 <row topline="true" bottomline="true" endfirsthead="true">
6327 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6330 \begin_layout Standard
6333 Example Phone List (ignore the names)
6338 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6341 \begin_layout Standard
6347 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6350 \begin_layout Standard
6357 <row topline="true" bottomline="true" endfirsthead="true">
6358 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6361 \begin_layout Standard
6369 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6372 \begin_layout Standard
6378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6381 \begin_layout Standard
6390 <row bottomline="true" endhead="true">
6391 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6394 \begin_layout Standard
6398 \begin_layout Standard
6402 caption*{Continued Example Phone List}
6416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_layout Standard
6425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6428 \begin_layout Standard
6435 <row topline="true" bottomline="true" endhead="true">
6436 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6439 \begin_layout Standard
6447 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6450 \begin_layout Standard
6456 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6459 \begin_layout Standard
6466 <row topline="true" bottomline="true" endhead="true">
6467 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6470 \begin_layout Standard
6478 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6481 \begin_layout Standard
6487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6490 \begin_layout Standard
6499 <row topline="true" bottomline="true" endfoot="true">
6500 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6503 \begin_layout Standard
6504 continued on next page
6509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6512 \begin_layout Standard
6518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6521 \begin_layout Standard
6529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6532 \begin_layout Standard
6540 <cell alignment="center" valignment="top" topline="true" usebox="none">
6543 \begin_layout Standard
6549 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6552 \begin_layout Standard
6560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6563 \begin_layout Standard
6571 <cell alignment="center" valignment="top" topline="true" usebox="none">
6574 \begin_layout Standard
6580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6583 \begin_layout Standard
6591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6594 \begin_layout Standard
6602 <cell alignment="center" valignment="top" topline="true" usebox="none">
6605 \begin_layout Standard
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6614 \begin_layout Standard
6622 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6625 \begin_layout Standard
6633 <cell alignment="center" valignment="top" topline="true" usebox="none">
6636 \begin_layout Standard
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6645 \begin_layout Standard
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6656 \begin_layout Standard
6664 <cell alignment="center" valignment="top" topline="true" usebox="none">
6667 \begin_layout Standard
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6676 \begin_layout Standard
6684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6687 \begin_layout Standard
6695 <cell alignment="center" valignment="top" topline="true" usebox="none">
6698 \begin_layout Standard
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6707 \begin_layout Standard
6715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6718 \begin_layout Standard
6726 <cell alignment="center" valignment="top" topline="true" usebox="none">
6729 \begin_layout Standard
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6738 \begin_layout Standard
6746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6749 \begin_layout Standard
6757 <cell alignment="center" valignment="top" topline="true" usebox="none">
6760 \begin_layout Standard
6766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6769 \begin_layout Standard
6777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6780 \begin_layout Standard
6788 <cell alignment="center" valignment="top" topline="true" usebox="none">
6791 \begin_layout Standard
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6800 \begin_layout Standard
6808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6811 \begin_layout Standard
6819 <cell alignment="center" valignment="top" topline="true" usebox="none">
6822 \begin_layout Standard
6828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6831 \begin_layout Standard
6839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6842 \begin_layout Standard
6850 <cell alignment="center" valignment="top" topline="true" usebox="none">
6853 \begin_layout Standard
6859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6862 \begin_layout Standard
6870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6873 \begin_layout Standard
6881 <cell alignment="center" valignment="top" topline="true" usebox="none">
6884 \begin_layout Standard
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6893 \begin_layout Standard
6901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6904 \begin_layout Standard
6912 <cell alignment="center" valignment="top" topline="true" usebox="none">
6915 \begin_layout Standard
6921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6924 \begin_layout Standard
6932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6935 \begin_layout Standard
6943 <cell alignment="center" valignment="top" topline="true" usebox="none">
6946 \begin_layout Standard
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6955 \begin_layout Standard
6963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6966 \begin_layout Standard
6975 \begin_layout Standard
6986 <cell alignment="center" valignment="top" topline="true" usebox="none">
6989 \begin_layout Standard
6995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6998 \begin_layout Standard
7006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7009 \begin_layout Standard
7017 <cell alignment="center" valignment="top" topline="true" usebox="none">
7020 \begin_layout Standard
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7029 \begin_layout Standard
7037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7040 \begin_layout Standard
7048 <cell alignment="center" valignment="top" topline="true" usebox="none">
7051 \begin_layout Standard
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7060 \begin_layout Standard
7068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7071 \begin_layout Standard
7079 <cell alignment="center" valignment="top" topline="true" usebox="none">
7082 \begin_layout Standard
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7091 \begin_layout Standard
7099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7102 \begin_layout Standard
7110 <cell alignment="center" valignment="top" topline="true" usebox="none">
7113 \begin_layout Standard
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7122 \begin_layout Standard
7130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7133 \begin_layout Standard
7141 <cell alignment="center" valignment="top" topline="true" usebox="none">
7144 \begin_layout Standard
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7153 \begin_layout Standard
7161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7164 \begin_layout Standard
7172 <cell alignment="center" valignment="top" topline="true" usebox="none">
7175 \begin_layout Standard
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7184 \begin_layout Standard
7192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7195 \begin_layout Standard
7203 <cell alignment="center" valignment="top" topline="true" usebox="none">
7206 \begin_layout Standard
7212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7215 \begin_layout Standard
7223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7226 \begin_layout Standard
7234 <cell alignment="center" valignment="top" topline="true" usebox="none">
7237 \begin_layout Standard
7243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7246 \begin_layout Standard
7254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7257 \begin_layout Standard
7265 <cell alignment="center" valignment="top" topline="true" usebox="none">
7268 \begin_layout Standard
7274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7277 \begin_layout Standard
7285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7288 \begin_layout Standard
7296 <cell alignment="center" valignment="top" topline="true" usebox="none">
7299 \begin_layout Standard
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7308 \begin_layout Standard
7316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7319 \begin_layout Standard
7327 <cell alignment="center" valignment="top" topline="true" usebox="none">
7330 \begin_layout Standard
7336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7339 \begin_layout Standard
7347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7350 \begin_layout Standard
7358 <cell alignment="center" valignment="top" topline="true" usebox="none">
7361 \begin_layout Standard
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7370 \begin_layout Standard
7378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7381 \begin_layout Standard
7389 <cell alignment="center" valignment="top" topline="true" usebox="none">
7392 \begin_layout Standard
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7401 \begin_layout Standard
7409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7412 \begin_layout Standard
7420 <cell alignment="center" valignment="top" topline="true" usebox="none">
7423 \begin_layout Standard
7429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7432 \begin_layout Standard
7440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7443 \begin_layout Standard
7451 <cell alignment="center" valignment="top" topline="true" usebox="none">
7454 \begin_layout Standard
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7463 \begin_layout Standard
7470 <row bottomline="true">
7471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7474 \begin_layout Standard
7482 <cell alignment="center" valignment="top" topline="true" usebox="none">
7485 \begin_layout Standard
7491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7494 \begin_layout Standard
7501 <row bottomline="true">
7502 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7505 \begin_layout Standard
7511 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7514 \begin_layout Standard
7520 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7523 \begin_layout Standard
7531 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7534 \begin_layout Standard
7542 <cell alignment="center" valignment="top" topline="true" usebox="none">
7545 \begin_layout Standard
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7554 \begin_layout Standard
7562 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7565 \begin_layout Standard
7573 <cell alignment="center" valignment="top" topline="true" usebox="none">
7576 \begin_layout Standard
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7585 \begin_layout Standard
7593 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7596 \begin_layout Standard
7604 <cell alignment="center" valignment="top" topline="true" usebox="none">
7607 \begin_layout Standard
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7616 \begin_layout Standard
7624 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7627 \begin_layout Standard
7635 <cell alignment="center" valignment="top" topline="true" usebox="none">
7638 \begin_layout Standard
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7647 \begin_layout Standard
7655 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7658 \begin_layout Standard
7666 <cell alignment="center" valignment="top" topline="true" usebox="none">
7669 \begin_layout Standard
7675 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7678 \begin_layout Standard
7686 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7689 \begin_layout Standard
7697 <cell alignment="center" valignment="top" topline="true" usebox="none">
7700 \begin_layout Standard
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7709 \begin_layout Standard
7717 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7720 \begin_layout Standard
7728 <cell alignment="center" valignment="top" topline="true" usebox="none">
7731 \begin_layout Standard
7737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7740 \begin_layout Standard
7748 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7751 \begin_layout Standard
7759 <cell alignment="center" valignment="top" topline="true" usebox="none">
7762 \begin_layout Standard
7768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7771 \begin_layout Standard
7779 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7782 \begin_layout Standard
7790 <cell alignment="center" valignment="top" topline="true" usebox="none">
7793 \begin_layout Standard
7799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7802 \begin_layout Standard
7810 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7813 \begin_layout Standard
7821 <cell alignment="center" valignment="top" topline="true" usebox="none">
7824 \begin_layout Standard
7830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7833 \begin_layout Standard
7841 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7844 \begin_layout Standard
7852 <cell alignment="center" valignment="top" topline="true" usebox="none">
7855 \begin_layout Standard
7861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7864 \begin_layout Standard
7872 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7875 \begin_layout Standard
7883 <cell alignment="center" valignment="top" topline="true" usebox="none">
7886 \begin_layout Standard
7892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7895 \begin_layout Standard
7903 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7906 \begin_layout Standard
7914 <cell alignment="center" valignment="top" topline="true" usebox="none">
7917 \begin_layout Standard
7923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7926 \begin_layout Standard
7934 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7937 \begin_layout Standard
7945 <cell alignment="center" valignment="top" topline="true" usebox="none">
7948 \begin_layout Standard
7954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7957 \begin_layout Standard
7965 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7968 \begin_layout Standard
7976 <cell alignment="center" valignment="top" topline="true" usebox="none">
7979 \begin_layout Standard
7985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7988 \begin_layout Standard
7996 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7999 \begin_layout Standard
8007 <cell alignment="center" valignment="top" topline="true" usebox="none">
8010 \begin_layout Standard
8016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8019 \begin_layout Standard
8027 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8030 \begin_layout Standard
8038 <cell alignment="center" valignment="top" topline="true" usebox="none">
8041 \begin_layout Standard
8047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8050 \begin_layout Standard
8058 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8061 \begin_layout Standard
8069 <cell alignment="center" valignment="top" topline="true" usebox="none">
8072 \begin_layout Standard
8078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8081 \begin_layout Standard
8089 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8092 \begin_layout Standard
8100 <cell alignment="center" valignment="top" topline="true" usebox="none">
8103 \begin_layout Standard
8109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8112 \begin_layout Standard
8119 <row bottomline="true">
8120 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8123 \begin_layout Standard
8131 <cell alignment="center" valignment="top" topline="true" usebox="none">
8134 \begin_layout Standard
8140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8143 \begin_layout Standard
8150 <row bottomline="true" endlastfoot="true">
8151 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8154 \begin_layout Standard
8160 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8163 \begin_layout Standard
8169 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8172 \begin_layout Standard
8186 \begin_layout Section
8187 Special Longtable Issues
8188 \begin_inset LatexCommand label
8189 name "sec:Special-Longtable-Issues"
8196 \begin_layout Subsection
8197 Longtable Calculation
8198 \begin_inset LatexCommand index
8199 name "Longtables ! Calculation"
8206 \begin_layout Standard
8207 LaTeX calculates the height of table pages and their page breaks using so
8209 Chunks are pieces of the tables that are at once in LaTeX's memory.
8210 The default value is historically set to only 20 table rows.
8211 If you are using longtables with many pages this may slow down the creation
8213 You can safely increase the chunk size to values of 100-1000 by adding
8214 this command line to your document preamble:
8217 \begin_layout Standard
8222 setcounter{LTchunksize}{100}
8225 \begin_layout Subsection
8226 Floats and Longtables
8227 \begin_inset LatexCommand index
8228 name "Longtables ! Floats"
8235 \begin_layout Standard
8236 There might be problems when a float appears on the same page where a longtable
8238 To avoid such situation, add the command
8244 as ERT before your longtable.
8247 \begin_layout Subsection
8249 \begin_inset LatexCommand index
8250 name "Longtables ! Forced Page Breaks"
8257 \begin_layout Standard
8258 By default tables are only broken between rows.
8259 If you have a cell with multiples lines and want to have a page break within
8260 the cell, insert the new line command
8261 \begin_inset Quotes eld
8273 \begin_inset Quotes erd
8276 as ERT at this point of the cell where it should be broken.
8285 command you have to insert in ERT so many
8286 \begin_inset Quotes eld
8294 \begin_inset Quotes erd
8297 characters like the number of the following table columns.
8302 is the character to separate table cells.
8303 Write in ERT after each
8307 the content of the corresponding following cell and delete the content
8318 command, insert so many
8322 characters like the number of table columns before the current column.
8323 In Table\InsetSpace ~
8325 \begin_inset LatexCommand ref
8326 reference "tab:ForcedPagebreak"
8330 the cell that should be broken is in the second column followed by another
8332 Therefore the following command was inserted in the cell as ERT behind
8334 \begin_inset Quotes eld
8342 \begin_inset Quotes erd
8348 \begin_layout Standard
8360 \begin_layout Standard
8362 \begin_inset Quotes eld
8366 \begin_inset Quotes erd
8369 in the third columns of the row was deleted.
8370 If your footer row of the longtable has for a certain reason no upper line
8371 but you would have a horizontal line where the cell is broken, use this
8375 \begin_layout Standard
8389 \begin_layout Standard
8390 When the cell to be broken is in the last column, the command
8393 \begin_layout Standard
8400 parf\SpecialChar \textcompwordmark{}
8404 \begin_layout Standard
8405 must be inserted as ERT at the beginning of the cell.
8406 This assures that the part of the cell that will be displayed on the new
8407 page appears with the full width.
8411 \begin_layout Standard
8413 \begin_inset Tabular
8414 <lyxtabular version="3" rows="39" columns="3">
8415 <features islongtable="true">
8416 <column alignment="left" valignment="top" leftline="true" width="0cm">
8417 <column alignment="left" valignment="top" rightline="true" width="3cm">
8418 <column alignment="right" valignment="top" rightline="true" width="0pt">
8419 <row endfirsthead="true">
8420 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8423 \begin_layout Standard
8424 \begin_inset Caption
8426 \begin_layout Standard
8427 Table with forced page break in table cell
8428 \begin_inset LatexCommand label
8429 name "tab:ForcedPagebreak"
8437 \begin_layout Standard
8438 Table with forced page break in table cell
8452 \begin_layout Standard
8468 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8471 \begin_layout Standard
8477 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8480 \begin_layout Standard
8487 <row topline="true" bottomline="true" endfirsthead="true">
8488 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8491 \begin_layout Standard
8494 Example Phone List (ignore the names)
8499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8502 \begin_layout Standard
8508 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8511 \begin_layout Standard
8518 <row topline="true" bottomline="true" endfirsthead="true">
8519 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8522 \begin_layout Standard
8530 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8533 \begin_layout Standard
8539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8542 \begin_layout Standard
8551 <row bottomline="true" endhead="true">
8552 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8555 \begin_layout Standard
8559 \begin_layout Standard
8563 caption*{Continued table with forced page break in table cell}
8577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8580 \begin_layout Standard
8586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8589 \begin_layout Standard
8596 <row topline="true" bottomline="true" endhead="true">
8597 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8600 \begin_layout Standard
8608 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8611 \begin_layout Standard
8617 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8620 \begin_layout Standard
8627 <row topline="true" bottomline="true" endhead="true">
8628 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8631 \begin_layout Standard
8639 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8642 \begin_layout Standard
8648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8651 \begin_layout Standard
8660 <row topline="true" bottomline="true" endfoot="true">
8661 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8664 \begin_layout Standard
8665 continued on next page
8670 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8673 \begin_layout Standard
8679 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8682 \begin_layout Standard
8690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8693 \begin_layout Standard
8701 <cell alignment="center" valignment="top" topline="true" usebox="none">
8704 \begin_layout Standard
8710 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8713 \begin_layout Standard
8721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8724 \begin_layout Standard
8732 <cell alignment="center" valignment="top" topline="true" usebox="none">
8735 \begin_layout Standard
8741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8744 \begin_layout Standard
8752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8755 \begin_layout Standard
8763 <cell alignment="center" valignment="top" topline="true" usebox="none">
8766 \begin_layout Standard
8772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8775 \begin_layout Standard
8783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8786 \begin_layout Standard
8794 <cell alignment="center" valignment="top" topline="true" usebox="none">
8797 \begin_layout Standard
8803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8806 \begin_layout Standard
8814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8817 \begin_layout Standard
8825 <cell alignment="center" valignment="top" topline="true" usebox="none">
8828 \begin_layout Standard
8834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8837 \begin_layout Standard
8845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8848 \begin_layout Standard
8856 <cell alignment="center" valignment="top" topline="true" usebox="none">
8859 \begin_layout Standard
8865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8868 \begin_layout Standard
8876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8879 \begin_layout Standard
8887 <cell alignment="center" valignment="top" topline="true" usebox="none">
8890 \begin_layout Standard
8896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8899 \begin_layout Standard
8907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8910 \begin_layout Standard
8918 <cell alignment="center" valignment="top" topline="true" usebox="none">
8921 \begin_layout Standard
8927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8930 \begin_layout Standard
8938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8941 \begin_layout Standard
8949 <cell alignment="center" valignment="top" topline="true" usebox="none">
8952 \begin_layout Standard
8958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8961 \begin_layout Standard
8969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8972 \begin_layout Standard
8980 <cell alignment="center" valignment="top" topline="true" usebox="none">
8983 \begin_layout Standard
8989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8992 \begin_layout Standard
9000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9003 \begin_layout Standard
9011 <cell alignment="center" valignment="top" topline="true" usebox="none">
9014 \begin_layout Standard
9020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9023 \begin_layout Standard
9031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9034 \begin_layout Standard
9042 <cell alignment="center" valignment="top" topline="true" usebox="none">
9045 \begin_layout Standard
9051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9054 \begin_layout Standard
9062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9065 \begin_layout Standard
9073 <cell alignment="center" valignment="top" topline="true" usebox="none">
9076 \begin_layout Standard
9082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9085 \begin_layout Standard
9093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9096 \begin_layout Standard
9104 <cell alignment="center" valignment="top" topline="true" usebox="none">
9107 \begin_layout Standard
9113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9116 \begin_layout Standard
9124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9127 \begin_layout Standard
9135 <cell alignment="center" valignment="top" topline="true" usebox="none">
9138 \begin_layout Standard
9144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9147 \begin_layout Standard
9155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9158 \begin_layout Standard
9166 <cell alignment="center" valignment="top" topline="true" usebox="none">
9169 \begin_layout Standard
9175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9178 \begin_layout Standard
9186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9189 \begin_layout Standard
9197 <cell alignment="center" valignment="top" topline="true" usebox="none">
9200 \begin_layout Standard
9206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9209 \begin_layout Standard
9217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9220 \begin_layout Standard
9228 <cell alignment="center" valignment="top" topline="true" usebox="none">
9231 \begin_layout Standard
9237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9240 \begin_layout Standard
9248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9251 \begin_layout Standard
9259 <cell alignment="center" valignment="top" topline="true" usebox="none">
9262 \begin_layout Standard
9268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9271 \begin_layout Standard
9279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9282 \begin_layout Standard
9290 <cell alignment="center" valignment="top" topline="true" usebox="none">
9293 \begin_layout Standard
9299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9302 \begin_layout Standard
9310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9313 \begin_layout Standard
9321 <cell alignment="center" valignment="top" topline="true" usebox="none">
9324 \begin_layout Standard
9330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9333 \begin_layout Standard
9341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9344 \begin_layout Standard
9352 <cell alignment="center" valignment="top" topline="true" usebox="none">
9355 \begin_layout Standard
9361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9364 \begin_layout Standard
9372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9375 \begin_layout Standard
9383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9386 \begin_layout Standard
9388 Fürst von Montecompatri, 11.
9389 Fürst von Sulmona und Vivaro, 10.
9390 Fürst von Rossano, 5.
9391 Herzog von Canemorte, 11.
9392 Herzog von Palombara, 5.
9393 Herzog von Castelchiodato,
9397 \begin_layout Standard
9406 \begin_layout Standard
9414 Herzog von Poggionativo, 11.
9415 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9416 Graf von Valinfreda, 11.
9417 Baron von Cropalati, 11.
9418 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9426 \begin_layout Standard
9434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9437 \begin_layout Standard
9445 <cell alignment="center" valignment="top" topline="true" usebox="none">
9448 \begin_layout Standard
9454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9457 \begin_layout Standard
9465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9468 \begin_layout Standard
9476 <cell alignment="center" valignment="top" topline="true" usebox="none">
9479 \begin_layout Standard
9485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9488 \begin_layout Standard
9496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9499 \begin_layout Standard
9507 <cell alignment="center" valignment="top" topline="true" usebox="none">
9510 \begin_layout Standard
9516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9519 \begin_layout Standard
9527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9530 \begin_layout Standard
9538 <cell alignment="center" valignment="top" topline="true" usebox="none">
9541 \begin_layout Standard
9547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9550 \begin_layout Standard
9558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9561 \begin_layout Standard
9569 <cell alignment="center" valignment="top" topline="true" usebox="none">
9572 \begin_layout Standard
9578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9581 \begin_layout Standard
9589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9592 \begin_layout Standard
9600 <cell alignment="center" valignment="top" topline="true" usebox="none">
9603 \begin_layout Standard
9609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9612 \begin_layout Standard
9620 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9623 \begin_layout Standard
9631 <cell alignment="center" valignment="top" topline="true" usebox="none">
9634 \begin_layout Standard
9640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9643 \begin_layout Standard
9650 <row bottomline="true">
9651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9654 \begin_layout Standard
9662 <cell alignment="center" valignment="top" topline="true" usebox="none">
9665 \begin_layout Standard
9671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9674 \begin_layout Standard
9681 <row endlastfoot="true">
9682 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9685 \begin_layout Standard
9691 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9694 \begin_layout Standard
9700 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9703 \begin_layout Standard
9717 \begin_layout Section
9718 Multiple Lines Columns and Rows
9721 \begin_layout Subsection
9722 Multiple Lines in Table Cells
9723 \begin_inset LatexCommand label
9724 name "sub:Multiple-Lines-in"
9729 \begin_inset LatexCommand index
9730 name "Multiple Lines in Table Cells"
9735 \begin_inset LatexCommand index
9736 name "Table ! Linebreaks"
9743 \begin_layout Standard
9745 \begin_inset Float table
9751 \begin_layout Standard
9752 \begin_inset Caption
9754 \begin_layout Standard
9755 \begin_inset LatexCommand label
9756 name "tab:Table-with-multiple"
9760 Table with multiple lines in cells
9768 \begin_layout Standard
9770 \begin_inset Tabular
9771 <lyxtabular version="3" rows="3" columns="3">
9773 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9774 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9775 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9776 <row topline="true">
9777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9780 \begin_layout Standard
9785 \begin_layout Standard
9799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9802 \begin_layout Standard
9808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9811 \begin_layout Standard
9818 <row topline="true">
9819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9822 \begin_layout Standard
9828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9831 \begin_layout Standard
9837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9840 \begin_layout Standard
9847 <row topline="true" bottomline="true">
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9851 \begin_layout Standard
9857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9860 \begin_layout Standard
9866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9869 \begin_layout Standard
9888 \begin_layout Standard
9889 Adjusting a fixed width for a column, enables to enter text as a paragraph
9890 with multiple lines and hyphenations.
9893 \begin_layout Standard
9894 To produce Table\InsetSpace ~
9896 \begin_inset LatexCommand ref
9897 reference "tab:Table-with-multiple"
9901 , create a 3×3 table, mark the first cell and right-click on it.
9902 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9903 cm and choose centered
9904 for the vertical and horizontal alignment.
9905 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9906 cm, only one line will appear.
9907 To get two lines, we add a line break with the command
9910 \begin_layout Standard
9918 \begin_layout Standard
9920 If the text is wider than the set cell width it will automatically be broken
9924 \begin_layout Standard
9925 To center the text inside the two other cells of the first row vertically,
9926 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9928 centered alignments.
9929 Then do the same for the third cell of the row.
9932 \begin_layout Standard
9933 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9934 by LaTeX if it is the first entry.
9935 Therefore you need to insert something, to make the word not being the
9936 first entry: Add the command
9939 \begin_layout Standard
9947 \begin_layout Standard
9948 in ERT before the word.
9949 As the space is zero, it doesn't change the output.
9952 \begin_inset LatexCommand ref
9953 reference "tab:Table-with-and"
9960 \begin_layout Standard
9961 \begin_inset Float table
9966 \begin_layout Standard
9967 \begin_inset Caption
9969 \begin_layout Standard
9970 \begin_inset LatexCommand label
9971 name "tab:Table-with-and"
9975 Table with and without hyphenation
9983 \begin_layout Standard
9987 \begin_inset Tabular
9988 <lyxtabular version="3" rows="3" columns="3">
9990 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9991 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9992 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9993 <row topline="true">
9994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9997 \begin_layout Standard
9998 verylongtablecellword
10003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10006 \begin_layout Standard
10012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10015 \begin_layout Standard
10022 <row topline="true">
10023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10026 \begin_layout Standard
10032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10035 \begin_layout Standard
10041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10044 \begin_layout Standard
10051 <row topline="true" bottomline="true">
10052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10055 \begin_layout Standard
10061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10064 \begin_layout Standard
10070 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10073 \begin_layout Standard
10087 \begin_inset Tabular
10088 <lyxtabular version="3" rows="3" columns="3">
10090 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10091 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10092 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10093 <row topline="true">
10094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10097 \begin_layout Standard
10101 \begin_layout Standard
10110 verylongtablecellword
10115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10118 \begin_layout Standard
10124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10127 \begin_layout Standard
10134 <row topline="true">
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10138 \begin_layout Standard
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10147 \begin_layout Standard
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10156 \begin_layout Standard
10163 <row topline="true" bottomline="true">
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10167 \begin_layout Standard
10173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10176 \begin_layout Standard
10182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10185 \begin_layout Standard
10206 \begin_layout Standard
10212 \begin_layout Subsection
10214 \begin_inset LatexCommand label
10215 name "sub:Multicolumns"
10220 \begin_inset LatexCommand index
10221 name "Multicolumns"
10226 \begin_inset LatexCommand index
10227 name "Table ! Multicolumns"
10234 \begin_layout Subsubsection
10238 \begin_layout Standard
10239 To span a cell over multiple columns, mark as much cells within a line that
10240 should be one spanned cell and use either the table-toolbar button
10241 \begin_inset Graphics
10242 filename ../images/tabular-feature_multicolumn.xpm
10249 Edit\SpecialChar \menuseparator
10250 Table\SpecialChar \menuseparator
10253 , or right click on the marked cells and choose multicolumn in the appearing
10254 table dialog under the tab
10261 \begin_layout Standard
10262 Multicolumns have there own cell settings.
10263 That means changing cell borders, cell alignment, and the width only affects
10265 Here is an example table with a multicolumn cell in the first row and one
10266 in the last row without the upper border:
10269 \begin_layout Standard
10271 \begin_inset Tabular
10272 <lyxtabular version="3" rows="3" columns="4">
10273 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10274 <column alignment="center" valignment="top" leftline="true" width="0pt">
10275 <column alignment="center" valignment="middle" leftline="true" width="0">
10276 <column alignment="center" valignment="top" leftline="true" width="0in">
10277 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10278 <row topline="true" bottomline="true">
10279 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10282 \begin_layout Standard
10288 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10291 \begin_layout Standard
10301 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10304 \begin_layout Standard
10310 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10313 \begin_layout Standard
10320 <row topline="true">
10321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10324 \begin_layout Standard
10339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10342 \begin_layout Standard
10348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10351 \begin_layout Standard
10357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10360 \begin_layout Standard
10367 <row topline="true" bottomline="true">
10368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10371 \begin_layout Standard
10377 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10380 \begin_layout Standard
10386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10389 \begin_layout Standard
10395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10398 \begin_layout Standard
10412 \begin_layout Subsubsection
10413 Multicolumn Calculations
10414 \begin_inset LatexCommand label
10415 name "sub:Multicolumn-Calculations"
10420 \begin_inset LatexCommand index
10421 name "Multicolumns ! Calculations"
10428 \begin_layout Standard
10429 LyX supports multicolumns directly, but we have to take notice of the cell
10430 width of the columns spanned by the multicolumn cell.
10433 \begin_layout Standard
10434 \begin_inset Float table
10439 \begin_layout Standard
10440 \begin_inset Caption
10442 \begin_layout Standard
10443 \begin_inset LatexCommand label
10444 name "tab:Table-with-centered"
10448 Table with centered multicolumn text above two columns that have exactly
10449 half the width of the multicolumn cell
10450 \begin_inset OptArg
10453 \begin_layout Standard
10454 Perfect multicolumn table
10467 \begin_layout Standard
10469 \begin_inset Tabular
10470 <lyxtabular version="3" rows="3" columns="3">
10472 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10473 <column alignment="center" valignment="middle" leftline="true" width="0">
10474 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10475 <row topline="true">
10476 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10479 \begin_layout Standard
10480 multiple lines multicolumn
10485 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10488 \begin_layout Standard
10494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10497 \begin_layout Standard
10504 <row topline="true">
10505 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10508 \begin_layout Standard
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10517 \begin_layout Standard
10523 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10526 \begin_layout Standard
10533 <row topline="true" bottomline="true">
10534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10537 \begin_layout Standard
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10546 \begin_layout Standard
10552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10555 \begin_layout Standard
10574 \begin_layout Standard
10575 To create for example Table\InsetSpace ~
10577 \begin_inset LatexCommand ref
10578 reference "tab:Table-with-centered"
10582 , mark the first two cells in the first row a 3×3 table and right-click
10584 Now choose for this cell
10592 and a width of 2.5\InsetSpace \thinspace{}
10593 cm in the table dialog.
10594 The spanned columns should have exactly half the width of the multicolumn
10595 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10596 cm for the first column.
10597 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10599 width - width of first column).
10600 This was done for Table\InsetSpace ~
10602 \begin_inset LatexCommand ref
10603 reference "tab:Table-without-half"
10610 \begin_layout Standard
10611 \begin_inset Float table
10616 \begin_layout Standard
10617 \begin_inset Caption
10619 \begin_layout Standard
10620 \begin_inset LatexCommand label
10621 name "tab:Table-without-half"
10625 Table where the spanned table columns have not exactly half the width of
10626 the multicolumn cell
10627 \begin_inset OptArg
10630 \begin_layout Standard
10631 Imperfect multicolumn table
10644 \begin_layout Standard
10646 \begin_inset Tabular
10647 <lyxtabular version="3" rows="3" columns="3">
10649 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10650 <column alignment="center" valignment="top" leftline="true" width="0">
10651 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10652 <row topline="true" bottomline="true">
10653 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10656 \begin_layout Standard
10657 multiple lines multicolumn
10662 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10665 \begin_layout Standard
10671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10674 \begin_layout Standard
10681 <row topline="true">
10682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10685 \begin_layout Standard
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10694 \begin_layout Standard
10700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10703 \begin_layout Standard
10710 <row topline="true" bottomline="true">
10711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10714 \begin_layout Standard
10720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10723 \begin_layout Standard
10729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10732 \begin_layout Standard
10751 \begin_layout Standard
10752 You can see that the first column has not the half width of the multicolumn
10753 cell, it is a bit bigger.
10754 The reason is that the given width of a cell
10755 \begin_inset Formula $W_{g}$
10758 is not its total width
10759 \begin_inset Formula $W_{\mathrm{tot}}$
10762 because a cell is always a bit larger than its given width.
10763 Appendix\InsetSpace ~
10765 \begin_inset LatexCommand eqref
10766 reference "cha:Explanation-of-Equation"
10770 explains it in detail.
10773 \begin_layout Standard
10774 The needed given width
10775 \begin_inset Formula $W_{g\, n}$
10782 columns are spanned columns can be calculated, so that each column has
10784 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10788 \begin_inset Formula \begin{equation}
10789 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10796 \begin_layout Standard
10797 In our case we have
10798 \begin_inset Formula $n=2$
10802 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10805 cm and the default values for the lengths, so that equation
10806 \begin_inset LatexCommand ref
10812 \begin_inset Formula \begin{equation}
10813 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10820 \begin_layout Standard
10821 To enable calculations in LaTeX, the LaTeX-package
10825 must be loaded with the document preamble line
10826 \begin_inset LatexCommand index
10827 name "LaTeX-packages ! calc"
10834 \begin_layout Standard
10842 \begin_layout Standard
10843 LyX does not allow to calculate lengths in the width-field of the table
10845 Therefore you have to format the column by inserting a LaTeX-argument in
10847 Here is an overview about the arguments:
10850 \begin_layout Itemize
10855 creates cell with a fixed width, its text is vertically top-aligned
10858 \begin_layout Itemize
10863 creates cell with a fixed width, its text is vertically centered
10866 \begin_layout Itemize
10871 creates cell with a fixed width, its text is vertically bottom-aligned
10874 \begin_layout Standard
10875 By entering a LaTeX-argument, all cell properties set in the table dialog
10878 \begin_inset Note Greyedout
10881 \begin_layout Standard
10886 Due to a bug, LyX shows the overwritten properties anyway.
10891 As the text should be horizontally centered, the command
10898 You can now enter the following LaTeX-argument for the first spanned column:
10901 \begin_layout Standard
10906 centering}m{1.25cm-6.2pt}
10909 \begin_layout Standard
10911 \begin_inset Quotes eld
10919 \begin_inset Quotes erd
10922 at the beginning draws the border line and the command
10926 means, that the commands inside the braces are applied before the cell
10930 \begin_layout Standard
10931 Although we have chosen centered alignment for the text of the multicolumn
10932 cell, it is still left aligned.
10933 This is because LyX only applies the alignment to single columns.
10934 So we have to use for the multicolumn the LaTeX-argument
10937 \begin_layout Standard
10942 centering}m{2.5cm}|
10945 \begin_layout Subsection
10947 \begin_inset LatexCommand index
10953 \begin_inset LatexCommand index
10954 name "Table ! Multirows"
10959 \begin_inset LatexCommand index
10960 name "LaTeX-packages ! multirow"
10967 \begin_layout Standard
10968 In contrary to multicolumns multirows are not yet supported by LyX so a
10969 bit of ERT needs to be used.
10970 To use multirows load the LaTeX-package
10974 in your document preamble with the command
10977 \begin_layout Standard
10982 usepackage{multirow}
10985 \begin_layout Standard
10986 Multirows are created with the command
10989 \begin_layout Standard
10994 multirow{number of rows}{cell width}{cell entry}
10997 \begin_layout Standard
10998 To create the following table:
11001 \begin_layout Standard
11006 \begin_layout Standard
11020 \begin_inset Tabular
11021 <lyxtabular version="3" rows="3" columns="3">
11023 <column alignment="center" valignment="top" leftline="true" width="0">
11024 <column alignment="center" valignment="top" leftline="true" width="0">
11025 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11026 <row topline="true">
11027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11030 \begin_layout Standard
11036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11039 \begin_layout Standard
11045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11048 \begin_layout Standard
11055 <row topline="true">
11056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11059 \begin_layout Standard
11063 \begin_layout Standard
11067 multirow{2}{2.5cm}{
11076 \begin_layout Standard
11088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11091 \begin_layout Standard
11097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11100 \begin_layout Standard
11107 <row topline="true" bottomline="true">
11108 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11111 \begin_layout Standard
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11120 \begin_layout Standard
11126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11129 \begin_layout Standard
11144 \begin_layout Standard
11160 \begin_layout Standard
11161 create a 3×3 table.
11162 To get rid of the line above the last cell in the first column, the cell
11163 is marked as multicolumn and the upper border is unset.
11164 The multirow is now created in the second row of the first column by inserting
11168 \begin_layout Standard
11173 multirow{2}{2.5cm}{
11176 \begin_layout Standard
11178 According to the command parameters the multirow spans now two rows and
11179 has a width of 2.5\InsetSpace \thinspace{}
11181 The content of the multirow cell follows outside the ERT box and the command
11182 is finished with a right brace
11186 in another ERT-box behind the text.
11189 \begin_layout Standard
11196 left-aligns its content by default.
11197 To override the default, renew the command
11206 \begin_layout Standard
11218 \begin_layout Standard
11219 in ERT in the document preamble.
11220 Then all entries of multirow cells in the document are centered.
11221 If centering is only needed for several tables, you can renew the command
11222 in an ERT box just before the table instead of the preamble.
11223 If the text should be right-aligned, replace
11236 To return to left-alignment
11245 \begin_layout Section
11247 \begin_inset LatexCommand label
11248 name "sec:Formal-Tables"
11253 \begin_inset LatexCommand index
11254 name "Table ! Formal"
11261 \begin_layout Standard
11262 Tables are often typeset in books similar to Table\InsetSpace ~
11264 \begin_inset LatexCommand ref
11265 reference "tab:Example-booktabs-table"
11270 This kind of tables is called
11271 \begin_inset Quotes eld
11279 \begin_inset Quotes erd
11283 To make a table a formal table use the option
11291 tab of the table dialog.
11294 \begin_layout Standard
11295 \begin_inset Float table
11301 \begin_layout Standard
11302 \begin_inset Caption
11304 \begin_layout Standard
11305 \begin_inset LatexCommand label
11306 name "tab:Example-booktabs-table"
11310 Example booktabs-table
11318 \begin_layout Standard
11320 \begin_inset Tabular
11321 <lyxtabular version="3" rows="8" columns="4">
11322 <features booktabs="true">
11323 <column alignment="center" valignment="top" rightline="true" width="0">
11324 <column alignment="center" valignment="top" width="0">
11325 <column alignment="center" valignment="top" width="0">
11326 <column alignment="center" valignment="top" width="0">
11327 <row topline="true">
11328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11331 \begin_layout Standard
11337 <cell alignment="center" valignment="top" topline="true" usebox="none">
11340 \begin_layout Standard
11342 \begin_inset Formula $\,$
11350 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11353 \begin_layout Standard
11355 \begin_inset Formula $\,$
11363 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11366 \begin_layout Standard
11374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11377 \begin_layout Standard
11381 \begin_layout Standard
11394 \begin_layout Standard
11403 Detector thickness [µm]
11408 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11411 \begin_layout Standard
11417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11420 \begin_layout Standard
11426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11429 \begin_layout Standard
11436 <row topline="true">
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11440 \begin_layout Standard
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11449 \begin_layout Standard
11455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11458 \begin_layout Standard
11464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11467 \begin_layout Standard
11474 <row topspace="default">
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11478 \begin_layout Standard
11479 Spatial resolution [µm]
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11487 \begin_layout Standard
11493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11496 \begin_layout Standard
11502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11505 \begin_layout Standard
11512 <row topspace="default">
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11516 \begin_layout Standard
11518 \begin_inset Formula $f_{\mathrm{max}}$
11526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11529 \begin_layout Standard
11535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11538 \begin_layout Standard
11544 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11547 \begin_layout Standard
11554 <row topspace="default">
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11558 \begin_layout Standard
11562 \begin_layout Standard
11566 cmidrule(l{10pt}){1-1}
11571 LSF-spatial resolution
11576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11579 \begin_layout Standard
11585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11588 \begin_layout Standard
11594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11597 \begin_layout Standard
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11608 \begin_layout Standard
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11617 \begin_layout Standard
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11626 \begin_layout Standard
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11635 \begin_layout Standard
11642 <row bottomline="true">
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11646 \begin_layout Standard
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11655 \begin_layout Standard
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11664 \begin_layout Standard
11670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11673 \begin_layout Standard
11692 \begin_layout Standard
11693 Spaces to table rows can be added using the
11697 tab of the table dialog as described in section\InsetSpace ~
11699 \begin_inset LatexCommand ref
11700 reference "sub:Row-Spacing"
11707 \begin_layout Standard
11708 In contrary to normal tables, formal tables have no vertical table lines.
11709 The horizontal table lines can be set like for normal tables but they appear
11710 with different width in the output:
11712 The first and the last table line have
11713 a default width of 0.08\InsetSpace \thinspace{}
11714 em while the other lines have a default width of
11715 0.05\InsetSpace \thinspace{}
11719 \begin_layout Standard
11720 The default widths can be changed with the following preamble lines
11723 \begin_layout Standard
11743 \begin_layout Standard
11744 This example is for the first line, the so called toprule.
11745 If you want to change the width for the last line, replace
11754 To change the width for the other lines replace
11763 You can use all units listed in appendix\InsetSpace ~
11765 \begin_inset LatexCommand ref
11766 reference "cha:Units-available-in"
11773 \begin_layout Standard
11774 Lines that don't span over all table columns can be created by setting a
11775 table line for multicolumn cells.
11776 LyX will then internally use the command
11782 to create this line.
11786 \begin_layout Standard
11791 cmidrule[width](trim){startcol-endcol}
11794 \begin_layout Standard
11801 are are currently not supported by LyX so you have to use ERT to be able
11809 s can manually be created by inserting the command as ERT as first cell
11810 entry of the first cell of a row.
11811 The line is then drawn in the output above the current row.
11814 \begin_layout Standard
11815 The default for the width is 0.03\InsetSpace \thinspace{}
11817 Startcol is the number of the column where the line starts and endcol the
11818 column number where the line ends.
11819 The endcol always needs to be specified, also when the line should span
11821 The optional parameter trim could be either
11829 where the trimwidth is also optional.
11830 Using for example the parameter
11834 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11836 If you don't specify the trimwidth the lines are trimmed by the default
11837 of 0.5\InsetSpace \thinspace{}
11841 \begin_layout Standard
11842 \begin_inset VSpace bigskip
11847 \begin_inset LatexCommand ref
11848 reference "tab:Example-booktabs-table"
11852 was created using the commands
11855 \begin_layout Standard
11865 \begin_layout Standard
11866 at the beginning of the in the second row and
11869 \begin_layout Standard
11874 cmidrule(l{10pt}){1-1}
11877 \begin_layout Standard
11881 \begin_layout Standard
11885 \begin_layout Standard
11886 \begin_inset VSpace bigskip
11892 \begin_layout Standard
11893 You might want to have overlapping
11899 s like in Table\InsetSpace ~
11901 \begin_inset LatexCommand ref
11902 reference "tab:Special-booktabs-table"
11907 This can be achieved with the ERT command
11910 \begin_layout Standard
11918 \begin_layout Standard
11919 The command that was used for the second row of Table\InsetSpace ~
11921 \begin_inset LatexCommand ref
11922 reference "tab:Special-booktabs-table"
11929 \begin_layout Standard
11943 \begin_layout Standard
11944 The command for the sixth row is
11947 \begin_layout Standard
11959 \begin_layout Standard
11960 \begin_inset VSpace bigskip
11966 \begin_layout Standard
11967 If you are anyway not satisfied with the border line spacing, you can use
11968 the following command to produce lines that span over all table columns
11973 \begin_layout Standard
11978 specialrule{width}{space above}{space below}
11981 \begin_layout Standard
11982 For more informations about these specialties, we refer to the manual of
11988 \begin_inset LatexCommand cite
11994 \begin_inset LatexCommand index
11995 name "LaTeX-packages ! booktabs"
12002 \begin_layout Standard
12003 \begin_inset Float table
12009 \begin_layout Standard
12010 \begin_inset Caption
12012 \begin_layout Standard
12013 \begin_inset LatexCommand label
12014 name "tab:Special-booktabs-table"
12018 Special booktabs-table
12026 \begin_layout Standard
12028 \begin_inset Tabular
12029 <lyxtabular version="3" rows="8" columns="4">
12030 <features booktabs="true">
12031 <column alignment="center" valignment="top" width="0">
12032 <column alignment="center" valignment="top" width="0">
12033 <column alignment="center" valignment="top" width="0">
12034 <column alignment="center" valignment="top" width="0">
12035 <row topline="true">
12036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12039 \begin_layout Standard
12045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12048 \begin_layout Standard
12049 Medipix\InsetSpace \thinspace{}
12055 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12058 \begin_layout Standard
12059 Medipix\InsetSpace \thinspace{}
12065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12068 \begin_layout Standard
12076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12079 \begin_layout Standard
12083 \begin_layout Standard
12096 \begin_layout Standard
12109 \begin_layout Standard
12122 \begin_layout Standard
12131 Detector thickness [µm]
12136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12139 \begin_layout Standard
12145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12148 \begin_layout Standard
12154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12157 \begin_layout Standard
12164 <row topline="true">
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12168 \begin_layout Standard
12174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12177 \begin_layout Standard
12183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12186 \begin_layout Standard
12192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12195 \begin_layout Standard
12202 <row topspace="default">
12203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12206 \begin_layout Standard
12207 Spatial resolution [µm]
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12215 \begin_layout Standard
12221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12224 \begin_layout Standard
12230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12233 \begin_layout Standard
12240 <row topspace="default">
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12244 \begin_layout Standard
12246 \begin_inset Formula $f_{\mathrm{max}}$
12254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12257 \begin_layout Standard
12263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12266 \begin_layout Standard
12272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12275 \begin_layout Standard
12282 <row topline="true">
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12286 \begin_layout Standard
12290 \begin_layout Standard
12303 \begin_layout Standard
12312 LSF-spatial resolution
12317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12320 \begin_layout Standard
12326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12329 \begin_layout Standard
12335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12338 \begin_layout Standard
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12349 \begin_layout Standard
12355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12358 \begin_layout Standard
12364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12367 \begin_layout Standard
12373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12376 \begin_layout Standard
12383 <row bottomline="true">
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12387 \begin_layout Standard
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12396 \begin_layout Standard
12402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12405 \begin_layout Standard
12411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12414 \begin_layout Standard
12433 \begin_layout Section
12434 Vertical Table Alignment
12435 \begin_inset LatexCommand index
12436 name "Table ! Alignment"
12443 \begin_layout Standard
12444 To align tables vertically in a text line the table must be inside a box.
12445 The box can then be vertically aligned as described in section\InsetSpace ~
12447 \begin_inset LatexCommand ref
12448 reference "sec:Box-Dialog"
12455 \begin_layout Standard
12456 In the following example the tables are inside a minipage
12460 \begin_layout Standard
12461 Minipages are described in section\InsetSpace ~
12463 \begin_inset LatexCommand ref
12464 reference "sec:Minipages"
12473 box that has a width of 15\InsetSpace \thinspace{}
12477 \begin_layout Itemize
12479 \begin_inset Box Frameless
12488 height_special "totalheight"
12491 \begin_layout Standard
12492 \begin_inset Tabular
12493 <lyxtabular version="3" rows="3" columns="3">
12495 <column alignment="center" valignment="top" leftline="true" width="0">
12496 <column alignment="center" valignment="top" leftline="true" width="0">
12497 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12498 <row topline="true">
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" usebox="none">
12511 \begin_layout Standard
12517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12520 \begin_layout Standard
12527 <row topline="true">
12528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12531 \begin_layout Standard
12537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12540 \begin_layout Standard
12546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12549 \begin_layout Standard
12556 <row topline="true" bottomline="true">
12557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12560 \begin_layout Standard
12566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12569 \begin_layout Standard
12575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12578 \begin_layout Standard
12598 \begin_layout Standard
12610 \begin_inset Box Frameless
12619 height_special "totalheight"
12622 \begin_layout Standard
12623 \begin_inset Tabular
12624 <lyxtabular version="3" rows="3" columns="3">
12626 <column alignment="center" valignment="top" leftline="true" width="0">
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12629 <row topline="true">
12630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12633 \begin_layout Standard
12639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12642 \begin_layout Standard
12648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12651 \begin_layout Standard
12658 <row topline="true">
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12662 \begin_layout Standard
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12671 \begin_layout Standard
12677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12680 \begin_layout Standard
12687 <row topline="true" bottomline="true">
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12691 \begin_layout Standard
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12700 \begin_layout Standard
12706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12709 \begin_layout Standard
12729 \begin_layout Standard
12739 \begin_layout Itemize
12741 \begin_inset Box Frameless
12750 height_special "totalheight"
12753 \begin_layout Standard
12754 \begin_inset Tabular
12755 <lyxtabular version="3" rows="3" columns="3">
12757 <column alignment="center" valignment="top" leftline="true" width="0">
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12760 <row topline="true">
12761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12764 \begin_layout Standard
12770 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12773 \begin_layout Standard
12779 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12782 \begin_layout Standard
12789 <row topline="true">
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12793 \begin_layout Standard
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12802 \begin_layout Standard
12808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12811 \begin_layout Standard
12818 <row topline="true" bottomline="true">
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12822 \begin_layout Standard
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12831 \begin_layout Standard
12837 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12840 \begin_layout Standard
12859 \begin_layout Itemize
12861 \begin_inset Box Frameless
12870 height_special "totalheight"
12873 \begin_layout Standard
12874 \begin_inset Tabular
12875 <lyxtabular version="3" rows="3" columns="3">
12877 <column alignment="center" valignment="top" leftline="true" width="0">
12878 <column alignment="center" valignment="top" leftline="true" width="0">
12879 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12880 <row topline="true">
12881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12884 \begin_layout Standard
12890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12893 \begin_layout Standard
12899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12902 \begin_layout Standard
12909 <row topline="true">
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12913 \begin_layout Standard
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12922 \begin_layout Standard
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12931 \begin_layout Standard
12938 <row topline="true" bottomline="true">
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12942 \begin_layout Standard
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12951 \begin_layout Standard
12957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12960 \begin_layout Standard
12980 \begin_layout Standard
12992 \begin_inset Box Frameless
13001 height_special "totalheight"
13004 \begin_layout Standard
13005 \begin_inset Tabular
13006 <lyxtabular version="3" rows="3" columns="3">
13008 <column alignment="center" valignment="top" leftline="true" width="0">
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13011 <row topline="true">
13012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13015 \begin_layout Standard
13021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13024 \begin_layout Standard
13030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13033 \begin_layout Standard
13040 <row topline="true">
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13044 \begin_layout Standard
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13053 \begin_layout Standard
13059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13062 \begin_layout Standard
13069 <row topline="true" bottomline="true">
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13073 \begin_layout Standard
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13082 \begin_layout Standard
13088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13091 \begin_layout Standard
13111 \begin_layout Standard
13121 \begin_layout Standard
13122 As you can see, the content of the first and last table row is not correctly
13123 aligned with the text line where the table is in.
13124 To get this alignment, the minipage box must be set into a raisebox
13128 \begin_layout Standard
13129 Raiseboxes are described in section\InsetSpace ~
13131 \begin_inset LatexCommand ref
13132 reference "sub:Vertical-Alignment"
13142 In the example above the second table in the first item is aligned using
13146 \begin_layout Standard
13156 \begin_layout Standard
13158 Behind the box the closing brace
13162 is inserted as ERT.
13163 For the second table in the last item the command
13166 \begin_layout Standard
13176 \begin_layout Standard
13180 \begin_layout Standard
13181 \begin_inset Note Greyedout
13184 \begin_layout Standard
13189 The alignment of the table row content to the surrounding text line is not
13191 The needed factor of the
13197 command for this alignment depends on the document font, the font size,
13198 and the table line thickness.
13206 \begin_layout Section
13208 \begin_inset LatexCommand label
13209 name "sec:Colored-Tables"
13214 \begin_inset LatexCommand index
13215 name "Table ! Color"
13222 \begin_layout Subsection
13224 \begin_inset LatexCommand index
13225 name "Table Color ! for Cells"
13230 \begin_inset LatexCommand index
13231 name "Color ! for Table Cells"
13238 \begin_layout Standard
13239 \begin_inset Float table
13245 \begin_layout Standard
13246 \begin_inset Caption
13248 \begin_layout Standard
13249 \begin_inset LatexCommand label
13250 name "tab:Table-colored-without"
13254 Table colored without using the package
13259 \begin_inset OptArg
13262 \begin_layout Standard
13263 Table without colortbl
13276 \begin_layout Standard
13278 \begin_inset Tabular
13279 <lyxtabular version="3" rows="3" columns="3">
13281 <column alignment="center" valignment="top" leftline="true" width="0">
13282 <column alignment="center" valignment="top" leftline="true" width="0">
13283 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13284 <row topline="true">
13285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13288 \begin_layout Standard
13296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13299 \begin_layout Standard
13307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13310 \begin_layout Standard
13319 <row topline="true">
13320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13323 \begin_layout Standard
13331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13334 \begin_layout Standard
13342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13345 \begin_layout Standard
13354 <row topline="true" bottomline="true">
13355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13358 \begin_layout Standard
13366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13369 \begin_layout Standard
13377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13380 \begin_layout Standard
13401 \begin_layout Standard
13402 If you only need colored text, mark the cells and choose a color in the
13405 Edit\SpecialChar \menuseparator
13410 This was used to create Table\InsetSpace ~
13412 \begin_inset LatexCommand ref
13413 reference "tab:Table-colored-without"
13418 In any other case you have to use the LaTeX-package
13423 \begin_inset LatexCommand index
13424 name "LaTeX-packages ! colortbl"
13431 \begin_layout Standard
13432 To create colored tables,
13436 must be loaded in the preamble with the line
13439 \begin_layout Standard
13444 usepackage{colortbl}
13447 \begin_layout Standard
13448 The color of a column is adjusted with the command
13451 \begin_layout Standard
13456 columncolor{name of color}
13459 \begin_layout Standard
13465 More about the command
13469 is described in section\InsetSpace ~
13471 \begin_inset LatexCommand ref
13472 reference "sub:Multicolumn-Calculations"
13479 \begin_layout Standard
13480 The following color names are predefined:
13483 \begin_layout Standard
13517 \begin_layout Standard
13518 \begin_inset VSpace medskip
13524 \begin_layout Standard
13525 You can also define your own color with the command
13528 \begin_layout Standard
13533 def\SpecialChar \textcompwordmark{}
13534 inecolor{color name}{color model}{color values}
13537 \begin_layout Standard
13538 The color model can be
13541 \begin_layout Labeling
13542 \labelwidthstring 00.00.0000
13543 cmyk: cyan, magenta, yellow, black
13546 \begin_layout Labeling
13547 \labelwidthstring 00.00.0000
13548 rgb: red, green blue
13551 \begin_layout Labeling
13552 \labelwidthstring 00.00.0000
13556 \begin_layout Standard
13557 and the color values are comma separated numbers between 0 and 1 describing
13558 the factor for the corresponding color of the color model.
13561 \begin_layout Standard
13562 You can e.\InsetSpace \thinspace{}
13568 " in the preamble with
13571 \begin_layout Standard
13576 def\SpecialChar \textcompwordmark{}
13577 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13580 \begin_layout Standard
13588 \begin_layout Standard
13593 def\SpecialChar \textcompwordmark{}
13594 inecolor{lightgray}{gray}{0.8}
13597 \begin_layout Standard
13598 \begin_inset VSpace medskip
13604 \begin_layout Standard
13605 Lines are colored with the command
13608 \begin_layout Standard
13613 rowcolor{name of color}
13616 \begin_layout Standard
13617 and cells are colored with the command
13620 \begin_layout Standard
13625 cellcolor{name of color}
13628 \begin_layout Standard
13629 Both commands are inserted at the beginning of a cell as ERT.
13632 \begin_layout Standard
13633 To color characters in the table, mark the cells and use the LyX menu
13635 Edit\SpecialChar \menuseparator
13640 If a cell contains ERT mark only the characters, otherwise the colored
13641 ERT will cause LaTeX-errors.
13644 \begin_layout Standard
13645 \begin_inset VSpace bigskip
13651 \begin_layout Standard
13652 To create Table\InsetSpace ~
13654 \begin_inset LatexCommand ref
13655 reference "tab:Table-colored-using"
13659 do the following: The color of the first column should be
13667 \begin_layout Standard
13672 columncolor{darkgreen}
13677 \begin_layout Standard
13678 as LaTeX-argument for this column.
13679 The first row should be blue, therefore the ERT command
13682 \begin_layout Standard
13690 \begin_layout Standard
13691 is inserted to the first cell of this row.
13692 Note that this overwrites the column color for the first cell.
13693 The last cell of the last row is colored magenta by inserting the ERT command
13696 \begin_layout Standard
13704 \begin_layout Standard
13705 The characters could now be colored using the menu
13707 Edit\SpecialChar \menuseparator
13714 \begin_layout Standard
13715 \begin_inset Float table
13721 \begin_layout Standard
13722 \begin_inset Caption
13724 \begin_layout Standard
13725 \begin_inset LatexCommand label
13726 name "tab:Table-colored-using"
13730 Table colored using the package
13735 \begin_inset OptArg
13738 \begin_layout Standard
13739 Table with colortbl
13752 \begin_layout Standard
13754 \begin_inset Tabular
13755 <lyxtabular version="3" rows="3" columns="3">
13757 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13758 <column alignment="center" valignment="top" width="0">
13759 <column alignment="center" valignment="top" width="0">
13761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13764 \begin_layout Standard
13768 \begin_layout Standard
13784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13787 \begin_layout Standard
13795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13798 \begin_layout Standard
13808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13811 \begin_layout Standard
13819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13822 \begin_layout Standard
13830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13833 \begin_layout Standard
13843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13846 \begin_layout Standard
13854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13857 \begin_layout Standard
13865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13868 \begin_layout Standard
13872 \begin_layout Standard
13901 \begin_layout Subsection
13903 \begin_inset LatexCommand index
13904 name "Table Color ! for Lines"
13909 \begin_inset LatexCommand index
13910 name "Color ! for Table Lines"
13917 \begin_layout Standard
13918 As described in section\InsetSpace ~
13920 \begin_inset LatexCommand ref
13921 reference "sub:Line-Thickness"
13925 , the line thickness for all lines in a table can be adjusted with the length
13933 It is set to 1.5\InsetSpace \thinspace{}
13934 pt for all tables of this section.
13938 \begin_layout Standard
13944 arrayrulewidth}{1.5pt}
13952 \begin_layout Standard
13953 To color vertical lines for example with green, create the following column
13954 format in the document preamble, according to the description in section\InsetSpace ~
13956 \begin_inset LatexCommand ref
13957 reference "sub:Customized-Format"
13964 \begin_layout Standard
13969 newcolumntype{W}{!{
13976 \begin_layout Standard
13977 For Table\InsetSpace ~
13979 \begin_inset LatexCommand ref
13980 reference "tab:Table-with-vertical-colored"
13987 \begin_layout Standard
13993 \begin_layout Standard
13994 was used for the last column and
13997 \begin_layout Standard
14003 \begin_layout Standard
14004 for the other columns.
14007 \begin_layout Standard
14008 If you want to have several colors, define more column formats.
14011 \begin_layout Standard
14012 \begin_inset Float table
14017 \begin_layout Standard
14018 \begin_inset Caption
14020 \begin_layout Standard
14021 \begin_inset LatexCommand label
14022 name "tab:Table-with-vertical-colored"
14026 Table with colored vertical lines
14034 \begin_layout Standard
14036 \begin_inset Tabular
14037 <lyxtabular version="3" rows="3" columns="3">
14039 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14040 <column alignment="center" valignment="top" width="0" special="Wc">
14041 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14042 <row topline="true">
14043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14046 \begin_layout Standard
14052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14055 \begin_layout Standard
14061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14064 \begin_layout Standard
14071 <row topline="true">
14072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14075 \begin_layout Standard
14081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14084 \begin_layout Standard
14090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14093 \begin_layout Standard
14100 <row topline="true" bottomline="true">
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14104 \begin_layout Standard
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14113 \begin_layout Standard
14119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14122 \begin_layout Standard
14141 \begin_layout Standard
14142 \begin_inset VSpace bigskip
14145 To color horizontal lines for example with red, like in Table\InsetSpace ~
14147 \begin_inset LatexCommand ref
14148 reference "tab:Table-with-horizontal-colored"
14152 , insert these commands in ERT before the table or table float:
14155 \begin_layout Standard
14172 arrayrulecolor{red}
14176 arrayrulecolor{black}}
14179 \begin_layout Standard
14183 \begin_layout Standard
14194 \begin_layout Standard
14202 arrayrulecolor{red}
14206 arrayrulecolor{black}}
14212 \begin_inset Float table
14217 \begin_layout Standard
14218 \begin_inset Caption
14220 \begin_layout Standard
14221 \begin_inset LatexCommand label
14222 name "tab:Table-with-horizontal-colored"
14226 Table with colored horizontal lines
14234 \begin_layout Standard
14236 \begin_inset Tabular
14237 <lyxtabular version="3" rows="3" columns="3">
14239 <column alignment="center" valignment="top" leftline="true" width="0">
14240 <column alignment="center" valignment="top" leftline="true" width="0">
14241 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14242 <row topline="true">
14243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14246 \begin_layout Standard
14252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14255 \begin_layout Standard
14261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14264 \begin_layout Standard
14271 <row topline="true">
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14275 \begin_layout Standard
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14284 \begin_layout Standard
14290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14293 \begin_layout Standard
14300 <row topline="true" bottomline="true">
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14304 \begin_layout Standard
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14313 \begin_layout Standard
14319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14322 \begin_layout Standard
14341 \begin_layout Standard
14345 \begin_layout Standard
14357 \begin_layout Standard
14358 To return to the default line color black, insert this command in ERT behind
14359 the table or table float:
14362 \begin_layout Standard
14374 \begin_layout Standard
14377 \begin_inset LatexCommand ref
14378 reference "tab:Table-with-colored"
14382 is an example with colored vertical and horizontal lines.
14385 \begin_layout Standard
14386 \begin_inset Float table
14391 \begin_layout Standard
14392 \begin_inset Caption
14394 \begin_layout Standard
14395 \begin_inset LatexCommand label
14396 name "tab:Table-with-colored"
14400 Table with colored lines
14408 \begin_layout Standard
14410 \begin_inset Tabular
14411 <lyxtabular version="3" rows="3" columns="3">
14413 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14414 <column alignment="center" valignment="top" width="0" special="Wc">
14415 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14416 <row topline="true">
14417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14420 \begin_layout Standard
14426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14429 \begin_layout Standard
14435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14438 \begin_layout Standard
14445 <row topline="true">
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14449 \begin_layout Standard
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14458 \begin_layout Standard
14464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14467 \begin_layout Standard
14474 <row topline="true" bottomline="true" topspace="default">
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14478 \begin_layout Standard
14484 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14487 \begin_layout Standard
14493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14496 \begin_layout Standard
14515 \begin_layout Standard
14519 \begin_layout Standard
14535 \begin_layout Standard
14539 \begin_layout Standard
14545 arrayrulewidth}{0.4pt}
14553 \begin_layout Section
14554 Table Customization
14555 \begin_inset LatexCommand index
14556 name "Table Customization"
14561 \begin_inset LatexCommand index
14562 name "Table ! Customization"
14569 \begin_layout Subsection
14571 \begin_inset LatexCommand label
14572 name "sub:Row-Spacing"
14577 \begin_inset LatexCommand index
14578 name "Table Customization ! Row Spacing"
14585 \begin_layout Standard
14586 You can add vertical space to table rows in the
14590 tab of the table dialog.
14591 You find there three possibilities:
14594 \begin_layout Description
14597 row will add space above the characters of the table row.
14598 If the table is a formal table
14602 \begin_layout Standard
14603 Formal tables are explained in section\InsetSpace ~
14605 \begin_inset LatexCommand ref
14606 reference "sec:Formal-Tables"
14615 LyX will insert as default 0.5\InsetSpace \thinspace{}
14617 For normal tables the inserted space will unfortunately destroy the vertical
14618 table lines as in the following table:
14619 \begin_inset Tabular
14620 <lyxtabular version="3" rows="3" columns="1">
14622 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14623 <row topline="true">
14624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14627 \begin_layout Standard
14634 <row topline="true" topspace="3mm">
14635 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14638 \begin_layout Standard
14639 3\InsetSpace \thinspace{}
14640 mm space top of row
14646 <row topline="true" bottomline="true">
14647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14650 \begin_layout Standard
14663 So inserting space to the top of row for normal tables is only useful when
14664 you don't have vertical lines.
14667 \begin_layout Description
14668 Bottom\InsetSpace ~
14670 row will add space below the characters of the table row.
14671 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14673 normal tables the default size is 2\InsetSpace \thinspace{}
14677 \begin_layout Description
14678 Between\InsetSpace ~
14679 rows only has an effect when you have selected the whole table row
14681 The space is added between the current and the following row.
14682 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14684 For normal tables the inserted space will unfortunately destroy the vertical
14685 table lines as in the following table:
14686 \begin_inset Tabular
14687 <lyxtabular version="3" rows="3" columns="1">
14689 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14690 <row topline="true">
14691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14694 \begin_layout Standard
14701 <row topline="true" interlinespace="3mm">
14702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14705 \begin_layout Standard
14706 \begin_inset Formula $\downarrow$
14709 3\InsetSpace \thinspace{}
14710 mm space between row
14711 \begin_inset Formula $\downarrow$
14720 <row topline="true" bottomline="true">
14721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14724 \begin_layout Standard
14725 \begin_inset Formula $\uparrow$
14728 3\InsetSpace \thinspace{}
14729 mm space between row
14730 \begin_inset Formula $\uparrow$
14745 So inserting space to the top of row for normal tables is only useful when
14746 you don't have vertical lines.
14749 \begin_layout Standard
14750 When you want to add extra height to all cells of all tables, you can do
14751 this with the following preamble line:
14754 \begin_layout Standard
14761 extrarowheight}{height}
14764 \begin_layout Standard
14765 But this has the disadvantage that the cell texts are no longer exactly
14766 vertically centered.
14769 \begin_layout Subsection
14770 Special Cell Alignment
14771 \begin_inset LatexCommand index
14772 name "Table Customization ! Special Cell Alignment"
14779 \begin_layout Standard
14780 Sometimes it looks better when the cell entries of a column are aligned
14781 with a special character, e.\InsetSpace \thinspace{}
14783 with the decimal separator as in Table\InsetSpace ~
14785 \begin_inset LatexCommand ref
14786 reference "tab:Table-cells-of"
14793 \begin_layout Standard
14794 \begin_inset Float table
14800 \begin_layout Standard
14801 \begin_inset Caption
14803 \begin_layout Standard
14804 \begin_inset LatexCommand label
14805 name "tab:Table-cells-of"
14809 Table cells of a column aligned with the decimal separator.
14817 \begin_layout Standard
14819 \begin_inset Tabular
14820 <lyxtabular version="3" rows="4" columns="2">
14822 <column alignment="right" valignment="top" width="0">
14823 <column alignment="left" valignment="top" width="0" special="@{}l">
14824 <row bottomline="true">
14825 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14828 \begin_layout Standard
14834 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14837 \begin_layout Standard
14845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14848 \begin_layout Standard
14854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14857 \begin_layout Standard
14865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14868 \begin_layout Standard
14874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14877 \begin_layout Standard
14885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14888 \begin_layout Standard
14894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14897 \begin_layout Standard
14916 \begin_layout Standard
14917 This table was created with a 4×2 table.
14918 The heading is a centered multicolumn.
14919 The first column is right-aligned and contains the digits before the decimal
14920 point and the decimal point.
14921 The second column is left aligned and contains the digits after the decimal
14923 To omit the space that is normally between two table columns, use the following
14924 LaTeX-argument for the second column:
14927 \begin_layout Standard
14933 \begin_layout Standard
14934 If you need a vertical line right beside the second column, use this LaTeX-argum
14940 \begin_layout Standard
14943 \begin_inset LatexCommand ref
14944 reference "tab:Several-table-cell"
14948 shows some example alignments.
14949 For the alignment with the relation sign, you must add the second smallest
14950 math-space at the beginning of the last column to get the correct space
14951 surrounding the relation sign.
14954 \begin_layout Standard
14955 \begin_inset Float table
14960 \begin_layout Standard
14961 \begin_inset Caption
14963 \begin_layout Standard
14964 \begin_inset LatexCommand label
14965 name "tab:Several-table-cell"
14969 Several table cell alignments.
14977 \begin_layout Standard
14979 \begin_inset Tabular
14980 <lyxtabular version="3" rows="4" columns="6">
14982 <column alignment="right" valignment="top" width="0">
14983 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14984 <column alignment="right" valignment="top" width="0">
14985 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14986 <column alignment="right" valignment="top" width="0">
14987 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
14988 <row bottomline="true">
14989 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14992 \begin_layout Standard
14998 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15001 \begin_layout Standard
15007 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15010 \begin_layout Standard
15016 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15019 \begin_layout Standard
15025 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15028 \begin_layout Standard
15034 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15037 \begin_layout Standard
15045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15048 \begin_layout Standard
15054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15057 \begin_layout Standard
15058 24\InsetSpace \thinspace{}
15064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15067 \begin_layout Standard
15068 \begin_inset Formula $10\cdot$
15076 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15079 \begin_layout Standard
15080 \begin_inset Formula $10^{\mbox{-}17}$
15088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15091 \begin_layout Standard
15092 \begin_inset Formula $\Gamma(t)\propto$
15100 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15103 \begin_layout Standard
15104 \begin_inset Formula $\:\Upsilon(t)$
15114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15117 \begin_layout Standard
15123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15126 \begin_layout Standard
15127 768\InsetSpace \thinspace{}
15133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15136 \begin_layout Standard
15137 \begin_inset Formula $5.78\cdot$
15145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15148 \begin_layout Standard
15149 \begin_inset Formula $10^{7}$
15157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15160 \begin_layout Standard
15161 \begin_inset Formula $A\ne$
15169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15172 \begin_layout Standard
15173 \begin_inset Formula $\: B_{\mathrm{red}}$
15183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15186 \begin_layout Standard
15192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15195 \begin_layout Standard
15196 6\InsetSpace \thinspace{}
15202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15205 \begin_layout Standard
15207 \begin_inset Formula $33.5\cdot$
15215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15218 \begin_layout Standard
15219 \begin_inset Formula $10^{4}$
15227 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15230 \begin_layout Standard
15231 \begin_inset Formula $\sin(\alpha)\ge$
15239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15242 \begin_layout Standard
15243 \begin_inset Formula $\:\sin(\beta)$
15264 \begin_layout Standard
15265 \begin_inset VSpace bigskip
15268 There is also the LaTeX-package
15273 \begin_inset LatexCommand index
15274 name "LaTeX-packages ! dcolumn"
15278 that provides table cell alignments.
15279 But this unfortunately treats the cell entries as math and doesn't allow
15280 formulas in table cells: The first column of Table\InsetSpace ~
15282 \begin_inset LatexCommand ref
15283 reference "tab:Several-table-cell"
15291 like the first column in Table\InsetSpace ~
15293 \begin_inset LatexCommand ref
15294 reference "tab:Alignments-when"
15298 and only with some tricks like the expected.
15299 The alignment of the second and third column of Table\InsetSpace ~
15301 \begin_inset LatexCommand ref
15302 reference "tab:Several-table-cell"
15306 is not possible with
15313 \begin_layout Standard
15314 \begin_inset Float table
15320 \begin_layout Standard
15321 \begin_inset Caption
15323 \begin_layout Standard
15324 \begin_inset LatexCommand label
15325 name "tab:Alignments-when"
15329 Alignments when LaTeX-package dcolumn is used.
15330 For the second and third alignment some tricks were used.
15338 \begin_layout Standard
15340 \begin_inset Tabular
15341 <lyxtabular version="3" rows="4" columns="3">
15343 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15344 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15345 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15346 <row bottomline="true">
15347 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15350 \begin_layout Standard
15356 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15359 \begin_layout Standard
15365 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15368 \begin_layout Standard
15376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15379 \begin_layout Standard
15380 12×24\InsetSpace \thinspace{}
15386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15389 \begin_layout Standard
15390 12×24\InsetSpace \thinspace{}
15392 \begin_inset Formula $\mbox{bottles}$
15400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15403 \begin_layout Standard
15405 \begin_inset Formula $\mbox{bottles}$
15415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15418 \begin_layout Standard
15419 1024×768\InsetSpace \thinspace{}
15425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15428 \begin_layout Standard
15429 1024×768\InsetSpace \thinspace{}
15431 \begin_inset Formula $\mbox{Pixels}$
15439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15442 \begin_layout Standard
15444 \begin_inset Formula $\mbox{Pixels}$
15454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15457 \begin_layout Standard
15458 32×6\InsetSpace \thinspace{}
15464 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15467 \begin_layout Standard
15468 32×6\InsetSpace \thinspace{}
15470 \begin_inset Formula $\mbox{cm}$
15478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15481 \begin_layout Standard
15483 \begin_inset Formula $\mbox{cm}$
15504 \begin_layout Subsection
15505 Customized Cell/Column Format
15506 \begin_inset LatexCommand label
15507 name "sub:Customized-Format"
15512 \begin_inset LatexCommand index
15513 name "Table Customization ! Cell/Column Format"
15520 \begin_layout Standard
15521 Calculating the needed width for spanned columns like in section\InsetSpace ~
15523 \begin_inset LatexCommand ref
15524 reference "sub:Multicolumn-Calculations"
15528 is very annoying if you have several tables with multicolumn cells.
15529 To make life easier, you can define a cell/column format in the preamble,
15530 so that it can be used in all tables of the document.
15531 The format is defined with the command
15534 \begin_layout Standard
15539 newcolumntype{name of format}[number of arguments]{commands}
15542 \begin_layout Standard
15543 The format name may only consist of one letter.
15568 are predefined and cannot be used.
15569 But all letters are allowed as capitals.
15572 \begin_layout Standard
15573 \begin_inset VSpace medskip
15579 \begin_layout Standard
15580 For vertically and horizontally centered multicolumn cells with a fixed
15581 width you can define the cell format
15584 \begin_layout Standard
15589 newcolumntype{M}[1]{>{
15596 \begin_layout Standard
15603 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15605 \begin_inset LatexCommand ref
15606 reference "sub:Multiple-Lines-in"
15611 Now you can simply enter
15614 \begin_layout Standard
15620 \begin_layout Standard
15621 as LaTeX-argument in the table dialog to create a multicolumn.
15624 \begin_layout Standard
15625 \begin_inset VSpace bigskip
15631 \begin_layout Standard
15632 For cells spanned by a multicolumn cell, you can define the format
15635 \begin_layout Standard
15640 newcolumntype{S}[2]{>{
15650 \begin_layout Standard
15661 newcolumntype{S}[2]
15665 \begin_layout Standard
15676 arrayrulewidth)*(1-#2))/#2}}
15679 \begin_layout Standard
15680 This format uses equation
15681 \begin_inset LatexCommand eqref
15686 to calculate the needed width so that each spanned cell has the same width.
15689 \begin_layout Standard
15693 \begin_layout Standard
15696 |S{width of multicolumn cell}{number of spanned columns}
15699 \begin_layout Standard
15700 as LaTeX-argument of the column.
15703 \begin_layout Standard
15704 \begin_inset VSpace bigskip
15710 \begin_layout Standard
15711 For colored columns, you can define
15714 \begin_layout Standard
15719 newcolumntype{K}[1]{>{
15726 \begin_layout Standard
15728 \begin_inset Quotes eld
15732 \begin_inset Quotes erd
15735 at the end creates a column with a flexible width whose text is horizontally
15740 \begin_layout Standard
15746 \begin_layout Standard
15750 \begin_layout Standard
15751 \begin_inset VSpace bigskip
15757 \begin_layout Standard
15758 To create Table\InsetSpace ~
15760 \begin_inset LatexCommand ref
15761 reference "tab:Table-using-user-defined"
15765 use the LaTeX-arguments
15768 \begin_layout Standard
15774 \begin_layout Standard
15775 for the first column and the multicolumn,
15778 \begin_layout Standard
15784 \begin_layout Standard
15785 for the the last column, and
15788 \begin_layout Standard
15794 \begin_layout Standard
15795 for the cells in the second column.
15798 \begin_layout Standard
15799 \begin_inset Float table
15805 \begin_layout Standard
15806 \begin_inset Caption
15808 \begin_layout Standard
15809 \begin_inset LatexCommand label
15810 name "tab:Table-using-user-defined"
15814 Table using user-defined table formats
15822 \begin_layout Standard
15824 \begin_inset Tabular
15825 <lyxtabular version="3" rows="3" columns="4">
15827 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15828 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15829 <column alignment="center" valignment="middle" leftline="true" width="0">
15830 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15831 <row topline="true">
15832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15835 \begin_layout Standard
15836 verylongtablecellword
15841 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15844 \begin_layout Standard
15845 multiple lines multicolumn
15850 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15853 \begin_layout Standard
15859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15862 \begin_layout Standard
15869 <row topline="true">
15870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15873 \begin_layout Standard
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15882 \begin_layout Standard
15888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15891 \begin_layout Standard
15897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15900 \begin_layout Standard
15907 <row topline="true" bottomline="true">
15908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15911 \begin_layout Standard
15917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15920 \begin_layout Standard
15926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15929 \begin_layout Standard
15935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15938 \begin_layout Standard
15957 \begin_layout Subsection
15959 \begin_inset LatexCommand label
15960 name "sub:Line-Thickness"
15965 \begin_inset LatexCommand index
15966 name "Table Customization ! Line Thickness"
15973 \begin_layout Standard
15974 The line thickness for all lines in a table can be adjusted with the length
15982 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15983 pt, like in Table\InsetSpace ~
15985 \begin_inset LatexCommand ref
15986 reference "tab:Table-with-1.5"
15990 , insert the command
15993 \begin_layout Standard
16000 arrayrulewidth}{1.5pt}
16003 \begin_layout Standard
16004 in ERT before the table or table float.
16005 The changed thickness is valid for all following tables.
16006 To use the default value again, set
16012 to 0.4\InsetSpace \thinspace{}
16013 pt in ERT behind the table or table float.
16016 \begin_layout Standard
16020 \begin_layout Standard
16026 arrayrulewidth}{1.5pt}
16032 \begin_inset Float table
16037 \begin_layout Standard
16038 \begin_inset Caption
16040 \begin_layout Standard
16041 \begin_inset LatexCommand label
16042 name "tab:Table-with-1.5"
16046 Table with 1.5\InsetSpace \thinspace{}
16055 \begin_layout Standard
16057 \begin_inset Tabular
16058 <lyxtabular version="3" rows="3" columns="3">
16060 <column alignment="center" valignment="top" leftline="true" width="0">
16061 <column alignment="center" valignment="top" leftline="true" width="0">
16062 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16063 <row topline="true">
16064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16067 \begin_layout Standard
16073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16076 \begin_layout Standard
16082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16085 \begin_layout Standard
16092 <row topline="true">
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16096 \begin_layout Standard
16102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16105 \begin_layout Standard
16111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16114 \begin_layout Standard
16121 <row topline="true" bottomline="true">
16122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16125 \begin_layout Standard
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16134 \begin_layout Standard
16140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16143 \begin_layout Standard
16163 \begin_layout Standard
16169 arrayrulewidth}{0.4pt}
16177 \begin_layout Standard
16178 \begin_inset VSpace bigskip
16181 To set the line thickness to 1.5\InsetSpace \thinspace{}
16182 pt only for horizontal lines, like in Table\InsetSpace ~
16184 \begin_inset LatexCommand ref
16185 reference "tab:Table-with-horizontal"
16189 , insert these commands in ERT before the table or table float:
16192 \begin_layout Standard
16215 arrayrulewidth 1.5pt}
16225 arrayrulewidth 0.4pt}}
16228 \begin_layout Standard
16229 To return to the default line thickness, insert this command in ERT behind
16230 the table or table float:
16233 \begin_layout Standard
16245 \begin_layout Standard
16249 \begin_layout Standard
16260 \begin_layout Standard
16269 \begin_layout Standard
16277 arrayrulewidth 1.5pt}
16280 \begin_layout Standard
16290 arrayrulewidth 0.4pt}}
16296 \begin_inset Float table
16301 \begin_layout Standard
16302 \begin_inset Caption
16304 \begin_layout Standard
16305 \begin_inset LatexCommand label
16306 name "tab:Table-with-horizontal"
16310 Table with 1.5\InsetSpace \thinspace{}
16311 pt thick horizontal lines
16319 \begin_layout Standard
16321 \begin_inset Tabular
16322 <lyxtabular version="3" rows="3" columns="3">
16324 <column alignment="center" valignment="top" leftline="true" width="0">
16325 <column alignment="center" valignment="top" leftline="true" width="0">
16326 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16327 <row topline="true">
16328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16331 \begin_layout Standard
16337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16340 \begin_layout Standard
16346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16349 \begin_layout Standard
16356 <row topline="true">
16357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16360 \begin_layout Standard
16366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16369 \begin_layout Standard
16375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16378 \begin_layout Standard
16385 <row topline="true" bottomline="true">
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16389 \begin_layout Standard
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16398 \begin_layout Standard
16404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16407 \begin_layout Standard
16427 \begin_layout Standard
16443 \begin_layout Standard
16444 \begin_inset VSpace bigskip
16447 To set the line thickness to 1.5\InsetSpace \thinspace{}
16448 pt only for vertical lines, create the following
16449 column format in the document preamble, according to the description in
16450 section\InsetSpace ~
16452 \begin_inset LatexCommand ref
16453 reference "sub:Customized-Format"
16460 \begin_layout Standard
16465 newcolumntype{V}{!{
16467 vrule width 1.5pt}}
16470 \begin_layout Standard
16471 For Table\InsetSpace ~
16473 \begin_inset LatexCommand ref
16474 reference "tab:Table-with-vertical"
16481 \begin_layout Standard
16487 \begin_layout Standard
16488 was used for the last column and
16491 \begin_layout Standard
16497 \begin_layout Standard
16498 for the other columns.
16501 \begin_layout Standard
16502 \begin_inset Float table
16507 \begin_layout Standard
16508 \begin_inset Caption
16510 \begin_layout Standard
16511 \begin_inset LatexCommand label
16512 name "tab:Table-with-vertical"
16516 Table with 1.5\InsetSpace \thinspace{}
16517 pt thick vertical lines
16525 \begin_layout Standard
16527 \begin_inset Tabular
16528 <lyxtabular version="3" rows="3" columns="3">
16530 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16531 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16532 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16533 <row topline="true">
16534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16537 \begin_layout Standard
16543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16546 \begin_layout Standard
16552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16555 \begin_layout Standard
16562 <row topline="true">
16563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16566 \begin_layout Standard
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16575 \begin_layout Standard
16581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16584 \begin_layout Standard
16591 <row topline="true" bottomline="true">
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16595 \begin_layout Standard
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16604 \begin_layout Standard
16610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16613 \begin_layout Standard
16632 \begin_layout Subsection
16634 \begin_inset LatexCommand index
16635 name "Table Customization ! Dashed Lines"
16642 \begin_layout Standard
16646 \begin_layout Standard
16656 \begin_inset Note Note
16659 \begin_layout Standard
16660 The following section will only be displayed when you have the LaTeX-package
16673 \begin_layout Standard
16674 \begin_inset Float table
16680 \begin_layout Standard
16681 \begin_inset Caption
16683 \begin_layout Standard
16684 \begin_inset LatexCommand label
16685 name "tab:Table-with-dashed"
16689 Table with dashed lines
16697 \begin_layout Standard
16699 \begin_inset Tabular
16700 <lyxtabular version="3" rows="5" columns="5">
16702 <column alignment="center" valignment="top" leftline="true" width="0">
16703 <column alignment="center" valignment="top" leftline="true" width="0">
16704 <column alignment="center" valignment="top" width="0" special=":c">
16705 <column alignment="center" valignment="top" leftline="true" width="0">
16706 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16707 <row topline="true" bottomline="true">
16708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16711 \begin_layout Standard
16717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16720 \begin_layout Standard
16726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16729 \begin_layout Standard
16735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16738 \begin_layout Standard
16744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16747 \begin_layout Standard
16754 <row topline="true">
16755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16758 \begin_layout Standard
16764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16767 \begin_layout Standard
16773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16776 \begin_layout Standard
16782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16785 \begin_layout Standard
16791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16794 \begin_layout Standard
16802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16805 \begin_layout Standard
16809 \begin_layout Standard
16823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16826 \begin_layout Standard
16832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16835 \begin_layout Standard
16841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16844 \begin_layout Standard
16850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16853 \begin_layout Standard
16860 <row topline="true">
16861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16864 \begin_layout Standard
16868 \begin_layout Standard
16882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16885 \begin_layout Standard
16891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16894 \begin_layout Standard
16900 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16903 \begin_layout Standard
16909 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16912 \begin_layout Standard
16919 <row topline="true" bottomline="true">
16920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16923 \begin_layout Standard
16929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16932 \begin_layout Standard
16938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16941 \begin_layout Standard
16947 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16950 \begin_layout Standard
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16959 \begin_layout Standard
16978 \begin_layout Standard
16979 LyX doesn't natively support dashed lines, so you have to use ERT.
16980 As prerequisite the LaTeX-package
16985 \begin_inset LatexCommand index
16986 name "LaTeX-packages ! arydshln"
16990 must be loaded in the document preamble with the command
16993 \begin_layout Standard
16998 usepackage{arydshln}
17001 \begin_layout Standard
17002 To make a vertical line dashed, enter the colon
17003 \begin_inset Quotes eld
17007 \begin_inset Quotes erd
17010 together with the character for the horizontal alignment as LaTeX-argument
17011 in the table cell dialog.
17014 \begin_layout Standard
17015 For a horizontal dashed line add the command
17018 \begin_layout Standard
17026 \begin_layout Standard
17027 in ERT as first element of the first cell in the table row.
17030 \begin_layout Standard
17031 For dashed multicolumn lines use the command
17034 \begin_layout Standard
17039 cdashline{line number
17044 \begin_layout Standard
17045 in ERT as first element of the first cell in the table row.
17046 If you have for example a multicolumn spanning over columns 2 to 4 and
17047 you want to have a dashed line above, add the command
17050 \begin_layout Standard
17058 \begin_layout Standard
17059 as first element of the first cell in the row of the multicolumn.
17062 \begin_layout Standard
17063 \begin_inset VSpace bigskip
17069 \begin_layout Standard
17072 \begin_inset LatexCommand ref
17073 reference "tab:Table-with-dashed"
17078 \begin_inset Quotes eld
17086 \begin_inset Quotes erd
17089 as LaTeX-argument of the third column.
17096 was inserted to the first cell of the third row and the the ERT command
17105 was inserted to the first cell of the fourth row.
17108 \begin_layout Standard
17109 \begin_inset Note Greyedout
17112 \begin_layout Standard
17117 The used LaTeX-package
17121 is apparently not compatible with the LaTeX-package
17126 \begin_inset LatexCommand index
17127 name "LaTeX-packages ! colortbl"
17131 that is used for colored tables in section\InsetSpace ~
17133 \begin_inset LatexCommand ref
17134 reference "sec:Colored-Tables"
17139 That means colored tables cannot have dashed lines.
17147 \begin_layout Standard
17151 \begin_layout Standard
17161 \begin_inset Note Note
17164 \begin_layout Standard
17165 The following will be displayed when the LaTeX-package
17177 \begin_layout Standard
17178 You need to install the package
17182 to see the contents of this section in the output.
17185 \begin_layout Standard
17189 \begin_layout Standard
17201 \begin_layout Chapter
17203 \begin_inset LatexCommand index
17209 \begin_inset LatexCommand label
17217 \begin_layout Section
17219 \begin_inset LatexCommand label
17220 name "sec:FloatIntroduction"
17225 \begin_inset LatexCommand index
17226 name "Floats ! Introduction"
17233 \begin_layout Standard
17234 A float is a block of text associated with some sort of label, which doesn't
17235 have a fixed location.
17237 \begin_inset Quotes eld
17241 \begin_inset Quotes erd
17244 forward or backward a page or two, to wherever it fits best.
17251 Margin\InsetSpace ~
17254 are also floats, because they can float to the next page when there are
17255 too many notes at the page.
17258 \begin_layout Standard
17259 Floats allow a high quality layout.
17260 Images and tables can evenly be spread to the pages to avoid white space
17261 and pages without text.
17262 As the floating often destroys the context between the text and the image/table
17263 , every float can be referenced in the text.
17264 Floats are therefore numbered.
17265 Referencing is described in section\InsetSpace ~
17267 \begin_inset LatexCommand ref
17268 reference "sec:Referencing-Floats"
17275 \begin_layout Standard
17276 To insert a float, use the menu
17278 Insert\SpecialChar \menuseparator
17282 This inserts a box with a label in the
17290 \begin_layout Standard
17295 environment is described in LyX's
17304 into your document.
17305 Every label ends with the character
17306 \begin_inset Quotes eld
17310 \begin_inset Quotes erd
17313 as placeholder for the float number in the output.
17314 The label will automatically be translated to the document language in
17316 Behind the label you can insert the caption text.
17317 The image or table is inserted above or below the caption in a separate
17318 paragraph within the float.
17319 More about the caption placement is described in section\InsetSpace ~
17321 \begin_inset LatexCommand ref
17322 reference "sec:Caption-Placement"
17327 To keep your LyX-document readable, you can open and close the float box
17328 by left-clicking on the box label.
17329 A closed float box looks like this:
17330 \begin_inset Graphics
17331 filename ../clipart/floatQt4.png
17336 -- a gray button with a red label.
17339 \begin_layout Standard
17340 It is recommended to insert floats as a separate paragraph to avoid possible
17341 LaTeX-errors that can occur when the surrounding text is specially formatted.
17344 \begin_layout Standard
17345 Existing figures or tables can be put into a float by marking them and then
17346 pressing the corresponding toolbar button for a new float.
17349 \begin_layout Section
17353 \begin_layout Standard
17354 Besides figure and table floats that are described in section\InsetSpace ~
17356 \begin_inset LatexCommand ref
17357 reference "sec:Figure-Floats"
17362 \begin_inset LatexCommand ref
17363 reference "sec:Table-Floats"
17367 , respectively, LyX offers the float types
17380 \begin_layout Subsection
17382 \begin_inset LatexCommand index
17383 name "Floats ! Algorithm Floats"
17390 \begin_layout Standard
17391 \begin_inset Float algorithm
17397 \begin_layout Standard
17398 \begin_inset Caption
17400 \begin_layout Standard
17401 \begin_inset LatexCommand label
17402 name "alg:Example-Algorithm-float"
17406 Example Algorithm float
17414 \begin_layout LyX-Code
17417 Sum:= Sum + A(I); /*senseless comment*/
17420 \begin_inset VSpace -4mm
17431 \begin_layout Standard
17432 This float type is inserted with the menu
17434 Insert\SpecialChar \menuseparator
17435 Floats\SpecialChar \menuseparator
17439 It is used for program codes and descriptions of algorithms.
17440 A possible environment for algorithms is the
17444 , described in LyX's
17449 Algorithm\InsetSpace ~
17451 \begin_inset LatexCommand ref
17452 reference "alg:Example-Algorithm-float"
17456 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17457 mm vertical space was added
17458 at the end of the float to have the bottom rule exactly below the last
17462 \begin_layout Standard
17463 The float label is not automatically translated into the document language.
17464 If your document is not in English, you have to do this manually by adding
17469 to the document preamble
17474 \begin_layout Standard
17479 floatname{algorithm}{your\InsetSpace ~
17483 \begin_layout Standard
17490 \begin_inset Quotes eld
17498 \begin_inset Quotes erd
17504 \begin_layout Description
17509 When the LaTeX-package
17514 \begin_inset LatexCommand index
17515 name "LaTeX-packages ! hyperref"
17519 is used to link cross-references to floats in the PDF-output, it must be
17520 loaded in the document preamble before the definition of floats to be able
17521 to reference floats.
17522 As LyX sets the float definition for algorithm floats automatically before
17523 the user editable part of the document preamble, you need to insert the
17524 following preamble lines
17528 the loading command of
17535 \begin_inset VSpace defskip
17542 newfloat{Xalgorithm}{tbp}{loa}
17546 floatname{Xalgorithm}{your\InsetSpace ~
17559 renewenvironment{algorithm}[1][tbp]
17565 \begin_layout Standard
17576 begin{Xalgorithm}[#1]}{
17579 \begin_inset VSpace defskip
17592 \begin_inset Quotes eld
17600 \begin_inset Quotes erd
17606 \begin_layout Standard
17607 Algorithm floats are not by default numbered in the scheme
17608 \begin_inset Quotes eld
17612 \begin_inset Quotes erd
17615 like it is the case for table and figure floats in many document-classes.
17616 To number algorithm floats in the same scheme, add this command to your
17620 \begin_layout Standard
17625 numberwithin{algorithm}{chapter}
17628 \begin_layout Standard
17629 If you use the LaTeX-package
17633 , add this line instead
17641 (the commands from above) to the preamble:
17644 \begin_layout Standard
17649 numberwithin{Xalgorithm}{chapter}
17652 \begin_layout Standard
17653 To be able to use the command
17664 in the document settings the option
17674 \begin_layout Subsection
17676 \begin_inset LatexCommand index
17677 name "Floats ! Text Wrap Floats"
17682 \begin_inset LatexCommand label
17683 name "sub:floatflt-wrap-float"
17690 \begin_layout Standard
17691 This float type is used if you want to
17692 \begin_inset Quotes eld
17696 \begin_inset Quotes erd
17699 text around a figure so that it only occupies some fraction of the column
17701 It can be inserted using the menu
17702 \begin_inset Wrap figure
17707 \begin_layout Standard
17708 \begin_inset Graphics
17709 filename mobius.eps
17712 rotateOrigin center
17719 \begin_layout Standard
17720 \begin_inset Caption
17722 \begin_layout Standard
17723 \begin_inset LatexCommand label
17724 name "fig:This-is-a"
17728 This is a wrapped figure, and this is the brilliant caption that describes
17730 \begin_inset VSpace medskip
17745 Insert\SpecialChar \menuseparator
17746 Floats\SpecialChar \menuseparator
17751 if the LaTeX-package
17756 \begin_inset LatexCommand index
17757 name "LaTeX-packages ! floatflt"
17765 \begin_layout Standard
17766 Installing a LaTeX-package is explained it in the
17776 The width and placement of the float is adjusted by right-clicking on the
17778 Figure\InsetSpace ~
17780 \begin_inset LatexCommand ref
17781 reference "fig:This-is-a"
17785 is an example text wrap float with a width of 40
17786 \begin_inset Formula $\,$
17793 \begin_layout Standard
17794 Available units are explained in
17795 \begin_inset LatexCommand ref
17796 reference "cha:Units-available-in"
17805 Some space was added under the caption to separate it better from the surroundi
17809 \begin_layout Standard
17814 also supports table wrap floats, but they are not yet supported by LyX.
17815 If you need this, read the documentation of
17820 \begin_inset LatexCommand cite
17828 \begin_layout Standard
17829 \begin_inset Note Greyedout
17832 \begin_layout Standard
17838 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17840 having a figure too close to the bottom
17841 of the page can mess things up in the way that the float doesn't appear
17842 in the output or that it is placed over some other text.
17846 \begin_layout Standard
17847 The better solution is to use the LaTeX-package
17849 wrapf\SpecialChar \textcompwordmark{}
17853 \begin_inset LatexCommand index
17854 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17860 floatf\SpecialChar \textcompwordmark{}
17863 , but it is currently not supported by LyX.
17876 \begin_layout Standard
17880 \begin_layout Itemize
17881 Wrap floats should not be placed in paragraphs that run over a page break.
17882 That means that wrap floats should better be inserted to the exact place
17883 when the document is nearly ready and you are able to estimate where page
17884 breaks will appear.
17887 \begin_layout Itemize
17888 Wrap floats should either be placed in an own paragraph before the paragraph
17889 where they should wrap into or within a paragraph.
17892 \begin_layout Itemize
17893 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17894 there is a text paragraph between them as separator.
17897 \begin_layout Itemize
17898 Wrap floats are not allowed in section headings or tables.
17901 \begin_layout Section
17903 \begin_inset LatexCommand label
17904 name "sec:Referencing-Floats"
17909 \begin_inset LatexCommand index
17910 name "Floats ! References"
17915 \begin_inset LatexCommand index
17923 \begin_layout Standard
17924 To reference a float, insert a label into its caption using the menu
17926 Insert\SpecialChar \menuseparator
17929 or the toolbar button
17930 \begin_inset Graphics
17931 filename ../images/label-insert.xpm
17937 A grey label box like this one:
17938 \begin_inset Graphics
17939 filename ../clipart/labelQt4.png
17944 will be inserted and the label window pops up asking for the label text.
17945 LyX offers as text the first words of the caption with a prefix.
17946 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17948 for figure floats the prefix will
17956 \begin_layout Standard
17957 The label is used as anchor and name for the reference.
17958 You can refer to the label using the menu
17960 Insert\SpecialChar \menuseparator
17963 or the toolbar button
17964 \begin_inset Graphics
17965 filename ../images/dialog-show-new-inset_ref.xpm
17971 A grey cross-reference box like this one:
17972 \begin_inset Graphics
17973 filename ../clipart/referenceQt4.png
17978 will be inserted and the cross-reference window appear showing all labels
17980 If you have multiple LyX-documents opened, choose the one you are working
17981 on from the drop-list at the top of the dialog.
17982 You can now sort the labels alphabetically and then choose one.
17983 At the position of the cross-reference box the float number will appear
17987 \begin_layout Standard
17988 It is recommended to use a protected space between the cross-reference name
17989 and its number to avoid line breaks between them.
17990 If a cross-reference refers to a non-existing label, you will see two question
17991 marks in the output instead of the reference.
17994 \begin_layout Standard
17995 You can change labels at any time by clicking on the label box.
17996 References to the changed label will automatically change its link to the
17997 new label text, so that you don't need to take care about this.
18000 \begin_layout Standard
18007 in the cross-reference window sets the cursor before the referred label.
18008 The button text changes then to Go\InsetSpace ~
18009 Back and you can use it to set the cursor
18010 back to the cross-reference.
18011 Right-clicking on a cross-reference box also sets the cursor before the
18012 referenced label but without a possibility to go back.
18015 \begin_layout Subsection
18016 Cross-reference formats
18017 \begin_inset LatexCommand label
18018 name "sub:Cross-reference-formats"
18023 \begin_inset LatexCommand index
18024 name "References ! Formats"
18031 \begin_layout Standard
18032 There are six varieties of cross-references:
18035 \begin_layout Description
18036 <reference>: prints the float number, this is the default:
18037 \begin_inset LatexCommand ref
18038 reference "fig:Two-distorted-images"
18045 \begin_layout Description
18046 (<reference>): prints the float number within two parentheses, this is the
18047 style normally used to reference formulas, especially when the reference
18049 \begin_inset Quotes eld
18053 \begin_inset Quotes erd
18057 \begin_inset LatexCommand eqref
18065 \begin_layout Description
18066 <page>: prints the page number: Page\InsetSpace ~
18068 \begin_inset LatexCommand pageref
18069 reference "fig:Two-distorted-images"
18076 \begin_layout Description
18079 <page>: prints the text "on page" and the page number:
18080 \begin_inset LatexCommand vpageref
18081 reference "fig:Two-distorted-images"
18088 \begin_layout Description
18089 <reference>\InsetSpace ~
18092 <page>: prints the float number, the text "on page", and
18094 \begin_inset LatexCommand vref
18095 reference "fig:Two-distorted-images"
18102 \begin_layout Description
18103 Formatted\InsetSpace ~
18104 reference: prints a self defined cross-reference format:
18107 \begin_inset LatexCommand prettyref
18108 reference "fig:Two-distorted-images"
18115 \begin_layout Standard
18116 Note that the style <page> won't print the page number if the label is on
18117 the previous, the same, or the next page.
18118 You will e.\InsetSpace \thinspace{}
18121 \begin_inset Quotes eld
18129 \begin_inset Quotes erd
18135 \begin_layout Standard
18136 The number and current page of the referred document part in the output,
18137 is automatically calculated by LaTeX.
18138 The varieties are adjusted in the field
18142 of the cross-reference window, that appear when you click on the cross-referenc
18144 \begin_inset VSpace bigskip
18150 \begin_layout Standard
18151 To define a format for the
18153 Formatted\InsetSpace ~
18156 style, you have to use the following command in the document preamble:
18159 \begin_layout Standard
18164 newrefformat{prefix}{text}
18167 \begin_layout Standard
18168 This formatting command affects all references to labels with the same prefix.
18169 To get the format of the
18171 Formatted\InsetSpace ~
18174 example above, this command was used:
18177 \begin_layout Standard
18188 \begin_layout Standard
18199 ref{#1} printed on page~
18204 \begin_layout Standard
18205 The tilde "~" is the LaTeX equivalent for the protected space.
18212 refers to the float number, the command
18218 to the page number.
18221 \begin_layout Subsection
18222 Automatic Reference Naming
18223 \begin_inset LatexCommand index
18224 name "References ! Automatic Reference Naming"
18231 \begin_layout Standard
18236 provides a very useful feature that cross-references automatically include
18237 the name of the referenced floats (or text parts like sections).
18238 You save to write e.\InsetSpace \thinspace{}
18241 \begin_inset Quotes eld
18245 \begin_inset Quotes erd
18248 before every reference box.
18249 To get this automatic reference naming, you have to load the LaTeX-package
18255 \begin_inset LatexCommand index
18256 name "LaTeX-packages ! hyperref"
18260 in the document preamble with
18263 \begin_layout Standard
18268 usepackage[pdfborder={0 0 0}]{hyperref}
18283 \begin_layout Standard
18288 is used to link cross-references in the DVI- and PDF-output, this means
18289 that the reader of your document will be able to click on a table of content
18290 (TOC) entry or on a reference and he will be shown the referenced document
18296 also creates PDF-bookmarks for every section of your document to make it
18297 easier for readers to navigate through the document.
18298 This is also used in this document but when you have a look in the document
18299 preamble you will find various options in the load command of
18304 To learn more about the
18308 package, we refer to its documentation
18309 \begin_inset LatexCommand cite
18317 \begin_layout Standard
18318 \begin_inset Note Greyedout
18321 \begin_layout Standard
18326 Automatic reference naming cannot be used when you use cross-references
18329 Formatted\InsetSpace ~
18332 style, described in section\InsetSpace ~
18334 \begin_inset LatexCommand ref
18335 reference "sub:Cross-reference-formats"
18340 That is the reason why it is not used in this document.
18348 \begin_layout Subsection
18350 \begin_inset LatexCommand label
18351 name "sub:Reference-Position"
18356 \begin_inset LatexCommand index
18357 name "References ! Reference Position"
18364 \begin_layout Standard
18370 \begin_inset LatexCommand index
18371 name "LaTeX-packages ! hyperref"
18375 to link cross-references in the output, you will see that clicking on an
18376 image float reference jumps to the image label.
18377 The caption will be the first text part on the screen, so that you cannot
18378 see the image without scrolling.
18379 This is because the reference link anchor is placed at the position of
18381 With the use of the package
18386 \begin_inset LatexCommand index
18387 name "LaTeX-packages ! hypcap"
18391 , which is part of the LaTeX-package
18396 \begin_inset LatexCommand index
18397 name "LaTeX-packages ! oberdiek"
18401 , the link anchor is placed at the beginning of a float.
18402 To use this feature for figure floats, load
18406 in the document preamble with the line
18409 \begin_layout Standard
18414 usepackage[f\SpecialChar \textcompwordmark{}
18418 \begin_layout Standard
18423 for all floats but this isn't recommended for stability reasons.
18424 For more informations, have a look at
18429 \begin_inset LatexCommand cite
18437 \begin_layout Standard
18438 \begin_inset Note Greyedout
18441 \begin_layout Standard
18450 must be loaded after
18454 in the document preamble.
18462 \begin_layout Section
18464 \begin_inset LatexCommand label
18465 name "sec:Float-Placement"
18470 \begin_inset LatexCommand index
18471 name "Floats ! Placement"
18478 \begin_layout Standard
18479 Right-clicking on a float-box opens a dialog where you can alter the placement
18480 options that LaTeX uses for positioning the float.
18487 is only useful for two-column documents: If you select it, the float will
18488 span across both columns on the page instead of being confined to just
18493 Rotate\InsetSpace ~
18496 is used to rotate floats, see section
18497 \begin_inset LatexCommand ref
18498 reference "sec:Rotated-Floats"
18505 \begin_layout Standard
18506 You can use one ore more of the following options in the float dialog to
18507 set the placement for a particular float when you uncheck the option
18510 default\InsetSpace ~
18516 \begin_layout Description
18519 possible: try to place the float on the position where it is inserted
18522 \begin_layout Description
18525 page: try to place the float on the top of the current page
18528 \begin_layout Description
18529 Bottom\InsetSpace ~
18531 page: try to place the float on the bottom of the current page
18534 \begin_layout Description
18537 floats: try to place the float on an own page
18540 \begin_layout Standard
18541 The order of the above option is
18546 That means, if you use the default placement, LaTeX will first try out
18559 , and then the others.
18560 If you don't use the default, LaTeX will try only the checked options but
18562 If none of the 4 placements are possible the procedure is internally repeated
18563 but it is tried to put the float on the following page.
18566 \begin_layout Standard
18567 By default, each options has its own rules:
18570 \begin_layout Labeling
18571 \labelwidthstring 00.00.0000
18578 only floats occupying less than 70\InsetSpace \thinspace{}
18579 % of the page can be placed at the top
18589 \begin_layout Labeling
18590 \labelwidthstring 00.00.0000
18593 Bottom\InsetSpace ~
18597 : only floats occupying less than 30\InsetSpace \thinspace{}
18598 % of the page can be placed at the bottom
18609 \begin_layout Labeling
18610 \labelwidthstring 00.00.0000
18617 : only if more than 50\InsetSpace \thinspace{}
18618 % of the page are occupied by floats, several floats
18619 can be set together on a page.
18629 \begin_layout Standard
18630 If you don't like these rules, you can ignore them by using the additional
18633 Ignore\InsetSpace ~
18639 You can also redefine the rules with LaTeX-commands that are given in parenthese
18640 s behind the rules description above.
18641 To increase for example the often too small default of the bottom-rule
18642 to 50\InsetSpace \thinspace{}
18643 % of the page, add this line to your document preamble:
18646 \begin_layout Standard
18653 bottomfraction}{0.5}
18656 \begin_layout Standard
18657 Sometimes you might need, under all circumstances, a float to be placed
18658 exactly at the position where it is inserted.
18659 For this case you can use the option
18665 Use this option very rarely and only if the document is nearly ready to
18667 Because the float is then no longer able to
18668 \begin_inset Quotes eld
18672 \begin_inset Quotes erd
18675 when you change your document and this will often destroy the page layout.
18678 \begin_layout Standard
18679 There are no placement options for text wrap floats, because they are always
18680 surrounded by the text of a certain paragraph.
18681 \begin_inset VSpace bigskip
18687 \begin_layout Standard
18688 Sometimes you have the problem that a float is placed at the top of a page
18689 while its corresponding section starts at the middle of the page, so that
18690 the reader could think the float is part of the previous section.
18691 To avoid this the LaTeX-command
18695 suppressf\SpecialChar \textcompwordmark{}
18699 It suppresses a given float placement for the page where it is inserted
18700 and can therefore be used to avoid that floats could be set before a section
18702 To get this, add these commands to your document preamble:
18705 \begin_layout Standard
18722 suppressf\SpecialChar \textcompwordmark{}
18728 \begin_layout Standard
18729 You can define the same for all section headings, like chapters and subsections.
18730 This definition is not recommended to be used for small text parts like
18731 subsubsections because LaTeX may then have problems to find a suitable
18735 \begin_layout Standard
18736 \begin_inset VSpace bigskip
18739 In some cases it is required to have all figures/tables at the end of the
18741 For this purpose the LaTeX-package
18743 endf\SpecialChar \textcompwordmark{}
18747 \begin_inset LatexCommand index
18748 name "LaTeX-packages ! endfloat"
18753 It puts all figure and table floats at the end of the document into own
18755 At the original float position a text hint like
18756 \begin_inset Quotes eld
18761 [Figure\InsetSpace ~
18765 \begin_inset Quotes erd
18769 The endfloat-package is loaded in the preamble with the line
18772 \begin_layout Standard
18777 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18781 \begin_layout Standard
18782 There are various package options to format the created figure/table sections.
18783 For more information we refer to the
18785 endf\SpecialChar \textcompwordmark{}
18789 \begin_inset LatexCommand cite
18797 \begin_inset Note Greyedout
18800 \begin_layout Standard
18803 Note: endf\SpecialChar \textcompwordmark{}
18806 doesn't provide an automatic translation for the text hint, you have to
18807 do this manually, see section\InsetSpace ~
18809 \begin_inset LatexCommand cite
18822 \begin_inset Note Greyedout
18825 \begin_layout Standard
18830 There is currently a bug in
18832 endf\SpecialChar \textcompwordmark{}
18835 when the caption contains a German
18836 \begin_inset Quotes eld
18840 \begin_inset Quotes erd
18844 Use in this case the command
18845 \begin_inset Quotes eld
18855 \begin_inset Quotes erd
18859 \begin_inset Quotes eld
18863 \begin_inset Quotes erd
18874 \begin_layout Standard
18875 \begin_inset VSpace bigskip
18878 For more details about float placements, have a look at LaTeX books,
18879 \begin_inset LatexCommand cite
18880 key "latexcompanion,latexguide,latexbook"
18887 \begin_layout Section
18889 \begin_inset LatexCommand label
18890 name "sec:Rotated-Floats"
18895 \begin_inset LatexCommand index
18896 name "Floats ! Rotating"
18903 \begin_layout Standard
18904 Especially for wide tables you might have floats rotated.
18905 To rotate a whole float including the caption, right-click on the float-box
18908 Rotate\InsetSpace ~
18914 \begin_layout Standard
18915 Rotated floats are always placed on its own page (or column, when you have
18916 a two-column document).
18917 They are normally rotated so that you can read them from the outside margin
18918 -- to the left on even pages, to the right on odd pages.
18921 \begin_layout Standard
18922 Referencing rotated floats is the same like for normal floats, the caption
18923 format is also the same: Table\InsetSpace ~
18925 \begin_inset LatexCommand ref
18926 reference "tab:Rotated-table"
18930 is an example of a rotated table float.
18933 \begin_layout Standard
18934 \begin_inset Note Greyedout
18937 \begin_layout Standard
18942 Not all DVI-viewers are able to display rotated floats.
18950 \begin_layout Standard
18951 \begin_inset Float table
18956 \begin_layout Standard
18957 \begin_inset Caption
18959 \begin_layout Standard
18960 \begin_inset LatexCommand label
18961 name "tab:Rotated-table"
18973 \begin_layout Standard
18975 \begin_inset Tabular
18976 <lyxtabular version="3" rows="1" columns="5">
18978 <column alignment="center" valignment="top" leftline="true" width="0">
18979 <column alignment="center" valignment="top" leftline="true" width="0">
18980 <column alignment="center" valignment="top" leftline="true" width="0">
18981 <column alignment="center" valignment="top" leftline="true" width="0">
18982 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
18983 <row topline="true" bottomline="true">
18984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18987 \begin_layout Standard
18993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18996 \begin_layout Standard
19002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19005 \begin_layout Standard
19011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19014 \begin_layout Standard
19020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19023 \begin_layout Standard
19042 \begin_layout Section
19044 \begin_inset LatexCommand index
19045 name "Caption ! Formatting"
19050 \begin_inset LatexCommand index
19051 name "Floats ! Caption Formatting"
19056 \begin_inset LatexCommand index
19057 name "LaTeX-packages ! caption"
19062 \begin_inset LatexCommand label
19063 name "sec:Caption-Formatting"
19070 \begin_layout Standard
19075 environment is the default paragraph environment for
19080 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19083 \begin_inset Quotes eld
19091 \begin_inset Quotes erd
19094 followed by the caption text.
19096 \begin_inset Quotes eld
19100 \begin_inset Quotes erd
19103 is substituted in the printed output by the actual reference number.
19104 By default the label and the number are in the same font as the caption
19105 text and a colon follows the number to divide then label from the text.
19106 This caption format is not suitable for all document formats.
19110 \begin_layout Standard
19111 To change the default caption format, load the LaTeX-package
19116 \begin_inset LatexCommand index
19117 name "LaTeX-packages ! caption"
19121 in the document preamble with this line:
19124 \begin_layout Standard
19129 usepackage[format definition]{caption}
19132 \begin_layout Standard
19133 To have for example the label and the number in sans-serif bold font and
19134 the table captions always above the table like in this document, use the
19138 \begin_layout Standard
19143 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19146 \begin_layout Standard
19147 You can also define different caption formats for the different float types.
19148 In this case load the
19152 package without format specific options and define the different formats
19153 with the help of the command
19156 \begin_layout Standard
19161 captionsetup[float type]{format definition}
19164 \begin_layout Standard
19165 in the document preamble.
19166 For example the caption formats of Figure\InsetSpace ~
19168 \begin_inset LatexCommand ref
19169 reference "fig:This-is-an-fig"
19173 and Table\InsetSpace ~
19175 \begin_inset LatexCommand ref
19176 reference "tab:This-is-an-tab"
19180 can be created using these commands in the document preamble:
19183 \begin_layout Standard
19188 usepackage[tableposition=top]{caption}
19196 captionsetup[f\SpecialChar \textcompwordmark{}
19197 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19203 \begin_layout Standard
19211 captionsetup[figure]
19222 captionsetup[table]{labelfont={bf,sf}}
19225 \begin_layout Standard
19226 For more information about the package
19230 we refer to its documentation
19231 \begin_inset LatexCommand cite
19232 key "caption,caption-de"
19239 \begin_layout Standard
19240 \begin_inset VSpace bigskip
19248 \begin_inset LatexCommand index
19249 name "LaTeX-packages ! koma-script"
19255 article (koma-script)
19263 letter (koma-script)
19267 report (koma-script)
19269 \InsetSpace \thinspace{}
19270 ), you can alternatively to the
19278 's built-in command
19285 For example, to have the caption label in bold, add this command to your
19289 \begin_layout Standard
19294 setkomafont{captionlabel}{
19299 \begin_layout Standard
19300 For more information about
19311 \begin_inset LatexCommand cite
19312 key "koma-script,koma-script-de"
19319 \begin_layout Standard
19323 \begin_layout Standard
19327 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19334 \begin_inset Note Note
19337 \begin_layout Standard
19338 The caption format is changed only for this example.
19346 \begin_layout Standard
19347 \begin_inset Float figure
19353 \begin_layout Standard
19355 \begin_inset Graphics
19356 filename mobius.eps
19365 \begin_layout Standard
19366 \begin_inset Caption
19368 \begin_layout Standard
19369 \begin_inset LatexCommand label
19370 name "fig:This-is-an-fig"
19374 This is an example figure caption that is longer than one line to show the
19375 different caption format.
19376 Here a self-defined caption format is used.
19389 \begin_layout Standard
19393 \begin_layout Standard
19397 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19406 \begin_layout Standard
19407 \begin_inset Float table
19413 \begin_layout Standard
19414 \begin_inset Caption
19416 \begin_layout Standard
19417 \begin_inset LatexCommand label
19418 name "tab:This-is-an-tab"
19422 This is an example table caption that is longer than one line to show the
19423 different caption format.
19424 Here the standard caption format for tables in this document is used.
19432 \begin_layout Standard
19434 \begin_inset Tabular
19435 <lyxtabular version="3" rows="1" columns="5">
19437 <column alignment="center" valignment="top" leftline="true" width="0">
19438 <column alignment="center" valignment="top" leftline="true" width="0">
19439 <column alignment="center" valignment="top" leftline="true" width="0">
19440 <column alignment="center" valignment="top" leftline="true" width="0">
19441 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19442 <row topline="true" bottomline="true">
19443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19446 \begin_layout Standard
19452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19455 \begin_layout Standard
19461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19464 \begin_layout Standard
19470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19473 \begin_layout Standard
19479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19482 \begin_layout Standard
19501 \begin_layout Section
19503 \begin_inset LatexCommand index
19504 name "Caption ! Placement"
19509 \begin_inset LatexCommand index
19510 name "Floats ! Caption Placement"
19515 \begin_inset LatexCommand label
19516 name "sec:Caption-Placement"
19523 \begin_layout Standard
19524 The common caption placement rule is:
19527 \begin_layout Description
19528 Figure: Caption is set below the figure
19531 \begin_layout Description
19532 Table: Caption is set above the table
19535 \begin_layout Standard
19536 Having the caption above the table is unfortunately not supported in LaTeX's
19538 That means if you are using the document classes
19554 there will be no space between the caption and the table.
19555 To insert the needed space, add the following option to the load command
19556 of the LaTeX-package
19560 in your document preamble
19564 \begin_layout Standard
19565 See section\InsetSpace ~
19567 \begin_inset LatexCommand ref
19568 reference "sec:Caption-Formatting"
19572 for more information of the package
19584 \begin_layout Standard
19590 \begin_layout Standard
19596 \begin_inset LatexCommand index
19597 name "LaTeX-packages ! koma-script"
19603 article (koma-script)
19611 letter (koma-script)
19615 report (koma-script)
19617 \InsetSpace \thinspace{}
19618 ), you can alternatively to the
19622 package set the document class option
19626 , or you can use the environment
19628 caption\InsetSpace ~
19638 \begin_layout Standard
19639 \begin_inset VSpace bigskip
19642 It is also possible to set the caption beside a figure or table.
19643 To get this the LaTeX-package
19648 \begin_inset LatexCommand index
19649 name "LaTeX-packages ! sidecap"
19653 has to be loaded in the document preamble with the line
19656 \begin_layout Standard
19661 usepackage[option]{sidecap}
19664 \begin_layout Standard
19665 If you set no option, the caption is placed on the side of the outer page
19666 margin -- to the right on odd pages, to the left on even pages.
19667 You can change the placement to inner margin with the option
19672 To force the placement always to the right or left, use the option
19683 \begin_layout Standard
19684 To place in LyX the caption of a float on the side, it is necessary to add
19685 these commands to the document preamble:
19688 \begin_layout Standard
19694 \begin_layout Standard
19707 \begin_layout Standard
19728 \begin_layout Standard
19749 \begin_layout Standard
19760 renewenvironment{table}{
19767 \begin_layout Standard
19780 \begin_layout Standard
19801 \begin_layout Standard
19819 \begin_layout Standard
19832 \begin_layout Standard
19847 f\SpecialChar \textcompwordmark{}
19854 \begin_layout Standard
19867 MyEndf\SpecialChar \textcompwordmark{}
19870 endf\SpecialChar \textcompwordmark{}
19877 \begin_layout Standard
19888 renewenvironment{f\SpecialChar \textcompwordmark{}
19891 begin{SCf\SpecialChar \textcompwordmark{}
19894 end{SCf\SpecialChar \textcompwordmark{}
19898 \begin_layout Standard
19911 \begin_layout Standard
19924 f\SpecialChar \textcompwordmark{}
19933 \begin_layout Standard
19946 endf\SpecialChar \textcompwordmark{}
19949 MyEndf\SpecialChar \textcompwordmark{}
19953 \begin_layout Standard
19959 \begin_layout Standard
19960 The commands allow you to redefine the floats so that the caption is set
19962 For figure floats use the command
19965 \begin_layout Standard
19973 \begin_layout Standard
19974 in ERT before the float.
19975 Behind the float insert the command
19978 \begin_layout Standard
19986 \begin_layout Standard
19987 in ERT to get back to the original float definition.
19990 \begin_layout Standard
19991 For table floats use the corresponding commands
19994 \begin_layout Standard
20008 \begin_layout Standard
20009 Figure\InsetSpace ~
20011 \begin_inset LatexCommand ref
20012 reference "fig:cap-beside-fig"
20016 and Table\InsetSpace ~
20018 \begin_inset LatexCommand ref
20019 reference "tab:cap-beside-tab"
20023 are examples where the caption is set beside.
20026 \begin_layout Standard
20027 You can see in the examples that the caption text appears at the top of
20028 the floats for table floats and at the bottom for figure floats.
20029 To change this, you can use the command
20032 \begin_layout Standard
20037 sidecaptionvpos{float type}{placement}
20040 \begin_layout Standard
20041 in the document preamble or in ERT before the float.
20042 The float type is either
20050 , the placement can be
20051 \begin_inset Quotes eld
20059 \begin_inset Quotes erd
20063 \begin_inset Quotes eld
20071 \begin_inset Quotes erd
20075 \begin_inset Quotes eld
20083 \begin_inset Quotes erd
20087 To have for example the caption of figure floats vertically centered, use
20091 \begin_layout Standard
20096 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20100 \begin_layout Standard
20101 This was used for Figure\InsetSpace ~
20103 \begin_inset LatexCommand ref
20104 reference "fig:cap-beside-fig-2"
20111 \begin_layout Standard
20112 \begin_inset VSpace defskip
20115 For more information about the package
20119 we refer to its documentation
20120 \begin_inset LatexCommand cite
20128 \begin_layout Standard
20129 \begin_inset Note Greyedout
20132 \begin_layout Standard
20142 \begin_inset LatexCommand index
20143 name "LaTeX-packages ! hypcap"
20147 , described in section\InsetSpace ~
20149 \begin_inset LatexCommand ref
20150 reference "sub:Reference-Position"
20154 , has no effect on floats with the caption set beside.
20162 \begin_layout Standard
20166 \begin_layout Standard
20178 \begin_layout Standard
20179 \begin_inset Float figure
20184 \begin_layout Standard
20185 \begin_inset Graphics
20186 filename escher-lsd.eps
20194 \begin_layout Standard
20195 \begin_inset Caption
20197 \begin_layout Standard
20198 \begin_inset LatexCommand label
20199 name "fig:cap-beside-fig"
20203 This is a caption beside a figure.
20216 \begin_layout Standard
20220 \begin_layout Standard
20232 \begin_layout Standard
20233 \begin_inset Float table
20238 \begin_layout Standard
20239 \begin_inset Caption
20241 \begin_layout Standard
20242 \begin_inset LatexCommand label
20243 name "tab:cap-beside-tab"
20247 This is a caption beside a table.
20255 \begin_layout Standard
20256 \begin_inset Tabular
20257 <lyxtabular version="3" rows="4" columns="5">
20259 <column alignment="center" valignment="top" leftline="true" width="0">
20260 <column alignment="center" valignment="top" leftline="true" width="0">
20261 <column alignment="center" valignment="top" leftline="true" width="0">
20262 <column alignment="center" valignment="top" leftline="true" width="0">
20263 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20264 <row topline="true">
20265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20268 \begin_layout Standard
20274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20277 \begin_layout Standard
20283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20286 \begin_layout Standard
20292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20295 \begin_layout Standard
20301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20304 \begin_layout Standard
20311 <row topline="true">
20312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20315 \begin_layout Standard
20321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20324 \begin_layout Standard
20330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20333 \begin_layout Standard
20339 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20342 \begin_layout Standard
20348 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20351 \begin_layout Standard
20358 <row topline="true">
20359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20362 \begin_layout Standard
20368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20371 \begin_layout Standard
20377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20380 \begin_layout Standard
20386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20389 \begin_layout Standard
20395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20398 \begin_layout Standard
20405 <row topline="true" bottomline="true">
20406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20409 \begin_layout Standard
20415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20418 \begin_layout Standard
20424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20427 \begin_layout Standard
20433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20436 \begin_layout Standard
20442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20445 \begin_layout Standard
20464 \begin_layout Standard
20468 \begin_layout Standard
20480 \begin_layout Standard
20484 \begin_layout Standard
20488 sidecaptionvpos{figure}{c}
20494 \begin_inset Float figure
20499 \begin_layout Standard
20500 \begin_inset Graphics
20501 filename escher-lsd.eps
20509 \begin_layout Standard
20510 \begin_inset Caption
20512 \begin_layout Standard
20513 \begin_inset LatexCommand label
20514 name "fig:cap-beside-fig-2"
20518 This is a vertically centered caption beside a figure.
20531 \begin_layout Standard
20535 \begin_layout Standard
20547 \begin_layout Section
20549 \begin_inset LatexCommand label
20550 name "sec:Listings-of-Floats"
20555 \begin_inset LatexCommand index
20556 name "Floats ! Listings"
20563 \begin_layout Standard
20564 Similar to the the table of contents where the sections of the document
20565 are listed, there are listings for all float types, like the figures of
20567 You can insert them via the
20569 Insert\SpecialChar \menuseparator
20577 \begin_layout Standard
20578 The list entries are the float captions or its short title, the float number,
20579 and the page number where they appear in the document.
20582 \begin_layout Standard
20583 You can find the list of figures and tables at the end of this document.
20586 \begin_layout Chapter
20590 \begin_layout Section
20594 \begin_layout Standard
20607 \begin_layout Standard
20615 \begin_inset LatexCommand label
20616 name "sec:LyX-Notes"
20621 \begin_inset LatexCommand index
20622 name "Notes ! LyX Notes"
20627 \begin_inset Note Note
20630 \begin_layout Standard
20633 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20634 are displayed wrongly in PDF-bookmarks.
20635 For more information about this, have a look at
20636 \begin_inset LatexCommand cite
20649 \begin_layout Standard
20650 Notes are inserted with the toolbar button
20651 \begin_inset Graphics
20652 filename ../images/note-insert.xpm
20659 Insert\SpecialChar \menuseparator
20663 There are three types of notes:
20666 \begin_layout Description
20668 Note This note type is for internal notes that won't appear in the output.
20669 Its note-box looks like this:
20674 \begin_inset Graphics
20675 filename ../clipart/LyXNoteImageQt4.png
20682 \begin_inset Note Note
20685 \begin_layout Standard
20686 This is text in a note box that doesn't appear in the output.
20694 \begin_layout Description
20695 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20696 ent, when you export the document to LaTeX via the menu
20698 File\SpecialChar \menuseparator
20699 Export\SpecialChar \menuseparator
20700 LaTeX (pdflatex) / LaTeX (plain)
20703 Its note-box looks like this:
20708 \begin_inset Graphics
20709 filename ../clipart/CommentNoteImageQt4.png
20716 \begin_inset Note Comment
20719 \begin_layout Standard
20720 This is text in a note box that only appears as comment in LaTeX-files.
20728 \begin_layout Description
20729 Greyed\InsetSpace ~
20730 Out This note will appear in the output as grey text.
20731 Its note-box looks like this:
20736 \begin_inset Graphics
20737 filename ../clipart/GreyedOutNoteImageQt4.png
20749 \begin_layout Standard
20753 renewenvironment{lyxgreyedout}
20756 \begin_layout Standard
20760 textcolor[gray]{0.8}
20770 \begin_inset Note Greyedout
20773 \begin_layout Standard
20778 \begin_layout Standard
20779 This is an example footnote within a greyed out note.
20784 of a comment that appears in the output as grey text.
20793 \begin_layout Standard
20797 renewenvironment{lyxgreyedout}
20800 \begin_layout Standard
20814 \begin_inset Note Note
20817 \begin_layout Standard
20818 The greyed out note is here redefined to show it with the original LyX definitio
20819 n because greyed out notes are redefined in the preamble of this document,
20820 as described below, to have blue text.
20829 As you can see in the example, the first line of greyed out notes is a bit
20830 indented and greyed out notes can have footnotes.
20833 \begin_layout Description
20834 Framed This note will appear in the output as framed text.
20835 Its note-box looks like this:
20840 \begin_inset Graphics
20841 filename ../clipart/FramedNoteImageQt4.png
20848 \begin_inset Note Framed
20851 \begin_layout Standard
20852 This is text in a note box that appears framed in the output.
20857 In contrary to framed boxes
20861 \begin_layout Standard
20862 Framed boxes are described in section\InsetSpace ~
20864 \begin_inset LatexCommand ref
20865 reference "sec:Framed-Boxes"
20874 the frame uses always the whole text width and the note is set into its
20878 \begin_layout Description
20879 Shaded This note will appear in the output with red background color.
20880 Its note box looks like this:
20885 \begin_inset Graphics
20886 filename ../clipart/ShadedNoteImageQt4.png
20893 \begin_inset Note Shaded
20896 \begin_layout Standard
20897 This text in a note box appears in the output with red background.
20902 In contrary to colored boxes
20906 \begin_layout Standard
20907 Colored boxes are described in section\InsetSpace ~
20909 \begin_inset LatexCommand ref
20910 reference "sec:Colored-Boxes"
20919 the note uses always the whole text width and the note is set into its
20923 \begin_layout Standard
20924 \begin_inset VSpace bigskip
20927 When you use the toolbar button to insert notes, a
20933 You can switch between the three note types by right-clicking on the note-box.
20938 If you want to turn existing text into a note, mark it and click on the
20954 \begin_layout Standard
20955 \begin_inset VSpace bigskip
20958 You can change the text color of the greyed out notes in the preamble with
20959 the following command:
20962 \begin_layout Standard
20967 renewenvironment{lyxgreyedout}
20973 \begin_layout Standard
20991 \begin_layout Standard
20992 The available colors and the method to define own colors is explained in
20993 section\InsetSpace ~
20995 \begin_inset LatexCommand ref
20996 reference "sec:Colored-Tables"
21003 \begin_layout Standard
21004 Notes that appear in blue in this document are set using greyed out notes
21008 \begin_layout Standard
21009 \begin_inset VSpace bigskip
21015 \begin_layout Standard
21024 notes can be set in the
21031 \begin_layout Standard
21032 The default frame width for
21036 notes is 0.4\InsetSpace \thinspace{}
21037 pt; it can be changed by changing the size
21044 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21046 be changed by changing the size
21053 For example the frame appearance of the following
21057 note is set with the ERT commands
21060 \begin_layout Standard
21070 \begin_layout Standard
21074 \begin_layout Standard
21086 \begin_inset Note Framed
21089 \begin_layout Standard
21103 \begin_layout Standard
21117 \begin_layout Standard
21118 \begin_inset VSpace bigskip
21124 \begin_layout Standard
21129 notes the default space between the note content and the note border is
21130 3\InsetSpace \thinspace{}
21131 pt; it can be changed by changing the size
21139 The default background color red can be changed with the command
21143 def\SpecialChar \textcompwordmark{}
21151 def\SpecialChar \textcompwordmark{}
21154 command is explained in section\InsetSpace ~
21156 \begin_inset LatexCommand ref
21157 reference "sec:Colored-Tables"
21165 \begin_layout Standard
21172 \SpecialChar \textcompwordmark{}
21177 requires the LaTeX-package
21181 in the preamble, see section\InsetSpace ~
21183 \begin_inset LatexCommand ref
21184 reference "sec:Colored-Boxes"
21196 \begin_layout Standard
21197 For example the appearance of the following
21201 note is set with the ERT commands
21204 \begin_layout Standard
21217 def\SpecialChar \textcompwordmark{}
21218 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21221 \begin_layout Standard
21225 \begin_layout Standard
21238 \begin_layout Standard
21242 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21248 \begin_inset Note Shaded
21251 \begin_layout Standard
21254 This is yellow text in a
21258 note with darkgreen background.
21267 \begin_layout Standard
21280 \begin_layout Standard
21284 definecolor{shadecolor}{rgb}{1,0,0}
21292 \begin_layout Section
21294 \begin_inset LatexCommand label
21295 name "sec:Footnotes"
21300 \begin_inset LatexCommand index
21301 name "Notes ! Footnotes"
21306 \begin_inset LatexCommand index
21314 \begin_layout Standard
21315 Footnotes can be inserted using the toolbar button
21316 \begin_inset Graphics
21317 filename ../images/footnote-insert.xpm
21324 Insert\SpecialChar \menuseparator
21336 then the following footnote-box:
21337 \begin_inset Graphics
21338 filename ../clipart/footnoteQt4.png
21347 where you can enter the footnote text.
21348 If you want to turn existing text into a footnote, mark it and click on
21364 \begin_layout Standard
21365 Here is an example footnote:
21373 \begin_layout Standard
21374 \begin_inset LatexCommand label
21375 name "foot:This-is-an"
21379 This is an example footnote.
21392 \begin_layout Standard
21396 newcounter{MyRepeatFoot}
21399 \begin_layout Standard
21403 setcounter{MyRepeatFoot}{
21413 \begin_layout Standard
21414 The footnote will appear in the output as a superscript number at the text
21415 position where the footnote box is placed.
21416 The footnote text is placed at the bottom of the current page.
21417 The footnote number is calculated by LaTeX, the numbers are consecutive.
21418 It depends on your document-class, if the footnote number is reset for
21422 \begin_layout Standard
21423 Footnotes can be referenced like floats: Insert a label into the footnote
21424 and cross-reference this label in the text as described in section\InsetSpace ~
21426 \begin_inset LatexCommand ref
21427 reference "sec:Referencing-Floats"
21433 This is a cross-reference of Footnote\InsetSpace ~
21435 \begin_inset LatexCommand prettyref
21436 reference "foot:This-is-an"
21443 \begin_inset Note Greyedout
21446 \begin_layout Standard
21451 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21452 e.\InsetSpace \thinspace{}
21457 \begin_inset Quotes eld
21463 \begin_inset Quotes erd
21466 manually when you want to use the reference style
21468 Formatted\InsetSpace ~
21479 \begin_layout Standard
21480 \begin_inset VSpace defskip
21483 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21485 \begin_inset LatexCommand ref
21486 reference "sec:Minipages"
21491 Footnotes within longtables are described in section\InsetSpace ~
21493 \begin_inset LatexCommand ref
21494 reference "sub:Footnotes-in-Longtables"
21501 \begin_layout Standard
21502 \begin_inset VSpace defskip
21505 To create only a mark for a footnote, use the command
21509 footnotemark[number]
21512 This is used when you have the same annotation several times in a text
21513 but doesn't want to print the footnote text every time.
21516 the number of the repeating footnote while you are writing the text, you
21517 have to store its number.
21518 For the following footnote mark example, these commands were inserted in
21519 ERT behind Footnote\InsetSpace ~
21521 \begin_inset LatexCommand ref
21522 reference "foot:This-is-an"
21526 to store the footnote number:
21529 \begin_layout Standard
21534 newcounter{MyRepeatFoot}
21538 setcounter{MyRepeatFoot}{
21543 \begin_layout Standard
21544 The footnote mark was then created with this command:
21547 \begin_layout Standard
21557 \begin_layout Standard
21558 Here is an example footnote mark:
21566 \begin_layout Standard
21580 \begin_layout Subsection
21582 \begin_inset LatexCommand label
21583 name "sub:Footnote-Numbering"
21588 \begin_inset LatexCommand index
21589 name "Footnotes ! Numbering"
21596 \begin_layout Standard
21597 If you want to have footnotes numbered in the scheme
21598 \begin_inset Quotes eld
21602 \begin_inset Quotes erd
21605 , add the following command to your document preamble:
21608 \begin_layout Standard
21613 numberwithin{footnote}{chapter}
21616 \begin_layout Standard
21617 To be able to use the command
21628 in the document settings the option
21638 \begin_layout Standard
21642 \begin_layout Standard
21646 numberwithin{footnote}{chapter}
21651 This is another example footnote:
21657 \begin_layout Standard
21658 This is a footnote numbered in the scheme
21659 \begin_inset Quotes eld
21663 \begin_inset Quotes erd
21677 \begin_layout Standard
21681 numberwithin{footnote}{part}
21689 \begin_layout Standard
21690 \begin_inset VSpace bigskip
21696 \begin_layout Standard
21697 To reset the footnote number back to 1 after each section
21699 , add this command to your document preamble:
21702 \begin_layout Standard
21707 @addtoreset{footnote}{section}
21710 \begin_layout Standard
21711 \begin_inset VSpace bigskip
21714 The following preamble command changes the footnote numbering style to small
21718 \begin_layout Standard
21730 \begin_layout Standard
21734 \begin_layout Standard
21747 This is a footnote with roman numbering:
21751 \begin_layout Standard
21752 This is an example footnote with roman numbering.
21761 \begin_layout Standard
21777 \begin_layout Standard
21778 To change the numbering style to capital roman numerals replace in the command
21793 \begin_inset Quotes eld
21797 \begin_inset Quotes erd
21800 footnotes with capital or small Latin letters use
21814 \begin_inset Quotes eld
21818 \begin_inset Quotes erd
21821 footnotes with symbols use
21830 \begin_layout Standard
21831 \begin_inset Note Greyedout
21834 \begin_layout Standard
21841 You can only number 26 footnotes with Latin letters, because this numbering
21842 is limited to single letters.
21850 \begin_inset Note Greyedout
21853 \begin_layout Standard
21858 You can only number 9 footnotes with symbols.
21866 \begin_layout Standard
21867 To return to the default numbering style when you changed to another one,
21880 in the command above.
21883 \begin_layout Subsection
21885 \begin_inset LatexCommand index
21886 name "Footnotes ! Placement"
21893 \begin_layout Standard
21894 If you have several footnotes in one page, they appear without vertical
21895 space between them at the bottom of the page.
21896 To make them better readable you can e.\InsetSpace \thinspace{}
21898 add 1.5\InsetSpace \thinspace{}
21899 mm space with the following
21903 \begin_layout Standard
21925 \begin_layout Standard
21926 \begin_inset VSpace bigskip
21929 In a two-column document the footnotes appear at the bottom of every column,
21930 see Figure\InsetSpace ~
21932 \begin_inset LatexCommand ref
21933 reference "fig:Standard-footnote-placement"
21938 If the footnotes should only appear at the bottom of the right column,
21939 as in Figure\InsetSpace ~
21941 \begin_inset LatexCommand ref
21942 reference "fig:Footnote-placement-in"
21946 , use the LaTeX-package
21951 \begin_inset LatexCommand index
21952 name "LaTeX-packages ! ftnright"
21956 with this command in the document preamble:
21959 \begin_layout Standard
21964 usepackage{ftnright}
21967 \begin_layout Standard
21968 \begin_inset Float figure
21974 \begin_layout Standard
21978 \begin_layout Standard
21988 \begin_inset Graphics
21989 filename ../clipart/without_fntright.pdf
21998 \begin_layout Standard
22008 \begin_layout Standard
22009 \begin_inset Caption
22011 \begin_layout Standard
22012 \begin_inset LatexCommand label
22013 name "fig:Standard-footnote-placement"
22017 Standard footnote placement in two-column documents.
22030 \begin_layout Standard
22031 \begin_inset Float figure
22037 \begin_layout Standard
22041 \begin_layout Standard
22051 \begin_inset Graphics
22052 filename ../clipart/with_fntright.pdf
22061 \begin_layout Standard
22071 \begin_layout Standard
22072 \begin_inset Caption
22074 \begin_layout Standard
22075 \begin_inset LatexCommand label
22076 name "fig:Footnote-placement-in"
22080 Footnote placement in two-column documents when the LaTeX-package
22097 \begin_layout Standard
22098 \begin_inset VSpace bigskip
22101 In some scientific literature it is usual to collect the footnotes and print
22102 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22104 \begin_inset LatexCommand ref
22105 reference "fig:Endnotes----footnotes"
22110 They are then so called
22111 \begin_inset Quotes eld
22115 \begin_inset Quotes erd
22119 To use endnotes instead of footnotes in your document, load the LaTeX-package
22125 \begin_inset LatexCommand index
22126 name "LaTeX-packages ! endnotes"
22130 with the document preamble lines
22133 \begin_layout Standard
22138 usepackage{endnotes}
22149 \begin_layout Standard
22150 To insert the collected footnotes, insert the command
22153 \begin_layout Standard
22161 \begin_layout Standard
22162 in ERT at the the end of a section or chapter.
22165 \begin_layout Standard
22166 \begin_inset Float figure
22171 \begin_layout Standard
22176 \begin_layout Standard
22186 \begin_inset Graphics
22187 filename ../clipart/endnotes.pdf
22195 \begin_layout Standard
22205 \begin_layout Standard
22206 \begin_inset Caption
22208 \begin_layout Standard
22209 \begin_inset LatexCommand label
22210 name "fig:Endnotes----footnotes"
22214 Endnotes -- footnotes are printed in a separate paragraph at the end of
22215 sections or chapters.
22228 \begin_layout Standard
22229 \begin_inset VSpace defskip
22232 The paragraph heading for the endnotes isn't automatically translated into
22233 the document language, this must be done manually.
22234 The following preamble command translate the default English name
22235 \begin_inset Quotes eld
22239 \begin_inset Quotes erd
22242 to the German translation
22243 \begin_inset Quotes eld
22247 \begin_inset Quotes erd
22253 \begin_layout Standard
22260 notesname}{Anmerkungen}
22263 \begin_layout Standard
22264 \begin_inset VSpace defskip
22267 The numbering of endnotes can be changed like the footnote numbering as
22268 described in section\InsetSpace ~
22270 \begin_inset LatexCommand ref
22271 reference "sub:Footnote-Numbering"
22275 ; just replace the command
22288 To reset the endnote number use the command
22294 as described in section\InsetSpace ~
22296 \begin_inset LatexCommand ref
22297 reference "sub:Footnote-Numbering"
22301 and replace the command parameter
22312 \begin_layout Standard
22313 To create only a mark for an endnote, use the command
22317 endnotemark[number]
22319 similar to the command
22325 , described in section\InsetSpace ~
22327 \begin_inset LatexCommand ref
22328 reference "sec:Footnotes"
22335 \begin_layout Standard
22336 \begin_inset VSpace bigskip
22339 Footnotes can also be placed in the page margin and the footnote text alignment
22340 can be changed, see the LaTeX-package
22345 \begin_inset LatexCommand index
22346 name "LaTeX-packages ! footmisc"
22351 \begin_inset LatexCommand cite
22356 for more information about this.
22359 \begin_layout Standard
22360 For various further footnote formatting issues have a look at LaTeX-books,
22362 \begin_inset LatexCommand cite
22363 key "latexcompanion,latexguide,latexbook"
22370 \begin_layout Section
22372 \begin_inset LatexCommand index
22373 name "Notes ! Margin Notes"
22380 \begin_layout Standard
22381 Margin notes look and behave in LyX like footnotes.
22382 They are inserted via the menu
22384 Insert\SpecialChar \menuseparator
22385 Marginal\InsetSpace ~
22388 or the toolbar button
22389 \begin_inset Graphics
22390 filename ../images/marginalnote-insert.xpm
22412 \begin_inset Quotes eld
22416 \begin_inset Quotes erd
22419 appears where you can enter the text of the margin note.
22422 \begin_layout Standard
22423 At the side is an example margin note.
22427 \begin_inset Marginal
22430 \begin_layout Standard
22431 This is a margin note.
22439 \begin_layout Standard
22440 Margin notes appear at the right side in single-sided documents.
22441 In double-sided documents they appear in the outer margin -- left on even
22442 pages, right on odd pages.
22443 The text of margin notes is aligned opposite to the outer margin -- right-align
22444 ed when the note appears in the left margin.
22445 The first line of the margin note is placed at the position of the text
22446 line where it is inserted in the document.
22449 \begin_layout Standard
22450 \begin_inset VSpace bigskip
22453 To place the margin note in the inner margin, add the command
22456 \begin_layout Standard
22464 \begin_layout Standard
22465 in ERT before a margin note.
22466 The new placement is valid for all following margin notes.
22470 \begin_layout Standard
22480 \begin_inset Marginal
22483 \begin_layout Standard
22484 This is a margin note in the inner margin.
22496 \begin_inset Note Greyedout
22499 \begin_layout Standard
22504 There is often not enough space in the inner margin so that the notes are
22505 not correctly displayed in the output.
22513 \begin_layout Standard
22517 \begin_layout Standard
22526 To return to the default placement insert the command
22529 \begin_layout Standard
22537 \begin_layout Standard
22540 \begin_inset Note Greyedout
22543 \begin_layout Standard
22548 The command is ignored when it is within a paragraph where also the command
22563 \begin_layout Standard
22564 \begin_inset VSpace bigskip
22571 \begin_inset Marginal
22574 \begin_layout Standard
22575 AVeryLongMarginParWord that isn't hyphenated.
22583 Similar to the case described in section\InsetSpace ~
22585 \begin_inset LatexCommand ref
22586 reference "sub:Multiple-Lines-in"
22590 , long words cannot be hyphenated when they are the first word in a margin
22592 To avoid this, insert the command
22595 \begin_layout Standard
22603 \begin_layout Standard
22604 in ERT before the word
22608 \begin_inset Marginal
22611 \begin_layout Standard
22615 \begin_layout Standard
22624 AVeryLongMarginParWord that is hyphenated.
22632 \begin_layout Standard
22633 \begin_inset VSpace bigskip
22639 \begin_layout Standard
22640 \begin_inset Note Greyedout
22643 \begin_layout Standard
22648 Margin notes can normally not be used inside tables, floats, and footnotes.
22656 \begin_layout Standard
22657 \begin_inset VSpace bigskip
22663 \begin_layout Standard
22667 \begin_layout Standard
22677 \begin_inset Note Note
22680 \begin_layout Standard
22681 The following section will only be displayed when you have the LaTeX-package
22694 \begin_layout Standard
22695 This restriction can be evaded by using the LaTeX-package
22700 \begin_inset LatexCommand index
22701 name "LaTeX-packages ! marginnote"
22706 By adding these two lines to your document preamble, the command used by
22707 LyX for margin notes is redefined to use the command provided by the
22714 \begin_layout Standard
22719 usepackage{marginnote}
22730 \begin_layout Standard
22731 This is also used in this document because
22735 has another useful feature: You can set a vertical offset for the note.
22736 This is often needed when too many margin notes are too close together
22737 or for a better page layout.
22738 The offset is set in LyX as ERT directly behind the margin note in the
22742 \begin_layout Standard
22748 \begin_layout Standard
22749 where the offset is a length with one of the units listed in Table\InsetSpace ~
22751 \begin_inset LatexCommand ref
22752 reference "tab:Units"
22757 A negative value shifts the note up, a positive value shifts it down.
22761 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22764 \begin_inset Quotes eld
22774 \begin_inset Quotes erd
22778 \begin_inset Marginal
22781 \begin_layout Standard
22782 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22783 cm from its original position.
22795 \begin_layout Standard
22805 \begin_layout Standard
22806 \begin_inset VSpace defskip
22813 you can also change the alignment of the text in the margin note.
22814 For example the commands
22817 \begin_layout Standard
22824 raggedleftmarginnote}{
22832 raggedrightmarginnote}{
22837 \begin_layout Standard
22838 set the alignment to centered.
22843 raggedleftmarginnote
22845 denotes margin notes that appear at the left side.
22852 \begin_layout Standard
22858 raggedleftmarginnote}{
22863 \begin_layout Standard
22869 raggedrightmarginnote}{
22877 \begin_inset Marginal
22880 \begin_layout Standard
22881 The text of this margin note is centered.
22892 \begin_layout Standard
22899 raggedleftmarginnote}{
22907 raggedrightmarginnote}{
22916 \begin_layout Standard
22922 raggedleftmarginnote}{
22927 \begin_layout Standard
22933 raggedrightmarginnote}{
22943 \begin_layout Standard
22944 \begin_inset VSpace defskip
22947 For the other features of
22951 we refer to its documentation
22952 \begin_inset LatexCommand cite
22960 \begin_layout Standard
22961 \begin_inset VSpace bigskip
22964 You can change the layout of margin notes by redefining its definition.
22965 To create for example a header for all margin notes with the underlined,
22966 sans-serif, and bold header text
22967 \begin_inset Quotes eld
22979 \begin_inset Quotes erd
22982 , add this to your document preamble:
22985 \begin_layout Standard
23008 \begin_layout Standard
23025 underbar{Attention!}}}%
23031 \begin_layout Standard
23049 \begin_layout Standard
23056 \begin_layout Standard
23067 \begin_layout Standard
23078 \begin_layout Standard
23086 underbar{Attention!}}}%
23089 \begin_layout Standard
23103 \begin_inset Marginal
23106 \begin_layout Standard
23107 This is a margin note with a defined heading.
23119 \begin_layout Standard
23133 \begin_layout Standard
23150 \begin_inset Note Note
23153 \begin_layout Standard
23154 The margin note format is changed only for this example.
23162 \begin_layout Standard
23166 \begin_layout Standard
23176 \begin_inset Note Note
23179 \begin_layout Standard
23180 The following will be displayed when the LaTeX-package
23192 \begin_layout Standard
23193 You need to install the LaTeX-package
23197 to see the following part of this section in the output.
23200 \begin_layout Standard
23204 \begin_layout Standard
23216 \begin_layout Chapter
23220 \begin_layout Section
23222 \begin_inset LatexCommand index
23223 name "Boxes ! Introduction"
23230 \begin_layout Standard
23231 Boxes are used to format a block of text.
23232 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23234 \begin_inset LatexCommand ref
23235 reference "sec:Minipages"
23239 , to frame texts, see section\InsetSpace ~
23241 \begin_inset LatexCommand ref
23242 reference "sec:Framed-Boxes"
23246 , to prevent words to be hyphenated, see section\InsetSpace ~
23248 \begin_inset LatexCommand ref
23249 reference "sec:Prevent-Hyphenation"
23253 , to align text, see section\InsetSpace ~
23255 \begin_inset LatexCommand ref
23256 reference "sub:Vertical-Alignment"
23260 , or to set the background color of texts, see section\InsetSpace ~
23262 \begin_inset LatexCommand ref
23263 reference "sec:Colored-Boxes"
23270 \begin_layout Standard
23271 Boxes can be inserted with the menu
23273 Insert\SpecialChar \menuseparator
23277 A grey box with the label
23282 \begin_inset Graphics
23283 filename ../clipart/BoxInsetDefaultQt4.png
23288 , will be inserted.
23289 The box type can be specified by right-clicking on the box.
23290 The appearing box dialog offers the
23308 is the default for new boxes and is explained in section\InsetSpace ~
23310 \begin_inset LatexCommand ref
23311 reference "sec:Minipages"
23319 is described in section\InsetSpace ~
23321 \begin_inset LatexCommand ref
23322 reference "sec:Parboxes"
23329 \begin_layout Standard
23330 Boxes aren't numbered and can therefore not be referenced like floats or
23334 \begin_layout Standard
23335 \begin_inset Note Greyedout
23338 \begin_layout Standard
23343 Due to a bug in LyX you have to insert a protected space behind a box when
23344 you want to separate in a line the box from the following text with a space.
23352 \begin_layout Standard
23353 \begin_inset Note Greyedout
23356 \begin_layout Standard
23361 Boxes must not be the item in an
23377 \begin_layout Standard
23378 \begin_inset Note Greyedout
23381 \begin_layout Standard
23386 For an unknown reason you can only set the
23395 when you use a framed box.
23401 type and without frames are explained in section\InsetSpace ~
23403 \begin_inset LatexCommand ref
23404 reference "sec:Prevent-Hyphenation"
23416 \begin_layout Section
23418 \begin_inset LatexCommand label
23419 name "sec:Box-Dialog"
23424 \begin_inset LatexCommand index
23425 name "Boxes ! Box Dialog"
23430 \begin_inset LatexCommand index
23431 name "Boxes ! Alignment"
23438 \begin_layout Standard
23439 In the box dialog you can adjust the box geometry in the fields
23448 The available units for the geometry are explained in Table\InsetSpace ~
23450 \begin_inset LatexCommand ref
23451 reference "tab:Units"
23460 offers the following additional sizes:
23463 \begin_layout Description
23464 Depth This is the plain text
23465 \begin_inset Quotes eld
23469 \begin_inset Quotes erd
23473 It ignores the total depth when there are multiple text lines in the box:
23480 \begin_inset Box Boxed
23489 height_special "depth"
23492 \begin_layout Standard
23494 Box height set to 1\InsetSpace \thinspace{}
23507 \begin_layout Description
23508 Height This is the heigth of the text that is inside the box.
23509 A value of e.\InsetSpace \thinspace{}
23511 2 for this size will set the box heigth to 2 times the text
23513 \begin_inset Box Boxed
23522 height_special "height"
23525 \begin_layout Standard
23527 Box height set to 2\InsetSpace \thinspace{}
23536 \begin_layout Description
23538 Height This is the Height\InsetSpace \thinspace{}
23539 +\InsetSpace \thinspace{}
23541 \begin_inset Box Boxed
23550 height_special "totalheight"
23553 \begin_layout Standard
23555 Box height set to 1\InsetSpace \thinspace{}
23565 \begin_layout Description
23566 Width This set the width of the box as heigth:
23567 \begin_inset Box Boxed
23576 height_special "width"
23579 \begin_layout Standard
23581 Box height set to 1\InsetSpace \thinspace{}
23590 \begin_layout Standard
23591 \begin_inset VSpace bigskip
23594 When you have chosen an
23599 , the vertical box alignment can be:
23602 \begin_layout Description
23603 Top This is an example text line.
23605 \begin_inset Box Boxed
23614 height_special "totalheight"
23617 \begin_layout Standard
23619 This box is top-aligned.
23625 This is an example text line.
23628 \begin_layout Description
23629 Middle This is an example text line.
23631 \begin_inset Box Boxed
23640 height_special "totalheight"
23643 \begin_layout Standard
23645 This box is middle-aligned.
23651 This is an example text line.
23654 \begin_layout Description
23655 Bottom This is an example text line.
23657 \begin_inset Box Boxed
23666 height_special "totalheight"
23669 \begin_layout Standard
23671 This box is bottom-aligned.
23677 This is an example text line.
23680 \begin_layout Standard
23681 The horizontal box alignment can be set via LyX's paragraph dialog when
23682 you set the box into its own paragraph.
23685 \begin_layout Standard
23686 \begin_inset VSpace bigskip
23689 When you have chosen an
23694 , the box content can be vertical aligned to:
23697 \begin_layout Description
23698 top This is an example text line.
23700 \begin_inset Box Boxed
23709 height_special "totalheight"
23712 \begin_layout Standard
23714 This box text is top-aligned.
23720 This is an example text line.
23723 \begin_layout Description
23724 middle This is an example text line.
23726 \begin_inset Box Boxed
23735 height_special "totalheight"
23738 \begin_layout Standard
23740 This box text is middle-aligned.
23746 This is an example text line.
23749 \begin_layout Description
23750 bottom This is an example text line.
23752 \begin_inset Box Boxed
23761 height_special "totalheight"
23764 \begin_layout Standard
23766 This box text is bottom-aligned.
23772 This is an example text line.
23775 \begin_layout Description
23776 stretch This is an example text line.
23778 \begin_inset Box Boxed
23787 height_special "totalheight"
23790 \begin_layout Standard
23795 \begin_layout Standard
23800 \begin_layout Standard
23808 This is an example text line.
23811 \begin_layout Standard
23812 To stretch the box content, it must consist of more than one paragraph.
23813 In the example above every text line is in an own paragraph.
23816 \begin_layout Standard
23817 \begin_inset VSpace bigskip
23820 To align the box content horizontally you can use LyX's paragraph dialog
23821 when you have chosen an
23829 \begin_layout Standard
23831 \begin_inset Box Boxed
23840 height_special "totalheight"
23843 \begin_layout Standard
23848 \begin_layout Standard
23853 \begin_layout Standard
23863 \begin_layout Standard
23864 If you haven't set an
23869 , you can align the box content horizontally in the box dialog.
23872 \begin_layout Standard
23874 \begin_inset Box Boxed
23883 height_special "totalheight"
23886 \begin_layout Standard
23888 This box text is horizontally stretched.
23896 \begin_layout Section
23898 \begin_inset LatexCommand label
23899 name "sec:Framed-Boxes"
23904 \begin_inset LatexCommand index
23905 name "Boxes ! Frames"
23912 \begin_layout Standard
23913 The frame style of the box can be specified in the box-dialog in the drop-down
23919 The following frame types are possible:
23922 \begin_layout Description
23923 Rectangular\InsetSpace ~
23924 box This draws a rectangle frame around the box.
23925 The frame line thickness has the size of
23933 \begin_inset Box Boxed
23942 height_special "totalheight"
23945 \begin_layout Standard
23955 \begin_layout Description
23958 thin This draws an oval frame around the box.
23959 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23962 \begin_inset Box ovalbox
23971 height_special "totalheight"
23974 \begin_layout Standard
23984 \begin_layout Description
23987 thick This draws an oval frame around the box.
23988 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
23991 \begin_inset Box Ovalbox
24000 height_special "totalheight"
24003 \begin_layout Standard
24013 \begin_layout Description
24014 Shadow\InsetSpace ~
24015 box This draws a rectangle frame with a shadow around the box.
24016 The frame line thickness has the size of
24022 , the shadow has a width of 4\InsetSpace \thinspace{}
24025 \begin_inset Box Shadowbox
24034 height_special "totalheight"
24037 \begin_layout Standard
24047 \begin_layout Description
24048 Double\InsetSpace ~
24049 box This draws a double-line rectangle frame around the box.
24050 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24057 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24065 The distance between the lines is 1.5\InsetSpace \thinspace{}
24072 \InsetSpace \thinspace{}
24073 +\InsetSpace \thinspace{}
24074 0.5\InsetSpace \thinspace{}
24077 \begin_inset Box Doublebox
24086 height_special "totalheight"
24089 \begin_layout Standard
24099 \begin_layout Standard
24100 \begin_inset VSpace bigskip
24103 LyX's box label will change to the used frame style when you set a frame.
24104 To be able to use the different frame styles, the LaTeX-package
24109 \begin_inset LatexCommand index
24110 name "LaTeX-packages ! fancybox"
24117 \begin_layout Standard
24118 \begin_inset VSpace bigskip
24121 The default value for the size
24127 is 0.4\InsetSpace \thinspace{}
24129 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24131 2\InsetSpace \thinspace{}
24135 \begin_layout Standard
24145 \begin_layout Standard
24149 \begin_layout Standard
24161 \begin_inset Box Boxed
24170 height_special "totalheight"
24173 \begin_layout Standard
24175 Rectangular box with
24181 \InsetSpace \thinspace{}
24182 =\InsetSpace \thinspace{}
24183 2\InsetSpace \thinspace{}
24193 \begin_layout Standard
24207 \begin_layout Standard
24208 \begin_inset VSpace bigskip
24211 The space between the frame and the box content is for all frame styles
24212 by default 3\InsetSpace \thinspace{}
24214 You can change it by setting the length
24221 For example the command
24224 \begin_layout Standard
24234 \begin_layout Standard
24235 sets the value to 10\InsetSpace \thinspace{}
24236 pt, like for the following box:
24239 \begin_layout Standard
24243 \begin_layout Standard
24255 \begin_inset Box Boxed
24264 height_special "totalheight"
24267 \begin_layout Standard
24269 Rectangular box with
24275 \InsetSpace \thinspace{}
24276 =\InsetSpace \thinspace{}
24277 10\InsetSpace \thinspace{}
24287 \begin_layout Standard
24301 \begin_layout Standard
24302 \begin_inset VSpace bigskip
24305 The diameter of the round corners of the oval boxes can be set with the
24316 \begin_layout Standard
24324 \begin_layout Standard
24325 sets the diameter to 1\InsetSpace \thinspace{}
24330 \begin_layout Standard
24338 \begin_layout Standard
24339 sets the diameter to
24341 num\InsetSpace \thinspace{}
24342 ×\InsetSpace \thinspace{}
24343 minimum(width and heigth of box)
24355 \begin_layout Standard
24359 \begin_layout Standard
24369 \begin_inset Box Ovalbox
24378 height_special "totalheight"
24381 \begin_layout Standard
24389 \InsetSpace \thinspace{}
24390 =\InsetSpace \thinspace{}
24391 1.5\InsetSpace \thinspace{}
24401 \begin_layout Standard
24413 \begin_layout Standard
24414 \begin_inset VSpace bigskip
24417 The size of the shadow can be adjusted by changing the length
24424 It it set to 2\InsetSpace \thinspace{}
24425 pt for the following box by this command:
24428 \begin_layout Standard
24438 \begin_layout Standard
24442 \begin_layout Standard
24454 \begin_inset Box Shadowbox
24463 height_special "totalheight"
24466 \begin_layout Standard
24474 \InsetSpace \thinspace{}
24475 =\InsetSpace \thinspace{}
24476 2\InsetSpace \thinspace{}
24486 \begin_layout Standard
24500 \begin_layout Standard
24501 \begin_inset VSpace bigskip
24504 Changed lengths and widths are valid for all boxes following the commands
24508 \begin_layout Section
24510 \begin_inset LatexCommand label
24511 name "sec:Minipages"
24516 \begin_inset LatexCommand index
24517 name "Boxes ! Minipages"
24524 \begin_layout Standard
24525 Minipages are treated by LaTeX as pages within pages and can therefore for
24526 example have their own footnotes.
24529 \begin_layout Standard
24530 Minipages are useful when you write documents with different languages.
24533 \begin_layout Standard
24534 Below are two example minipages side by side.
24535 Their width is set to 45\InsetSpace \thinspace{}
24536 col% and they are separated by a horizontal fill,
24537 that was inserted via the menu
24539 Insert\SpecialChar \menuseparator
24540 Special\InsetSpace ~
24541 Formatting\SpecialChar \menuseparator
24542 Horizontal\InsetSpace ~
24548 \begin_layout Standard
24549 \begin_inset Box Frameless
24558 height_special "totalheight"
24561 \begin_layout Standard
24564 Dies ist ein deutscher Text.
24565 Dies ist ein deutscher Text.
24566 Dies ist ein deutscher Text.
24567 Dies ist ein deutscher Text.
24568 Dies ist ein deutscher Text.
24569 Dies ist ein deutscher Text.
24570 Dies ist ein deutscher Text.
24571 Dies ist ein deutscher Text.
24572 Dies ist ein deutscher Text.
24573 Dies ist ein deutscher Text.
24574 Dies ist ein deutscher Text.
24575 Dies ist ein deutscher Text.
24576 Dies ist ein deutscher Text
24580 \begin_layout Standard
24583 Dies ist eine deutsche Fußnote.
24589 Dies ist ein deutscher Text.
24590 Dies ist ein deutscher Text.
24598 \begin_inset Box Frameless
24607 height_special "totalheight"
24610 \begin_layout Standard
24611 This is an English Text.
24612 This is an English Text.
24613 This is an English Text.
24614 This is an English Text.
24615 This is an English Text.
24616 This is an English Text.
24617 This is an English Text.
24618 This is an English Text.
24619 This is an English Text.
24620 This is an English Text.
24621 This is an English Text.
24622 This is an English Text.
24623 This is an English Text.
24624 This is an English Text.
24625 This is an English Text.
24626 This is an English Text.
24630 \begin_layout Standard
24631 This is an English footnote.
24636 This is an English Text.
24645 \begin_layout Standard
24646 \begin_inset VSpace bigskip
24649 Another application for minipages are footnotes within tables.
24650 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24651 bottom of the current page.
24652 But when you put the table with the footnote to a minipage, the footnote
24653 will appear at its bottom, numbered with Latin letters.
24654 The footnote number is reset to 1 in every minipage but not outside the
24658 \begin_layout Standard
24659 The footnote of this table doesn't appear:
24660 \begin_inset Tabular
24661 <lyxtabular version="3" rows="3" columns="4">
24663 <column alignment="center" valignment="top" leftline="true" width="0pt">
24664 <column alignment="center" valignment="top" leftline="true" width="0pt">
24665 <column alignment="center" valignment="top" leftline="true" width="0pt">
24666 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24667 <row topline="true">
24668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24671 \begin_layout Standard
24677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24680 \begin_layout Standard
24686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24689 \begin_layout Standard
24694 \begin_layout Standard
24695 This is a footnote within a table.
24705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24708 \begin_layout Standard
24715 <row topline="true">
24716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24719 \begin_layout Standard
24725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24728 \begin_layout Standard
24734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24737 \begin_layout Standard
24743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24746 \begin_layout Standard
24753 <row topline="true" bottomline="true">
24754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24757 \begin_layout Standard
24763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24766 \begin_layout Standard
24772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24775 \begin_layout Standard
24781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24784 \begin_layout Standard
24798 \begin_layout Standard
24800 \begin_inset Box Frameless
24809 height_special "totalheight"
24812 \begin_layout Standard
24814 \begin_inset Tabular
24815 <lyxtabular version="3" rows="3" columns="4">
24817 <column alignment="center" valignment="top" leftline="true" width="0pt">
24818 <column alignment="center" valignment="top" leftline="true" width="0pt">
24819 <column alignment="center" valignment="top" leftline="true" width="0pt">
24820 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24821 <row topline="true">
24822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24825 \begin_layout Standard
24831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24834 \begin_layout Standard
24840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24843 \begin_layout Standard
24848 \begin_layout Standard
24849 This is a footnote within a table.
24859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24862 \begin_layout Standard
24869 <row topline="true">
24870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24873 \begin_layout Standard
24879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24882 \begin_layout Standard
24888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24891 \begin_layout Standard
24897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24900 \begin_layout Standard
24907 <row topline="true" bottomline="true">
24908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24911 \begin_layout Standard
24917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24920 \begin_layout Standard
24926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24929 \begin_layout Standard
24935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24938 \begin_layout Standard
24957 \begin_layout Standard
24958 \begin_inset VSpace bigskip
24961 The document-wide paragraph settings are ignored within minipages.
24962 That means that there will be no space between paragraphs in minipages
24963 although you set it to e.\InsetSpace \thinspace{}
24969 in the document settings.
24972 \begin_layout Standard
24973 Minipages can also be used to set a background color for text parts, see
24974 section\InsetSpace ~
24976 \begin_inset LatexCommand ref
24977 reference "sub:Color-for-Paragraphs"
24984 \begin_layout Standard
24985 \begin_inset Note Greyedout
24988 \begin_layout Standard
24993 You cannot have floats or margin notes inside minipages but minipages can
24994 be used inside tables, floats, and other boxes.
25002 \begin_layout Section
25004 \begin_inset LatexCommand label
25005 name "sec:Parboxes"
25010 \begin_inset LatexCommand index
25011 name "Boxes ! Parboxes"
25018 \begin_layout Standard
25019 Parboxes are very similar to minipages with the difference that they cannot
25021 The main difference to minipages is that minipages are in contrary to parboxes
25022 no real boxes but LaTeX-environments.
25025 \begin_layout Standard
25027 \begin_inset Box Frameless
25036 height_special "totalheight"
25039 \begin_layout Standard
25040 This a text within a parbox.
25041 This a text within a parbox.
25044 \begin_layout Standard
25045 This footnote won't appear:
25049 \begin_layout Standard
25050 This footnote is inside a parbox and will therefore not appear.
25063 \begin_layout Section
25064 Boxes for Words and Characters
25065 \begin_inset LatexCommand index
25066 name "Boxes ! for Characters"
25073 \begin_layout Subsection
25074 Prevent Hyphenation
25075 \begin_inset LatexCommand label
25076 name "sec:Prevent-Hyphenation"
25081 \begin_inset LatexCommand index
25082 name "Boxes ! to Prevent Hyphenation"
25089 \begin_layout Standard
25090 You can use a special kind of boxes to prevent words or text to be hyphenated.
25093 e is an example text:
25096 \begin_layout Standard
25097 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25103 \begin_layout Standard
25104 To prevent the hyphenation of the word
25105 \begin_inset Quotes eld
25109 \begin_inset Quotes erd
25115 \begin_layout Standard
25123 \begin_layout Standard
25124 in ERT before the word.
25125 Behind the word insert a closing brace
25126 \begin_inset Quotes eld
25134 \begin_inset Quotes erd
25141 \begin_layout Standard
25153 \begin_layout Standard
25154 This is the result:
25157 \begin_layout Standard
25158 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25164 \begin_layout Standard
25177 \begin_layout Standard
25187 \begin_layout Standard
25188 Of course the word now protrudes over the side margin.
25189 To avoid this, add via the menu
25191 Insert\SpecialChar \menuseparator
25192 Special\InsetSpace ~
25193 Formatting\SpecialChar \menuseparator
25201 ) a line break before the word:
25204 \begin_layout Standard
25205 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25213 \begin_layout Standard
25226 \begin_layout Standard
25236 \begin_layout Subsection
25238 \begin_inset LatexCommand label
25239 name "sub:Vertical-Alignment"
25244 \begin_inset LatexCommand index
25245 name "Boxes ! for Vertical Alignment"
25250 \begin_inset LatexCommand index
25251 name "Boxes ! Raiseboxes"
25258 \begin_layout Standard
25259 With the help of the command
25265 you can align words, characters or other boxes vertically to the surrounding
25273 is used with the following scheme:
25276 \begin_layout Standard
25281 raisebox{lift}[height][depth]{box content}
25284 \begin_layout Standard
25285 The lift can be a positive value to raise the box or a negative value to
25289 \begin_layout Standard
25290 To align for example the word
25291 \begin_inset Quotes eld
25295 \begin_inset Quotes erd
25298 so that the bottom of the
25299 \begin_inset Quotes eld
25303 \begin_inset Quotes erd
25307 \begin_inset Quotes eld
25311 \begin_inset Quotes erd
25314 is at the baseline, insert the command
25317 \begin_layout Standard
25327 \begin_layout Standard
25328 in ERT before the word.
25329 Behind the word insert a closing brace
25330 \begin_inset Quotes eld
25338 \begin_inset Quotes erd
25343 This is the result:
25346 \begin_layout Standard
25347 This is a text line with the word
25351 \begin_layout Standard
25363 \begin_inset Quotes eld
25367 \begin_inset Quotes erd
25374 \begin_layout Standard
25384 \begin_layout Standard
25385 \begin_inset VSpace bigskip
25388 When you raise or lower characters in a line, the line distance will be
25392 \begin_layout Standard
25393 This is a text line with the word
25397 \begin_layout Standard
25409 \begin_inset Quotes eld
25413 \begin_inset Quotes erd
25420 \begin_layout Standard
25429 This is a text line with the word
25433 \begin_layout Standard
25443 \begin_inset Quotes eld
25447 \begin_inset Quotes erd
25454 \begin_layout Standard
25464 \begin_layout Standard
25465 If you want to prevent this for a certain reason, set the box height to
25470 \begin_layout Standard
25480 \begin_layout Standard
25481 This is a text line with the word
25485 \begin_layout Standard
25497 \begin_inset Quotes eld
25501 \begin_inset Quotes erd
25508 \begin_layout Standard
25517 This is a text line with the word
25521 \begin_layout Standard
25525 raisebox{0.5cm}[0pt]{
25531 \begin_inset Quotes eld
25535 \begin_inset Quotes erd
25542 \begin_layout Standard
25552 \begin_layout Section
25554 \begin_inset LatexCommand label
25555 name "sec:Colored-Boxes"
25560 \begin_inset LatexCommand index
25561 name "Boxes ! Color"
25568 \begin_layout Subsection
25570 \begin_inset LatexCommand index
25571 name "Color ! for Text"
25578 \begin_layout Standard
25579 To color the background of text the text must be put into a so called colorbox.
25580 This requires that the LaTeX-package
25585 \begin_inset LatexCommand index
25586 name "LaTeX-packages ! color"
25590 is loaded in the document preamble with the command
25593 \begin_layout Standard
25598 @ifundef\SpecialChar \textcompwordmark{}
25605 \begin_layout Standard
25616 usepackage{color}}{}
25619 \begin_layout Standard
25624 will be loaded automatically by LyX when you color text
25628 \begin_layout Standard
25629 To avoid that it is loaded twice the command
25633 @ifundef\SpecialChar \textcompwordmark{}
25644 \begin_layout Standard
25645 \begin_inset VSpace medskip
25648 Colorboxes are created with the command
25655 This will be used with the following scheme:
25658 \begin_layout Standard
25663 colorbox{color}{box content}
25666 \begin_layout Standard
25667 The box content can also be a box and colorboxes can also be within other
25671 \begin_layout Standard
25672 The following colors are predefined:
25710 You can also define your own color as described in section\InsetSpace ~
25712 \begin_inset LatexCommand ref
25713 reference "sec:Colored-Tables"
25720 \begin_layout Standard
25721 To have e.\InsetSpace \thinspace{}
25723 a red background for a word, insert the command
25726 \begin_layout Standard
25734 \begin_layout Standard
25735 before the word in ERT.
25736 Behind the word insert a closing brace
25737 \begin_inset Quotes eld
25745 \begin_inset Quotes erd
25750 This is the result:
25753 \begin_layout Standard
25754 This is a line where the word
25758 \begin_layout Standard
25768 \begin_inset Quotes eld
25772 \begin_inset Quotes erd
25779 \begin_layout Standard
25786 has a red background.
25789 \begin_layout Standard
25790 \begin_inset VSpace bigskip
25793 If you would have the box frame in a different color, you can use the command
25800 with the following scheme:
25803 \begin_layout Standard
25808 fcolorbox{frame color}{box color}{box content}
25811 \begin_layout Standard
25825 The frame thickness and the space between the frame and the box content
25826 can be adjusted with the lengths
25838 , respectively, as described in section\InsetSpace ~
25840 \begin_inset LatexCommand ref
25841 reference "sec:Framed-Boxes"
25848 \begin_layout Standard
25849 For the following example the command
25852 \begin_layout Standard
25857 fcolorbox{cyan}{magenta}{
25860 \begin_layout Standard
25864 \begin_layout Standard
25865 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25872 \begin_layout Standard
25887 \begin_layout Standard
25891 fcolorbox{cyan}{magenta}{
25896 This is text within a colored, framed box.
25900 \begin_layout Standard
25910 \begin_layout Standard
25911 \begin_inset VSpace bigskip
25914 Of course you can also have colored text inside a colorbox:
25920 \begin_layout Standard
25924 fcolorbox{cyan}{magenta}{
25931 This is colored text within a colored, framed box.
25937 \begin_layout Standard
25948 \begin_layout Standard
25962 \begin_layout Standard
25965 \begin_inset VSpace medskip
25971 \begin_layout Standard
25972 \begin_inset Note Greyedout
25975 \begin_layout Standard
25980 Text in colorboxes cannot have line breaks.
25981 To color multiple text lines or paragraphs, use a box inside a colorbox
25982 as described in the following.
25990 \begin_layout Subsection
25991 Color for Paragraphs
25992 \begin_inset LatexCommand label
25993 name "sub:Color-for-Paragraphs"
25998 \begin_inset LatexCommand index
25999 name "Color ! for Paragraphs"
26006 \begin_layout Standard
26007 To set the background color for more than one text line, put the text into
26009 Before the minipage insert the
26018 \begin_layout Standard
26026 \begin_layout Standard
26028 Behind the minipage insert a closing brace
26029 \begin_inset Quotes eld
26037 \begin_inset Quotes erd
26043 \begin_layout Standard
26047 \begin_layout Standard
26051 colorbox{lightgrey}{
26057 \begin_inset Box Frameless
26066 height_special "totalheight"
26069 \begin_layout Standard
26070 This is text with background color.
26071 This is text with background color.
26074 \begin_layout Standard
26075 \begin_inset VSpace defskip
26078 The text can have footnotes
26082 \begin_layout Standard
26083 Another example footnote
26088 and can include tables and figures.
26091 \begin_layout Standard
26093 \begin_inset Tabular
26094 <lyxtabular version="3" rows="3" columns="3">
26096 <column alignment="center" valignment="top" leftline="true" width="0">
26097 <column alignment="center" valignment="top" leftline="true" width="0">
26098 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26099 <row topline="true">
26100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26103 \begin_layout Standard
26109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26112 \begin_layout Standard
26118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26121 \begin_layout Standard
26128 <row topline="true">
26129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26132 \begin_layout Standard
26138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26141 \begin_layout Standard
26143 \begin_inset Quotes erd
26151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26154 \begin_layout Standard
26161 <row topline="true" bottomline="true">
26162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26165 \begin_layout Standard
26171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26174 \begin_layout Standard
26180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26183 \begin_layout Standard
26203 \begin_layout Standard
26213 \begin_layout Section
26214 URLs (Uniform Resource Locators)
26215 \begin_inset LatexCommand index
26223 \begin_layout Standard
26224 Links to web pages or email addresses can be inserted via the menu
26226 Insert\SpecialChar \menuseparator
26230 The appearing URL dialog has two fields; the
26238 field for the URL description, which will be typeset as plain text immediately
26242 \begin_layout Standard
26243 Here is an example URL:
26244 \begin_inset LatexCommand url
26245 name "LyX's homepage"
26246 target "http://www.lyx.org"
26253 \begin_layout Standard
26256 Generate\InsetSpace ~
26259 in the URL dialog has only an affect when you export your document to the
26261 \begin_inset Quotes eld
26269 \begin_inset Quotes erd
26275 \begin_layout Standard
26276 You cannot change the style of the link text.
26281 field will have the default text style of the document while the text of
26286 field will have the style
26287 \begin_inset Quotes eld
26295 \begin_inset Quotes erd
26301 \begin_layout Standard
26302 When you use the LaTeX-package
26307 \begin_inset LatexCommand index
26308 name "LaTeX-packages ! hyperref"
26312 to link cross-references in the output, URLs will automatically become
26313 clickable hyperlinks in DVI and PDF-output.
26316 \begin_layout Standard
26317 \begin_inset Note Greyedout
26320 \begin_layout Standard
26325 When you use the following characters: "%", "#", "^", you have to write
26326 them with a preceding backslash, e.\InsetSpace \thinspace{}
26329 \begin_inset Quotes eld
26335 \begin_inset Quotes erd
26339 URLs must not end with a backslash.
26347 \begin_layout Standard
26348 \begin_inset VSpace bigskip
26351 To create real hyperlinks without the force to write the link location to
26352 the text, you can use the command
26355 \begin_layout Standard
26360 href{link location}{link text}
26363 \begin_layout Standard
26365 To get for example a link to LyX's web page, write the command
26368 \begin_layout Standard
26373 href{http://www.lyx.org}{
26376 \begin_layout Standard
26378 Insert after the command the link text
26379 \begin_inset Quotes eld
26383 \begin_inset Quotes erd
26386 as normal text followed by a closing brace
26387 \begin_inset Quotes eld
26395 \begin_inset Quotes erd
26399 This is the result:
26403 \begin_layout Standard
26407 href{http://www.lyx.org}{
26416 \begin_layout Standard
26426 \begin_layout Standard
26427 To link to email addresses, add the prefix
26428 \begin_inset Quotes eld
26436 \begin_inset Quotes erd
26439 to the link location:
26445 \begin_layout Standard
26449 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26454 lyx-docs mailing list
26458 \begin_layout Standard
26468 \begin_layout Standard
26475 instead of LyX's URL box has the advantage that you can specify the text
26476 style of the link text like for all other text parts.
26477 You can therefore set hyphenation points and forced linebreaks to have
26478 long link text broken at the page margin.
26479 You are furthermore able to change the text style for all URLs in your
26480 document with an option in
26484 's load command and the restrictions mentioned above doesn't apply for
26493 \begin_layout Standard
26499 \begin_layout Chapter
26505 \begin_layout Standard
26518 \begin_layout Standard
26526 \begin_inset LatexCommand index
26532 \begin_inset LatexCommand label
26533 name "cha:Units-available-in"
26538 \begin_inset Note Note
26541 \begin_layout Standard
26544 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26545 are displayed wrongly in PDF-bookmarks.
26546 For more information about this, have a look at
26547 \begin_inset LatexCommand cite
26560 \begin_layout Standard
26561 To understand the units described in this documentation, Table\InsetSpace ~
26563 \begin_inset LatexCommand ref
26564 reference "tab:Units"
26568 explains all units available in LyX.
26571 \begin_layout Standard
26572 \begin_inset Float table
26578 \begin_layout Standard
26579 \begin_inset Caption
26581 \begin_layout Standard
26582 \begin_inset LatexCommand label
26595 \begin_layout Standard
26596 \begin_inset VSpace medskip
26602 \begin_layout Standard
26604 \begin_inset Tabular
26605 <lyxtabular version="3" rows="20" columns="2">
26607 <column alignment="center" valignment="top" leftline="true" width="0">
26608 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26609 <row topline="true" bottomline="true">
26610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26613 \begin_layout Standard
26619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26622 \begin_layout Standard
26629 <row topline="true">
26630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26633 \begin_layout Standard
26639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26642 \begin_layout Standard
26649 <row topline="true">
26650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26653 \begin_layout Standard
26659 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26662 \begin_layout Standard
26669 <row topline="true">
26670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26673 \begin_layout Standard
26679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26682 \begin_layout Standard
26689 <row topline="true">
26690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26693 \begin_layout Standard
26699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26702 \begin_layout Standard
26703 point (72.27\InsetSpace \thinspace{}
26704 pt = 1\InsetSpace \thinspace{}
26711 <row topline="true">
26712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26715 \begin_layout Standard
26721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26724 \begin_layout Standard
26725 pica (1\InsetSpace \thinspace{}
26726 pc = 12\InsetSpace \thinspace{}
26733 <row topline="true">
26734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26737 \begin_layout Standard
26743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26746 \begin_layout Standard
26747 scaled point (65536\InsetSpace \thinspace{}
26748 sp = 1\InsetSpace \thinspace{}
26755 <row topline="true">
26756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26759 \begin_layout Standard
26765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26768 \begin_layout Standard
26769 big point (72\InsetSpace \thinspace{}
26770 bp = 1\InsetSpace \thinspace{}
26777 <row topline="true">
26778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26781 \begin_layout Standard
26787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26790 \begin_layout Standard
26791 didot (72\InsetSpace \thinspace{}
26793 \begin_inset Formula $\approx$
26796 37.6\InsetSpace \thinspace{}
26803 <row topline="true">
26804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26807 \begin_layout Standard
26813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26816 \begin_layout Standard
26817 cicero (1\InsetSpace \thinspace{}
26818 cc = 12\InsetSpace \thinspace{}
26825 <row topline="true">
26826 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26829 \begin_layout Standard
26835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26838 \begin_layout Standard
26839 % of original image width
26845 <row topline="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
26945 <row topline="true">
26946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26949 \begin_layout Standard
26955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26958 \begin_layout Standard
26965 <row topline="true">
26966 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26969 \begin_layout Standard
26975 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26978 \begin_layout Standard
26989 <row topline="true">
26990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26993 \begin_layout Standard
26999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27002 \begin_layout Standard
27013 <row topline="true" bottomline="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 math unit (1\InsetSpace \thinspace{}
27028 mu = 1/18\InsetSpace \thinspace{}
27047 \begin_layout Chapter
27048 Output File Formats with Graphics
27049 \begin_inset LatexCommand label
27050 name "cha:Output-File-Formats"
27057 \begin_layout Section
27059 \begin_inset LatexCommand index
27060 name "File Formats ! DVI"
27065 \begin_inset LatexCommand index
27066 name "DVI|see{File Formats}"
27073 \begin_layout Standard
27074 This file type has the extension
27075 \begin_inset Quotes eld
27083 \begin_inset Quotes erd
27088 \begin_inset Quotes eld
27092 \begin_inset Quotes erd
27095 (DVI), because it is completely portable; you can move them from one machine
27096 to another without needing to do any sort of conversion.
27097 At the time when this file-format was developed, this was no matter of
27099 DVIs are used for quick previews and as pre-stage for other output formats,
27103 \begin_layout Standard
27104 \begin_inset Note Greyedout
27107 \begin_layout Standard
27112 DVI-files doesn't contain images, they will only be a linked.
27117 So don't forget this, if you move your
27121 file to another computer.
27122 This property can also slow down your computer when you view the DVI.
27123 Because the DVI-viewer has to convert the image in the background to make
27124 it visible when you scroll in the DVI.
27125 So we recommend to use PDF for files with many images.
27128 \begin_layout Standard
27129 You can export your document to DVI by using the menu
27131 File\SpecialChar \menuseparator
27132 Export\SpecialChar \menuseparator
27136 You can view your document as PostScript via the
27140 menu or by using the toolbar button
27141 \begin_inset Graphics
27142 filename ../images/buffer-view_dvi.xpm
27150 \begin_layout Section
27152 \begin_inset LatexCommand label
27153 name "sec:PostScript"
27158 \begin_inset LatexCommand index
27159 name "File Formats ! PostScript\\protect\\pagebreak"
27164 \begin_inset LatexCommand index
27165 name "PostScript|see{File Formats}"
27172 \begin_layout Standard
27173 This file type has the extension
27174 \begin_inset Quotes eld
27182 \begin_inset Quotes erd
27186 PostScript was developed by the company
27190 as printer language.
27191 The file contains therefore commands that the printer uses to print the
27193 PostScript can be seen as
27194 \begin_inset Quotes eld
27197 programming language
27198 \begin_inset Quotes erd
27201 ; you can calculate with it and draw diagrams and images
27205 \begin_layout Standard
27206 If you are interested to learn more about this, have a look at the LaTeX-package
27212 \begin_inset LatexCommand cite
27223 Due to this ability, the files are often bigger than PDFs.
27226 \begin_layout Standard
27227 PostScript can only contain images in the format
27228 \begin_inset Quotes eld
27231 Encapsulated PostScript
27232 \begin_inset Quotes erd
27235 (EPS, file extension
27236 \begin_inset Quotes eld
27244 \begin_inset Quotes erd
27248 As LyX allows you to use any known image format in your document, it has
27249 to convert images in the background to EPS.
27250 If you have e.g 50 images in your document, LyX has to do 50 conversions
27251 whenever you view or export your document.
27252 This will slow down your work flow with LyX drastically.
27253 So if you plan to use PostScript, you can insert your images directly as
27254 EPS to avoid this problem.
27257 \begin_layout Standard
27258 You can export your document to PostScript using the menu
27260 File\SpecialChar \menuseparator
27261 Export\SpecialChar \menuseparator
27265 You can view your document as PostScript via the
27269 menu or by using the toolbar button
27270 \begin_inset Graphics
27271 filename ../images/buffer-view_ps.xpm
27279 \begin_layout Section
27281 \begin_inset LatexCommand label
27287 \begin_inset LatexCommand index
27288 name "File Formats ! PDF"
27293 \begin_inset LatexCommand index
27301 \begin_layout Standard
27302 This file type has the extension
27303 \begin_inset Quotes eld
27311 \begin_inset Quotes erd
27316 \begin_inset Quotes eld
27319 Portable Document Format
27320 \begin_inset Quotes erd
27323 (PDF) is developed by
27327 as derivative from PostScript.
27328 It is more compressed and it uses much less commands than PostScript.
27330 \begin_inset Quotes eld
27334 \begin_inset Quotes erd
27337 implies, it can be processed at any computer system and the printed output
27338 looks exactly the same.
27341 \begin_layout Standard
27342 PDF can contain images in its own PDF format, in the format
27343 \begin_inset Quotes eld
27346 Joint Photographic Experts Group
27347 \begin_inset Quotes erd
27350 (JPG, file extension
27351 \begin_inset Quotes eld
27359 \begin_inset Quotes erd
27363 \begin_inset Quotes eld
27371 \begin_inset Quotes erd
27374 ), and in the format
27375 \begin_inset Quotes eld
27378 Portable Network Graphics
27379 \begin_inset Quotes erd
27382 (PNG, file extension
27383 \begin_inset Quotes eld
27391 \begin_inset Quotes erd
27395 You can although use any other image format, because LyX converts them
27396 in the background to one of these formats.
27397 But as described in the section about PostScript, the image conversion
27398 will slow down your work flow.
27399 So it is recommended to use images in one of the three mentioned formats.
27402 \begin_layout Standard
27403 You can export your document to PDF via the menu
27405 File\SpecialChar \menuseparator
27408 in three different ways:
27411 \begin_layout Description
27412 PDF This uses the program
27416 that creates a PDF from a PostScript-version of your file.
27417 The PostScript-version is produced by the program
27421 which uses a DVI-version as intermediate step.
27422 So this export variant consist of three conversions.
27425 \begin_layout Description
27427 (dvipdfm) This uses the program
27431 that converts your file in the background to DVI and in a second step to
27435 \begin_layout Description
27437 (pdflatex) This uses the program
27441 that converts your file directly to PDF.
27444 \begin_layout Standard
27445 It is recommended to use
27454 supports all features of actual PDF-versions, is quick and works stable
27460 is not under development and therefore a bit outdated.
27463 \begin_layout Standard
27464 You can view your document as PDF via the
27468 menu or by using the toolbar button
27469 \begin_inset Graphics
27470 filename ../images/buffer-view_pdf2.xpm
27487 \begin_layout Chapter
27488 Explanation of Equation\InsetSpace ~
27490 \begin_inset LatexCommand eqref
27496 \begin_inset LatexCommand label
27497 name "cha:Explanation-of-Equation"
27504 \begin_layout Standard
27510 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27513 can be calculated to
27516 \begin_layout Standard
27517 \begin_inset Formula \begin{equation}
27518 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27525 \begin_layout Standard
27527 \begin_inset Formula $W_{g\, n}$
27530 is the given width of all cells.
27537 is the LaTeX-length between the cell text and the cell border, its default
27538 value is 6\InsetSpace \thinspace{}
27546 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27550 \begin_layout Standard
27551 Following equation\InsetSpace ~
27553 \begin_inset LatexCommand eqref
27554 reference "eq:Wtot_n"
27558 , the total width of a multicolumn
27559 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27565 \begin_layout Standard
27566 \begin_inset Formula \begin{equation}
27567 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27574 \begin_layout Standard
27575 By setting equation\InsetSpace ~
27577 \begin_inset LatexCommand eqref
27578 reference "eq:Wtot_n"
27583 \begin_inset LatexCommand eqref
27584 reference "eq:Wtot_mult"
27588 equal we can calculate the needed given width
27589 \begin_inset Formula $W_{g\, n}$
27596 columns are spanned, so that each column has a total width of
27597 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27603 \begin_layout Standard
27604 \begin_inset Formula \begin{equation}
27605 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27612 \begin_layout Bibliography
27613 \begin_inset LatexCommand bibitem
27614 key "latexcompanion"
27618 Frank Mittelbach and Michel Goossens:
27620 The LaTeX Companion Second Edition.
27623 Addison-Wesley, 2004
27626 \begin_layout Bibliography
27627 \begin_inset LatexCommand bibitem
27632 Helmut Kopka and Patrick W.
27635 A Guide to LaTeX Fourth Edition.
27638 Addison-Wesley, 2003
27641 \begin_layout Bibliography
27642 \begin_inset LatexCommand bibitem
27649 LaTeX: A Document Preparation System.
27652 Addison-Wesley, second edition, 1994
27655 \begin_layout Bibliography
27656 \begin_inset LatexCommand bibitem
27665 \begin_layout Standard
27669 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27679 \begin_layout Standard
27686 of the LaTeX-package
27691 \begin_inset LatexCommand index
27692 name "LaTeX-packages ! booktabs"
27699 \begin_layout Bibliography
27700 \begin_inset LatexCommand bibitem
27709 \begin_layout Standard
27713 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27722 \begin_layout Standard
27729 of the LaTeX-package
27734 \begin_inset LatexCommand index
27735 name "LaTeX-packages ! caption"
27742 \begin_layout Bibliography
27743 \begin_inset LatexCommand bibitem
27752 \begin_layout Standard
27756 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27766 \begin_layout Standard
27773 of the LaTeX-package
27778 \begin_layout Bibliography
27779 \begin_inset LatexCommand bibitem
27788 \begin_layout Standard
27792 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27802 \begin_layout Standard
27809 of the LaTeX-package
27811 endf\SpecialChar \textcompwordmark{}
27815 \begin_inset LatexCommand index
27816 name "LaTeX-packages ! endfloat"
27823 \begin_layout Bibliography
27824 \begin_inset LatexCommand bibitem
27833 \begin_layout Standard
27837 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27847 \begin_layout Standard
27854 of the LaTeX-package
27856 floatf\SpecialChar \textcompwordmark{}
27860 \begin_inset LatexCommand index
27861 name "LaTeX-packages ! floatflt"
27868 \begin_layout Bibliography
27869 \begin_inset LatexCommand bibitem
27878 \begin_layout Standard
27882 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27892 \begin_layout Standard
27899 of the LaTeX-package
27904 \begin_inset LatexCommand index
27905 name "LaTeX-packages ! footmisc"
27912 \begin_layout Bibliography
27913 \begin_inset LatexCommand bibitem
27922 \begin_layout Standard
27926 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27935 \begin_layout Standard
27942 of the LaTeX-package
27947 \begin_inset LatexCommand index
27948 name "LaTeX-packages ! hyperref"
27955 \begin_layout Bibliography
27956 \begin_inset LatexCommand bibitem
27965 \begin_layout Standard
27969 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
27979 \begin_layout Standard
27986 of the LaTeX-package
27991 \begin_inset LatexCommand index
27992 name "LaTeX-packages ! hyperref"
27999 \begin_layout Bibliography
28000 \begin_inset LatexCommand bibitem
28009 \begin_layout Standard
28013 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28023 \begin_layout Standard
28030 of the LaTeX-package
28035 \begin_inset LatexCommand index
28036 name "LaTeX-packages ! koma-script"
28043 \begin_layout Bibliography
28044 \begin_inset LatexCommand bibitem
28045 key "koma-script-de"
28053 \begin_layout Standard
28057 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28067 \begin_layout Standard
28074 of the LaTeX-package
28079 \begin_inset LatexCommand index
28080 name "LaTeX-packages ! koma-script"
28087 \begin_layout Bibliography
28088 \begin_inset LatexCommand bibitem
28097 \begin_layout Standard
28101 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28111 \begin_layout Standard
28118 of the LaTeX-package
28123 \begin_inset LatexCommand index
28124 name "LaTeX-packages ! marginnote"
28131 \begin_layout Bibliography
28132 \begin_inset LatexCommand bibitem
28141 \begin_layout Standard
28145 href{http://tug.org/PSTricks/main.cgi/}{
28154 \begin_layout Standard
28161 of the LaTeX-package
28166 \begin_inset LatexCommand index
28167 name "LaTeX-packages ! PSTricks"
28174 \begin_layout Bibliography
28175 \begin_inset LatexCommand bibitem
28184 \begin_layout Standard
28188 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28197 \begin_layout Standard
28204 of the LaTeX-package
28209 \begin_inset LatexCommand index
28210 name "LaTeX-packages ! sidecap"
28217 \begin_layout Bibliography
28218 \begin_inset LatexCommand bibitem
28227 \begin_layout Standard
28231 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28240 \begin_layout Standard
28247 about new LyX-features planned for the release
28254 \begin_layout Standard
28255 \begin_inset LatexCommand printindex
28262 \begin_layout Standard
28263 \begin_inset FloatList figure
28270 \begin_layout Standard
28271 \begin_inset FloatList table