1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % enables calculation of values,
82 % provides special table cell alignments
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
95 % used for colored tables
96 \@ifundefined{textcolor}
97 {\usepackage{color}}{}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
106 % used for book-style tables
107 \usepackage{booktabs}
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
112 % used for customized tables
115 {>{\centering\hspace{0pt}}m{#1}}
118 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121 {>{\columncolor{#1}\hspace{0pt}}c}
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
125 \newcolumntype{W}{!{\color{green}\vline}}
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149 {\textcolor{blue}\bgroup}{\egroup}
151 % ------------------------------------
152 % used to check for needed LaTeX packages
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159 {\usepackage{arydshln}
160 \setboolean{arydshln}{true}}
161 {\setboolean{arydshln}{false}}
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167 {\usepackage{marginnote}
168 \let\marginpar\marginnote
169 \setboolean{marginnote}{true}}
170 {\setboolean{marginnote}{false}}
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
177 \font_typewriter default
178 \font_default_family default
192 \paperorientation portrait
195 \paragraph_separation skip
197 \quotes_language english
200 \paperpagestyle default
204 \tracking_changes false
212 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
220 \begin_layout Standard
222 If you have comments or error corrections, please send them to the LyX Documenta
229 \begin_layout Standard
233 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
238 lyx-docs@lists.lyx.org
242 \begin_layout Standard
255 \begin_inset Note Note
258 \begin_layout Standard
259 original author: Uwe Stöhr
275 \begin_layout Standard
276 \begin_inset LatexCommand tableofcontents
283 \begin_layout Standard
284 \begin_inset Note Note
287 \begin_layout Standard
288 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
298 If they are not installed you can export the document anyway but the sections
299 where the packages are required won't appear in the output.
302 \begin_layout Standard
303 The latest PDF-version of this document can be found here:
307 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
315 \begin_layout Chapter
317 \begin_inset LatexCommand label
323 \begin_inset LatexCommand index
331 \begin_layout Section
333 \begin_inset LatexCommand index
334 name "Figure ! Graphics Dialog"
341 \begin_layout Standard
342 To insert an image into your document, place the cursor at the text position
343 you want and click on the toolbar icon
344 \begin_inset Graphics
345 filename ../images/dialog-show-new-inset_graphics.xpm
352 Insert\SpecialChar \menuseparator
356 Then a dialog will appear to choose the file to load.
357 The image will appear in the output exactly at the position where it is
361 \begin_layout Standard
362 The graphics dialog can be called at any time by right-clicking on an image.
363 This dialog has three tabs:
366 \begin_layout Description
371 Here you can choose an image file and adjust its appearance in the output.
372 The available units for the image size are explained in appendix\InsetSpace ~
374 \begin_inset LatexCommand ref
375 reference "cha:Units-available-in"
381 You can rotate images counter-clockwise by setting a rotation angle and
383 The image will also be rotated inside LyX.
386 \begin_layout Description
391 Alternatively to the usage of scaling units it is possible to set image
392 coordinates to adjust the height and width of the image in the output.
393 The coordinates can also be calculated automatically by pressing the button
405 bounding\InsetSpace ~
408 will only print the image region within the given coordinates.
409 Normally you don't need to take care about image coordinates and can ignore
413 \begin_layout Description
419 In this tab you can modify the appearance of the image within LyX and set
420 the image to be a subfigure of a figure float with an own caption.
421 Subfigures are explained in section\InsetSpace ~
423 \begin_inset LatexCommand ref
424 reference "sec:Figure-Floats"
430 LaTeX experts can also specify on this tab additional LaTeX options.
438 makes the image appear in the output only as a frame with the size of the
448 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
455 When the option is used the images will not be unzipped on export, since
456 LaTeX can handle them as they are.
458 Zipped EPS-graphics are useful to save
459 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
461 \begin_inset LatexCommand ref
462 reference "sec:PostScript"
467 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
478 zgrep %%Bounding x.eps.gz > x.eps.bb
482 The second command creates the bounding box file
483 \begin_inset Quotes eld
487 \begin_inset Quotes erd
490 that is needed by LaTeX for zipped graphics.
493 \begin_layout Standard
496 This is an example image in EPS format
500 \begin_layout Standard
501 Image formats are explained in section\InsetSpace ~
503 \begin_inset LatexCommand ref
504 reference "sec:Image-Formats"
513 within a separate, horizontally centered paragraph:
516 \begin_layout Standard
518 \begin_inset Graphics
529 \begin_layout Standard
530 This is the same image like the one above but in draft mode:
533 \begin_layout Standard
535 \begin_inset Graphics
547 \begin_layout Section
549 \begin_inset LatexCommand label
550 name "sec:Figure-Floats"
555 \begin_inset LatexCommand index
556 name "Floats ! Figure Floats"
561 \begin_inset LatexCommand index
562 name "Figure ! Floats"
569 \begin_layout Standard
570 For general explanations about floats, have a look at section\InsetSpace ~
572 \begin_inset LatexCommand ref
573 reference "sec:FloatIntroduction"
580 \begin_layout Standard
582 \begin_inset Graphics
583 filename ../images/float-insert_figure.xpm
590 Insert\SpecialChar \menuseparator
591 Float\SpecialChar \menuseparator
594 inserts a float with the label
595 \begin_inset Quotes eld
604 \begin_inset Quotes erd
608 Set the cursor behind this label, press Enter and insert the image as described
609 above to get the caption printed below the image.
610 This was done for Figure\InsetSpace ~
612 \begin_inset LatexCommand ref
613 reference "fig:kill-plat"
618 If you want the caption to be above the image, set the cursor at the end
619 of the caption, press enter and insert the image.
620 This was done in Figure\InsetSpace ~
622 \begin_inset LatexCommand ref
623 reference "fig:escher"
628 More about the caption placement is described in section\InsetSpace ~
630 \begin_inset LatexCommand ref
631 reference "sec:Caption-Placement"
638 \begin_layout Standard
639 \begin_inset Float figure
644 \begin_layout Standard
646 \begin_inset Graphics
647 filename platypus.eps
657 \begin_layout Standard
660 \begin_layout Standard
661 \begin_inset LatexCommand label
666 A severely distorted platypus in a float.
679 \begin_layout Standard
680 \begin_inset Float figure
685 \begin_layout Standard
688 \begin_layout Standard
689 \begin_inset LatexCommand label
703 \begin_layout Standard
705 \begin_inset Graphics
706 filename escher-lsd.eps
721 \begin_layout Standard
722 \begin_inset LatexCommand index
723 name "References ! to Figures"
729 \begin_inset LatexCommand ref
730 reference "fig:kill-plat"
735 \begin_inset LatexCommand ref
736 reference "fig:escher"
740 are examples of cross-referenced figures.
741 Figures can be cross-referenced in the text by referencing their label.
742 To do this insert a label in the caption using the menu
744 Insert\SpecialChar \menuseparator
747 or the toolbar button
748 \begin_inset Graphics
749 filename ../images/label-insert.xpm
755 You can now refer to the label using the menu
757 Insert\SpecialChar \menuseparator
761 or the toolbar button
762 \begin_inset Graphics
763 filename ../images/dialog-show-new-inset_ref.xpm
769 It is important to use references to floats, rather than using vague references
771 \begin_inset Quotes eld
775 \begin_inset Quotes erd
778 , because as LaTeX will reposition the floats in the final document, it
780 \begin_inset Quotes eld
784 \begin_inset Quotes erd
790 \begin_layout Standard
791 Normally only one image is inserted to a figure float, but sometimes you
792 might want to use two images with separate subcaptions.
793 This can be set in the tab
798 of the graphics dialog.
799 Choose there the option
803 and enter the subcaption for the image in the caption field.
804 Note that only the main caption of the float is added to the List of Figures.
807 \begin_layout Standard
810 \begin_inset LatexCommand ref
811 reference "fig:Two-distorted-images"
815 is an example of a figure float with two images set side by side.
816 You can also set the images one below the other.
819 \begin_layout Standard
820 \begin_inset Float figure
825 \begin_layout Standard
829 \begin_inset Graphics
830 filename escher-lsd.eps
833 subcaptionText "Undefinable structure"
840 \begin_inset Graphics
841 filename platypus.eps
845 subcaptionText "Platypus"
854 \begin_layout Standard
857 \begin_layout Standard
858 \begin_inset LatexCommand label
859 name "fig:Two-distorted-images"
863 Two distorted images.
876 \begin_layout Section
878 \begin_inset LatexCommand label
879 name "sec:Image-Formats"
884 \begin_inset LatexCommand index
890 \begin_inset LatexCommand index
891 name "Figure ! Image Formats"
898 \begin_layout Standard
899 You can insert images in any known file format.
900 But as explained in appendix\InsetSpace ~
902 \begin_inset LatexCommand ref
903 reference "cha:Output-File-Formats"
907 , every output document format allows only a few image formats.
908 LyX uses therefore the program
912 in the background to convert the images to the right format.
913 To increase your work flow by avoiding these conversions in the background,
914 you can use only the image formats that can directly be embedded in the
916 The output file formats are explained in appendix\InsetSpace ~
918 \begin_inset LatexCommand ref
919 reference "cha:Output-File-Formats"
926 \begin_layout Standard
927 Similar to fonts there are two types of image formats:
930 \begin_layout Description
932 images consist of pixel values, often in a compressed form.
933 They are therefore not fully scalable and look pixeled in large zooms.
934 Well-known bitmap image formats are
935 \begin_inset Quotes eld
938 Graphics Interchange Format
939 \begin_inset Quotes erd
943 \begin_inset Quotes eld
951 \begin_inset Quotes erd
955 \begin_inset LatexCommand index
956 name "GIF|see{Image formats}"
961 \begin_inset Quotes eld
964 Portable Network Graphics
965 \begin_inset Quotes erd
969 \begin_inset Quotes eld
977 \begin_inset Quotes erd
981 \begin_inset LatexCommand index
982 name "PNG|see{Image formats}"
987 \begin_inset Quotes eld
990 Joint Photographic Experts Group
991 \begin_inset Quotes erd
995 \begin_inset Quotes eld
1003 \begin_inset Quotes erd
1007 \begin_inset Quotes eld
1015 \begin_inset Quotes erd
1019 \begin_inset LatexCommand index
1020 name "JPG|see{Image formats}"
1027 \begin_layout Description
1029 images consist of vectors and can therefore be scaled to any size
1031 The scaling ability is necessary if you want to create presentations, because
1032 presentations are always scaled by the video projector.
1033 Scaling is also useful for online documents to let the user zoom into diagrams.
1036 ell-known scalable image formats are
1037 \begin_inset Quotes eld
1040 Scalable Vector Graphics
1041 \begin_inset Quotes erd
1044 (SVG, file extension
1045 \begin_inset Quotes eld
1053 \begin_inset Quotes erd
1057 \begin_inset LatexCommand index
1058 name "SVG|see{Image formats}"
1063 \begin_inset Quotes eld
1066 Encapsulated PostScript
1067 \begin_inset Quotes erd
1070 (EPS, file extension
1071 \begin_inset Quotes eld
1079 \begin_inset Quotes erd
1083 \begin_inset LatexCommand index
1084 name "EPS|see{Image formats}"
1089 \begin_inset Quotes eld
1092 Portable Document Format
1093 \begin_inset Quotes erd
1096 (PDF, file extension
1097 \begin_inset Quotes eld
1105 \begin_inset Quotes erd
1109 \begin_inset LatexCommand index
1115 \begin_inset Quotes eld
1119 \begin_inset Quotes erd
1122 (WMF, file extension
1123 \begin_inset Quotes eld
1131 \begin_inset Quotes erd
1135 \begin_inset LatexCommand index
1136 name "SVG|see{Image formats}"
1142 \begin_inset Quotes eld
1146 \begin_inset Quotes erd
1149 , because you can convert any bitmap image to a PDF or EPS-image and the
1150 result will still be a bitmap image.
1151 In this cases only a header with the image properties is added to the original
1156 \begin_layout Standard
1157 In the case of PDF, the original image is additionally compressed.
1163 The PDF-files generated by
1167 are for example bitmap images.
1170 \begin_layout Standard
1171 Normally it is not possible to convert a bitmap image into a scalable one,
1173 Only the image formats PDF and EPS can directly be embedded to PDF and
1174 PostScript output files, respectively.
1175 SVG and WMF-images are currently recalculated to bitmaps when the output
1176 file is generated because there is currently no adequate WMF/SVG
1177 \begin_inset Formula $\to$
1180 PDF/EPS converter available.
1183 \begin_layout Chapter
1185 \begin_inset LatexCommand label
1191 \begin_inset LatexCommand index
1199 \begin_layout Section
1201 \begin_inset LatexCommand index
1202 name "Table ! Introduction"
1209 \begin_layout Standard
1210 You can insert a table using either the toolbar button
1211 \begin_inset Graphics
1212 filename ../images/tabular-insert.xpm
1219 Insert\SpecialChar \menuseparator
1223 The toolbar button offers you a graphical selection: Move the mouse to
1224 set the column/row number of the table that should be created and then
1225 press a mouse button.
1226 When you use the menu to create a table, a dialog will appear, asking you
1227 for the number of rows and columns.
1229 The default table has lines around any
1230 cell and the first row appears separated from the rest of the table.
1231 This separation occurs due to a double line: The cells of the first row
1232 have a line below them and the cells of the second row have a line above
1234 Here is an example table:
1237 \begin_layout Standard
1239 \begin_inset Tabular
1240 <lyxtabular version="3" rows="4" columns="4">
1242 <column alignment="center" valignment="top" leftline="true" width="0">
1243 <column alignment="center" valignment="top" leftline="true" width="0">
1244 <column alignment="center" valignment="top" leftline="true" width="0">
1245 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1246 <row topline="true" bottomline="true">
1247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1250 \begin_layout Standard
1256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1259 \begin_layout Standard
1274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1277 \begin_layout Standard
1283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1286 \begin_layout Standard
1293 <row topline="true">
1294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1297 \begin_layout Standard
1312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1315 \begin_layout Standard
1321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1324 \begin_layout Standard
1330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1333 \begin_layout Standard
1340 <row topline="true">
1341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1344 \begin_layout Standard
1359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1362 \begin_layout Standard
1368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1371 \begin_layout Standard
1377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1380 \begin_layout Standard
1387 <row topline="true" bottomline="true">
1388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1391 \begin_layout Standard
1406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1409 \begin_layout Standard
1415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1418 \begin_layout Standard
1424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1427 \begin_layout Standard
1441 \begin_layout Section
1443 \begin_inset LatexCommand index
1444 name "Table ! Dialog"
1451 \begin_layout Standard
1452 You can alter a table by clicking on it with the right mouse button, which
1453 brings up the table dialog.
1454 Here you can adjust the settings of that cell and row/column respectively
1455 where the cursor is currently placed.
1456 Most of the dialog options also work on selections.
1457 This means if you select more cells, columns or rows, the action is done
1458 for the whole selection.
1459 Note that there is a difference between selecting the
1463 of the cell, and the cell itself.
1464 You can alter tables with the following tabs of the table dialog:
1467 \begin_layout Description
1473 Here you can set the horizontal alignment for the current row and the width
1474 of the current column.
1475 When you have set a width you can also adjust the vertical alignment of
1477 A given width will allow the cell to have line breaks and multiple paragraphs
1478 of text, see section\InsetSpace ~
1480 \begin_inset LatexCommand ref
1481 reference "sub:Multiple-Lines-in"
1486 If you set no width, the column is as wide as their widest cell content
1489 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1490 cell, see section\InsetSpace ~
1492 \begin_inset LatexCommand ref
1493 reference "sub:Multicolumns"
1499 The rotate check boxes rotates the current cell, a selection, or the whole
1500 table counter-clockwise by 90°.
1501 The rotation is not shown within LyX, only in the output.
1504 \begin_inset Note Greyedout
1507 \begin_layout Standard
1512 Not all DVI-viewers are able to display rotations.
1519 It is also possible to enter a LaTeX-argument which is needed for special
1520 table formattings, see section\InsetSpace ~
1522 \begin_inset LatexCommand ref
1523 reference "sub:Multicolumn-Calculations"
1528 \begin_inset LatexCommand ref
1529 reference "sec:Colored-Tables"
1536 \begin_layout Description
1541 In this tab you can add and delete border lines for the current row/column.
1548 will convert the table to a formal table as described in section\InsetSpace ~
1550 \begin_inset LatexCommand ref
1551 reference "sec:Formal-Tables"
1557 You can also add here space to table rows as decribed in section\InsetSpace ~
1559 \begin_inset LatexCommand ref
1560 reference "sub:Row-Spacing"
1567 \begin_layout Description
1572 This tab is to make a table a so called
1573 \begin_inset Quotes eld
1581 \begin_inset Quotes erd
1584 that can run over several pages.
1585 Section\InsetSpace ~
1587 \begin_inset LatexCommand ref
1588 reference "sec:Longtables"
1593 \begin_inset LatexCommand ref
1594 reference "sec:Special-Longtable-Issues"
1598 describe the longtable features in detail.
1601 \begin_layout Standard
1602 When the table toolbar is opened, you can move the cursor with the arrow
1603 keys from cell to cell and the property of the current cell will immediately
1604 be displayed in the dialog.
1607 \begin_layout Section
1609 \begin_inset LatexCommand index
1610 name "Table ! Toolbar"
1617 \begin_layout Standard
1618 The table toolbar is an alternative to the table dialog to be able to alter
1620 It should normally appear at the bottom of LyX's main window when the cursor
1622 You can alternatively switch it on to appear always, by right-clicking
1623 in LyX's main menu bar.
1626 \begin_layout Standard
1627 The toolbar has the following icons:
1630 \begin_layout Labeling
1631 \labelwidthstring 00.00.0000
1632 \begin_inset Graphics
1633 filename ../images/tabular-feature_append-row.xpm
1637 adds a row below the current cell or selection
1640 \begin_layout Labeling
1641 \labelwidthstring 00.00.0000
1642 \begin_inset Graphics
1643 filename ../images/tabular-feature_append-column.xpm
1647 adds a column right beside the current cell or selection
1650 \begin_layout Labeling
1651 \labelwidthstring 00.00.0000
1652 \begin_inset Graphics
1653 filename ../images/tabular-feature_delete-row.xpm
1657 deletes the current row or selection
1660 \begin_layout Labeling
1661 \labelwidthstring 00.00.0000
1662 \begin_inset Graphics
1663 filename ../images/tabular-feature_delete-column.xpm
1667 deletes the current column or selection
1670 \begin_layout Labeling
1671 \labelwidthstring 00.00.0000
1672 \begin_inset Graphics
1673 filename ../images/tabular-feature_toggle-line-top.xpm
1677 adds a line at the top of the current cell / row or of a selection
1680 \begin_layout Labeling
1681 \labelwidthstring 00.00.0000
1682 \begin_inset Graphics
1683 filename ../images/tabular-feature_toggle-line-bottom.xpm
1687 adds a line at the bottom of the current cell / row or of a selection
1690 \begin_layout Labeling
1691 \labelwidthstring 00.00.0000
1692 \begin_inset Graphics
1693 filename ../images/tabular-feature_toggle-line-left.xpm
1697 adds a line at the left side of the current cell / row or of a selection
1700 \begin_layout Labeling
1701 \labelwidthstring 00.00.0000
1702 \begin_inset Graphics
1703 filename ../images/tabular-feature_toggle-line-right.xpm
1707 adds a line at the right side of the current cell / row or of a selection
1710 \begin_layout Labeling
1711 \labelwidthstring 00.00.0000
1712 \begin_inset Graphics
1713 filename ../images/tabular-feature_set-all-lines.xpm
1717 adds lines around the current or selected cells - if the current cell no
1718 multicolumn this also affects the current row and column
1721 \begin_layout Labeling
1722 \labelwidthstring 00.00.0000
1723 \begin_inset Graphics
1724 filename ../images/tabular-feature_unset-all-lines.xpm
1728 deletes all lines of the current or selected cells - if the current cell
1729 no multicolumn this also affects the current row and column
1732 \begin_layout Labeling
1733 \labelwidthstring 00.00.0000
1734 \begin_inset Graphics
1735 filename ../images/tabular-feature_align-left.xpm
1739 left-aligns the content of the current cell / column
1742 \begin_layout Labeling
1743 \labelwidthstring 00.00.0000
1744 \begin_inset Graphics
1745 filename ../images/tabular-feature_align-center.xpm
1749 centers the content of the current cell / column horizontally
1752 \begin_layout Labeling
1753 \labelwidthstring 00.00.0000
1754 \begin_inset Graphics
1755 filename ../images/tabular-feature_align-right.xpm
1759 right-aligns the content of the current cell / column
1762 \begin_layout Labeling
1763 \labelwidthstring 00.00.0000
1764 \begin_inset Graphics
1765 filename ../images/tabular-feature_valign-top.xpm
1769 aligns the content of the current cell vertically to the top
1772 \begin_layout Labeling
1773 \labelwidthstring 00.00.0000
1774 \begin_inset Graphics
1775 filename ../images/tabular-feature_valign-middle.xpm
1779 centers the content of the current cell vertically
1782 \begin_layout Labeling
1783 \labelwidthstring 00.00.0000
1784 \begin_inset Graphics
1785 filename ../images/tabular-feature_valign-bottom.xpm
1789 aligns the content of the current cell vertically to the bottom
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Graphics
1795 filename ../images/tabular-feature_set-rotate-cell.xpm
1799 rotates the current cell or selection counter-clockwise by 90°
1802 \begin_layout Labeling
1803 \labelwidthstring 00.00.0000
1804 \begin_inset Graphics
1805 filename ../images/tabular-feature_set-rotate-tabular.xpm
1809 rotates the whole table counter-clockwise by 90°
1812 \begin_layout Labeling
1813 \labelwidthstring 00.00.0000
1814 \begin_inset Graphics
1815 filename ../images/tabular-feature_multicolumn.xpm
1819 sets the current cell or selection as a multicolumn
1822 \begin_layout Section
1824 \begin_inset LatexCommand index
1825 name "Table ! Edit Menu"
1832 \begin_layout Standard
1833 Additionally to the table dialog and toolbar, the menu
1835 Edit\SpecialChar \menuseparator
1838 allows you to add and delete border lines for the current row/column and
1839 to set the current selection as multicolumn.
1840 The menu is only available when the cursor is inside a table.
1843 \begin_layout Section
1845 \begin_inset LatexCommand label
1846 name "sec:Table-Floats"
1851 \begin_inset LatexCommand index
1852 name "Floats ! Tables"
1857 \begin_inset LatexCommand index
1858 name "Table ! Floats"
1865 \begin_layout Standard
1866 For general explanations about floats, have a look at section\InsetSpace ~
1868 \begin_inset LatexCommand ref
1869 reference "sec:FloatIntroduction"
1876 \begin_layout Standard
1877 \begin_inset Float table
1883 \begin_layout Standard
1884 \begin_inset Caption
1886 \begin_layout Standard
1887 \begin_inset LatexCommand label
1888 name "tab:a table float"
1900 \begin_layout Standard
1902 \begin_inset Tabular
1903 <lyxtabular version="3" rows="3" columns="3">
1905 <column alignment="center" valignment="top" leftline="true" width="0pt">
1906 <column alignment="center" valignment="top" leftline="true" width="0pt">
1907 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1908 <row topline="true" bottomline="true">
1909 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1912 \begin_layout Standard
1927 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1930 \begin_layout Standard
1945 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1948 \begin_layout Standard
1964 <row topline="true">
1965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1968 \begin_layout Standard
1983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1986 \begin_layout Standard
2001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2004 \begin_layout Standard
2020 <row topline="true" bottomline="true">
2021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2024 \begin_layout Standard
2034 \begin_inset Formula $\int x^{2}dx$
2042 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2045 \begin_layout Standard
2055 \begin_inset Formula $\left[\begin{array}{cc}
2057 c & d\end{array}\right]$
2065 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2068 \begin_layout Standard
2078 \begin_inset Formula $1+1=2$
2099 \begin_layout Standard
2100 Table floats can be inserted using the menu
2102 Insert\SpecialChar \menuseparator
2103 Float\SpecialChar \menuseparator
2106 or the toolbar button
2107 \begin_inset Graphics
2108 filename ../images/float-insert_table.xpm
2116 \begin_layout Standard
2117 The float appears as a collapsible box with the label
2118 \begin_inset Quotes eld
2127 \begin_inset Quotes erd
2131 The text following the label is the caption of the table.
2132 To insert a table to the the float set the cursor at the end of the caption
2133 text, press enter and insert the table.
2134 The caption is now printed above the table.
2137 \begin_layout Standard
2140 \begin_inset LatexCommand ref
2141 reference "tab:a table float"
2145 is an example table within a table float.
2148 \begin_layout Standard
2149 Having the caption above the table is the common rule that is unfortunately
2150 not supported in LaTeX's standard classes.
2151 That means if you are using the document classes
2167 there will be no space between the caption and the table.
2168 To insert the needed space, add the following option to the load command
2169 of the LaTeX-package
2174 \begin_inset LatexCommand index
2175 name "LaTeX-packages ! caption"
2179 in your document preamble
2183 \begin_layout Standard
2184 For more information have a look at section\InsetSpace ~
2186 \begin_inset LatexCommand ref
2187 reference "sec:Caption-Placement"
2199 \begin_layout Standard
2205 \begin_layout Standard
2210 , which is described in section\InsetSpace ~
2212 \begin_inset LatexCommand ref
2213 reference "sec:Caption-Formatting"
2217 , is used to adjust the caption format.
2220 \begin_layout Standard
2221 \begin_inset LatexCommand index
2222 name "References ! to Tables"
2226 Tables can be cross-referenced in the text by referencing their label.
2227 To do this insert a label in the caption using the menu
2229 Insert\SpecialChar \menuseparator
2232 or the toolbar button
2233 \begin_inset Graphics
2234 filename ../images/label-insert.xpm
2240 You can now refer to the label using the menu
2242 Insert\SpecialChar \menuseparator
2246 or the toolbar button
2247 \begin_inset Graphics
2248 filename ../images/dialog-show-new-inset_ref.xpm
2256 \begin_layout Standard
2260 \begin_layout Section
2262 \begin_inset LatexCommand label
2263 name "sec:Longtables"
2268 \begin_inset LatexCommand index
2274 \begin_inset LatexCommand index
2275 name "Table ! Longtables"
2282 \begin_layout Standard
2283 If the table is too long to fit on one page, you can use the option
2293 of the table dialog to split the table automatically over more pages.
2294 Doing this enables some check boxes and you can now define:
2297 \begin_layout Description
2302 : The current row and all rows above, that don't have any special options
2303 defined, are defined to be the header rows of all pages of the longtable;
2304 except for the first page, if
2310 This therefore called the main header.
2313 \begin_layout Description
2319 : The current row and all rows above, that don't have any special options
2320 defined, are defined to be the header rows of the first page of the longtable.
2323 \begin_layout Description
2328 : The current row and all rows below, that don't have any special options
2329 defined, are defined to be the footer rows of all pages of the longtable;
2330 except for the last page, if
2338 \begin_layout Description
2344 : The current row and all rows below, that don't have any special options
2345 defined, are defined to be the footer rows of the last page of the longtable.
2348 \begin_layout Standard
2349 You can also specify a row where the table is splitted.
2350 If you set more than one option in the same table row, you should be aware
2351 of the fact that only the first one is used in the given table row.
2352 The others will then be defined as
2357 In this context, first means first in this order:
2359 Footer, Last\InsetSpace ~
2375 See the following longtable to see how it works:
2378 \begin_layout Standard
2380 \begin_inset Tabular
2381 <lyxtabular version="3" rows="69" columns="3">
2382 <features islongtable="true">
2383 <column alignment="left" valignment="top" leftline="true" width="0cm">
2384 <column alignment="left" valignment="top" width="0pt">
2385 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2386 <row topline="true" bottomline="true" endfirsthead="true">
2387 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2390 \begin_layout Standard
2393 Example Phone List (ignore the names)
2398 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2401 \begin_layout Standard
2407 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2410 \begin_layout Standard
2417 <row topline="true" bottomline="true" endfirsthead="true">
2418 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2421 \begin_layout Standard
2429 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2432 \begin_layout Standard
2438 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2441 \begin_layout Standard
2450 <row topline="true" bottomline="true" endhead="true">
2451 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2454 \begin_layout Standard
2462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2465 \begin_layout Standard
2471 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2474 \begin_layout Standard
2481 <row topline="true" bottomline="true" endhead="true">
2482 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2485 \begin_layout Standard
2493 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2496 \begin_layout Standard
2502 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2505 \begin_layout Standard
2514 <row topline="true" bottomline="true" endfoot="true">
2515 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2518 \begin_layout Standard
2519 continued on next page
2524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2527 \begin_layout Standard
2533 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2536 \begin_layout Standard
2544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2547 \begin_layout Standard
2555 <cell alignment="center" valignment="top" topline="true" usebox="none">
2558 \begin_layout Standard
2564 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2567 \begin_layout Standard
2575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2578 \begin_layout Standard
2586 <cell alignment="center" valignment="top" topline="true" usebox="none">
2589 \begin_layout Standard
2595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2598 \begin_layout Standard
2606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2609 \begin_layout Standard
2617 <cell alignment="center" valignment="top" topline="true" usebox="none">
2620 \begin_layout Standard
2626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2629 \begin_layout Standard
2637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2640 \begin_layout Standard
2648 <cell alignment="center" valignment="top" topline="true" usebox="none">
2651 \begin_layout Standard
2657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2660 \begin_layout Standard
2668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2671 \begin_layout Standard
2679 <cell alignment="center" valignment="top" topline="true" usebox="none">
2682 \begin_layout Standard
2688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2691 \begin_layout Standard
2699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2702 \begin_layout Standard
2710 <cell alignment="center" valignment="top" topline="true" usebox="none">
2713 \begin_layout Standard
2719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2722 \begin_layout Standard
2730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2733 \begin_layout Standard
2741 <cell alignment="center" valignment="top" topline="true" usebox="none">
2744 \begin_layout Standard
2750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2753 \begin_layout Standard
2761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2764 \begin_layout Standard
2772 <cell alignment="center" valignment="top" topline="true" usebox="none">
2775 \begin_layout Standard
2781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2784 \begin_layout Standard
2792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2795 \begin_layout Standard
2803 <cell alignment="center" valignment="top" topline="true" usebox="none">
2806 \begin_layout Standard
2812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2815 \begin_layout Standard
2823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2826 \begin_layout Standard
2834 <cell alignment="center" valignment="top" topline="true" usebox="none">
2837 \begin_layout Standard
2843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2846 \begin_layout Standard
2854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2857 \begin_layout Standard
2865 <cell alignment="center" valignment="top" topline="true" usebox="none">
2868 \begin_layout Standard
2874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2877 \begin_layout Standard
2885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2888 \begin_layout Standard
2896 <cell alignment="center" valignment="top" topline="true" usebox="none">
2899 \begin_layout Standard
2905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2908 \begin_layout Standard
2916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2919 \begin_layout Standard
2927 <cell alignment="center" valignment="top" topline="true" usebox="none">
2930 \begin_layout Standard
2936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2939 \begin_layout Standard
2947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2950 \begin_layout Standard
2958 <cell alignment="center" valignment="top" topline="true" usebox="none">
2961 \begin_layout Standard
2967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2970 \begin_layout Standard
2978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2981 \begin_layout Standard
2989 <cell alignment="center" valignment="top" topline="true" usebox="none">
2992 \begin_layout Standard
2998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3001 \begin_layout Standard
3009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3012 \begin_layout Standard
3020 <cell alignment="center" valignment="top" topline="true" usebox="none">
3023 \begin_layout Standard
3029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3032 \begin_layout Standard
3040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3043 \begin_layout Standard
3051 <cell alignment="center" valignment="top" topline="true" usebox="none">
3054 \begin_layout Standard
3060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3063 \begin_layout Standard
3071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3074 \begin_layout Standard
3082 <cell alignment="center" valignment="top" topline="true" usebox="none">
3085 \begin_layout Standard
3091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3094 \begin_layout Standard
3102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3105 \begin_layout Standard
3113 <cell alignment="center" valignment="top" topline="true" usebox="none">
3116 \begin_layout Standard
3122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3125 \begin_layout Standard
3133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3136 \begin_layout Standard
3144 <cell alignment="center" valignment="top" topline="true" usebox="none">
3147 \begin_layout Standard
3153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3156 \begin_layout Standard
3164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3167 \begin_layout Standard
3175 <cell alignment="center" valignment="top" topline="true" usebox="none">
3178 \begin_layout Standard
3184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3187 \begin_layout Standard
3195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3198 \begin_layout Standard
3206 <cell alignment="center" valignment="top" topline="true" usebox="none">
3209 \begin_layout Standard
3215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3218 \begin_layout Standard
3226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3229 \begin_layout Standard
3237 <cell alignment="center" valignment="top" topline="true" usebox="none">
3240 \begin_layout Standard
3246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3249 \begin_layout Standard
3257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3260 \begin_layout Standard
3268 <cell alignment="center" valignment="top" topline="true" usebox="none">
3271 \begin_layout Standard
3277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3280 \begin_layout Standard
3288 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3291 \begin_layout Standard
3299 <cell alignment="center" valignment="top" topline="true" usebox="none">
3302 \begin_layout Standard
3308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3311 \begin_layout Standard
3319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3322 \begin_layout Standard
3330 <cell alignment="center" valignment="top" topline="true" usebox="none">
3333 \begin_layout Standard
3339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3342 \begin_layout Standard
3350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3353 \begin_layout Standard
3361 <cell alignment="center" valignment="top" topline="true" usebox="none">
3364 \begin_layout Standard
3370 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3373 \begin_layout Standard
3381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3384 \begin_layout Standard
3392 <cell alignment="center" valignment="top" topline="true" usebox="none">
3395 \begin_layout Standard
3401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3404 \begin_layout Standard
3412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3415 \begin_layout Standard
3423 <cell alignment="center" valignment="top" topline="true" usebox="none">
3426 \begin_layout Standard
3432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3435 \begin_layout Standard
3443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3446 \begin_layout Standard
3454 <cell alignment="center" valignment="top" topline="true" usebox="none">
3457 \begin_layout Standard
3463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3466 \begin_layout Standard
3473 <row bottomline="true">
3474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3477 \begin_layout Standard
3485 <cell alignment="center" valignment="top" topline="true" usebox="none">
3488 \begin_layout Standard
3494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3497 \begin_layout Standard
3504 <row bottomline="true">
3505 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3508 \begin_layout Standard
3514 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3517 \begin_layout Standard
3523 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3526 \begin_layout Standard
3534 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3537 \begin_layout Standard
3545 <cell alignment="center" valignment="top" topline="true" usebox="none">
3548 \begin_layout Standard
3554 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3557 \begin_layout Standard
3565 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3568 \begin_layout Standard
3576 <cell alignment="center" valignment="top" topline="true" usebox="none">
3579 \begin_layout Standard
3585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3588 \begin_layout Standard
3596 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3599 \begin_layout Standard
3607 <cell alignment="center" valignment="top" topline="true" usebox="none">
3610 \begin_layout Standard
3616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3619 \begin_layout Standard
3627 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3630 \begin_layout Standard
3638 <cell alignment="center" valignment="top" topline="true" usebox="none">
3641 \begin_layout Standard
3647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3650 \begin_layout Standard
3658 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3661 \begin_layout Standard
3669 <cell alignment="center" valignment="top" topline="true" usebox="none">
3672 \begin_layout Standard
3678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3681 \begin_layout Standard
3689 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3692 \begin_layout Standard
3700 <cell alignment="center" valignment="top" topline="true" usebox="none">
3703 \begin_layout Standard
3709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3712 \begin_layout Standard
3720 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3723 \begin_layout Standard
3731 <cell alignment="center" valignment="top" topline="true" usebox="none">
3734 \begin_layout Standard
3740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3743 \begin_layout Standard
3751 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3754 \begin_layout Standard
3762 <cell alignment="center" valignment="top" topline="true" usebox="none">
3765 \begin_layout Standard
3771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3774 \begin_layout Standard
3782 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3785 \begin_layout Standard
3793 <cell alignment="center" valignment="top" topline="true" usebox="none">
3796 \begin_layout Standard
3802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3805 \begin_layout Standard
3813 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3816 \begin_layout Standard
3824 <cell alignment="center" valignment="top" topline="true" usebox="none">
3827 \begin_layout Standard
3833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3836 \begin_layout Standard
3844 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3847 \begin_layout Standard
3855 <cell alignment="center" valignment="top" topline="true" usebox="none">
3858 \begin_layout Standard
3864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3867 \begin_layout Standard
3875 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3878 \begin_layout Standard
3886 <cell alignment="center" valignment="top" topline="true" usebox="none">
3889 \begin_layout Standard
3895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3898 \begin_layout Standard
3906 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3909 \begin_layout Standard
3917 <cell alignment="center" valignment="top" topline="true" usebox="none">
3920 \begin_layout Standard
3926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3929 \begin_layout Standard
3937 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3940 \begin_layout Standard
3948 <cell alignment="center" valignment="top" topline="true" usebox="none">
3951 \begin_layout Standard
3957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3960 \begin_layout Standard
3968 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3971 \begin_layout Standard
3979 <cell alignment="center" valignment="top" topline="true" usebox="none">
3982 \begin_layout Standard
3988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3991 \begin_layout Standard
3999 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4002 \begin_layout Standard
4010 <cell alignment="center" valignment="top" topline="true" usebox="none">
4013 \begin_layout Standard
4019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4022 \begin_layout Standard
4030 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4033 \begin_layout Standard
4041 <cell alignment="center" valignment="top" topline="true" usebox="none">
4044 \begin_layout Standard
4050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4053 \begin_layout Standard
4061 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4064 \begin_layout Standard
4072 <cell alignment="center" valignment="top" topline="true" usebox="none">
4075 \begin_layout Standard
4081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4084 \begin_layout Standard
4092 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4095 \begin_layout Standard
4103 <cell alignment="center" valignment="top" topline="true" usebox="none">
4106 \begin_layout Standard
4112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4115 \begin_layout Standard
4123 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4126 \begin_layout Standard
4134 <cell alignment="center" valignment="top" topline="true" usebox="none">
4137 \begin_layout Standard
4143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4146 \begin_layout Standard
4154 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4157 \begin_layout Standard
4165 <cell alignment="center" valignment="top" topline="true" usebox="none">
4168 \begin_layout Standard
4174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4177 \begin_layout Standard
4185 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4188 \begin_layout Standard
4196 <cell alignment="center" valignment="top" topline="true" usebox="none">
4199 \begin_layout Standard
4205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4208 \begin_layout Standard
4216 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4219 \begin_layout Standard
4227 <cell alignment="center" valignment="top" topline="true" usebox="none">
4230 \begin_layout Standard
4236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4239 \begin_layout Standard
4247 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4250 \begin_layout Standard
4258 <cell alignment="center" valignment="top" topline="true" usebox="none">
4261 \begin_layout Standard
4267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4270 \begin_layout Standard
4278 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4281 \begin_layout Standard
4289 <cell alignment="center" valignment="top" topline="true" usebox="none">
4292 \begin_layout Standard
4298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4301 \begin_layout Standard
4309 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4312 \begin_layout Standard
4320 <cell alignment="center" valignment="top" topline="true" usebox="none">
4323 \begin_layout Standard
4329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4332 \begin_layout Standard
4340 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4343 \begin_layout Standard
4351 <cell alignment="center" valignment="top" topline="true" usebox="none">
4354 \begin_layout Standard
4360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4363 \begin_layout Standard
4371 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4374 \begin_layout Standard
4382 <cell alignment="center" valignment="top" topline="true" usebox="none">
4385 \begin_layout Standard
4391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4394 \begin_layout Standard
4402 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4405 \begin_layout Standard
4413 <cell alignment="center" valignment="top" topline="true" usebox="none">
4416 \begin_layout Standard
4422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4425 \begin_layout Standard
4433 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4436 \begin_layout Standard
4444 <cell alignment="center" valignment="top" topline="true" usebox="none">
4447 \begin_layout Standard
4453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4456 \begin_layout Standard
4463 <row bottomline="true">
4464 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4467 \begin_layout Standard
4475 <cell alignment="center" valignment="top" topline="true" usebox="none">
4478 \begin_layout Standard
4484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4487 \begin_layout Standard
4494 <row bottomline="true" endlastfoot="true">
4495 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4498 \begin_layout Standard
4504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4507 \begin_layout Standard
4513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4516 \begin_layout Standard
4531 \begin_layout Standard
4535 addtocounter{table}{-1}
4541 \begin_inset Note Note
4544 \begin_layout Standard
4545 See greyed-out note in section 2.6.2 for an explanation of this command.
4553 \begin_layout Subsection
4554 Footnotes in Longtables
4555 \begin_inset LatexCommand label
4556 name "sub:Footnotes-in-Longtables"
4561 \begin_inset LatexCommand index
4562 name "Longtables ! Footnotes"
4569 \begin_layout Standard
4570 Footnotes can be inserted to every longtable cell.
4571 They appear at the bottom of the page where the table cell with the footnote
4575 \begin_inset LatexCommand ref
4576 reference "tab:DiffCaptions"
4580 has for example a footnote.
4583 \begin_layout Subsection
4585 \begin_inset LatexCommand index
4586 name "Longtables ! Captions"
4593 \begin_layout Standard
4594 A longtable cannot be put into a table float because floats can only be
4595 on one page but the caption environment of floats can also be used for
4599 \begin_layout Standard
4600 As LyX does not yet fully support captions in longtables, a hack is needed
4604 \begin_layout Enumerate
4610 \begin_layout Enumerate
4611 Mark the first row an disable its upper line.
4614 \begin_layout Enumerate
4615 Insert a caption via the menu
4617 Insert\SpecialChar \menuseparator
4623 into the first table cell.
4625 You can also add a short title for the caption.
4628 \begin_layout Enumerate
4630 \begin_inset Quotes eld
4642 \begin_inset Quotes erd
4645 as ERT behind the caption.
4648 \begin_layout Standard
4649 A short title that will appear in the LOT instead of the full title.
4658 behind the caption omits the vertical lines between the following cells
4660 The first table row is now only a dummy row for the caption, the actual
4661 table starts with the second row.
4664 \begin_layout Standard
4665 Here is a short longtable to see how it works:
4668 \begin_layout Standard
4669 \begin_inset Tabular
4670 <lyxtabular version="3" rows="6" columns="5">
4671 <features islongtable="true">
4672 <column alignment="center" valignment="top" leftline="true" width="0">
4673 <column alignment="center" valignment="top" leftline="true" width="0">
4674 <column alignment="center" valignment="top" leftline="true" width="0">
4675 <column alignment="center" valignment="top" leftline="true" width="0">
4676 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4681 \begin_layout Standard
4682 \begin_inset Caption
4684 \begin_layout Standard
4685 Longtable with caption
4689 \begin_layout Standard
4704 \begin_layout Standard
4720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4723 \begin_layout Standard
4729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4732 \begin_layout Standard
4738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4741 \begin_layout Standard
4747 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4750 \begin_layout Standard
4757 <row topline="true">
4758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4761 \begin_layout Standard
4767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4770 \begin_layout Standard
4776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4779 \begin_layout Standard
4785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4788 \begin_layout Standard
4794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4797 \begin_layout Standard
4804 <row topline="true">
4805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4808 \begin_layout Standard
4814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4817 \begin_layout Standard
4823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4826 \begin_layout Standard
4832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4835 \begin_layout Standard
4841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4844 \begin_layout Standard
4851 <row topline="true">
4852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4855 \begin_layout Standard
4861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4864 \begin_layout Standard
4870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4873 \begin_layout Standard
4879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4882 \begin_layout Standard
4888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4891 \begin_layout Standard
4898 <row topline="true">
4899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4902 \begin_layout Standard
4908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4911 \begin_layout Standard
4917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4920 \begin_layout Standard
4926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4929 \begin_layout Standard
4935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4938 \begin_layout Standard
4945 <row topline="true" bottomline="true">
4946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4949 \begin_layout Standard
4955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4958 \begin_layout Standard
4964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4967 \begin_layout Standard
4973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4976 \begin_layout Standard
4982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4985 \begin_layout Standard
4999 \begin_layout Standard
5000 \begin_inset VSpace medskip
5004 \begin_inset Note Greyedout
5007 \begin_layout Standard
5012 The table number is increased for every longtable, also if you didn't set
5014 For this reason you could have the case that e.g.
5016 2.4 follows on Table\InsetSpace ~
5017 2.1 in the list of tables if there are two longtables
5019 To avoid this you can add the following command in ERT behind every longtable
5023 \begin_layout Standard
5028 addtocounter{table}{-1}
5036 \begin_layout Standard
5037 \begin_inset Note Greyedout
5040 \begin_layout Standard
5045 If you are using the LaTeX-package
5050 \begin_inset LatexCommand index
5051 name "LaTeX-packages ! hyperref"
5055 to link cross-references, the link to a longtable caption will always point
5056 to the beginning of the document.
5064 \begin_layout Subsubsection
5065 References to Longtables
5066 \begin_inset LatexCommand index
5067 name "Longtables ! References"
5074 \begin_layout Standard
5075 \begin_inset Tabular
5076 <lyxtabular version="3" rows="6" columns="5">
5077 <features islongtable="true">
5078 <column alignment="center" valignment="top" leftline="true" width="0">
5079 <column alignment="center" valignment="top" leftline="true" width="0">
5080 <column alignment="center" valignment="top" leftline="true" width="0">
5081 <column alignment="center" valignment="top" leftline="true" width="0">
5082 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5087 \begin_layout Standard
5088 \begin_inset Caption
5090 \begin_layout Standard
5091 Referenced longtable
5092 \begin_inset LatexCommand label
5093 name "tab:RefExample"
5106 \begin_layout Standard
5122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5125 \begin_layout Standard
5131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5134 \begin_layout Standard
5140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5143 \begin_layout Standard
5149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5152 \begin_layout Standard
5159 <row topline="true">
5160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5163 \begin_layout Standard
5169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5172 \begin_layout Standard
5178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5181 \begin_layout Standard
5187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5190 \begin_layout Standard
5196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5199 \begin_layout Standard
5206 <row topline="true">
5207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5210 \begin_layout Standard
5216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5219 \begin_layout Standard
5225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5228 \begin_layout Standard
5234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5237 \begin_layout Standard
5243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5246 \begin_layout Standard
5253 <row topline="true">
5254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5257 \begin_layout Standard
5263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5266 \begin_layout Standard
5272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5275 \begin_layout Standard
5281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5284 \begin_layout Standard
5290 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5293 \begin_layout Standard
5300 <row topline="true">
5301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5304 \begin_layout Standard
5310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5313 \begin_layout Standard
5319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5322 \begin_layout Standard
5328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5331 \begin_layout Standard
5337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5340 \begin_layout Standard
5347 <row topline="true" bottomline="true">
5348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5351 \begin_layout Standard
5357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5360 \begin_layout Standard
5366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5369 \begin_layout Standard
5375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5378 \begin_layout Standard
5384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5387 \begin_layout Standard
5401 \begin_layout Standard
5402 To reference a longtable, insert a label into the caption.
5403 Note that you have to add the label prefix
5404 \begin_inset Quotes eld
5412 \begin_inset Quotes eld
5415 manually in the label field.
5418 \begin_layout Standard
5419 This is a reference to Table\InsetSpace ~
5421 \begin_inset LatexCommand ref
5422 reference "tab:RefExample"
5429 \begin_layout Standard
5430 The caption layout can be set together with all other caption of your document
5431 using the LaTeX-package
5436 \begin_inset LatexCommand index
5437 name "LaTeX-packages ! caption"
5441 , see section\InsetSpace ~
5443 \begin_inset LatexCommand ref
5444 reference "sec:Caption-Formatting"
5451 \begin_layout Subsubsection
5453 \begin_inset LatexCommand index
5454 name "Longtables ! Caption Width"
5461 \begin_layout Standard
5462 The maximal width of of caption lines is defined by the length
5469 Its default value is 4\InsetSpace \thinspace{}
5471 To change it add the following command to your document preamble or as
5472 ERT into your document before the longtable that should be affected
5475 \begin_layout Standard
5485 \begin_layout Standard
5486 where the width could have one of the units listed in appendix\InsetSpace ~
5488 \begin_inset LatexCommand ref
5489 reference "cha:Units-available-in"
5496 \begin_layout Standard
5497 The following tables show the difference:
5500 \begin_layout Standard
5501 \begin_inset Tabular
5502 <lyxtabular version="3" rows="6" columns="5">
5503 <features islongtable="true">
5504 <column alignment="center" valignment="top" leftline="true" width="0">
5505 <column alignment="center" valignment="top" leftline="true" width="0">
5506 <column alignment="center" valignment="top" leftline="true" width="0">
5507 <column alignment="center" valignment="top" leftline="true" width="0">
5508 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5513 \begin_layout Standard
5514 \begin_inset Caption
5516 \begin_layout Standard
5517 long full title with default width long full title with default width long
5518 full title with default width
5522 \begin_layout Standard
5523 caption with default width
5537 \begin_layout Standard
5553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5556 \begin_layout Standard
5562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5565 \begin_layout Standard
5571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5574 \begin_layout Standard
5580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5583 \begin_layout Standard
5590 <row topline="true">
5591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5594 \begin_layout Standard
5600 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5603 \begin_layout Standard
5609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5612 \begin_layout Standard
5618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5621 \begin_layout Standard
5627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5630 \begin_layout Standard
5637 <row topline="true">
5638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5641 \begin_layout Standard
5647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5650 \begin_layout Standard
5656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5659 \begin_layout Standard
5665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5668 \begin_layout Standard
5674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5677 \begin_layout Standard
5684 <row topline="true">
5685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5688 \begin_layout Standard
5694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5697 \begin_layout Standard
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5706 \begin_layout Standard
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5715 \begin_layout Standard
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5724 \begin_layout Standard
5731 <row topline="true">
5732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5735 \begin_layout Standard
5741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5744 \begin_layout Standard
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5753 \begin_layout Standard
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5762 \begin_layout Standard
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5771 \begin_layout Standard
5778 <row topline="true" bottomline="true">
5779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5782 \begin_layout Standard
5788 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5791 \begin_layout Standard
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5800 \begin_layout Standard
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5809 \begin_layout Standard
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5818 \begin_layout Standard
5832 \begin_layout Standard
5836 \begin_layout Standard
5848 \begin_inset Tabular
5849 <lyxtabular version="3" rows="6" columns="5">
5850 <features islongtable="true">
5851 <column alignment="center" valignment="top" leftline="true" width="0">
5852 <column alignment="center" valignment="top" leftline="true" width="0">
5853 <column alignment="center" valignment="top" leftline="true" width="0">
5854 <column alignment="center" valignment="top" leftline="true" width="0">
5855 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5860 \begin_layout Standard
5861 \begin_inset Caption
5863 \begin_layout Standard
5864 long full title with width set to 5\InsetSpace \thinspace{}
5865 cm long full title with width set to
5866 5\InsetSpace \thinspace{}
5867 cm long full title with width set to 5\InsetSpace \thinspace{}
5872 \begin_layout Standard
5873 caption with width\InsetSpace \thinspace{}
5874 =\InsetSpace \thinspace{}
5875 5\InsetSpace \thinspace{}
5890 \begin_layout Standard
5906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5909 \begin_layout Standard
5915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5918 \begin_layout Standard
5924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5927 \begin_layout Standard
5933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5936 \begin_layout Standard
5943 <row topline="true">
5944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5947 \begin_layout Standard
5953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5956 \begin_layout Standard
5962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5965 \begin_layout Standard
5971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5974 \begin_layout Standard
5980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5983 \begin_layout Standard
5990 <row topline="true">
5991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5994 \begin_layout Standard
6000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6003 \begin_layout Standard
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6012 \begin_layout Standard
6018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6021 \begin_layout Standard
6027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6030 \begin_layout Standard
6037 <row topline="true">
6038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6041 \begin_layout Standard
6047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6050 \begin_layout Standard
6056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6059 \begin_layout Standard
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6068 \begin_layout Standard
6074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6077 \begin_layout Standard
6084 <row topline="true">
6085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6088 \begin_layout Standard
6094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6097 \begin_layout Standard
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6106 \begin_layout Standard
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6115 \begin_layout Standard
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6124 \begin_layout Standard
6131 <row topline="true" bottomline="true">
6132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6135 \begin_layout Standard
6141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6144 \begin_layout Standard
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6153 \begin_layout Standard
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6162 \begin_layout Standard
6168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6171 \begin_layout Standard
6186 \begin_layout Standard
6200 \begin_layout Standard
6204 \begin_layout Subsubsection
6205 Different Captions for Table Pages
6206 \begin_inset LatexCommand index
6207 name "Longtables ! Different Captions for Pages"
6214 \begin_layout Standard
6215 When the other captions should differ from the one of the first table page,
6216 insert a caption with a non-empty short title in a dummy caption row marked
6218 The caption used for the other table pages is inserted as caption without
6219 a short title in a dummy caption row that is marked as main header.
6220 When this caption shouldn't include the table number, use the command
6223 \begin_layout Standard
6228 caption*{caption text}
6231 \begin_layout Standard
6232 instead of LyX's caption box.
6233 The label to reference the table is inserted into the caption of the first
6237 \begin_inset LatexCommand ref
6238 reference "tab:DiffCaptions"
6242 is an example for a longtable with different heading where the second caption
6243 doesn't include the table number.
6246 \begin_layout Standard
6248 \begin_inset Tabular
6249 <lyxtabular version="3" rows="60" columns="3">
6250 <features islongtable="true">
6251 <column alignment="left" valignment="top" leftline="true" width="0cm">
6252 <column alignment="left" valignment="top" rightline="true" width="0pt">
6253 <column alignment="right" valignment="top" rightline="true" width="0pt">
6254 <row endfirsthead="true">
6255 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6258 \begin_layout Standard
6259 \begin_inset Caption
6261 \begin_layout Standard
6263 \begin_inset LatexCommand label
6264 name "tab:DiffCaptions"
6272 \begin_layout Standard
6287 \begin_layout Standard
6303 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6306 \begin_layout Standard
6312 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6315 \begin_layout Standard
6322 <row topline="true" bottomline="true" endfirsthead="true">
6323 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6326 \begin_layout Standard
6329 Example Phone List (ignore the names)
6334 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6337 \begin_layout Standard
6343 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6346 \begin_layout Standard
6353 <row topline="true" bottomline="true" endfirsthead="true">
6354 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6357 \begin_layout Standard
6365 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6368 \begin_layout Standard
6374 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6377 \begin_layout Standard
6386 <row bottomline="true" endhead="true">
6387 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6390 \begin_layout Standard
6394 \begin_layout Standard
6398 caption*{Continued Example Phone List}
6412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6415 \begin_layout Standard
6421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6424 \begin_layout Standard
6431 <row topline="true" bottomline="true" endhead="true">
6432 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6435 \begin_layout Standard
6443 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6446 \begin_layout Standard
6452 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6455 \begin_layout Standard
6462 <row topline="true" bottomline="true" endhead="true">
6463 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6466 \begin_layout Standard
6474 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6477 \begin_layout Standard
6483 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6486 \begin_layout Standard
6495 <row topline="true" bottomline="true" endfoot="true">
6496 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6499 \begin_layout Standard
6500 continued on next page
6505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6508 \begin_layout Standard
6514 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6517 \begin_layout Standard
6525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6528 \begin_layout Standard
6536 <cell alignment="center" valignment="top" topline="true" usebox="none">
6539 \begin_layout Standard
6545 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6548 \begin_layout Standard
6556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6559 \begin_layout Standard
6567 <cell alignment="center" valignment="top" topline="true" usebox="none">
6570 \begin_layout Standard
6576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6579 \begin_layout Standard
6587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6590 \begin_layout Standard
6598 <cell alignment="center" valignment="top" topline="true" usebox="none">
6601 \begin_layout Standard
6607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6610 \begin_layout Standard
6618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6621 \begin_layout Standard
6629 <cell alignment="center" valignment="top" topline="true" usebox="none">
6632 \begin_layout Standard
6638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6641 \begin_layout Standard
6649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6652 \begin_layout Standard
6660 <cell alignment="center" valignment="top" topline="true" usebox="none">
6663 \begin_layout Standard
6669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6672 \begin_layout Standard
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6683 \begin_layout Standard
6691 <cell alignment="center" valignment="top" topline="true" usebox="none">
6694 \begin_layout Standard
6700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6703 \begin_layout Standard
6711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6714 \begin_layout Standard
6722 <cell alignment="center" valignment="top" topline="true" usebox="none">
6725 \begin_layout Standard
6731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6734 \begin_layout Standard
6742 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6745 \begin_layout Standard
6753 <cell alignment="center" valignment="top" topline="true" usebox="none">
6756 \begin_layout Standard
6762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6765 \begin_layout Standard
6773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6776 \begin_layout Standard
6784 <cell alignment="center" valignment="top" topline="true" usebox="none">
6787 \begin_layout Standard
6793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6796 \begin_layout Standard
6804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6807 \begin_layout Standard
6815 <cell alignment="center" valignment="top" topline="true" usebox="none">
6818 \begin_layout Standard
6824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6827 \begin_layout Standard
6835 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6838 \begin_layout Standard
6846 <cell alignment="center" valignment="top" topline="true" usebox="none">
6849 \begin_layout Standard
6855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6858 \begin_layout Standard
6866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6869 \begin_layout Standard
6877 <cell alignment="center" valignment="top" topline="true" usebox="none">
6880 \begin_layout Standard
6886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6889 \begin_layout Standard
6897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6900 \begin_layout Standard
6908 <cell alignment="center" valignment="top" topline="true" usebox="none">
6911 \begin_layout Standard
6917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6920 \begin_layout Standard
6928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6931 \begin_layout Standard
6939 <cell alignment="center" valignment="top" topline="true" usebox="none">
6942 \begin_layout Standard
6948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6951 \begin_layout Standard
6959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6962 \begin_layout Standard
6971 \begin_layout Standard
6982 <cell alignment="center" valignment="top" topline="true" usebox="none">
6985 \begin_layout Standard
6991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6994 \begin_layout Standard
7002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7005 \begin_layout Standard
7013 <cell alignment="center" valignment="top" topline="true" usebox="none">
7016 \begin_layout Standard
7022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7025 \begin_layout Standard
7033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7036 \begin_layout Standard
7044 <cell alignment="center" valignment="top" topline="true" usebox="none">
7047 \begin_layout Standard
7053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7056 \begin_layout Standard
7064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7067 \begin_layout Standard
7075 <cell alignment="center" valignment="top" topline="true" usebox="none">
7078 \begin_layout Standard
7084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7087 \begin_layout Standard
7095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7098 \begin_layout Standard
7106 <cell alignment="center" valignment="top" topline="true" usebox="none">
7109 \begin_layout Standard
7115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7118 \begin_layout Standard
7126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7129 \begin_layout Standard
7137 <cell alignment="center" valignment="top" topline="true" usebox="none">
7140 \begin_layout Standard
7146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7149 \begin_layout Standard
7157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7160 \begin_layout Standard
7168 <cell alignment="center" valignment="top" topline="true" usebox="none">
7171 \begin_layout Standard
7177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7180 \begin_layout Standard
7188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7191 \begin_layout Standard
7199 <cell alignment="center" valignment="top" topline="true" usebox="none">
7202 \begin_layout Standard
7208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7211 \begin_layout Standard
7219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7222 \begin_layout Standard
7230 <cell alignment="center" valignment="top" topline="true" usebox="none">
7233 \begin_layout Standard
7239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7242 \begin_layout Standard
7250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7253 \begin_layout Standard
7261 <cell alignment="center" valignment="top" topline="true" usebox="none">
7264 \begin_layout Standard
7270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7273 \begin_layout Standard
7281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7284 \begin_layout Standard
7292 <cell alignment="center" valignment="top" topline="true" usebox="none">
7295 \begin_layout Standard
7301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7304 \begin_layout Standard
7312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7315 \begin_layout Standard
7323 <cell alignment="center" valignment="top" topline="true" usebox="none">
7326 \begin_layout Standard
7332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7335 \begin_layout Standard
7343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7346 \begin_layout Standard
7354 <cell alignment="center" valignment="top" topline="true" usebox="none">
7357 \begin_layout Standard
7363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7366 \begin_layout Standard
7374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7377 \begin_layout Standard
7385 <cell alignment="center" valignment="top" topline="true" usebox="none">
7388 \begin_layout Standard
7394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7397 \begin_layout Standard
7405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7408 \begin_layout Standard
7416 <cell alignment="center" valignment="top" topline="true" usebox="none">
7419 \begin_layout Standard
7425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7428 \begin_layout Standard
7436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7439 \begin_layout Standard
7447 <cell alignment="center" valignment="top" topline="true" usebox="none">
7450 \begin_layout Standard
7456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7459 \begin_layout Standard
7466 <row bottomline="true">
7467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7470 \begin_layout Standard
7478 <cell alignment="center" valignment="top" topline="true" usebox="none">
7481 \begin_layout Standard
7487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7490 \begin_layout Standard
7497 <row bottomline="true">
7498 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7501 \begin_layout Standard
7507 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7510 \begin_layout Standard
7516 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7519 \begin_layout Standard
7527 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7530 \begin_layout Standard
7538 <cell alignment="center" valignment="top" topline="true" usebox="none">
7541 \begin_layout Standard
7547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7550 \begin_layout Standard
7558 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7561 \begin_layout Standard
7569 <cell alignment="center" valignment="top" topline="true" usebox="none">
7572 \begin_layout Standard
7578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7581 \begin_layout Standard
7589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7592 \begin_layout Standard
7600 <cell alignment="center" valignment="top" topline="true" usebox="none">
7603 \begin_layout Standard
7609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7612 \begin_layout Standard
7620 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7623 \begin_layout Standard
7631 <cell alignment="center" valignment="top" topline="true" usebox="none">
7634 \begin_layout Standard
7640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7643 \begin_layout Standard
7651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7654 \begin_layout Standard
7662 <cell alignment="center" valignment="top" topline="true" usebox="none">
7665 \begin_layout Standard
7671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7674 \begin_layout Standard
7682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7685 \begin_layout Standard
7693 <cell alignment="center" valignment="top" topline="true" usebox="none">
7696 \begin_layout Standard
7702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7705 \begin_layout Standard
7713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7716 \begin_layout Standard
7724 <cell alignment="center" valignment="top" topline="true" usebox="none">
7727 \begin_layout Standard
7733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7736 \begin_layout Standard
7744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7747 \begin_layout Standard
7755 <cell alignment="center" valignment="top" topline="true" usebox="none">
7758 \begin_layout Standard
7764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7767 \begin_layout Standard
7775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7778 \begin_layout Standard
7786 <cell alignment="center" valignment="top" topline="true" usebox="none">
7789 \begin_layout Standard
7795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7798 \begin_layout Standard
7806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7809 \begin_layout Standard
7817 <cell alignment="center" valignment="top" topline="true" usebox="none">
7820 \begin_layout Standard
7826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7829 \begin_layout Standard
7837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7840 \begin_layout Standard
7848 <cell alignment="center" valignment="top" topline="true" usebox="none">
7851 \begin_layout Standard
7857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7860 \begin_layout Standard
7868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7871 \begin_layout Standard
7879 <cell alignment="center" valignment="top" topline="true" usebox="none">
7882 \begin_layout Standard
7888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7891 \begin_layout Standard
7899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7902 \begin_layout Standard
7910 <cell alignment="center" valignment="top" topline="true" usebox="none">
7913 \begin_layout Standard
7919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7922 \begin_layout Standard
7930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7933 \begin_layout Standard
7941 <cell alignment="center" valignment="top" topline="true" usebox="none">
7944 \begin_layout Standard
7950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7953 \begin_layout Standard
7961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7964 \begin_layout Standard
7972 <cell alignment="center" valignment="top" topline="true" usebox="none">
7975 \begin_layout Standard
7981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7984 \begin_layout Standard
7992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7995 \begin_layout Standard
8003 <cell alignment="center" valignment="top" topline="true" usebox="none">
8006 \begin_layout Standard
8012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8015 \begin_layout Standard
8023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8026 \begin_layout Standard
8034 <cell alignment="center" valignment="top" topline="true" usebox="none">
8037 \begin_layout Standard
8043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8046 \begin_layout Standard
8054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8057 \begin_layout Standard
8065 <cell alignment="center" valignment="top" topline="true" usebox="none">
8068 \begin_layout Standard
8074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8077 \begin_layout Standard
8085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8088 \begin_layout Standard
8096 <cell alignment="center" valignment="top" topline="true" usebox="none">
8099 \begin_layout Standard
8105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8108 \begin_layout Standard
8115 <row bottomline="true">
8116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8119 \begin_layout Standard
8127 <cell alignment="center" valignment="top" topline="true" usebox="none">
8130 \begin_layout Standard
8136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8139 \begin_layout Standard
8146 <row bottomline="true" endlastfoot="true">
8147 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8150 \begin_layout Standard
8156 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8159 \begin_layout Standard
8165 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8168 \begin_layout Standard
8182 \begin_layout Section
8183 Special Longtable Issues
8184 \begin_inset LatexCommand label
8185 name "sec:Special-Longtable-Issues"
8192 \begin_layout Subsection
8193 Longtable Calculation
8194 \begin_inset LatexCommand index
8195 name "Longtables ! Calculation"
8202 \begin_layout Standard
8203 LaTeX calculates the height of table pages and their page breaks using so
8205 Chunks are pieces of the tables that are at once in LaTeX's memory.
8206 The default value is historically set to only 20 table rows.
8207 If you are using longtables with many pages this may slow down the creation
8209 You can safely increase the chunk size to values of 100-1000 by adding
8210 this command line to your document preamble:
8213 \begin_layout Standard
8218 setcounter{LTchunksize}{100}
8221 \begin_layout Subsection
8222 Floats and Longtables
8223 \begin_inset LatexCommand index
8224 name "Longtables ! Floats"
8231 \begin_layout Standard
8232 There might be problems when a float appears on the same page where a longtable
8234 To avoid such situation, add the command
8240 as ERT before your longtable.
8243 \begin_layout Subsection
8245 \begin_inset LatexCommand index
8246 name "Longtables ! Forced Page Breaks"
8253 \begin_layout Standard
8254 By default tables are only broken between rows.
8255 If you have a cell with multiples lines and want to have a page break within
8256 the cell, insert the new line command
8257 \begin_inset Quotes eld
8269 \begin_inset Quotes erd
8272 as ERT at this point of the cell where it should be broken.
8281 command you have to insert in ERT so many
8282 \begin_inset Quotes eld
8290 \begin_inset Quotes erd
8293 characters like the number of the following table columns.
8298 is the character to separate table cells.
8299 Write in ERT after each
8303 the content of the corresponding following cell and delete the content
8314 command, insert so many
8318 characters like the number of table columns before the current column.
8319 In Table\InsetSpace ~
8321 \begin_inset LatexCommand ref
8322 reference "tab:ForcedPagebreak"
8326 the cell that should be broken is in the second column followed by another
8328 Therefore the following command was inserted in the cell as ERT behind
8330 \begin_inset Quotes eld
8338 \begin_inset Quotes erd
8344 \begin_layout Standard
8356 \begin_layout Standard
8358 \begin_inset Quotes eld
8362 \begin_inset Quotes erd
8365 in the third columns of the row was deleted.
8366 If your footer row of the longtable has for a certain reason no upper line
8367 but you would have a horizontal line where the cell is broken, use this
8371 \begin_layout Standard
8385 \begin_layout Standard
8386 When the cell to be broken is in the last column, the command
8389 \begin_layout Standard
8396 parf\SpecialChar \textcompwordmark{}
8400 \begin_layout Standard
8401 must be inserted as ERT at the beginning of the cell.
8402 This assures that the part of the cell that will be displayed on the new
8403 page appears with the full width.
8407 \begin_layout Standard
8409 \begin_inset Tabular
8410 <lyxtabular version="3" rows="39" columns="3">
8411 <features islongtable="true">
8412 <column alignment="left" valignment="top" leftline="true" width="0cm">
8413 <column alignment="left" valignment="top" rightline="true" width="3cm">
8414 <column alignment="right" valignment="top" rightline="true" width="0pt">
8415 <row endfirsthead="true">
8416 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8419 \begin_layout Standard
8420 \begin_inset Caption
8422 \begin_layout Standard
8423 Table with forced page break in table cell
8424 \begin_inset LatexCommand label
8425 name "tab:ForcedPagebreak"
8433 \begin_layout Standard
8434 Table with forced page break in table cell
8448 \begin_layout Standard
8464 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8467 \begin_layout Standard
8473 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8476 \begin_layout Standard
8483 <row topline="true" bottomline="true" endfirsthead="true">
8484 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8487 \begin_layout Standard
8490 Example Phone List (ignore the names)
8495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8498 \begin_layout Standard
8504 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8507 \begin_layout Standard
8514 <row topline="true" bottomline="true" endfirsthead="true">
8515 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8518 \begin_layout Standard
8526 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8529 \begin_layout Standard
8535 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8538 \begin_layout Standard
8547 <row bottomline="true" endhead="true">
8548 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8551 \begin_layout Standard
8555 \begin_layout Standard
8559 caption*{Continued table with forced page break in table cell}
8573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8576 \begin_layout Standard
8582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8585 \begin_layout Standard
8592 <row topline="true" bottomline="true" endhead="true">
8593 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8596 \begin_layout Standard
8604 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8607 \begin_layout Standard
8613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8616 \begin_layout Standard
8623 <row topline="true" bottomline="true" endhead="true">
8624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8627 \begin_layout Standard
8635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8638 \begin_layout Standard
8644 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8647 \begin_layout Standard
8656 <row topline="true" bottomline="true" endfoot="true">
8657 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8660 \begin_layout Standard
8661 continued on next page
8666 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8669 \begin_layout Standard
8675 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8678 \begin_layout Standard
8686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8689 \begin_layout Standard
8697 <cell alignment="center" valignment="top" topline="true" usebox="none">
8700 \begin_layout Standard
8706 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8709 \begin_layout Standard
8717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8720 \begin_layout Standard
8728 <cell alignment="center" valignment="top" topline="true" usebox="none">
8731 \begin_layout Standard
8737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8740 \begin_layout Standard
8748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8751 \begin_layout Standard
8759 <cell alignment="center" valignment="top" topline="true" usebox="none">
8762 \begin_layout Standard
8768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8771 \begin_layout Standard
8779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8782 \begin_layout Standard
8790 <cell alignment="center" valignment="top" topline="true" usebox="none">
8793 \begin_layout Standard
8799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8802 \begin_layout Standard
8810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8813 \begin_layout Standard
8821 <cell alignment="center" valignment="top" topline="true" usebox="none">
8824 \begin_layout Standard
8830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8833 \begin_layout Standard
8841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8844 \begin_layout Standard
8852 <cell alignment="center" valignment="top" topline="true" usebox="none">
8855 \begin_layout Standard
8861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8864 \begin_layout Standard
8872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8875 \begin_layout Standard
8883 <cell alignment="center" valignment="top" topline="true" usebox="none">
8886 \begin_layout Standard
8892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8895 \begin_layout Standard
8903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8906 \begin_layout Standard
8914 <cell alignment="center" valignment="top" topline="true" usebox="none">
8917 \begin_layout Standard
8923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8926 \begin_layout Standard
8934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8937 \begin_layout Standard
8945 <cell alignment="center" valignment="top" topline="true" usebox="none">
8948 \begin_layout Standard
8954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8957 \begin_layout Standard
8965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8968 \begin_layout Standard
8976 <cell alignment="center" valignment="top" topline="true" usebox="none">
8979 \begin_layout Standard
8985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8988 \begin_layout Standard
8996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8999 \begin_layout Standard
9007 <cell alignment="center" valignment="top" topline="true" usebox="none">
9010 \begin_layout Standard
9016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9019 \begin_layout Standard
9027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9030 \begin_layout Standard
9038 <cell alignment="center" valignment="top" topline="true" usebox="none">
9041 \begin_layout Standard
9047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9050 \begin_layout Standard
9058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9061 \begin_layout Standard
9069 <cell alignment="center" valignment="top" topline="true" usebox="none">
9072 \begin_layout Standard
9078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9081 \begin_layout Standard
9089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9092 \begin_layout Standard
9100 <cell alignment="center" valignment="top" topline="true" usebox="none">
9103 \begin_layout Standard
9109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9112 \begin_layout Standard
9120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9123 \begin_layout Standard
9131 <cell alignment="center" valignment="top" topline="true" usebox="none">
9134 \begin_layout Standard
9140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9143 \begin_layout Standard
9151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9154 \begin_layout Standard
9162 <cell alignment="center" valignment="top" topline="true" usebox="none">
9165 \begin_layout Standard
9171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9174 \begin_layout Standard
9182 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9185 \begin_layout Standard
9193 <cell alignment="center" valignment="top" topline="true" usebox="none">
9196 \begin_layout Standard
9202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9205 \begin_layout Standard
9213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9216 \begin_layout Standard
9224 <cell alignment="center" valignment="top" topline="true" usebox="none">
9227 \begin_layout Standard
9233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9236 \begin_layout Standard
9244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9247 \begin_layout Standard
9255 <cell alignment="center" valignment="top" topline="true" usebox="none">
9258 \begin_layout Standard
9264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9267 \begin_layout Standard
9275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9278 \begin_layout Standard
9286 <cell alignment="center" valignment="top" topline="true" usebox="none">
9289 \begin_layout Standard
9295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9298 \begin_layout Standard
9306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9309 \begin_layout Standard
9317 <cell alignment="center" valignment="top" topline="true" usebox="none">
9320 \begin_layout Standard
9326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9329 \begin_layout Standard
9337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9340 \begin_layout Standard
9348 <cell alignment="center" valignment="top" topline="true" usebox="none">
9351 \begin_layout Standard
9357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9360 \begin_layout Standard
9368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9371 \begin_layout Standard
9379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9382 \begin_layout Standard
9384 Fürst von Montecompatri, 11.
9385 Fürst von Sulmona und Vivaro, 10.
9386 Fürst von Rossano, 5.
9387 Herzog von Canemorte, 11.
9388 Herzog von Palombara, 5.
9389 Herzog von Castelchiodato,
9393 \begin_layout Standard
9402 \begin_layout Standard
9410 Herzog von Poggionativo, 11.
9411 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9412 Graf von Valinfreda, 11.
9413 Baron von Cropalati, 11.
9414 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9422 \begin_layout Standard
9430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9433 \begin_layout Standard
9441 <cell alignment="center" valignment="top" topline="true" usebox="none">
9444 \begin_layout Standard
9450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9453 \begin_layout Standard
9461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9464 \begin_layout Standard
9472 <cell alignment="center" valignment="top" topline="true" usebox="none">
9475 \begin_layout Standard
9481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9484 \begin_layout Standard
9492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9495 \begin_layout Standard
9503 <cell alignment="center" valignment="top" topline="true" usebox="none">
9506 \begin_layout Standard
9512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9515 \begin_layout Standard
9523 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9526 \begin_layout Standard
9534 <cell alignment="center" valignment="top" topline="true" usebox="none">
9537 \begin_layout Standard
9543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9546 \begin_layout Standard
9554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9557 \begin_layout Standard
9565 <cell alignment="center" valignment="top" topline="true" usebox="none">
9568 \begin_layout Standard
9574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9577 \begin_layout Standard
9585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9588 \begin_layout Standard
9596 <cell alignment="center" valignment="top" topline="true" usebox="none">
9599 \begin_layout Standard
9605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9608 \begin_layout Standard
9616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9619 \begin_layout Standard
9627 <cell alignment="center" valignment="top" topline="true" usebox="none">
9630 \begin_layout Standard
9636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9639 \begin_layout Standard
9646 <row bottomline="true">
9647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9650 \begin_layout Standard
9658 <cell alignment="center" valignment="top" topline="true" usebox="none">
9661 \begin_layout Standard
9667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9670 \begin_layout Standard
9677 <row endlastfoot="true">
9678 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9681 \begin_layout Standard
9687 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9690 \begin_layout Standard
9696 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9699 \begin_layout Standard
9713 \begin_layout Section
9714 Multiple Lines Columns and Rows
9717 \begin_layout Subsection
9718 Multiple Lines in Table Cells
9719 \begin_inset LatexCommand label
9720 name "sub:Multiple-Lines-in"
9725 \begin_inset LatexCommand index
9726 name "Multiple Lines in Table Cells"
9731 \begin_inset LatexCommand index
9732 name "Table ! Linebreaks"
9739 \begin_layout Standard
9741 \begin_inset Float table
9747 \begin_layout Standard
9748 \begin_inset Caption
9750 \begin_layout Standard
9751 \begin_inset LatexCommand label
9752 name "tab:Table-with-multiple"
9756 Table with multiple lines in cells
9764 \begin_layout Standard
9766 \begin_inset Tabular
9767 <lyxtabular version="3" rows="3" columns="3">
9769 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9770 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9771 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9772 <row topline="true">
9773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9776 \begin_layout Standard
9781 \begin_layout Standard
9795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9798 \begin_layout Standard
9804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9807 \begin_layout Standard
9814 <row topline="true">
9815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9818 \begin_layout Standard
9824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9827 \begin_layout Standard
9833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9836 \begin_layout Standard
9843 <row topline="true" bottomline="true">
9844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9847 \begin_layout Standard
9853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9856 \begin_layout Standard
9862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9865 \begin_layout Standard
9884 \begin_layout Standard
9885 Adjusting a fixed width for a column, enables to enter text as a paragraph
9886 with multiple lines and hyphenations.
9889 \begin_layout Standard
9890 To produce Table\InsetSpace ~
9892 \begin_inset LatexCommand ref
9893 reference "tab:Table-with-multiple"
9897 , create a 3×3 table, mark the first cell and right-click on it.
9898 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9899 cm and choose centered
9900 for the vertical and horizontal alignment.
9901 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9902 cm, only one line will appear.
9903 To get two lines, we add a line break with the command
9906 \begin_layout Standard
9914 \begin_layout Standard
9916 If the text is wider than the set cell width it will automatically be broken
9920 \begin_layout Standard
9921 To center the text inside the two other cells of the first row vertically,
9922 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9924 centered alignments.
9925 Then do the same for the third cell of the row.
9928 \begin_layout Standard
9929 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9930 by LaTeX if it is the first entry.
9931 Therefore you need to insert something, to make the word not being the
9932 first entry: Add the command
9935 \begin_layout Standard
9943 \begin_layout Standard
9944 in ERT before the word.
9945 As the space is zero, it doesn't change the output.
9948 \begin_inset LatexCommand ref
9949 reference "tab:Table-with-and"
9956 \begin_layout Standard
9957 \begin_inset Float table
9962 \begin_layout Standard
9963 \begin_inset Caption
9965 \begin_layout Standard
9966 \begin_inset LatexCommand label
9967 name "tab:Table-with-and"
9971 Table with and without hyphenation
9979 \begin_layout Standard
9983 \begin_inset Tabular
9984 <lyxtabular version="3" rows="3" columns="3">
9986 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9987 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9988 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9989 <row topline="true">
9990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9993 \begin_layout Standard
9994 verylongtablecellword
9999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10002 \begin_layout Standard
10008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10011 \begin_layout Standard
10018 <row topline="true">
10019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10022 \begin_layout Standard
10028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10031 \begin_layout Standard
10037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10040 \begin_layout Standard
10047 <row topline="true" bottomline="true">
10048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10051 \begin_layout Standard
10057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10060 \begin_layout Standard
10066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10069 \begin_layout Standard
10083 \begin_inset Tabular
10084 <lyxtabular version="3" rows="3" columns="3">
10086 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10087 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10088 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10089 <row topline="true">
10090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10093 \begin_layout Standard
10097 \begin_layout Standard
10106 verylongtablecellword
10111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10114 \begin_layout Standard
10120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10123 \begin_layout Standard
10130 <row topline="true">
10131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10134 \begin_layout Standard
10140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10143 \begin_layout Standard
10149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10152 \begin_layout Standard
10159 <row topline="true" bottomline="true">
10160 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10163 \begin_layout Standard
10169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10172 \begin_layout Standard
10178 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10181 \begin_layout Standard
10202 \begin_layout Standard
10208 \begin_layout Subsection
10210 \begin_inset LatexCommand label
10211 name "sub:Multicolumns"
10216 \begin_inset LatexCommand index
10217 name "Multicolumns"
10222 \begin_inset LatexCommand index
10223 name "Table ! Multicolumns"
10230 \begin_layout Subsubsection
10234 \begin_layout Standard
10235 To span a cell over multiple columns, mark as much cells within a line that
10236 should be one spanned cell and use either the table-toolbar button
10237 \begin_inset Graphics
10238 filename ../images/tabular-feature_multicolumn.xpm
10245 Edit\SpecialChar \menuseparator
10246 Table\SpecialChar \menuseparator
10249 , or right click on the marked cells and choose multicolumn in the appearing
10250 table dialog under the tab
10257 \begin_layout Standard
10258 Multicolumns have there own cell settings.
10259 That means changing cell borders, cell alignment, and the width only affects
10261 Here is an example table with a multicolumn cell in the first row and one
10262 in the last row without the upper border:
10265 \begin_layout Standard
10267 \begin_inset Tabular
10268 <lyxtabular version="3" rows="3" columns="4">
10269 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10270 <column alignment="center" valignment="top" leftline="true" width="0pt">
10271 <column alignment="center" valignment="middle" leftline="true" width="0">
10272 <column alignment="center" valignment="top" leftline="true" width="0in">
10273 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10274 <row topline="true" bottomline="true">
10275 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10278 \begin_layout Standard
10284 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10287 \begin_layout Standard
10297 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10300 \begin_layout Standard
10306 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10309 \begin_layout Standard
10316 <row topline="true">
10317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10320 \begin_layout Standard
10335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10338 \begin_layout Standard
10344 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10347 \begin_layout Standard
10353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10356 \begin_layout Standard
10363 <row topline="true" bottomline="true">
10364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10367 \begin_layout Standard
10373 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10376 \begin_layout Standard
10382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10385 \begin_layout Standard
10391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10394 \begin_layout Standard
10408 \begin_layout Subsubsection
10409 Multicolumn Calculations
10410 \begin_inset LatexCommand label
10411 name "sub:Multicolumn-Calculations"
10416 \begin_inset LatexCommand index
10417 name "Multicolumns ! Calculations"
10424 \begin_layout Standard
10425 LyX supports multicolumns directly, but we have to take notice of the cell
10426 width of the columns spanned by the multicolumn cell.
10429 \begin_layout Standard
10430 \begin_inset Float table
10435 \begin_layout Standard
10436 \begin_inset Caption
10438 \begin_layout Standard
10439 \begin_inset LatexCommand label
10440 name "tab:Table-with-centered"
10444 Table with centered multicolumn text above two columns that have exactly
10445 half the width of the multicolumn cell
10446 \begin_inset OptArg
10449 \begin_layout Standard
10450 Perfect multicolumn table
10463 \begin_layout Standard
10465 \begin_inset Tabular
10466 <lyxtabular version="3" rows="3" columns="3">
10468 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10469 <column alignment="center" valignment="middle" leftline="true" width="0">
10470 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10471 <row topline="true">
10472 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10475 \begin_layout Standard
10476 multiple lines multicolumn
10481 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10484 \begin_layout Standard
10490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10493 \begin_layout Standard
10500 <row topline="true">
10501 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10504 \begin_layout Standard
10510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10513 \begin_layout Standard
10519 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10522 \begin_layout Standard
10529 <row topline="true" bottomline="true">
10530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10533 \begin_layout Standard
10539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10542 \begin_layout Standard
10548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10551 \begin_layout Standard
10570 \begin_layout Standard
10571 To create for example Table\InsetSpace ~
10573 \begin_inset LatexCommand ref
10574 reference "tab:Table-with-centered"
10578 , mark the first two cells in the first row a 3×3 table and right-click
10580 Now choose for this cell
10588 and a width of 2.5\InsetSpace \thinspace{}
10589 cm in the table dialog.
10590 The spanned columns should have exactly half the width of the multicolumn
10591 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10592 cm for the first column.
10593 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10595 width - width of first column).
10596 This was done for Table\InsetSpace ~
10598 \begin_inset LatexCommand ref
10599 reference "tab:Table-without-half"
10606 \begin_layout Standard
10607 \begin_inset Float table
10612 \begin_layout Standard
10613 \begin_inset Caption
10615 \begin_layout Standard
10616 \begin_inset LatexCommand label
10617 name "tab:Table-without-half"
10621 Table where the spanned table columns have not exactly half the width of
10622 the multicolumn cell
10623 \begin_inset OptArg
10626 \begin_layout Standard
10627 Imperfect multicolumn table
10640 \begin_layout Standard
10642 \begin_inset Tabular
10643 <lyxtabular version="3" rows="3" columns="3">
10645 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10646 <column alignment="center" valignment="top" leftline="true" width="0">
10647 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10648 <row topline="true" bottomline="true">
10649 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10652 \begin_layout Standard
10653 multiple lines multicolumn
10658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10661 \begin_layout Standard
10667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10670 \begin_layout Standard
10677 <row topline="true">
10678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10681 \begin_layout Standard
10687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10690 \begin_layout Standard
10696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10699 \begin_layout Standard
10706 <row topline="true" bottomline="true">
10707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10710 \begin_layout Standard
10716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10719 \begin_layout Standard
10725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10728 \begin_layout Standard
10747 \begin_layout Standard
10748 You can see that the first column has not the half width of the multicolumn
10749 cell, it is a bit bigger.
10750 The reason is that the given width of a cell
10751 \begin_inset Formula $W_{g}$
10754 is not its total width
10755 \begin_inset Formula $W_{\mathrm{tot}}$
10758 because a cell is always a bit larger than its given width.
10759 Appendix\InsetSpace ~
10761 \begin_inset LatexCommand eqref
10762 reference "cha:Explanation-of-Equation"
10766 explains it in detail.
10769 \begin_layout Standard
10770 The needed given width
10771 \begin_inset Formula $W_{g\, n}$
10778 columns are spanned columns can be calculated, so that each column has
10780 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10784 \begin_inset Formula \begin{equation}
10785 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10792 \begin_layout Standard
10793 In our case we have
10794 \begin_inset Formula $n=2$
10798 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10801 cm and the default values for the lengths, so that equation
10802 \begin_inset LatexCommand ref
10808 \begin_inset Formula \begin{equation}
10809 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10816 \begin_layout Standard
10817 To enable calculations in LaTeX, the LaTeX-package
10821 must be loaded with the document preamble line
10822 \begin_inset LatexCommand index
10823 name "LaTeX-packages ! calc"
10830 \begin_layout Standard
10838 \begin_layout Standard
10839 LyX does not allow to calculate lengths in the width-field of the table
10841 Therefore you have to format the column by inserting a LaTeX-argument in
10843 Here is an overview about the arguments:
10846 \begin_layout Itemize
10851 creates cell with a fixed width, its text is vertically top-aligned
10854 \begin_layout Itemize
10859 creates cell with a fixed width, its text is vertically centered
10862 \begin_layout Itemize
10867 creates cell with a fixed width, its text is vertically bottom-aligned
10870 \begin_layout Standard
10871 By entering a LaTeX-argument, all cell properties set in the table dialog
10874 \begin_inset Note Greyedout
10877 \begin_layout Standard
10882 Due to a bug, LyX shows the overwritten properties anyway.
10887 As the text should be horizontally centered, the command
10894 You can now enter the following LaTeX-argument for the first spanned column:
10897 \begin_layout Standard
10902 centering}m{1.25cm-6.2pt}
10905 \begin_layout Standard
10907 \begin_inset Quotes eld
10915 \begin_inset Quotes erd
10918 at the beginning draws the border line and the command
10922 means, that the commands inside the braces are applied before the cell
10926 \begin_layout Standard
10927 Although we have chosen centered alignment for the text of the multicolumn
10928 cell, it is still left aligned.
10929 This is because LyX only applies the alignment to single columns.
10930 So we have to use for the multicolumn the LaTeX-argument
10933 \begin_layout Standard
10938 centering}m{2.5cm}|
10941 \begin_layout Subsection
10943 \begin_inset LatexCommand index
10949 \begin_inset LatexCommand index
10950 name "Table ! Multirows"
10955 \begin_inset LatexCommand index
10956 name "LaTeX-packages ! multirow"
10963 \begin_layout Standard
10964 In contrary to multicolumns multirows are not yet supported by LyX so a
10965 bit of ERT needs to be used.
10966 To use multirows load the LaTeX-package
10970 in your document preamble with the command
10973 \begin_layout Standard
10978 usepackage{multirow}
10981 \begin_layout Standard
10982 Multirows are created with the command
10985 \begin_layout Standard
10990 multirow{number of rows}{cell width}{cell entry}
10993 \begin_layout Standard
10994 To create the following table:
10997 \begin_layout Standard
11002 \begin_layout Standard
11016 \begin_inset Tabular
11017 <lyxtabular version="3" rows="3" columns="3">
11019 <column alignment="center" valignment="top" leftline="true" width="0">
11020 <column alignment="center" valignment="top" leftline="true" width="0">
11021 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11022 <row topline="true">
11023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11026 \begin_layout Standard
11032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11035 \begin_layout Standard
11041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11044 \begin_layout Standard
11051 <row topline="true">
11052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11055 \begin_layout Standard
11059 \begin_layout Standard
11063 multirow{2}{2.5cm}{
11072 \begin_layout Standard
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11087 \begin_layout Standard
11093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11096 \begin_layout Standard
11103 <row topline="true" bottomline="true">
11104 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11107 \begin_layout Standard
11113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11116 \begin_layout Standard
11122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11125 \begin_layout Standard
11140 \begin_layout Standard
11156 \begin_layout Standard
11157 create a 3×3 table.
11158 To get rid of the line above the last cell in the first column, the cell
11159 is marked as multicolumn and the upper border is unset.
11160 The multirow is now created in the second row of the first column by inserting
11164 \begin_layout Standard
11169 multirow{2}{2.5cm}{
11172 \begin_layout Standard
11174 According to the command parameters the multirow spans now two rows and
11175 has a width of 2.5\InsetSpace \thinspace{}
11177 The content of the multirow cell follows outside the ERT box and the command
11178 is finished with a right brace
11182 in another ERT-box behind the text.
11185 \begin_layout Standard
11192 left-aligns its content by default.
11193 To override the default, renew the command
11202 \begin_layout Standard
11214 \begin_layout Standard
11215 in ERT in the document preamble.
11216 Then all entries of multirow cells in the document are centered.
11217 If centering is only needed for several tables, you can renew the command
11218 in an ERT box just before the table instead of the preamble.
11219 If the text should be right-aligned, replace
11232 To return to left-alignment
11241 \begin_layout Section
11243 \begin_inset LatexCommand label
11244 name "sec:Formal-Tables"
11249 \begin_inset LatexCommand index
11250 name "Table ! Formal"
11257 \begin_layout Standard
11258 Tables are often typeset in books similar to Table\InsetSpace ~
11260 \begin_inset LatexCommand ref
11261 reference "tab:Example-booktabs-table"
11266 This kind of tables is called
11267 \begin_inset Quotes eld
11275 \begin_inset Quotes erd
11279 To make a table a formal table use the option
11287 tab of the table dialog.
11290 \begin_layout Standard
11291 \begin_inset Float table
11297 \begin_layout Standard
11298 \begin_inset Caption
11300 \begin_layout Standard
11301 \begin_inset LatexCommand label
11302 name "tab:Example-booktabs-table"
11306 Example booktabs-table
11314 \begin_layout Standard
11316 \begin_inset Tabular
11317 <lyxtabular version="3" rows="8" columns="4">
11318 <features booktabs="true">
11319 <column alignment="center" valignment="top" rightline="true" width="0">
11320 <column alignment="center" valignment="top" width="0">
11321 <column alignment="center" valignment="top" width="0">
11322 <column alignment="center" valignment="top" width="0">
11323 <row topline="true">
11324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11327 \begin_layout Standard
11333 <cell alignment="center" valignment="top" topline="true" usebox="none">
11336 \begin_layout Standard
11338 \begin_inset Formula $\,$
11346 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11349 \begin_layout Standard
11351 \begin_inset Formula $\,$
11359 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11362 \begin_layout Standard
11370 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11373 \begin_layout Standard
11377 \begin_layout Standard
11390 \begin_layout Standard
11399 Detector thickness [µm]
11404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11407 \begin_layout Standard
11413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11416 \begin_layout Standard
11422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11425 \begin_layout Standard
11432 <row topline="true">
11433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11436 \begin_layout Standard
11442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11445 \begin_layout Standard
11451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11454 \begin_layout Standard
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11463 \begin_layout Standard
11470 <row topspace="default">
11471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11474 \begin_layout Standard
11475 Spatial resolution [µm]
11480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11483 \begin_layout Standard
11489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11492 \begin_layout Standard
11498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11501 \begin_layout Standard
11508 <row topspace="default">
11509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11512 \begin_layout Standard
11514 \begin_inset Formula $f_{\mathrm{max}}$
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11525 \begin_layout Standard
11531 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11534 \begin_layout Standard
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11543 \begin_layout Standard
11550 <row topspace="default">
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_layout Standard
11558 \begin_layout Standard
11562 cmidrule(l{10pt}){1-1}
11567 LSF-spatial resolution
11572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11575 \begin_layout Standard
11581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11584 \begin_layout Standard
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11593 \begin_layout Standard
11601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11604 \begin_layout Standard
11610 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11613 \begin_layout Standard
11619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11622 \begin_layout Standard
11628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11631 \begin_layout Standard
11638 <row bottomline="true">
11639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11642 \begin_layout Standard
11648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11651 \begin_layout Standard
11657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11660 \begin_layout Standard
11666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11669 \begin_layout Standard
11688 \begin_layout Standard
11689 Spaces to table rows can be added using the
11693 tab of the table dialog as described in section\InsetSpace ~
11695 \begin_inset LatexCommand ref
11696 reference "sub:Row-Spacing"
11703 \begin_layout Standard
11704 In contrary to normal tables, formal tables have no vertical table lines.
11705 The horizontal table lines can be set like for normal tables but they appear
11706 with different width in the output:
11708 The first and the last table line have
11709 a default width of 0.08\InsetSpace \thinspace{}
11710 em while the other lines have a default width of
11711 0.05\InsetSpace \thinspace{}
11715 \begin_layout Standard
11716 The default widths can be changed with the following preamble lines
11719 \begin_layout Standard
11739 \begin_layout Standard
11740 This example is for the first line, the so called toprule.
11741 If you want to change the width for the last line, replace
11750 To change the width for the other lines replace
11759 You can use all units listed in appendix\InsetSpace ~
11761 \begin_inset LatexCommand ref
11762 reference "cha:Units-available-in"
11769 \begin_layout Standard
11770 Lines that don't span over all table columns can be created by setting a
11771 table line for multicolumn cells.
11772 LyX will then internally use the command
11778 to create this line.
11782 \begin_layout Standard
11787 cmidrule[width](trim){startcol-endcol}
11790 \begin_layout Standard
11797 are are currently not supported by LyX so you have to use ERT to be able
11805 s can manually be created by inserting the command as ERT as first cell
11806 entry of the first cell of a row.
11807 The line is then drawn in the output above the current row.
11810 \begin_layout Standard
11811 The default for the width is 0.03\InsetSpace \thinspace{}
11813 Startcol is the number of the column where the line starts and endcol the
11814 column number where the line ends.
11815 The endcol always needs to be specified, also when the line should span
11817 The optional parameter trim could be either
11825 where the trimwidth is also optional.
11826 Using for example the parameter
11830 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11832 If you don't specify the trimwidth the lines are trimmed by the default
11833 of 0.5\InsetSpace \thinspace{}
11837 \begin_layout Standard
11838 \begin_inset VSpace bigskip
11843 \begin_inset LatexCommand ref
11844 reference "tab:Example-booktabs-table"
11848 was created using the commands
11851 \begin_layout Standard
11861 \begin_layout Standard
11862 at the beginning of the in the second row and
11865 \begin_layout Standard
11870 cmidrule(l{10pt}){1-1}
11873 \begin_layout Standard
11877 \begin_layout Standard
11881 \begin_layout Standard
11882 \begin_inset VSpace bigskip
11888 \begin_layout Standard
11889 You might want to have overlapping
11895 s like in Table\InsetSpace ~
11897 \begin_inset LatexCommand ref
11898 reference "tab:Special-booktabs-table"
11903 This can be achieved with the ERT command
11906 \begin_layout Standard
11914 \begin_layout Standard
11915 The command that was used for the second row of Table\InsetSpace ~
11917 \begin_inset LatexCommand ref
11918 reference "tab:Special-booktabs-table"
11925 \begin_layout Standard
11939 \begin_layout Standard
11940 The command for the sixth row is
11943 \begin_layout Standard
11955 \begin_layout Standard
11956 \begin_inset VSpace bigskip
11962 \begin_layout Standard
11963 If you are anyway not satisfied with the border line spacing, you can use
11964 the following command to produce lines that span over all table columns
11969 \begin_layout Standard
11974 specialrule{width}{space above}{space below}
11977 \begin_layout Standard
11978 For more informations about these specialties, we refer to the manual of
11984 \begin_inset LatexCommand cite
11990 \begin_inset LatexCommand index
11991 name "LaTeX-packages ! booktabs"
11998 \begin_layout Standard
11999 \begin_inset Float table
12005 \begin_layout Standard
12006 \begin_inset Caption
12008 \begin_layout Standard
12009 \begin_inset LatexCommand label
12010 name "tab:Special-booktabs-table"
12014 Special booktabs-table
12022 \begin_layout Standard
12024 \begin_inset Tabular
12025 <lyxtabular version="3" rows="8" columns="4">
12026 <features booktabs="true">
12027 <column alignment="center" valignment="top" width="0">
12028 <column alignment="center" valignment="top" width="0">
12029 <column alignment="center" valignment="top" width="0">
12030 <column alignment="center" valignment="top" width="0">
12031 <row topline="true">
12032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12035 \begin_layout Standard
12041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12044 \begin_layout Standard
12045 Medipix\InsetSpace \thinspace{}
12051 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12054 \begin_layout Standard
12055 Medipix\InsetSpace \thinspace{}
12061 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12064 \begin_layout Standard
12072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12075 \begin_layout Standard
12079 \begin_layout Standard
12092 \begin_layout Standard
12105 \begin_layout Standard
12118 \begin_layout Standard
12127 Detector thickness [µm]
12132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12135 \begin_layout Standard
12141 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12144 \begin_layout Standard
12150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12153 \begin_layout Standard
12160 <row topline="true">
12161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12164 \begin_layout Standard
12170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12173 \begin_layout Standard
12179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12182 \begin_layout Standard
12188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12191 \begin_layout Standard
12198 <row topspace="default">
12199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12202 \begin_layout Standard
12203 Spatial resolution [µm]
12208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12211 \begin_layout Standard
12217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12220 \begin_layout Standard
12226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12229 \begin_layout Standard
12236 <row topspace="default">
12237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12240 \begin_layout Standard
12242 \begin_inset Formula $f_{\mathrm{max}}$
12250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12253 \begin_layout Standard
12259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12262 \begin_layout Standard
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12271 \begin_layout Standard
12278 <row topline="true">
12279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12282 \begin_layout Standard
12286 \begin_layout Standard
12299 \begin_layout Standard
12308 LSF-spatial resolution
12313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12316 \begin_layout Standard
12322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12325 \begin_layout Standard
12331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12334 \begin_layout Standard
12342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12345 \begin_layout Standard
12351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12354 \begin_layout Standard
12360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12363 \begin_layout Standard
12369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12372 \begin_layout Standard
12379 <row bottomline="true">
12380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12383 \begin_layout Standard
12389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12392 \begin_layout Standard
12398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12401 \begin_layout Standard
12407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12410 \begin_layout Standard
12429 \begin_layout Section
12430 Vertical Table Alignment
12431 \begin_inset LatexCommand index
12432 name "Table ! Alignment"
12439 \begin_layout Standard
12440 To align tables vertically in a text line the table must be inside a box.
12441 The box can then be vertically aligned as described in section\InsetSpace ~
12443 \begin_inset LatexCommand ref
12444 reference "sec:Box-Dialog"
12451 \begin_layout Standard
12452 In the following example the tables are inside a minipage
12456 \begin_layout Standard
12457 Minipages are described in section\InsetSpace ~
12459 \begin_inset LatexCommand ref
12460 reference "sec:Minipages"
12469 box that has a width of 15\InsetSpace \thinspace{}
12473 \begin_layout Itemize
12475 \begin_inset Box Frameless
12484 height_special "totalheight"
12487 \begin_layout Standard
12488 \begin_inset Tabular
12489 <lyxtabular version="3" rows="3" columns="3">
12491 <column alignment="center" valignment="top" leftline="true" width="0">
12492 <column alignment="center" valignment="top" leftline="true" width="0">
12493 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12494 <row topline="true">
12495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12498 \begin_layout Standard
12504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12507 \begin_layout Standard
12513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12516 \begin_layout Standard
12523 <row topline="true">
12524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12527 \begin_layout Standard
12533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12536 \begin_layout Standard
12542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12545 \begin_layout Standard
12552 <row topline="true" bottomline="true">
12553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12556 \begin_layout Standard
12562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12565 \begin_layout Standard
12571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12574 \begin_layout Standard
12594 \begin_layout Standard
12606 \begin_inset Box Frameless
12615 height_special "totalheight"
12618 \begin_layout Standard
12619 \begin_inset Tabular
12620 <lyxtabular version="3" rows="3" columns="3">
12622 <column alignment="center" valignment="top" leftline="true" width="0">
12623 <column alignment="center" valignment="top" leftline="true" width="0">
12624 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12625 <row topline="true">
12626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12629 \begin_layout Standard
12635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12638 \begin_layout Standard
12644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12647 \begin_layout Standard
12654 <row topline="true">
12655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12658 \begin_layout Standard
12664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12667 \begin_layout Standard
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12676 \begin_layout Standard
12683 <row topline="true" bottomline="true">
12684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12687 \begin_layout Standard
12693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12696 \begin_layout Standard
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12705 \begin_layout Standard
12725 \begin_layout Standard
12735 \begin_layout Itemize
12737 \begin_inset Box Frameless
12746 height_special "totalheight"
12749 \begin_layout Standard
12750 \begin_inset Tabular
12751 <lyxtabular version="3" rows="3" columns="3">
12753 <column alignment="center" valignment="top" leftline="true" width="0">
12754 <column alignment="center" valignment="top" leftline="true" width="0">
12755 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12756 <row topline="true">
12757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12760 \begin_layout Standard
12766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12769 \begin_layout Standard
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12778 \begin_layout Standard
12785 <row topline="true">
12786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12789 \begin_layout Standard
12795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12798 \begin_layout Standard
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12807 \begin_layout Standard
12814 <row topline="true" bottomline="true">
12815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12818 \begin_layout Standard
12824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12827 \begin_layout Standard
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12836 \begin_layout Standard
12855 \begin_layout Itemize
12857 \begin_inset Box Frameless
12866 height_special "totalheight"
12869 \begin_layout Standard
12870 \begin_inset Tabular
12871 <lyxtabular version="3" rows="3" columns="3">
12873 <column alignment="center" valignment="top" leftline="true" width="0">
12874 <column alignment="center" valignment="top" leftline="true" width="0">
12875 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12876 <row topline="true">
12877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12880 \begin_layout Standard
12886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12889 \begin_layout Standard
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12898 \begin_layout Standard
12905 <row topline="true">
12906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12909 \begin_layout Standard
12915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12918 \begin_layout Standard
12924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12927 \begin_layout Standard
12934 <row topline="true" bottomline="true">
12935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12938 \begin_layout Standard
12944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12947 \begin_layout Standard
12953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12956 \begin_layout Standard
12976 \begin_layout Standard
12988 \begin_inset Box Frameless
12997 height_special "totalheight"
13000 \begin_layout Standard
13001 \begin_inset Tabular
13002 <lyxtabular version="3" rows="3" columns="3">
13004 <column alignment="center" valignment="top" leftline="true" width="0">
13005 <column alignment="center" valignment="top" leftline="true" width="0">
13006 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13007 <row topline="true">
13008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13011 \begin_layout Standard
13017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13020 \begin_layout Standard
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13029 \begin_layout Standard
13036 <row topline="true">
13037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13040 \begin_layout Standard
13046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13049 \begin_layout Standard
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13058 \begin_layout Standard
13065 <row topline="true" bottomline="true">
13066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13069 \begin_layout Standard
13075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13078 \begin_layout Standard
13084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13087 \begin_layout Standard
13107 \begin_layout Standard
13117 \begin_layout Standard
13118 As you can see, the content of the first and last table row is not correctly
13119 aligned with the text line where the table is in.
13120 To get this alignment, the minipage box must be set into a raisebox
13124 \begin_layout Standard
13125 Raiseboxes are described in section\InsetSpace ~
13127 \begin_inset LatexCommand ref
13128 reference "sub:Vertical-Alignment"
13138 In the example above the second table in the first item is aligned using
13142 \begin_layout Standard
13152 \begin_layout Standard
13154 Behind the box the closing brace
13158 is inserted as ERT.
13159 For the second table in the last item the command
13162 \begin_layout Standard
13172 \begin_layout Standard
13176 \begin_layout Standard
13177 \begin_inset Note Greyedout
13180 \begin_layout Standard
13185 The alignment of the table row content to the surrounding text line is not
13187 The needed factor of the
13193 command for this alignment depends on the document font, the font size,
13194 and the table line thickness.
13202 \begin_layout Section
13204 \begin_inset LatexCommand label
13205 name "sec:Colored-Tables"
13210 \begin_inset LatexCommand index
13211 name "Table ! Color"
13218 \begin_layout Subsection
13220 \begin_inset LatexCommand index
13221 name "Table Color ! for Cells"
13226 \begin_inset LatexCommand index
13227 name "Color ! for Table Cells"
13234 \begin_layout Standard
13235 \begin_inset Float table
13241 \begin_layout Standard
13242 \begin_inset Caption
13244 \begin_layout Standard
13245 \begin_inset LatexCommand label
13246 name "tab:Table-colored-without"
13250 Table colored without using the package
13255 \begin_inset OptArg
13258 \begin_layout Standard
13259 Table without colortbl
13272 \begin_layout Standard
13274 \begin_inset Tabular
13275 <lyxtabular version="3" rows="3" columns="3">
13277 <column alignment="center" valignment="top" leftline="true" width="0">
13278 <column alignment="center" valignment="top" leftline="true" width="0">
13279 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13280 <row topline="true">
13281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13284 \begin_layout Standard
13292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13295 \begin_layout Standard
13303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13306 \begin_layout Standard
13315 <row topline="true">
13316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13319 \begin_layout Standard
13327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13330 \begin_layout Standard
13338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13341 \begin_layout Standard
13350 <row topline="true" bottomline="true">
13351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13354 \begin_layout Standard
13362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13365 \begin_layout Standard
13373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13376 \begin_layout Standard
13397 \begin_layout Standard
13398 If you only need colored text, mark the cells and choose a color in the
13401 Edit\SpecialChar \menuseparator
13406 This was used to create Table\InsetSpace ~
13408 \begin_inset LatexCommand ref
13409 reference "tab:Table-colored-without"
13414 In any other case you have to use the LaTeX-package
13419 \begin_inset LatexCommand index
13420 name "LaTeX-packages ! colortbl"
13427 \begin_layout Standard
13428 To create colored tables,
13432 must be loaded in the preamble with the line
13435 \begin_layout Standard
13440 usepackage{colortbl}
13443 \begin_layout Standard
13444 The color of a column is adjusted with the command
13447 \begin_layout Standard
13452 columncolor{name of color}
13455 \begin_layout Standard
13461 More about the command
13465 is described in section\InsetSpace ~
13467 \begin_inset LatexCommand ref
13468 reference "sub:Multicolumn-Calculations"
13475 \begin_layout Standard
13476 The following color names are predefined:
13479 \begin_layout Standard
13513 \begin_layout Standard
13514 \begin_inset VSpace medskip
13520 \begin_layout Standard
13521 You can also define your own color with the command
13524 \begin_layout Standard
13529 def\SpecialChar \textcompwordmark{}
13530 inecolor{color name}{color model}{color values}
13533 \begin_layout Standard
13534 The color model can be
13537 \begin_layout Labeling
13538 \labelwidthstring 00.00.0000
13539 cmyk: cyan, magenta, yellow, black
13542 \begin_layout Labeling
13543 \labelwidthstring 00.00.0000
13544 rgb: red, green blue
13547 \begin_layout Labeling
13548 \labelwidthstring 00.00.0000
13552 \begin_layout Standard
13553 and the color values are comma separated numbers between 0 and 1 describing
13554 the factor for the corresponding color of the color model.
13557 \begin_layout Standard
13558 You can e.\InsetSpace \thinspace{}
13564 " in the preamble with
13567 \begin_layout Standard
13572 def\SpecialChar \textcompwordmark{}
13573 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13576 \begin_layout Standard
13584 \begin_layout Standard
13589 def\SpecialChar \textcompwordmark{}
13590 inecolor{lightgray}{gray}{0.8}
13593 \begin_layout Standard
13594 \begin_inset VSpace medskip
13600 \begin_layout Standard
13601 Lines are colored with the command
13604 \begin_layout Standard
13609 rowcolor{name of color}
13612 \begin_layout Standard
13613 and cells are colored with the command
13616 \begin_layout Standard
13621 cellcolor{name of color}
13624 \begin_layout Standard
13625 Both commands are inserted at the beginning of a cell as ERT.
13628 \begin_layout Standard
13629 To color characters in the table, mark the cells and use the LyX menu
13631 Edit\SpecialChar \menuseparator
13636 If a cell contains ERT mark only the characters, otherwise the colored
13637 ERT will cause LaTeX-errors.
13640 \begin_layout Standard
13641 \begin_inset VSpace bigskip
13647 \begin_layout Standard
13648 To create Table\InsetSpace ~
13650 \begin_inset LatexCommand ref
13651 reference "tab:Table-colored-using"
13655 do the following: The color of the first column should be
13663 \begin_layout Standard
13668 columncolor{darkgreen}
13673 \begin_layout Standard
13674 as LaTeX-argument for this column.
13675 The first row should be blue, therefore the ERT command
13678 \begin_layout Standard
13686 \begin_layout Standard
13687 is inserted to the first cell of this row.
13688 Note that this overwrites the column color for the first cell.
13689 The last cell of the last row is colored magenta by inserting the ERT command
13692 \begin_layout Standard
13700 \begin_layout Standard
13701 The characters could now be colored using the menu
13703 Edit\SpecialChar \menuseparator
13710 \begin_layout Standard
13711 \begin_inset Float table
13717 \begin_layout Standard
13718 \begin_inset Caption
13720 \begin_layout Standard
13721 \begin_inset LatexCommand label
13722 name "tab:Table-colored-using"
13726 Table colored using the package
13731 \begin_inset OptArg
13734 \begin_layout Standard
13735 Table with colortbl
13748 \begin_layout Standard
13750 \begin_inset Tabular
13751 <lyxtabular version="3" rows="3" columns="3">
13753 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13754 <column alignment="center" valignment="top" width="0">
13755 <column alignment="center" valignment="top" width="0">
13757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13760 \begin_layout Standard
13764 \begin_layout Standard
13780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13783 \begin_layout Standard
13791 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13794 \begin_layout Standard
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13807 \begin_layout Standard
13815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13818 \begin_layout Standard
13826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13829 \begin_layout Standard
13839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13842 \begin_layout Standard
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13853 \begin_layout Standard
13861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13864 \begin_layout Standard
13868 \begin_layout Standard
13897 \begin_layout Subsection
13899 \begin_inset LatexCommand index
13900 name "Table Color ! for Lines"
13905 \begin_inset LatexCommand index
13906 name "Color ! for Table Lines"
13913 \begin_layout Standard
13914 As described in section\InsetSpace ~
13916 \begin_inset LatexCommand ref
13917 reference "sub:Line-Thickness"
13921 , the line thickness for all lines in a table can be adjusted with the length
13929 It is set to 1.5\InsetSpace \thinspace{}
13930 pt for all tables of this section.
13934 \begin_layout Standard
13940 arrayrulewidth}{1.5pt}
13948 \begin_layout Standard
13949 To color vertical lines for example with green, create the following column
13950 format in the document preamble, according to the description in section\InsetSpace ~
13952 \begin_inset LatexCommand ref
13953 reference "sub:Customized-Format"
13960 \begin_layout Standard
13965 newcolumntype{W}{!{
13972 \begin_layout Standard
13973 For Table\InsetSpace ~
13975 \begin_inset LatexCommand ref
13976 reference "tab:Table-with-vertical-colored"
13983 \begin_layout Standard
13989 \begin_layout Standard
13990 was used for the last column and
13993 \begin_layout Standard
13999 \begin_layout Standard
14000 for the other columns.
14003 \begin_layout Standard
14004 If you want to have several colors, define more column formats.
14007 \begin_layout Standard
14008 \begin_inset Float table
14013 \begin_layout Standard
14014 \begin_inset Caption
14016 \begin_layout Standard
14017 \begin_inset LatexCommand label
14018 name "tab:Table-with-vertical-colored"
14022 Table with colored vertical lines
14030 \begin_layout Standard
14032 \begin_inset Tabular
14033 <lyxtabular version="3" rows="3" columns="3">
14035 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14036 <column alignment="center" valignment="top" width="0" special="Wc">
14037 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14038 <row topline="true">
14039 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14042 \begin_layout Standard
14048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14051 \begin_layout Standard
14057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14060 \begin_layout Standard
14067 <row topline="true">
14068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14071 \begin_layout Standard
14077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14080 \begin_layout Standard
14086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14089 \begin_layout Standard
14096 <row topline="true" bottomline="true">
14097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14100 \begin_layout Standard
14106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14109 \begin_layout Standard
14115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14118 \begin_layout Standard
14137 \begin_layout Standard
14138 \begin_inset VSpace bigskip
14141 To color horizontal lines for example with red, like in Table\InsetSpace ~
14143 \begin_inset LatexCommand ref
14144 reference "tab:Table-with-horizontal-colored"
14148 , insert these commands in ERT before the table or table float:
14151 \begin_layout Standard
14168 arrayrulecolor{red}
14172 arrayrulecolor{black}}
14175 \begin_layout Standard
14179 \begin_layout Standard
14190 \begin_layout Standard
14198 arrayrulecolor{red}
14202 arrayrulecolor{black}}
14208 \begin_inset Float table
14213 \begin_layout Standard
14214 \begin_inset Caption
14216 \begin_layout Standard
14217 \begin_inset LatexCommand label
14218 name "tab:Table-with-horizontal-colored"
14222 Table with colored horizontal lines
14230 \begin_layout Standard
14232 \begin_inset Tabular
14233 <lyxtabular version="3" rows="3" columns="3">
14235 <column alignment="center" valignment="top" leftline="true" width="0">
14236 <column alignment="center" valignment="top" leftline="true" width="0">
14237 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14238 <row topline="true">
14239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14242 \begin_layout Standard
14248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14251 \begin_layout Standard
14257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14260 \begin_layout Standard
14267 <row topline="true">
14268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14271 \begin_layout Standard
14277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14280 \begin_layout Standard
14286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14289 \begin_layout Standard
14296 <row topline="true" bottomline="true">
14297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14300 \begin_layout Standard
14306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14309 \begin_layout Standard
14315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14318 \begin_layout Standard
14337 \begin_layout Standard
14341 \begin_layout Standard
14353 \begin_layout Standard
14354 To return to the default line color black, insert this command in ERT behind
14355 the table or table float:
14358 \begin_layout Standard
14370 \begin_layout Standard
14373 \begin_inset LatexCommand ref
14374 reference "tab:Table-with-colored"
14378 is an example with colored vertical and horizontal lines.
14381 \begin_layout Standard
14382 \begin_inset Float table
14387 \begin_layout Standard
14388 \begin_inset Caption
14390 \begin_layout Standard
14391 \begin_inset LatexCommand label
14392 name "tab:Table-with-colored"
14396 Table with colored lines
14404 \begin_layout Standard
14406 \begin_inset Tabular
14407 <lyxtabular version="3" rows="3" columns="3">
14409 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14410 <column alignment="center" valignment="top" width="0" special="Wc">
14411 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14412 <row topline="true">
14413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14416 \begin_layout Standard
14422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14425 \begin_layout Standard
14431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14434 \begin_layout Standard
14441 <row topline="true">
14442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14445 \begin_layout Standard
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14454 \begin_layout Standard
14460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14463 \begin_layout Standard
14470 <row topline="true" bottomline="true" topspace="default">
14471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14474 \begin_layout Standard
14480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14483 \begin_layout Standard
14489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14492 \begin_layout Standard
14511 \begin_layout Standard
14515 \begin_layout Standard
14531 \begin_layout Standard
14535 \begin_layout Standard
14541 arrayrulewidth}{0.4pt}
14549 \begin_layout Section
14550 Table Customization
14551 \begin_inset LatexCommand index
14552 name "Table Customization"
14557 \begin_inset LatexCommand index
14558 name "Table ! Customization"
14565 \begin_layout Subsection
14567 \begin_inset LatexCommand label
14568 name "sub:Row-Spacing"
14573 \begin_inset LatexCommand index
14574 name "Table Customization ! Row Spacing"
14581 \begin_layout Standard
14582 You can add vertical space to table rows in the
14586 tab of the table dialog.
14587 You find there three possibilities:
14590 \begin_layout Description
14593 row will add space above the characters of the table row.
14594 If the table is a formal table
14598 \begin_layout Standard
14599 Formal tables are explained in section\InsetSpace ~
14601 \begin_inset LatexCommand ref
14602 reference "sec:Formal-Tables"
14611 LyX will insert as default 0.5\InsetSpace \thinspace{}
14613 For normal tables the inserted space will unfortunately destroy the vertical
14614 table lines as in the following table:
14615 \begin_inset Tabular
14616 <lyxtabular version="3" rows="3" columns="1">
14618 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14619 <row topline="true">
14620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14623 \begin_layout Standard
14630 <row topline="true" topspace="3mm">
14631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14634 \begin_layout Standard
14635 3\InsetSpace \thinspace{}
14636 mm space top of row
14642 <row topline="true" bottomline="true">
14643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14646 \begin_layout Standard
14659 So inserting space to the top of row for normal tables is only useful when
14660 you don't have vertical lines.
14663 \begin_layout Description
14664 Bottom\InsetSpace ~
14666 row will add space below the characters of the table row.
14667 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14669 normal tables the default size is 2\InsetSpace \thinspace{}
14673 \begin_layout Description
14674 Between\InsetSpace ~
14675 rows only has an effect when you have selected the whole table row
14677 The space is added between the current and the following row.
14678 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14680 For normal tables the inserted space will unfortunately destroy the vertical
14681 table lines as in the following table:
14682 \begin_inset Tabular
14683 <lyxtabular version="3" rows="3" columns="1">
14685 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14686 <row topline="true">
14687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14690 \begin_layout Standard
14697 <row topline="true" interlinespace="3mm">
14698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14701 \begin_layout Standard
14702 \begin_inset Formula $\downarrow$
14705 3\InsetSpace \thinspace{}
14706 mm space between row
14707 \begin_inset Formula $\downarrow$
14716 <row topline="true" bottomline="true">
14717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14720 \begin_layout Standard
14721 \begin_inset Formula $\uparrow$
14724 3\InsetSpace \thinspace{}
14725 mm space between row
14726 \begin_inset Formula $\uparrow$
14741 So inserting space to the top of row for normal tables is only useful when
14742 you don't have vertical lines.
14745 \begin_layout Standard
14746 When you want to add extra height to all cells of all tables, you can do
14747 this with the following preamble line:
14750 \begin_layout Standard
14757 extrarowheight}{height}
14760 \begin_layout Standard
14761 But this has the disadvantage that the cell texts are no longer exactly
14762 vertically centered.
14765 \begin_layout Subsection
14766 Special Cell Alignment
14767 \begin_inset LatexCommand index
14768 name "Table Customization ! Special Cell Alignment"
14775 \begin_layout Standard
14776 Sometimes it looks better when the cell entries of a column are aligned
14777 with a special character, e.\InsetSpace \thinspace{}
14779 with the decimal separator as in Table\InsetSpace ~
14781 \begin_inset LatexCommand ref
14782 reference "tab:Table-cells-of"
14789 \begin_layout Standard
14790 \begin_inset Float table
14796 \begin_layout Standard
14797 \begin_inset Caption
14799 \begin_layout Standard
14800 \begin_inset LatexCommand label
14801 name "tab:Table-cells-of"
14805 Table cells of a column aligned with the decimal separator.
14813 \begin_layout Standard
14815 \begin_inset Tabular
14816 <lyxtabular version="3" rows="4" columns="2">
14818 <column alignment="right" valignment="top" width="0">
14819 <column alignment="left" valignment="top" width="0" special="@{}l">
14820 <row bottomline="true">
14821 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14824 \begin_layout Standard
14830 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14833 \begin_layout Standard
14841 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14844 \begin_layout Standard
14850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14853 \begin_layout Standard
14861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14864 \begin_layout Standard
14870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14873 \begin_layout Standard
14881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14884 \begin_layout Standard
14890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14893 \begin_layout Standard
14912 \begin_layout Standard
14913 This table was created with a 4×2 table.
14914 The heading is a centered multicolumn.
14915 The first column is right-aligned and contains the digits before the decimal
14916 point and the decimal point.
14917 The second column is left aligned and contains the digits after the decimal
14919 To omit the space that is normally between two table columns, use the following
14920 LaTeX-argument for the second column:
14923 \begin_layout Standard
14929 \begin_layout Standard
14930 If you need a vertical line right beside the second column, use this LaTeX-argum
14936 \begin_layout Standard
14939 \begin_inset LatexCommand ref
14940 reference "tab:Several-table-cell"
14944 shows some example alignments.
14945 For the alignment with the relation sign, you must add the second smallest
14946 math-space at the beginning of the last column to get the correct space
14947 surrounding the relation sign.
14950 \begin_layout Standard
14951 \begin_inset Float table
14956 \begin_layout Standard
14957 \begin_inset Caption
14959 \begin_layout Standard
14960 \begin_inset LatexCommand label
14961 name "tab:Several-table-cell"
14965 Several table cell alignments.
14973 \begin_layout Standard
14975 \begin_inset Tabular
14976 <lyxtabular version="3" rows="4" columns="6">
14978 <column alignment="right" valignment="top" width="0">
14979 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14980 <column alignment="right" valignment="top" width="0">
14981 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14982 <column alignment="right" valignment="top" width="0">
14983 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
14984 <row bottomline="true">
14985 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14988 \begin_layout Standard
14994 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14997 \begin_layout Standard
15003 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15006 \begin_layout Standard
15012 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15015 \begin_layout Standard
15021 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15024 \begin_layout Standard
15030 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15033 \begin_layout Standard
15041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15044 \begin_layout Standard
15050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15053 \begin_layout Standard
15054 24\InsetSpace \thinspace{}
15060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15063 \begin_layout Standard
15064 \begin_inset Formula $10\cdot$
15072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15075 \begin_layout Standard
15076 \begin_inset Formula $10^{\mbox{-}17}$
15084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15087 \begin_layout Standard
15088 \begin_inset Formula $\Gamma(t)\propto$
15096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15099 \begin_layout Standard
15100 \begin_inset Formula $\:\Upsilon(t)$
15110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15113 \begin_layout Standard
15119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15122 \begin_layout Standard
15123 768\InsetSpace \thinspace{}
15129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15132 \begin_layout Standard
15133 \begin_inset Formula $5.78\cdot$
15141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15144 \begin_layout Standard
15145 \begin_inset Formula $10^{7}$
15153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15156 \begin_layout Standard
15157 \begin_inset Formula $A\ne$
15165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15168 \begin_layout Standard
15169 \begin_inset Formula $\: B_{\mathrm{red}}$
15179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15182 \begin_layout Standard
15188 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15191 \begin_layout Standard
15192 6\InsetSpace \thinspace{}
15198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15201 \begin_layout Standard
15203 \begin_inset Formula $33.5\cdot$
15211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15214 \begin_layout Standard
15215 \begin_inset Formula $10^{4}$
15223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15226 \begin_layout Standard
15227 \begin_inset Formula $\sin(\alpha)\ge$
15235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15238 \begin_layout Standard
15239 \begin_inset Formula $\:\sin(\beta)$
15260 \begin_layout Standard
15261 \begin_inset VSpace bigskip
15264 There is also the LaTeX-package
15269 \begin_inset LatexCommand index
15270 name "LaTeX-packages ! dcolumn"
15274 that provides table cell alignments.
15275 But this unfortunately treats the cell entries as math and doesn't allow
15276 formulas in table cells: The first column of Table\InsetSpace ~
15278 \begin_inset LatexCommand ref
15279 reference "tab:Several-table-cell"
15287 like the first column in Table\InsetSpace ~
15289 \begin_inset LatexCommand ref
15290 reference "tab:Alignments-when"
15294 and only with some tricks like the expected.
15295 The alignment of the second and third column of Table\InsetSpace ~
15297 \begin_inset LatexCommand ref
15298 reference "tab:Several-table-cell"
15302 is not possible with
15309 \begin_layout Standard
15310 \begin_inset Float table
15316 \begin_layout Standard
15317 \begin_inset Caption
15319 \begin_layout Standard
15320 \begin_inset LatexCommand label
15321 name "tab:Alignments-when"
15325 Alignments when LaTeX-package dcolumn is used.
15326 For the second and third alignment some tricks were used.
15334 \begin_layout Standard
15336 \begin_inset Tabular
15337 <lyxtabular version="3" rows="4" columns="3">
15339 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15340 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15341 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15342 <row bottomline="true">
15343 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15346 \begin_layout Standard
15352 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15355 \begin_layout Standard
15361 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15364 \begin_layout Standard
15372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15375 \begin_layout Standard
15376 12×24\InsetSpace \thinspace{}
15382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15385 \begin_layout Standard
15386 12×24\InsetSpace \thinspace{}
15388 \begin_inset Formula $\mbox{bottles}$
15396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15399 \begin_layout Standard
15401 \begin_inset Formula $\mbox{bottles}$
15411 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15414 \begin_layout Standard
15415 1024×768\InsetSpace \thinspace{}
15421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15424 \begin_layout Standard
15425 1024×768\InsetSpace \thinspace{}
15427 \begin_inset Formula $\mbox{Pixels}$
15435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15438 \begin_layout Standard
15440 \begin_inset Formula $\mbox{Pixels}$
15450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15453 \begin_layout Standard
15454 32×6\InsetSpace \thinspace{}
15460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15463 \begin_layout Standard
15464 32×6\InsetSpace \thinspace{}
15466 \begin_inset Formula $\mbox{cm}$
15474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15477 \begin_layout Standard
15479 \begin_inset Formula $\mbox{cm}$
15500 \begin_layout Subsection
15501 Customized Cell/Column Format
15502 \begin_inset LatexCommand label
15503 name "sub:Customized-Format"
15508 \begin_inset LatexCommand index
15509 name "Table Customization ! Cell/Column Format"
15516 \begin_layout Standard
15517 Calculating the needed width for spanned columns like in section\InsetSpace ~
15519 \begin_inset LatexCommand ref
15520 reference "sub:Multicolumn-Calculations"
15524 is very annoying if you have several tables with multicolumn cells.
15525 To make life easier, you can define a cell/column format in the preamble,
15526 so that it can be used in all tables of the document.
15527 The format is defined with the command
15530 \begin_layout Standard
15535 newcolumntype{name of format}[number of arguments]{commands}
15538 \begin_layout Standard
15539 The format name may only consist of one letter.
15564 are predefined and cannot be used.
15565 But all letters are allowed as capitals.
15568 \begin_layout Standard
15569 \begin_inset VSpace medskip
15575 \begin_layout Standard
15576 For vertically and horizontally centered multicolumn cells with a fixed
15577 width you can define the cell format
15580 \begin_layout Standard
15585 newcolumntype{M}[1]{>{
15592 \begin_layout Standard
15599 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15601 \begin_inset LatexCommand ref
15602 reference "sub:Multiple-Lines-in"
15607 Now you can simply enter
15610 \begin_layout Standard
15616 \begin_layout Standard
15617 as LaTeX-argument in the table dialog to create a multicolumn.
15620 \begin_layout Standard
15621 \begin_inset VSpace bigskip
15627 \begin_layout Standard
15628 For cells spanned by a multicolumn cell, you can define the format
15631 \begin_layout Standard
15636 newcolumntype{S}[2]{>{
15646 \begin_layout Standard
15657 newcolumntype{S}[2]
15661 \begin_layout Standard
15672 arrayrulewidth)*(1-#2))/#2}}
15675 \begin_layout Standard
15676 This format uses equation
15677 \begin_inset LatexCommand eqref
15682 to calculate the needed width so that each spanned cell has the same width.
15685 \begin_layout Standard
15689 \begin_layout Standard
15692 |S{width of multicolumn cell}{number of spanned columns}
15695 \begin_layout Standard
15696 as LaTeX-argument of the column.
15699 \begin_layout Standard
15700 \begin_inset VSpace bigskip
15706 \begin_layout Standard
15707 For colored columns, you can define
15710 \begin_layout Standard
15715 newcolumntype{K}[1]{>{
15722 \begin_layout Standard
15724 \begin_inset Quotes eld
15728 \begin_inset Quotes erd
15731 at the end creates a column with a flexible width whose text is horizontally
15736 \begin_layout Standard
15742 \begin_layout Standard
15746 \begin_layout Standard
15747 \begin_inset VSpace bigskip
15753 \begin_layout Standard
15754 To create Table\InsetSpace ~
15756 \begin_inset LatexCommand ref
15757 reference "tab:Table-using-user-defined"
15761 use the LaTeX-arguments
15764 \begin_layout Standard
15770 \begin_layout Standard
15771 for the first column and the multicolumn,
15774 \begin_layout Standard
15780 \begin_layout Standard
15781 for the the last column, and
15784 \begin_layout Standard
15790 \begin_layout Standard
15791 for the cells in the second column.
15794 \begin_layout Standard
15795 \begin_inset Float table
15801 \begin_layout Standard
15802 \begin_inset Caption
15804 \begin_layout Standard
15805 \begin_inset LatexCommand label
15806 name "tab:Table-using-user-defined"
15810 Table using user-defined table formats
15818 \begin_layout Standard
15820 \begin_inset Tabular
15821 <lyxtabular version="3" rows="3" columns="4">
15823 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15824 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15825 <column alignment="center" valignment="middle" leftline="true" width="0">
15826 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15827 <row topline="true">
15828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15831 \begin_layout Standard
15832 verylongtablecellword
15837 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15840 \begin_layout Standard
15841 multiple lines multicolumn
15846 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15849 \begin_layout Standard
15855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15858 \begin_layout Standard
15865 <row topline="true">
15866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15869 \begin_layout Standard
15875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15878 \begin_layout Standard
15884 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15887 \begin_layout Standard
15893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15896 \begin_layout Standard
15903 <row topline="true" bottomline="true">
15904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15907 \begin_layout Standard
15913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15916 \begin_layout Standard
15922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15925 \begin_layout Standard
15931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15934 \begin_layout Standard
15953 \begin_layout Subsection
15955 \begin_inset LatexCommand label
15956 name "sub:Line-Thickness"
15961 \begin_inset LatexCommand index
15962 name "Table Customization ! Line Thickness"
15969 \begin_layout Standard
15970 The line thickness for all lines in a table can be adjusted with the length
15978 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15979 pt, like in Table\InsetSpace ~
15981 \begin_inset LatexCommand ref
15982 reference "tab:Table-with-1.5"
15986 , insert the command
15989 \begin_layout Standard
15996 arrayrulewidth}{1.5pt}
15999 \begin_layout Standard
16000 in ERT before the table or table float.
16001 The changed thickness is valid for all following tables.
16002 To use the default value again, set
16008 to 0.4\InsetSpace \thinspace{}
16009 pt in ERT behind the table or table float.
16012 \begin_layout Standard
16016 \begin_layout Standard
16022 arrayrulewidth}{1.5pt}
16028 \begin_inset Float table
16033 \begin_layout Standard
16034 \begin_inset Caption
16036 \begin_layout Standard
16037 \begin_inset LatexCommand label
16038 name "tab:Table-with-1.5"
16042 Table with 1.5\InsetSpace \thinspace{}
16051 \begin_layout Standard
16053 \begin_inset Tabular
16054 <lyxtabular version="3" rows="3" columns="3">
16056 <column alignment="center" valignment="top" leftline="true" width="0">
16057 <column alignment="center" valignment="top" leftline="true" width="0">
16058 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16059 <row topline="true">
16060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16063 \begin_layout Standard
16069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16072 \begin_layout Standard
16078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16081 \begin_layout Standard
16088 <row topline="true">
16089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16092 \begin_layout Standard
16098 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16101 \begin_layout Standard
16107 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16110 \begin_layout Standard
16117 <row topline="true" bottomline="true">
16118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16121 \begin_layout Standard
16127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16130 \begin_layout Standard
16136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16139 \begin_layout Standard
16159 \begin_layout Standard
16165 arrayrulewidth}{0.4pt}
16173 \begin_layout Standard
16174 \begin_inset VSpace bigskip
16177 To set the line thickness to 1.5\InsetSpace \thinspace{}
16178 pt only for horizontal lines, like in Table\InsetSpace ~
16180 \begin_inset LatexCommand ref
16181 reference "tab:Table-with-horizontal"
16185 , insert these commands in ERT before the table or table float:
16188 \begin_layout Standard
16211 arrayrulewidth 1.5pt}
16221 arrayrulewidth 0.4pt}}
16224 \begin_layout Standard
16225 To return to the default line thickness, insert this command in ERT behind
16226 the table or table float:
16229 \begin_layout Standard
16241 \begin_layout Standard
16245 \begin_layout Standard
16256 \begin_layout Standard
16265 \begin_layout Standard
16273 arrayrulewidth 1.5pt}
16276 \begin_layout Standard
16286 arrayrulewidth 0.4pt}}
16292 \begin_inset Float table
16297 \begin_layout Standard
16298 \begin_inset Caption
16300 \begin_layout Standard
16301 \begin_inset LatexCommand label
16302 name "tab:Table-with-horizontal"
16306 Table with 1.5\InsetSpace \thinspace{}
16307 pt thick horizontal lines
16315 \begin_layout Standard
16317 \begin_inset Tabular
16318 <lyxtabular version="3" rows="3" columns="3">
16320 <column alignment="center" valignment="top" leftline="true" width="0">
16321 <column alignment="center" valignment="top" leftline="true" width="0">
16322 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16323 <row topline="true">
16324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16327 \begin_layout Standard
16333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16336 \begin_layout Standard
16342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16345 \begin_layout Standard
16352 <row topline="true">
16353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16356 \begin_layout Standard
16362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16365 \begin_layout Standard
16371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16374 \begin_layout Standard
16381 <row topline="true" bottomline="true">
16382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16385 \begin_layout Standard
16391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16394 \begin_layout Standard
16400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16403 \begin_layout Standard
16423 \begin_layout Standard
16439 \begin_layout Standard
16440 \begin_inset VSpace bigskip
16443 To set the line thickness to 1.5\InsetSpace \thinspace{}
16444 pt only for vertical lines, create the following
16445 column format in the document preamble, according to the description in
16446 section\InsetSpace ~
16448 \begin_inset LatexCommand ref
16449 reference "sub:Customized-Format"
16456 \begin_layout Standard
16461 newcolumntype{V}{!{
16463 vrule width 1.5pt}}
16466 \begin_layout Standard
16467 For Table\InsetSpace ~
16469 \begin_inset LatexCommand ref
16470 reference "tab:Table-with-vertical"
16477 \begin_layout Standard
16483 \begin_layout Standard
16484 was used for the last column and
16487 \begin_layout Standard
16493 \begin_layout Standard
16494 for the other columns.
16497 \begin_layout Standard
16498 \begin_inset Float table
16503 \begin_layout Standard
16504 \begin_inset Caption
16506 \begin_layout Standard
16507 \begin_inset LatexCommand label
16508 name "tab:Table-with-vertical"
16512 Table with 1.5\InsetSpace \thinspace{}
16513 pt thick vertical lines
16521 \begin_layout Standard
16523 \begin_inset Tabular
16524 <lyxtabular version="3" rows="3" columns="3">
16526 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16527 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16528 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16529 <row topline="true">
16530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16533 \begin_layout Standard
16539 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16542 \begin_layout Standard
16548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16551 \begin_layout Standard
16558 <row topline="true">
16559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16562 \begin_layout Standard
16568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16571 \begin_layout Standard
16577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16580 \begin_layout Standard
16587 <row topline="true" bottomline="true">
16588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16591 \begin_layout Standard
16597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16600 \begin_layout Standard
16606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16609 \begin_layout Standard
16628 \begin_layout Subsection
16630 \begin_inset LatexCommand index
16631 name "Table Customization ! Dashed Lines"
16638 \begin_layout Standard
16642 \begin_layout Standard
16652 \begin_inset Note Note
16655 \begin_layout Standard
16656 The following section will only be displayed when you have the LaTeX-package
16669 \begin_layout Standard
16670 \begin_inset Float table
16676 \begin_layout Standard
16677 \begin_inset Caption
16679 \begin_layout Standard
16680 \begin_inset LatexCommand label
16681 name "tab:Table-with-dashed"
16685 Table with dashed lines
16693 \begin_layout Standard
16695 \begin_inset Tabular
16696 <lyxtabular version="3" rows="5" columns="5">
16698 <column alignment="center" valignment="top" leftline="true" width="0">
16699 <column alignment="center" valignment="top" leftline="true" width="0">
16700 <column alignment="center" valignment="top" width="0" special=":c">
16701 <column alignment="center" valignment="top" leftline="true" width="0">
16702 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16703 <row topline="true" bottomline="true">
16704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16707 \begin_layout Standard
16713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16716 \begin_layout Standard
16722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16725 \begin_layout Standard
16731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16734 \begin_layout Standard
16740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16743 \begin_layout Standard
16750 <row topline="true">
16751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16754 \begin_layout Standard
16760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16763 \begin_layout Standard
16769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16772 \begin_layout Standard
16778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16781 \begin_layout Standard
16787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16790 \begin_layout Standard
16798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16801 \begin_layout Standard
16805 \begin_layout Standard
16819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16822 \begin_layout Standard
16828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16831 \begin_layout Standard
16837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16840 \begin_layout Standard
16846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16849 \begin_layout Standard
16856 <row topline="true">
16857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16860 \begin_layout Standard
16864 \begin_layout Standard
16878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16881 \begin_layout Standard
16887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16890 \begin_layout Standard
16896 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16899 \begin_layout Standard
16905 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16908 \begin_layout Standard
16915 <row topline="true" bottomline="true">
16916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16919 \begin_layout Standard
16925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16928 \begin_layout Standard
16934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16937 \begin_layout Standard
16943 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16946 \begin_layout Standard
16952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16955 \begin_layout Standard
16974 \begin_layout Standard
16975 LyX doesn't natively support dashed lines, so you have to use ERT.
16976 As prerequisite the LaTeX-package
16981 \begin_inset LatexCommand index
16982 name "LaTeX-packages ! arydshln"
16986 must be loaded in the document preamble with the command
16989 \begin_layout Standard
16994 usepackage{arydshln}
16997 \begin_layout Standard
16998 To make a vertical line dashed, enter the colon
16999 \begin_inset Quotes eld
17003 \begin_inset Quotes erd
17006 together with the character for the horizontal alignment as LaTeX-argument
17007 in the table cell dialog.
17010 \begin_layout Standard
17011 For a horizontal dashed line add the command
17014 \begin_layout Standard
17022 \begin_layout Standard
17023 in ERT as first element of the first cell in the table row.
17026 \begin_layout Standard
17027 For dashed multicolumn lines use the command
17030 \begin_layout Standard
17035 cdashline{line number
17040 \begin_layout Standard
17041 in ERT as first element of the first cell in the table row.
17042 If you have for example a multicolumn spanning over columns 2 to 4 and
17043 you want to have a dashed line above, add the command
17046 \begin_layout Standard
17054 \begin_layout Standard
17055 as first element of the first cell in the row of the multicolumn.
17058 \begin_layout Standard
17059 \begin_inset VSpace bigskip
17065 \begin_layout Standard
17068 \begin_inset LatexCommand ref
17069 reference "tab:Table-with-dashed"
17074 \begin_inset Quotes eld
17082 \begin_inset Quotes erd
17085 as LaTeX-argument of the third column.
17092 was inserted to the first cell of the third row and the the ERT command
17101 was inserted to the first cell of the fourth row.
17104 \begin_layout Standard
17105 \begin_inset Note Greyedout
17108 \begin_layout Standard
17113 The used LaTeX-package
17117 is apparently not compatible with the LaTeX-package
17122 \begin_inset LatexCommand index
17123 name "LaTeX-packages ! colortbl"
17127 that is used for colored tables in section\InsetSpace ~
17129 \begin_inset LatexCommand ref
17130 reference "sec:Colored-Tables"
17135 That means colored tables cannot have dashed lines.
17143 \begin_layout Standard
17147 \begin_layout Standard
17157 \begin_inset Note Note
17160 \begin_layout Standard
17161 The following will be displayed when the LaTeX-package
17173 \begin_layout Standard
17174 You need to install the package
17178 to see the contents of this section in the output.
17181 \begin_layout Standard
17185 \begin_layout Standard
17197 \begin_layout Chapter
17199 \begin_inset LatexCommand index
17205 \begin_inset LatexCommand label
17213 \begin_layout Section
17215 \begin_inset LatexCommand label
17216 name "sec:FloatIntroduction"
17221 \begin_inset LatexCommand index
17222 name "Floats ! Introduction"
17229 \begin_layout Standard
17230 A float is a block of text associated with some sort of label, which doesn't
17231 have a fixed location.
17233 \begin_inset Quotes eld
17237 \begin_inset Quotes erd
17240 forward or backward a page or two, to wherever it fits best.
17247 Margin\InsetSpace ~
17250 are also floats, because they can float to the next page when there are
17251 too many notes at the page.
17254 \begin_layout Standard
17255 Floats allow a high quality layout.
17256 Images and tables can evenly be spread to the pages to avoid white space
17257 and pages without text.
17258 As the floating often destroys the context between the text and the image/table
17259 , every float can be referenced in the text.
17260 Floats are therefore numbered.
17261 Referencing is described in section\InsetSpace ~
17263 \begin_inset LatexCommand ref
17264 reference "sec:Referencing-Floats"
17271 \begin_layout Standard
17272 To insert a float, use the menu
17274 Insert\SpecialChar \menuseparator
17278 This inserts a box with a label in the
17286 \begin_layout Standard
17291 environment is described in LyX's
17300 into your document.
17301 Every label ends with the character
17302 \begin_inset Quotes eld
17306 \begin_inset Quotes erd
17309 as placeholder for the float number in the output.
17310 The label will automatically be translated to the document language in
17312 Behind the label you can insert the caption text.
17313 The image or table is inserted above or below the caption in a separate
17314 paragraph within the float.
17315 More about the caption placement is described in section\InsetSpace ~
17317 \begin_inset LatexCommand ref
17318 reference "sec:Caption-Placement"
17323 To keep your LyX-document readable, you can open and close the float box
17324 by left-clicking on the box label.
17325 A closed float box looks like this:
17326 \begin_inset Graphics
17327 filename ../clipart/floatQt4.png
17332 -- a gray button with a red label.
17335 \begin_layout Standard
17336 It is recommended to insert floats as a separate paragraph to avoid possible
17337 LaTeX-errors that can occur when the surrounding text is specially formatted.
17340 \begin_layout Standard
17341 Existing figures or tables can be put into a float by marking them and then
17342 pressing the corresponding toolbar button for a new float.
17345 \begin_layout Section
17349 \begin_layout Standard
17350 Besides figure and table floats that are described in section\InsetSpace ~
17352 \begin_inset LatexCommand ref
17353 reference "sec:Figure-Floats"
17358 \begin_inset LatexCommand ref
17359 reference "sec:Table-Floats"
17363 , respectively, LyX offers the float types
17376 \begin_layout Subsection
17378 \begin_inset LatexCommand index
17379 name "Floats ! Algorithm Floats"
17386 \begin_layout Standard
17387 \begin_inset Float algorithm
17393 \begin_layout Standard
17394 \begin_inset Caption
17396 \begin_layout Standard
17397 \begin_inset LatexCommand label
17398 name "alg:Example-Algorithm-float"
17402 Example Algorithm float
17410 \begin_layout LyX-Code
17413 Sum:= Sum + A(I); /*senseless comment*/
17416 \begin_inset VSpace -4mm
17427 \begin_layout Standard
17428 This float type is inserted with the menu
17430 Insert\SpecialChar \menuseparator
17431 Floats\SpecialChar \menuseparator
17435 It is used for program codes and descriptions of algorithms.
17436 A possible environment for algorithms is the
17440 , described in LyX's
17445 Algorithm\InsetSpace ~
17447 \begin_inset LatexCommand ref
17448 reference "alg:Example-Algorithm-float"
17452 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17453 mm vertical space was added
17454 at the end of the float to have the bottom rule exactly below the last
17458 \begin_layout Standard
17459 The float label is not automatically translated into the document language.
17460 If your document is not in English, you have to do this manually by adding
17465 to the document preamble
17470 \begin_layout Standard
17475 floatname{algorithm}{your\InsetSpace ~
17479 \begin_layout Standard
17486 \begin_inset Quotes eld
17494 \begin_inset Quotes erd
17500 \begin_layout Description
17505 When the LaTeX-package
17510 \begin_inset LatexCommand index
17511 name "LaTeX-packages ! hyperref"
17515 is used to link cross-references to floats in the PDF-output, it must be
17516 loaded in the document preamble before the definition of floats to be able
17517 to reference floats.
17518 As LyX sets the float definition for algorithm floats automatically before
17519 the user editable part of the document preamble, you need to insert the
17520 following preamble lines
17524 the loading command of
17531 \begin_inset VSpace defskip
17538 newfloat{Xalgorithm}{tbp}{loa}
17542 floatname{Xalgorithm}{your\InsetSpace ~
17555 renewenvironment{algorithm}[1][tbp]
17561 \begin_layout Standard
17572 begin{Xalgorithm}[#1]}{
17575 \begin_inset VSpace defskip
17588 \begin_inset Quotes eld
17596 \begin_inset Quotes erd
17602 \begin_layout Standard
17603 Algorithm floats are not by default numbered in the scheme
17604 \begin_inset Quotes eld
17608 \begin_inset Quotes erd
17611 like it is the case for table and figure floats in many document-classes.
17612 To number algorithm floats in the same scheme, add this command to your
17616 \begin_layout Standard
17621 numberwithin{algorithm}{chapter}
17624 \begin_layout Standard
17625 If you use the LaTeX-package
17629 , add this line instead
17637 (the commands from above) to the preamble:
17640 \begin_layout Standard
17645 numberwithin{Xalgorithm}{chapter}
17648 \begin_layout Standard
17649 To be able to use the command
17660 in the document settings the option
17670 \begin_layout Subsection
17672 \begin_inset LatexCommand index
17673 name "Floats ! Text Wrap Floats"
17678 \begin_inset LatexCommand label
17679 name "sub:floatflt-wrap-float"
17686 \begin_layout Standard
17687 This float type is used if you want to
17688 \begin_inset Quotes eld
17692 \begin_inset Quotes erd
17695 text around a figure so that it only occupies some fraction of the column
17697 It can be inserted using the menu
17698 \begin_inset Wrap figure
17703 \begin_layout Standard
17704 \begin_inset Graphics
17705 filename mobius.eps
17708 rotateOrigin center
17715 \begin_layout Standard
17716 \begin_inset Caption
17718 \begin_layout Standard
17719 \begin_inset LatexCommand label
17720 name "fig:This-is-a"
17724 This is a wrapped figure, and this is the brilliant caption that describes
17726 \begin_inset VSpace medskip
17741 Insert\SpecialChar \menuseparator
17742 Floats\SpecialChar \menuseparator
17747 if the LaTeX-package
17752 \begin_inset LatexCommand index
17753 name "LaTeX-packages ! floatflt"
17761 \begin_layout Standard
17762 Installing a LaTeX-package is explained it in the
17772 The width and placement of the float is adjusted by right-clicking on the
17774 Figure\InsetSpace ~
17776 \begin_inset LatexCommand ref
17777 reference "fig:This-is-a"
17781 is an example text wrap float with a width of 40
17782 \begin_inset Formula $\,$
17789 \begin_layout Standard
17790 Available units are explained in
17791 \begin_inset LatexCommand ref
17792 reference "cha:Units-available-in"
17801 Some space was added under the caption to separate it better from the surroundi
17805 \begin_layout Standard
17810 also supports table wrap floats, but they are not yet supported by LyX.
17811 If you need this, read the documentation of
17816 \begin_inset LatexCommand cite
17824 \begin_layout Standard
17825 \begin_inset Note Greyedout
17828 \begin_layout Standard
17834 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17836 having a figure too close to the bottom
17837 of the page can mess things up in the way that the float doesn't appear
17838 in the output or that it is placed over some other text.
17842 \begin_layout Standard
17843 The better solution is to use the LaTeX-package
17845 wrapf\SpecialChar \textcompwordmark{}
17849 \begin_inset LatexCommand index
17850 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17856 floatf\SpecialChar \textcompwordmark{}
17859 , but it is currently not supported by LyX.
17872 \begin_layout Standard
17876 \begin_layout Itemize
17877 Wrap floats should not be placed in paragraphs that run over a page break.
17878 That means that wrap floats should better be inserted to the exact place
17879 when the document is nearly ready and you are able to estimate where page
17880 breaks will appear.
17883 \begin_layout Itemize
17884 Wrap floats should either be placed in an own paragraph before the paragraph
17885 where they should wrap into or within a paragraph.
17888 \begin_layout Itemize
17889 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17890 there is a text paragraph between them as separator.
17893 \begin_layout Itemize
17894 Wrap floats are not allowed in section headings or tables.
17897 \begin_layout Section
17899 \begin_inset LatexCommand label
17900 name "sec:Referencing-Floats"
17905 \begin_inset LatexCommand index
17906 name "Floats ! References"
17911 \begin_inset LatexCommand index
17919 \begin_layout Standard
17920 To reference a float, insert a label into its caption using the menu
17922 Insert\SpecialChar \menuseparator
17925 or the toolbar button
17926 \begin_inset Graphics
17927 filename ../images/label-insert.xpm
17933 A grey label box like this one:
17934 \begin_inset Graphics
17935 filename ../clipart/labelQt4.png
17940 will be inserted and the label window pops up asking for the label text.
17941 LyX offers as text the first words of the caption with a prefix.
17942 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17944 for figure floats the prefix will
17952 \begin_layout Standard
17953 The label is used as anchor and name for the reference.
17954 You can refer to the label using the menu
17956 Insert\SpecialChar \menuseparator
17959 or the toolbar button
17960 \begin_inset Graphics
17961 filename ../images/dialog-show-new-inset_ref.xpm
17967 A grey cross-reference box like this one:
17968 \begin_inset Graphics
17969 filename ../clipart/referenceQt4.png
17974 will be inserted and the cross-reference window appear showing all labels
17976 If you have multiple LyX-documents opened, choose the one you are working
17977 on from the drop-list at the top of the dialog.
17978 You can now sort the labels alphabetically and then choose one.
17979 At the position of the cross-reference box the float number will appear
17983 \begin_layout Standard
17984 It is recommended to use a protected space between the cross-reference name
17985 and its number to avoid line breaks between them.
17986 If a cross-reference refers to a non-existing label, you will see two question
17987 marks in the output instead of the reference.
17990 \begin_layout Standard
17991 You can change labels at any time by clicking on the label box.
17992 References to the changed label will automatically change its link to the
17993 new label text, so that you don't need to take care about this.
17996 \begin_layout Standard
18003 in the cross-reference window sets the cursor before the referred label.
18004 The button text changes then to Go\InsetSpace ~
18005 Back and you can use it to set the cursor
18006 back to the cross-reference.
18007 Right-clicking on a cross-reference box also sets the cursor before the
18008 referenced label but without a possibility to go back.
18011 \begin_layout Subsection
18012 Cross-reference formats
18013 \begin_inset LatexCommand label
18014 name "sub:Cross-reference-formats"
18019 \begin_inset LatexCommand index
18020 name "References ! Formats"
18027 \begin_layout Standard
18028 There are six varieties of cross-references:
18031 \begin_layout Description
18032 <reference>: prints the float number, this is the default:
18033 \begin_inset LatexCommand ref
18034 reference "fig:Two-distorted-images"
18041 \begin_layout Description
18042 (<reference>): prints the float number within two parentheses, this is the
18043 style normally used to reference formulas, especially when the reference
18045 \begin_inset Quotes eld
18049 \begin_inset Quotes erd
18053 \begin_inset LatexCommand eqref
18061 \begin_layout Description
18062 <page>: prints the page number: Page\InsetSpace ~
18064 \begin_inset LatexCommand pageref
18065 reference "fig:Two-distorted-images"
18072 \begin_layout Description
18075 <page>: prints the text "on page" and the page number:
18076 \begin_inset LatexCommand vpageref
18077 reference "fig:Two-distorted-images"
18084 \begin_layout Description
18085 <reference>\InsetSpace ~
18088 <page>: prints the float number, the text "on page", and
18090 \begin_inset LatexCommand vref
18091 reference "fig:Two-distorted-images"
18098 \begin_layout Description
18099 Formatted\InsetSpace ~
18100 reference: prints a self defined cross-reference format.
18102 \begin_inset Note Greyedout
18105 \begin_layout Standard
18110 This feature is only available when you have the LaTeX-package
18122 \begin_layout Standard
18123 Note that the style <page> won't print the page number if the label is on
18124 the previous, the same, or the next page.
18125 You will e.\InsetSpace \thinspace{}
18128 \begin_inset Quotes eld
18136 \begin_inset Quotes erd
18142 \begin_layout Standard
18143 The number and current page of the referred document part in the output,
18144 is automatically calculated by LaTeX.
18145 The varieties are adjusted in the field
18149 of the cross-reference window, that appear when you click on the cross-referenc
18153 \begin_layout Subsection
18154 Automatic Reference Naming
18155 \begin_inset LatexCommand index
18156 name "References ! Automatic Reference Naming"
18163 \begin_layout Standard
18168 provides a very useful feature that cross-references automatically include
18169 the name of the referenced floats (or text parts like sections).
18170 You save to write e.\InsetSpace \thinspace{}
18173 \begin_inset Quotes eld
18177 \begin_inset Quotes erd
18180 before every reference box.
18181 To get this automatic reference naming, you have to load the LaTeX-package
18187 \begin_inset LatexCommand index
18188 name "LaTeX-packages ! hyperref"
18192 in the document preamble with
18195 \begin_layout Standard
18200 usepackage[pdfborder={0 0 0}]{hyperref}
18215 \begin_layout Standard
18220 is used to link cross-references in the DVI- and PDF-output, this means
18221 that the reader of your document will be able to click on a table of content
18222 (TOC) entry or on a reference and he will be shown the referenced document
18228 also creates PDF-bookmarks for every section of your document to make it
18229 easier for readers to navigate through the document.
18230 This is also used in this document but when you have a look in the document
18231 preamble you will find various options in the load command of
18236 To learn more about the
18240 package, we refer to its documentation
18241 \begin_inset LatexCommand cite
18249 \begin_layout Standard
18250 \begin_inset Note Greyedout
18253 \begin_layout Standard
18258 Automatic reference naming cannot be used when you use cross-references
18261 Formatted\InsetSpace ~
18264 style, described in section\InsetSpace ~
18266 \begin_inset LatexCommand ref
18267 reference "sub:Cross-reference-formats"
18279 \begin_layout Subsection
18281 \begin_inset LatexCommand label
18282 name "sub:Reference-Position"
18287 \begin_inset LatexCommand index
18288 name "References ! Reference Position"
18295 \begin_layout Standard
18301 \begin_inset LatexCommand index
18302 name "LaTeX-packages ! hyperref"
18306 to link cross-references in the output, you will see that clicking on an
18307 image float reference jumps to the image label.
18308 The caption will be the first text part on the screen, so that you cannot
18309 see the image without scrolling.
18310 This is because the reference link anchor is placed at the position of
18312 With the use of the package
18317 \begin_inset LatexCommand index
18318 name "LaTeX-packages ! hypcap"
18322 , which is part of the LaTeX-package
18327 \begin_inset LatexCommand index
18328 name "LaTeX-packages ! oberdiek"
18332 , the link anchor is placed at the beginning of a float.
18333 To use this feature for figure floats, load
18337 in the document preamble with the line
18340 \begin_layout Standard
18345 usepackage[f\SpecialChar \textcompwordmark{}
18349 \begin_layout Standard
18354 for all floats but this isn't recommended for stability reasons.
18355 For more informations, have a look at
18360 \begin_inset LatexCommand cite
18368 \begin_layout Standard
18369 \begin_inset Note Greyedout
18372 \begin_layout Standard
18381 must be loaded after
18385 in the document preamble.
18393 \begin_layout Section
18395 \begin_inset LatexCommand label
18396 name "sec:Float-Placement"
18401 \begin_inset LatexCommand index
18402 name "Floats ! Placement"
18409 \begin_layout Standard
18410 Right-clicking on a float-box opens a dialog where you can alter the placement
18411 options that LaTeX uses for positioning the float.
18418 is only useful for two-column documents: If you select it, the float will
18419 span across both columns on the page instead of being confined to just
18424 Rotate\InsetSpace ~
18427 is used to rotate floats, see section
18428 \begin_inset LatexCommand ref
18429 reference "sec:Rotated-Floats"
18436 \begin_layout Standard
18437 You can use one ore more of the following options in the float dialog to
18438 set the placement for a particular float when you uncheck the option
18441 default\InsetSpace ~
18447 \begin_layout Description
18450 possible: try to place the float on the position where it is inserted
18453 \begin_layout Description
18456 page: try to place the float on the top of the current page
18459 \begin_layout Description
18460 Bottom\InsetSpace ~
18462 page: try to place the float on the bottom of the current page
18465 \begin_layout Description
18468 floats: try to place the float on an own page
18471 \begin_layout Standard
18472 The order of the above option is
18477 That means, if you use the default placement, LaTeX will first try out
18490 , and then the others.
18491 If you don't use the default, LaTeX will try only the checked options but
18493 If none of the 4 placements are possible the procedure is internally repeated
18494 but it is tried to put the float on the following page.
18497 \begin_layout Standard
18498 By default, each options has its own rules:
18501 \begin_layout Labeling
18502 \labelwidthstring 00.00.0000
18509 only floats occupying less than 70\InsetSpace \thinspace{}
18510 % of the page can be placed at the top
18520 \begin_layout Labeling
18521 \labelwidthstring 00.00.0000
18524 Bottom\InsetSpace ~
18528 : only floats occupying less than 30\InsetSpace \thinspace{}
18529 % of the page can be placed at the bottom
18540 \begin_layout Labeling
18541 \labelwidthstring 00.00.0000
18548 : only if more than 50\InsetSpace \thinspace{}
18549 % of the page are occupied by floats, several floats
18550 can be set together on a page.
18560 \begin_layout Standard
18561 If you don't like these rules, you can ignore them by using the additional
18564 Ignore\InsetSpace ~
18570 You can also redefine the rules with LaTeX-commands that are given in parenthese
18571 s behind the rules description above.
18572 To increase for example the often too small default of the bottom-rule
18573 to 50\InsetSpace \thinspace{}
18574 % of the page, add this line to your document preamble:
18577 \begin_layout Standard
18584 bottomfraction}{0.5}
18587 \begin_layout Standard
18588 Sometimes you might need, under all circumstances, a float to be placed
18589 exactly at the position where it is inserted.
18590 For this case you can use the option
18596 Use this option very rarely and only if the document is nearly ready to
18598 Because the float is then no longer able to
18599 \begin_inset Quotes eld
18603 \begin_inset Quotes erd
18606 when you change your document and this will often destroy the page layout.
18609 \begin_layout Standard
18610 There are no placement options for text wrap floats, because they are always
18611 surrounded by the text of a certain paragraph.
18612 \begin_inset VSpace bigskip
18618 \begin_layout Standard
18619 Sometimes you have the problem that a float is placed at the top of a page
18620 while its corresponding section starts at the middle of the page, so that
18621 the reader could think the float is part of the previous section.
18622 To avoid this the LaTeX-command
18626 suppressf\SpecialChar \textcompwordmark{}
18630 It suppresses a given float placement for the page where it is inserted
18631 and can therefore be used to avoid that floats could be set before a section
18633 To get this, add these commands to your document preamble:
18636 \begin_layout Standard
18653 suppressf\SpecialChar \textcompwordmark{}
18659 \begin_layout Standard
18660 You can define the same for all section headings, like chapters and subsections.
18661 This definition is not recommended to be used for small text parts like
18662 subsubsections because LaTeX may then have problems to find a suitable
18666 \begin_layout Standard
18667 \begin_inset VSpace bigskip
18670 In some cases it is required to have all figures/tables at the end of the
18672 For this purpose the LaTeX-package
18674 endf\SpecialChar \textcompwordmark{}
18678 \begin_inset LatexCommand index
18679 name "LaTeX-packages ! endfloat"
18684 It puts all figure and table floats at the end of the document into own
18686 At the original float position a text hint like
18687 \begin_inset Quotes eld
18692 [Figure\InsetSpace ~
18696 \begin_inset Quotes erd
18700 The endfloat-package is loaded in the preamble with the line
18703 \begin_layout Standard
18708 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18712 \begin_layout Standard
18713 There are various package options to format the created figure/table sections.
18714 For more information we refer to the
18716 endf\SpecialChar \textcompwordmark{}
18720 \begin_inset LatexCommand cite
18728 \begin_inset Note Greyedout
18731 \begin_layout Standard
18734 Note: endf\SpecialChar \textcompwordmark{}
18737 doesn't provide an automatic translation for the text hint, you have to
18738 do this manually, see section\InsetSpace ~
18740 \begin_inset LatexCommand cite
18753 \begin_inset Note Greyedout
18756 \begin_layout Standard
18761 There is currently a bug in
18763 endf\SpecialChar \textcompwordmark{}
18766 when the caption contains a German
18767 \begin_inset Quotes eld
18771 \begin_inset Quotes erd
18775 Use in this case the command
18776 \begin_inset Quotes eld
18786 \begin_inset Quotes erd
18790 \begin_inset Quotes eld
18794 \begin_inset Quotes erd
18805 \begin_layout Standard
18806 \begin_inset VSpace bigskip
18809 For more details about float placements, have a look at LaTeX books,
18810 \begin_inset LatexCommand cite
18811 key "latexcompanion,latexguide,latexbook"
18818 \begin_layout Section
18820 \begin_inset LatexCommand label
18821 name "sec:Rotated-Floats"
18826 \begin_inset LatexCommand index
18827 name "Floats ! Rotating"
18834 \begin_layout Standard
18835 Especially for wide tables you might have floats rotated.
18836 To rotate a whole float including the caption, right-click on the float-box
18839 Rotate\InsetSpace ~
18845 \begin_layout Standard
18846 Rotated floats are always placed on its own page (or column, when you have
18847 a two-column document).
18848 They are normally rotated so that you can read them from the outside margin
18849 -- to the left on even pages, to the right on odd pages.
18852 \begin_layout Standard
18853 Referencing rotated floats is the same like for normal floats, the caption
18854 format is also the same: Table\InsetSpace ~
18856 \begin_inset LatexCommand ref
18857 reference "tab:Rotated-table"
18861 is an example of a rotated table float.
18864 \begin_layout Standard
18865 \begin_inset Note Greyedout
18868 \begin_layout Standard
18873 Not all DVI-viewers are able to display rotated floats.
18881 \begin_layout Standard
18882 \begin_inset Float table
18887 \begin_layout Standard
18888 \begin_inset Caption
18890 \begin_layout Standard
18891 \begin_inset LatexCommand label
18892 name "tab:Rotated-table"
18904 \begin_layout Standard
18906 \begin_inset Tabular
18907 <lyxtabular version="3" rows="1" columns="5">
18909 <column alignment="center" valignment="top" leftline="true" width="0">
18910 <column alignment="center" valignment="top" leftline="true" width="0">
18911 <column alignment="center" valignment="top" leftline="true" width="0">
18912 <column alignment="center" valignment="top" leftline="true" width="0">
18913 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
18914 <row topline="true" bottomline="true">
18915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18918 \begin_layout Standard
18924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18927 \begin_layout Standard
18933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18936 \begin_layout Standard
18942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18945 \begin_layout Standard
18951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
18954 \begin_layout Standard
18973 \begin_layout Section
18975 \begin_inset LatexCommand index
18976 name "Caption ! Formatting"
18981 \begin_inset LatexCommand index
18982 name "Floats ! Caption Formatting"
18987 \begin_inset LatexCommand index
18988 name "LaTeX-packages ! caption"
18993 \begin_inset LatexCommand label
18994 name "sec:Caption-Formatting"
19001 \begin_layout Standard
19006 environment is the default paragraph environment for
19011 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19014 \begin_inset Quotes eld
19022 \begin_inset Quotes erd
19025 followed by the caption text.
19027 \begin_inset Quotes eld
19031 \begin_inset Quotes erd
19034 is substituted in the printed output by the actual reference number.
19035 By default the label and the number are in the same font as the caption
19036 text and a colon follows the number to divide then label from the text.
19037 This caption format is not suitable for all document formats.
19041 \begin_layout Standard
19042 To change the default caption format, load the LaTeX-package
19047 \begin_inset LatexCommand index
19048 name "LaTeX-packages ! caption"
19052 in the document preamble with this line:
19055 \begin_layout Standard
19060 usepackage[format definition]{caption}
19063 \begin_layout Standard
19064 To have for example the label and the number in sans-serif bold font and
19065 the table captions always above the table like in this document, use the
19069 \begin_layout Standard
19074 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19077 \begin_layout Standard
19078 You can also define different caption formats for the different float types.
19079 In this case load the
19083 package without format specific options and define the different formats
19084 with the help of the command
19087 \begin_layout Standard
19092 captionsetup[float type]{format definition}
19095 \begin_layout Standard
19096 in the document preamble.
19097 For example the caption formats of Figure\InsetSpace ~
19099 \begin_inset LatexCommand ref
19100 reference "fig:This-is-an-fig"
19104 and Table\InsetSpace ~
19106 \begin_inset LatexCommand ref
19107 reference "tab:This-is-an-tab"
19111 can be created using these commands in the document preamble:
19114 \begin_layout Standard
19119 usepackage[tableposition=top]{caption}
19127 captionsetup[f\SpecialChar \textcompwordmark{}
19128 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19134 \begin_layout Standard
19142 captionsetup[figure]
19153 captionsetup[table]{labelfont={bf,sf}}
19156 \begin_layout Standard
19157 For more information about the package
19161 we refer to its documentation
19162 \begin_inset LatexCommand cite
19163 key "caption,caption-de"
19170 \begin_layout Standard
19171 \begin_inset VSpace bigskip
19179 \begin_inset LatexCommand index
19180 name "LaTeX-packages ! koma-script"
19186 article (koma-script)
19194 letter (koma-script)
19198 report (koma-script)
19200 \InsetSpace \thinspace{}
19201 ), you can alternatively to the
19209 's built-in command
19216 For example, to have the caption label in bold, add this command to your
19220 \begin_layout Standard
19225 setkomafont{captionlabel}{
19230 \begin_layout Standard
19231 For more information about
19242 \begin_inset LatexCommand cite
19243 key "koma-script,koma-script-de"
19250 \begin_layout Standard
19254 \begin_layout Standard
19258 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19265 \begin_inset Note Note
19268 \begin_layout Standard
19269 The caption format is changed only for this example.
19277 \begin_layout Standard
19278 \begin_inset Float figure
19284 \begin_layout Standard
19286 \begin_inset Graphics
19287 filename mobius.eps
19296 \begin_layout Standard
19297 \begin_inset Caption
19299 \begin_layout Standard
19300 \begin_inset LatexCommand label
19301 name "fig:This-is-an-fig"
19305 This is an example figure caption that is longer than one line to show the
19306 different caption format.
19307 Here a self-defined caption format is used.
19320 \begin_layout Standard
19324 \begin_layout Standard
19328 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19337 \begin_layout Standard
19338 \begin_inset Float table
19344 \begin_layout Standard
19345 \begin_inset Caption
19347 \begin_layout Standard
19348 \begin_inset LatexCommand label
19349 name "tab:This-is-an-tab"
19353 This is an example table caption that is longer than one line to show the
19354 different caption format.
19355 Here the standard caption format for tables in this document is used.
19363 \begin_layout Standard
19365 \begin_inset Tabular
19366 <lyxtabular version="3" rows="1" columns="5">
19368 <column alignment="center" valignment="top" leftline="true" width="0">
19369 <column alignment="center" valignment="top" leftline="true" width="0">
19370 <column alignment="center" valignment="top" leftline="true" width="0">
19371 <column alignment="center" valignment="top" leftline="true" width="0">
19372 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19373 <row topline="true" bottomline="true">
19374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19377 \begin_layout Standard
19383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19386 \begin_layout Standard
19392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19395 \begin_layout Standard
19401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19404 \begin_layout Standard
19410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19413 \begin_layout Standard
19432 \begin_layout Section
19434 \begin_inset LatexCommand index
19435 name "Caption ! Placement"
19440 \begin_inset LatexCommand index
19441 name "Floats ! Caption Placement"
19446 \begin_inset LatexCommand label
19447 name "sec:Caption-Placement"
19454 \begin_layout Standard
19455 The common caption placement rule is:
19458 \begin_layout Description
19459 Figure: Caption is set below the figure
19462 \begin_layout Description
19463 Table: Caption is set above the table
19466 \begin_layout Standard
19467 Having the caption above the table is unfortunately not supported in LaTeX's
19469 That means if you are using the document classes
19485 there will be no space between the caption and the table.
19486 To insert the needed space, add the following option to the load command
19487 of the LaTeX-package
19491 in your document preamble
19495 \begin_layout Standard
19496 See section\InsetSpace ~
19498 \begin_inset LatexCommand ref
19499 reference "sec:Caption-Formatting"
19503 for more information of the package
19515 \begin_layout Standard
19521 \begin_layout Standard
19527 \begin_inset LatexCommand index
19528 name "LaTeX-packages ! koma-script"
19534 article (koma-script)
19542 letter (koma-script)
19546 report (koma-script)
19548 \InsetSpace \thinspace{}
19549 ), you can alternatively to the
19553 package set the document class option
19557 , or you can use the environment
19559 caption\InsetSpace ~
19569 \begin_layout Standard
19570 \begin_inset VSpace bigskip
19573 It is also possible to set the caption beside a figure or table.
19574 To get this the LaTeX-package
19579 \begin_inset LatexCommand index
19580 name "LaTeX-packages ! sidecap"
19584 has to be loaded in the document preamble with the line
19587 \begin_layout Standard
19592 usepackage[option]{sidecap}
19595 \begin_layout Standard
19596 If you set no option, the caption is placed on the side of the outer page
19597 margin -- to the right on odd pages, to the left on even pages.
19598 You can change the placement to inner margin with the option
19603 To force the placement always to the right or left, use the option
19614 \begin_layout Standard
19615 To place in LyX the caption of a float on the side, it is necessary to add
19616 these commands to the document preamble:
19619 \begin_layout Standard
19625 \begin_layout Standard
19638 \begin_layout Standard
19659 \begin_layout Standard
19680 \begin_layout Standard
19691 renewenvironment{table}{
19698 \begin_layout Standard
19711 \begin_layout Standard
19732 \begin_layout Standard
19750 \begin_layout Standard
19763 \begin_layout Standard
19778 f\SpecialChar \textcompwordmark{}
19785 \begin_layout Standard
19798 MyEndf\SpecialChar \textcompwordmark{}
19801 endf\SpecialChar \textcompwordmark{}
19808 \begin_layout Standard
19819 renewenvironment{f\SpecialChar \textcompwordmark{}
19822 begin{SCf\SpecialChar \textcompwordmark{}
19825 end{SCf\SpecialChar \textcompwordmark{}
19829 \begin_layout Standard
19842 \begin_layout Standard
19855 f\SpecialChar \textcompwordmark{}
19864 \begin_layout Standard
19877 endf\SpecialChar \textcompwordmark{}
19880 MyEndf\SpecialChar \textcompwordmark{}
19884 \begin_layout Standard
19890 \begin_layout Standard
19891 The commands allow you to redefine the floats so that the caption is set
19893 For figure floats use the command
19896 \begin_layout Standard
19904 \begin_layout Standard
19905 in ERT before the float.
19906 Behind the float insert the command
19909 \begin_layout Standard
19917 \begin_layout Standard
19918 in ERT to get back to the original float definition.
19921 \begin_layout Standard
19922 For table floats use the corresponding commands
19925 \begin_layout Standard
19939 \begin_layout Standard
19940 Figure\InsetSpace ~
19942 \begin_inset LatexCommand ref
19943 reference "fig:cap-beside-fig"
19947 and Table\InsetSpace ~
19949 \begin_inset LatexCommand ref
19950 reference "tab:cap-beside-tab"
19954 are examples where the caption is set beside.
19957 \begin_layout Standard
19958 You can see in the examples that the caption text appears at the top of
19959 the floats for table floats and at the bottom for figure floats.
19960 To change this, you can use the command
19963 \begin_layout Standard
19968 sidecaptionvpos{float type}{placement}
19971 \begin_layout Standard
19972 in the document preamble or in ERT before the float.
19973 The float type is either
19981 , the placement can be
19982 \begin_inset Quotes eld
19990 \begin_inset Quotes erd
19994 \begin_inset Quotes eld
20002 \begin_inset Quotes erd
20006 \begin_inset Quotes eld
20014 \begin_inset Quotes erd
20018 To have for example the caption of figure floats vertically centered, use
20022 \begin_layout Standard
20027 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20031 \begin_layout Standard
20032 This was used for Figure\InsetSpace ~
20034 \begin_inset LatexCommand ref
20035 reference "fig:cap-beside-fig-2"
20042 \begin_layout Standard
20043 \begin_inset VSpace defskip
20046 For more information about the package
20050 we refer to its documentation
20051 \begin_inset LatexCommand cite
20059 \begin_layout Standard
20060 \begin_inset Note Greyedout
20063 \begin_layout Standard
20073 \begin_inset LatexCommand index
20074 name "LaTeX-packages ! hypcap"
20078 , described in section\InsetSpace ~
20080 \begin_inset LatexCommand ref
20081 reference "sub:Reference-Position"
20085 , has no effect on floats with the caption set beside.
20093 \begin_layout Standard
20097 \begin_layout Standard
20109 \begin_layout Standard
20110 \begin_inset Float figure
20115 \begin_layout Standard
20116 \begin_inset Graphics
20117 filename escher-lsd.eps
20125 \begin_layout Standard
20126 \begin_inset Caption
20128 \begin_layout Standard
20129 \begin_inset LatexCommand label
20130 name "fig:cap-beside-fig"
20134 This is a caption beside a figure.
20147 \begin_layout Standard
20151 \begin_layout Standard
20163 \begin_layout Standard
20164 \begin_inset Float table
20169 \begin_layout Standard
20170 \begin_inset Caption
20172 \begin_layout Standard
20173 \begin_inset LatexCommand label
20174 name "tab:cap-beside-tab"
20178 This is a caption beside a table.
20186 \begin_layout Standard
20187 \begin_inset Tabular
20188 <lyxtabular version="3" rows="4" columns="5">
20190 <column alignment="center" valignment="top" leftline="true" width="0">
20191 <column alignment="center" valignment="top" leftline="true" width="0">
20192 <column alignment="center" valignment="top" leftline="true" width="0">
20193 <column alignment="center" valignment="top" leftline="true" width="0">
20194 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20195 <row topline="true">
20196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20199 \begin_layout Standard
20205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20208 \begin_layout Standard
20214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20217 \begin_layout Standard
20223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20226 \begin_layout Standard
20232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20235 \begin_layout Standard
20242 <row topline="true">
20243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20246 \begin_layout Standard
20252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20255 \begin_layout Standard
20261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20264 \begin_layout Standard
20270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20273 \begin_layout Standard
20279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20282 \begin_layout Standard
20289 <row topline="true">
20290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20293 \begin_layout Standard
20299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20302 \begin_layout Standard
20308 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20311 \begin_layout Standard
20317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20320 \begin_layout Standard
20326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20329 \begin_layout Standard
20336 <row topline="true" bottomline="true">
20337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20340 \begin_layout Standard
20346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20349 \begin_layout Standard
20355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20358 \begin_layout Standard
20364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20367 \begin_layout Standard
20373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20376 \begin_layout Standard
20395 \begin_layout Standard
20399 \begin_layout Standard
20411 \begin_layout Standard
20415 \begin_layout Standard
20419 sidecaptionvpos{figure}{c}
20425 \begin_inset Float figure
20430 \begin_layout Standard
20431 \begin_inset Graphics
20432 filename escher-lsd.eps
20440 \begin_layout Standard
20441 \begin_inset Caption
20443 \begin_layout Standard
20444 \begin_inset LatexCommand label
20445 name "fig:cap-beside-fig-2"
20449 This is a vertically centered caption beside a figure.
20462 \begin_layout Standard
20466 \begin_layout Standard
20478 \begin_layout Section
20480 \begin_inset LatexCommand label
20481 name "sec:Listings-of-Floats"
20486 \begin_inset LatexCommand index
20487 name "Floats ! Listings"
20494 \begin_layout Standard
20495 Similar to the the table of contents where the sections of the document
20496 are listed, there are listings for all float types, like the figures of
20498 You can insert them via the
20500 Insert\SpecialChar \menuseparator
20508 \begin_layout Standard
20509 The list entries are the float captions or its short title, the float number,
20510 and the page number where they appear in the document.
20513 \begin_layout Standard
20514 You can find the list of figures and tables at the end of this document.
20517 \begin_layout Chapter
20521 \begin_layout Section
20525 \begin_layout Standard
20538 \begin_layout Standard
20546 \begin_inset LatexCommand label
20547 name "sec:LyX-Notes"
20552 \begin_inset LatexCommand index
20553 name "Notes ! LyX Notes"
20558 \begin_inset Note Note
20561 \begin_layout Standard
20564 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20565 are displayed wrongly in PDF-bookmarks.
20566 For more information about this, have a look at
20567 \begin_inset LatexCommand cite
20580 \begin_layout Standard
20581 Notes are inserted with the toolbar button
20582 \begin_inset Graphics
20583 filename ../images/note-insert.xpm
20590 Insert\SpecialChar \menuseparator
20594 There are three types of notes:
20597 \begin_layout Description
20599 Note This note type is for internal notes that won't appear in the output.
20600 Its note-box looks like this:
20605 \begin_inset Graphics
20606 filename ../clipart/LyXNoteImageQt4.png
20613 \begin_inset Note Note
20616 \begin_layout Standard
20617 This is text in a note box that doesn't appear in the output.
20625 \begin_layout Description
20626 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20627 ent, when you export the document to LaTeX via the menu
20629 File\SpecialChar \menuseparator
20630 Export\SpecialChar \menuseparator
20631 LaTeX (pdflatex) / LaTeX (plain)
20634 Its note-box looks like this:
20639 \begin_inset Graphics
20640 filename ../clipart/CommentNoteImageQt4.png
20647 \begin_inset Note Comment
20650 \begin_layout Standard
20651 This is text in a note box that only appears as comment in LaTeX-files.
20659 \begin_layout Description
20660 Greyed\InsetSpace ~
20661 Out This note will appear in the output as grey text.
20662 Its note-box looks like this:
20667 \begin_inset Graphics
20668 filename ../clipart/GreyedOutNoteImageQt4.png
20680 \begin_layout Standard
20684 renewenvironment{lyxgreyedout}
20687 \begin_layout Standard
20691 textcolor[gray]{0.8}
20701 \begin_inset Note Greyedout
20704 \begin_layout Standard
20709 \begin_layout Standard
20710 This is an example footnote within a greyed out note.
20715 of a comment that appears in the output as grey text.
20724 \begin_layout Standard
20728 renewenvironment{lyxgreyedout}
20731 \begin_layout Standard
20745 \begin_inset Note Note
20748 \begin_layout Standard
20749 The greyed out note is here redefined to show it with the original LyX definitio
20750 n because greyed out notes are redefined in the preamble of this document,
20751 as described below, to have blue text.
20760 As you can see in the example, the first line of greyed out notes is a bit
20761 indented and greyed out notes can have footnotes.
20764 \begin_layout Description
20765 Framed This note will appear in the output as framed text.
20766 Its note-box looks like this:
20771 \begin_inset Graphics
20772 filename ../clipart/FramedNoteImageQt4.png
20779 \begin_inset Note Framed
20782 \begin_layout Standard
20783 This is text in a note box that appears framed in the output.
20788 In contrary to framed boxes
20792 \begin_layout Standard
20793 Framed boxes are described in section\InsetSpace ~
20795 \begin_inset LatexCommand ref
20796 reference "sec:Framed-Boxes"
20805 the frame uses always the whole text width and the note is set into its
20809 \begin_layout Description
20810 Shaded This note will appear in the output with red background color.
20811 Its note box looks like this:
20816 \begin_inset Graphics
20817 filename ../clipart/ShadedNoteImageQt4.png
20824 \begin_inset Note Shaded
20827 \begin_layout Standard
20828 This text in a note box appears in the output with red background.
20833 In contrary to colored boxes
20837 \begin_layout Standard
20838 Colored boxes are described in section\InsetSpace ~
20840 \begin_inset LatexCommand ref
20841 reference "sec:Colored-Boxes"
20850 the note uses always the whole text width and the note is set into its
20854 \begin_layout Standard
20855 \begin_inset VSpace bigskip
20858 When you use the toolbar button to insert notes, a
20864 You can switch between the three note types by right-clicking on the note-box.
20869 If you want to turn existing text into a note, mark it and click on the
20885 \begin_layout Standard
20886 \begin_inset VSpace bigskip
20889 You can change the text color of the greyed out notes in the preamble with
20890 the following command:
20893 \begin_layout Standard
20898 renewenvironment{lyxgreyedout}
20904 \begin_layout Standard
20922 \begin_layout Standard
20923 The available colors and the method to define own colors is explained in
20924 section\InsetSpace ~
20926 \begin_inset LatexCommand ref
20927 reference "sec:Colored-Tables"
20934 \begin_layout Standard
20935 Notes that appear in blue in this document are set using greyed out notes
20939 \begin_layout Standard
20940 \begin_inset VSpace bigskip
20946 \begin_layout Standard
20955 notes can be set in the
20962 \begin_layout Standard
20963 The default frame width for
20967 notes is 0.4\InsetSpace \thinspace{}
20968 pt; it can be changed by changing the size
20975 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
20977 be changed by changing the size
20984 For example the frame appearance of the following
20988 note is set with the ERT commands
20991 \begin_layout Standard
21001 \begin_layout Standard
21005 \begin_layout Standard
21017 \begin_inset Note Framed
21020 \begin_layout Standard
21034 \begin_layout Standard
21048 \begin_layout Standard
21049 \begin_inset VSpace bigskip
21055 \begin_layout Standard
21060 notes the default space between the note content and the note border is
21061 3\InsetSpace \thinspace{}
21062 pt; it can be changed by changing the size
21070 The default background color red can be changed with the command
21074 def\SpecialChar \textcompwordmark{}
21082 def\SpecialChar \textcompwordmark{}
21085 command is explained in section\InsetSpace ~
21087 \begin_inset LatexCommand ref
21088 reference "sec:Colored-Tables"
21096 \begin_layout Standard
21103 \SpecialChar \textcompwordmark{}
21108 requires the LaTeX-package
21112 in the preamble, see section\InsetSpace ~
21114 \begin_inset LatexCommand ref
21115 reference "sec:Colored-Boxes"
21127 \begin_layout Standard
21128 For example the appearance of the following
21132 note is set with the ERT commands
21135 \begin_layout Standard
21148 def\SpecialChar \textcompwordmark{}
21149 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21152 \begin_layout Standard
21156 \begin_layout Standard
21169 \begin_layout Standard
21173 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21179 \begin_inset Note Shaded
21182 \begin_layout Standard
21185 This is yellow text in a
21189 note with darkgreen background.
21198 \begin_layout Standard
21211 \begin_layout Standard
21215 definecolor{shadecolor}{rgb}{1,0,0}
21223 \begin_layout Section
21225 \begin_inset LatexCommand label
21226 name "sec:Footnotes"
21231 \begin_inset LatexCommand index
21232 name "Notes ! Footnotes"
21237 \begin_inset LatexCommand index
21245 \begin_layout Standard
21246 Footnotes can be inserted using the toolbar button
21247 \begin_inset Graphics
21248 filename ../images/footnote-insert.xpm
21255 Insert\SpecialChar \menuseparator
21267 then the following footnote-box:
21268 \begin_inset Graphics
21269 filename ../clipart/footnoteQt4.png
21278 where you can enter the footnote text.
21279 If you want to turn existing text into a footnote, mark it and click on
21295 \begin_layout Standard
21296 Here is an example footnote:
21304 \begin_layout Standard
21305 \begin_inset LatexCommand label
21306 name "foot:This-is-an"
21310 This is an example footnote.
21323 \begin_layout Standard
21327 newcounter{MyRepeatFoot}
21330 \begin_layout Standard
21334 setcounter{MyRepeatFoot}{
21344 \begin_layout Standard
21345 The footnote will appear in the output as a superscript number at the text
21346 position where the footnote box is placed.
21347 The footnote text is placed at the bottom of the current page.
21348 The footnote number is calculated by LaTeX, the numbers are consecutive.
21349 It depends on your document-class, if the footnote number is reset for
21353 \begin_layout Standard
21354 Footnotes can be referenced like floats: Insert a label into the footnote
21355 and cross-reference this label in the text as described in section\InsetSpace ~
21357 \begin_inset LatexCommand ref
21358 reference "sec:Referencing-Floats"
21364 This is a cross-reference of Footnote\InsetSpace ~
21366 \begin_inset LatexCommand ref
21367 reference "foot:This-is-an"
21374 \begin_inset Note Greyedout
21377 \begin_layout Standard
21382 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21383 e.\InsetSpace \thinspace{}
21388 \begin_inset Quotes eld
21394 \begin_inset Quotes erd
21397 manually when you want to use the reference style
21399 Formatted\InsetSpace ~
21410 \begin_layout Standard
21411 \begin_inset VSpace defskip
21414 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21416 \begin_inset LatexCommand ref
21417 reference "sec:Minipages"
21422 Footnotes within longtables are described in section\InsetSpace ~
21424 \begin_inset LatexCommand ref
21425 reference "sub:Footnotes-in-Longtables"
21432 \begin_layout Standard
21433 \begin_inset VSpace defskip
21436 To create only a mark for a footnote, use the command
21440 footnotemark[number]
21443 This is used when you have the same annotation several times in a text
21444 but doesn't want to print the footnote text every time.
21447 the number of the repeating footnote while you are writing the text, you
21448 have to store its number.
21449 For the following footnote mark example, these commands were inserted in
21450 ERT behind Footnote\InsetSpace ~
21452 \begin_inset LatexCommand ref
21453 reference "foot:This-is-an"
21457 to store the footnote number:
21460 \begin_layout Standard
21465 newcounter{MyRepeatFoot}
21469 setcounter{MyRepeatFoot}{
21474 \begin_layout Standard
21475 The footnote mark was then created with this command:
21478 \begin_layout Standard
21488 \begin_layout Standard
21489 Here is an example footnote mark:
21497 \begin_layout Standard
21511 \begin_layout Subsection
21513 \begin_inset LatexCommand label
21514 name "sub:Footnote-Numbering"
21519 \begin_inset LatexCommand index
21520 name "Footnotes ! Numbering"
21527 \begin_layout Standard
21528 If you want to have footnotes numbered in the scheme
21529 \begin_inset Quotes eld
21533 \begin_inset Quotes erd
21536 , add the following command to your document preamble:
21539 \begin_layout Standard
21544 numberwithin{footnote}{chapter}
21547 \begin_layout Standard
21548 To be able to use the command
21559 in the document settings the option
21569 \begin_layout Standard
21573 \begin_layout Standard
21577 numberwithin{footnote}{chapter}
21582 This is another example footnote:
21588 \begin_layout Standard
21589 This is a footnote numbered in the scheme
21590 \begin_inset Quotes eld
21594 \begin_inset Quotes erd
21608 \begin_layout Standard
21612 numberwithin{footnote}{part}
21620 \begin_layout Standard
21621 \begin_inset VSpace bigskip
21627 \begin_layout Standard
21628 To reset the footnote number back to 1 after each section
21630 , add this command to your document preamble:
21633 \begin_layout Standard
21638 @addtoreset{footnote}{section}
21641 \begin_layout Standard
21642 \begin_inset VSpace bigskip
21645 The following preamble command changes the footnote numbering style to small
21649 \begin_layout Standard
21661 \begin_layout Standard
21665 \begin_layout Standard
21678 This is a footnote with roman numbering:
21682 \begin_layout Standard
21683 This is an example footnote with roman numbering.
21692 \begin_layout Standard
21708 \begin_layout Standard
21709 To change the numbering style to capital roman numerals replace in the command
21724 \begin_inset Quotes eld
21728 \begin_inset Quotes erd
21731 footnotes with capital or small Latin letters use
21745 \begin_inset Quotes eld
21749 \begin_inset Quotes erd
21752 footnotes with symbols use
21761 \begin_layout Standard
21762 \begin_inset Note Greyedout
21765 \begin_layout Standard
21772 You can only number 26 footnotes with Latin letters, because this numbering
21773 is limited to single letters.
21781 \begin_inset Note Greyedout
21784 \begin_layout Standard
21789 You can only number 9 footnotes with symbols.
21797 \begin_layout Standard
21798 To return to the default numbering style when you changed to another one,
21811 in the command above.
21814 \begin_layout Subsection
21816 \begin_inset LatexCommand index
21817 name "Footnotes ! Placement"
21824 \begin_layout Standard
21825 If you have several footnotes in one page, they appear without vertical
21826 space between them at the bottom of the page.
21827 To make them better readable you can e.\InsetSpace \thinspace{}
21829 add 1.5\InsetSpace \thinspace{}
21830 mm space with the following
21834 \begin_layout Standard
21856 \begin_layout Standard
21857 \begin_inset VSpace bigskip
21860 In a two-column document the footnotes appear at the bottom of every column,
21861 see Figure\InsetSpace ~
21863 \begin_inset LatexCommand ref
21864 reference "fig:Standard-footnote-placement"
21869 If the footnotes should only appear at the bottom of the right column,
21870 as in Figure\InsetSpace ~
21872 \begin_inset LatexCommand ref
21873 reference "fig:Footnote-placement-in"
21877 , use the LaTeX-package
21882 \begin_inset LatexCommand index
21883 name "LaTeX-packages ! ftnright"
21887 with this command in the document preamble:
21890 \begin_layout Standard
21895 usepackage{ftnright}
21898 \begin_layout Standard
21899 \begin_inset Float figure
21905 \begin_layout Standard
21909 \begin_layout Standard
21919 \begin_inset Graphics
21920 filename ../clipart/without_fntright.pdf
21929 \begin_layout Standard
21939 \begin_layout Standard
21940 \begin_inset Caption
21942 \begin_layout Standard
21943 \begin_inset LatexCommand label
21944 name "fig:Standard-footnote-placement"
21948 Standard footnote placement in two-column documents.
21961 \begin_layout Standard
21962 \begin_inset Float figure
21968 \begin_layout Standard
21972 \begin_layout Standard
21982 \begin_inset Graphics
21983 filename ../clipart/with_fntright.pdf
21992 \begin_layout Standard
22002 \begin_layout Standard
22003 \begin_inset Caption
22005 \begin_layout Standard
22006 \begin_inset LatexCommand label
22007 name "fig:Footnote-placement-in"
22011 Footnote placement in two-column documents when the LaTeX-package
22028 \begin_layout Standard
22029 \begin_inset VSpace bigskip
22032 In some scientific literature it is usual to collect the footnotes and print
22033 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22035 \begin_inset LatexCommand ref
22036 reference "fig:Endnotes----footnotes"
22041 They are then so called
22042 \begin_inset Quotes eld
22046 \begin_inset Quotes erd
22050 To use endnotes instead of footnotes in your document, load the LaTeX-package
22056 \begin_inset LatexCommand index
22057 name "LaTeX-packages ! endnotes"
22061 with the document preamble lines
22064 \begin_layout Standard
22069 usepackage{endnotes}
22080 \begin_layout Standard
22081 To insert the collected footnotes, insert the command
22084 \begin_layout Standard
22092 \begin_layout Standard
22093 in ERT at the the end of a section or chapter.
22096 \begin_layout Standard
22097 \begin_inset Float figure
22102 \begin_layout Standard
22107 \begin_layout Standard
22117 \begin_inset Graphics
22118 filename ../clipart/endnotes.pdf
22126 \begin_layout Standard
22136 \begin_layout Standard
22137 \begin_inset Caption
22139 \begin_layout Standard
22140 \begin_inset LatexCommand label
22141 name "fig:Endnotes----footnotes"
22145 Endnotes -- footnotes are printed in a separate paragraph at the end of
22146 sections or chapters.
22159 \begin_layout Standard
22160 \begin_inset VSpace defskip
22163 The paragraph heading for the endnotes isn't automatically translated into
22164 the document language, this must be done manually.
22165 The following preamble command translate the default English name
22166 \begin_inset Quotes eld
22170 \begin_inset Quotes erd
22173 to the German translation
22174 \begin_inset Quotes eld
22178 \begin_inset Quotes erd
22184 \begin_layout Standard
22191 notesname}{Anmerkungen}
22194 \begin_layout Standard
22195 \begin_inset VSpace defskip
22198 The numbering of endnotes can be changed like the footnote numbering as
22199 described in section\InsetSpace ~
22201 \begin_inset LatexCommand ref
22202 reference "sub:Footnote-Numbering"
22206 ; just replace the command
22219 To reset the endnote number use the command
22225 as described in section\InsetSpace ~
22227 \begin_inset LatexCommand ref
22228 reference "sub:Footnote-Numbering"
22232 and replace the command parameter
22243 \begin_layout Standard
22244 To create only a mark for an endnote, use the command
22248 endnotemark[number]
22250 similar to the command
22256 , described in section\InsetSpace ~
22258 \begin_inset LatexCommand ref
22259 reference "sec:Footnotes"
22266 \begin_layout Standard
22267 \begin_inset VSpace bigskip
22270 Footnotes can also be placed in the page margin and the footnote text alignment
22271 can be changed, see the LaTeX-package
22276 \begin_inset LatexCommand index
22277 name "LaTeX-packages ! footmisc"
22282 \begin_inset LatexCommand cite
22287 for more information about this.
22290 \begin_layout Standard
22291 For various further footnote formatting issues have a look at LaTeX-books,
22293 \begin_inset LatexCommand cite
22294 key "latexcompanion,latexguide,latexbook"
22301 \begin_layout Section
22303 \begin_inset LatexCommand index
22304 name "Notes ! Margin Notes"
22311 \begin_layout Standard
22312 Margin notes look and behave in LyX like footnotes.
22313 They are inserted via the menu
22315 Insert\SpecialChar \menuseparator
22316 Marginal\InsetSpace ~
22319 or the toolbar button
22320 \begin_inset Graphics
22321 filename ../images/marginalnote-insert.xpm
22343 \begin_inset Quotes eld
22347 \begin_inset Quotes erd
22350 appears where you can enter the text of the margin note.
22353 \begin_layout Standard
22354 At the side is an example margin note.
22358 \begin_inset Marginal
22361 \begin_layout Standard
22362 This is a margin note.
22370 \begin_layout Standard
22371 Margin notes appear at the right side in single-sided documents.
22372 In double-sided documents they appear in the outer margin -- left on even
22373 pages, right on odd pages.
22374 The text of margin notes is aligned opposite to the outer margin -- right-align
22375 ed when the note appears in the left margin.
22376 The first line of the margin note is placed at the position of the text
22377 line where it is inserted in the document.
22380 \begin_layout Standard
22381 \begin_inset VSpace bigskip
22384 To place the margin note in the inner margin, add the command
22387 \begin_layout Standard
22395 \begin_layout Standard
22396 in ERT before a margin note.
22397 The new placement is valid for all following margin notes.
22401 \begin_layout Standard
22411 \begin_inset Marginal
22414 \begin_layout Standard
22415 This is a margin note in the inner margin.
22427 \begin_inset Note Greyedout
22430 \begin_layout Standard
22435 There is often not enough space in the inner margin so that the notes are
22436 not correctly displayed in the output.
22444 \begin_layout Standard
22448 \begin_layout Standard
22457 To return to the default placement insert the command
22460 \begin_layout Standard
22468 \begin_layout Standard
22471 \begin_inset Note Greyedout
22474 \begin_layout Standard
22479 The command is ignored when it is within a paragraph where also the command
22494 \begin_layout Standard
22495 \begin_inset VSpace bigskip
22502 \begin_inset Marginal
22505 \begin_layout Standard
22506 AVeryLongMarginParWord that isn't hyphenated.
22514 Similar to the case described in section\InsetSpace ~
22516 \begin_inset LatexCommand ref
22517 reference "sub:Multiple-Lines-in"
22521 , long words cannot be hyphenated when they are the first word in a margin
22523 To avoid this, insert the command
22526 \begin_layout Standard
22534 \begin_layout Standard
22535 in ERT before the word
22539 \begin_inset Marginal
22542 \begin_layout Standard
22546 \begin_layout Standard
22555 AVeryLongMarginParWord that is hyphenated.
22563 \begin_layout Standard
22564 \begin_inset VSpace bigskip
22570 \begin_layout Standard
22571 \begin_inset Note Greyedout
22574 \begin_layout Standard
22579 Margin notes can normally not be used inside tables, floats, and footnotes.
22587 \begin_layout Standard
22588 \begin_inset VSpace bigskip
22594 \begin_layout Standard
22598 \begin_layout Standard
22608 \begin_inset Note Note
22611 \begin_layout Standard
22612 The following section will only be displayed when you have the LaTeX-package
22625 \begin_layout Standard
22626 This restriction can be evaded by using the LaTeX-package
22631 \begin_inset LatexCommand index
22632 name "LaTeX-packages ! marginnote"
22637 By adding these two lines to your document preamble, the command used by
22638 LyX for margin notes is redefined to use the command provided by the
22645 \begin_layout Standard
22650 usepackage{marginnote}
22661 \begin_layout Standard
22662 This is also used in this document because
22666 has another useful feature: You can set a vertical offset for the note.
22667 This is often needed when too many margin notes are too close together
22668 or for a better page layout.
22669 The offset is set in LyX as ERT directly behind the margin note in the
22673 \begin_layout Standard
22679 \begin_layout Standard
22680 where the offset is a length with one of the units listed in Table\InsetSpace ~
22682 \begin_inset LatexCommand ref
22683 reference "tab:Units"
22688 A negative value shifts the note up, a positive value shifts it down.
22692 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22695 \begin_inset Quotes eld
22705 \begin_inset Quotes erd
22709 \begin_inset Marginal
22712 \begin_layout Standard
22713 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22714 cm from its original position.
22726 \begin_layout Standard
22736 \begin_layout Standard
22737 \begin_inset VSpace defskip
22744 you can also change the alignment of the text in the margin note.
22745 For example the commands
22748 \begin_layout Standard
22755 raggedleftmarginnote}{
22763 raggedrightmarginnote}{
22768 \begin_layout Standard
22769 set the alignment to centered.
22774 raggedleftmarginnote
22776 denotes margin notes that appear at the left side.
22783 \begin_layout Standard
22789 raggedleftmarginnote}{
22794 \begin_layout Standard
22800 raggedrightmarginnote}{
22808 \begin_inset Marginal
22811 \begin_layout Standard
22812 The text of this margin note is centered.
22823 \begin_layout Standard
22830 raggedleftmarginnote}{
22838 raggedrightmarginnote}{
22847 \begin_layout Standard
22853 raggedleftmarginnote}{
22858 \begin_layout Standard
22864 raggedrightmarginnote}{
22874 \begin_layout Standard
22875 \begin_inset VSpace defskip
22878 For the other features of
22882 we refer to its documentation
22883 \begin_inset LatexCommand cite
22891 \begin_layout Standard
22892 \begin_inset VSpace bigskip
22895 You can change the layout of margin notes by redefining its definition.
22896 To create for example a header for all margin notes with the underlined,
22897 sans-serif, and bold header text
22898 \begin_inset Quotes eld
22910 \begin_inset Quotes erd
22913 , add this to your document preamble:
22916 \begin_layout Standard
22939 \begin_layout Standard
22956 underbar{Attention!}}}%
22962 \begin_layout Standard
22980 \begin_layout Standard
22987 \begin_layout Standard
22998 \begin_layout Standard
23009 \begin_layout Standard
23017 underbar{Attention!}}}%
23020 \begin_layout Standard
23034 \begin_inset Marginal
23037 \begin_layout Standard
23038 This is a margin note with a defined heading.
23050 \begin_layout Standard
23064 \begin_layout Standard
23081 \begin_inset Note Note
23084 \begin_layout Standard
23085 The margin note format is changed only for this example.
23093 \begin_layout Standard
23097 \begin_layout Standard
23107 \begin_inset Note Note
23110 \begin_layout Standard
23111 The following will be displayed when the LaTeX-package
23123 \begin_layout Standard
23124 You need to install the LaTeX-package
23128 to see the following part of this section in the output.
23131 \begin_layout Standard
23135 \begin_layout Standard
23147 \begin_layout Chapter
23151 \begin_layout Section
23153 \begin_inset LatexCommand index
23154 name "Boxes ! Introduction"
23161 \begin_layout Standard
23162 Boxes are used to format a block of text.
23163 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23165 \begin_inset LatexCommand ref
23166 reference "sec:Minipages"
23170 , to frame texts, see section\InsetSpace ~
23172 \begin_inset LatexCommand ref
23173 reference "sec:Framed-Boxes"
23177 , to prevent words to be hyphenated, see section\InsetSpace ~
23179 \begin_inset LatexCommand ref
23180 reference "sec:Prevent-Hyphenation"
23184 , to align text, see section\InsetSpace ~
23186 \begin_inset LatexCommand ref
23187 reference "sub:Vertical-Alignment"
23191 , or to set the background color of texts, see section\InsetSpace ~
23193 \begin_inset LatexCommand ref
23194 reference "sec:Colored-Boxes"
23201 \begin_layout Standard
23202 Boxes can be inserted with the menu
23204 Insert\SpecialChar \menuseparator
23208 A grey box with the label
23213 \begin_inset Graphics
23214 filename ../clipart/BoxInsetDefaultQt4.png
23219 , will be inserted.
23220 The box type can be specified by right-clicking on the box.
23221 The appearing box dialog offers the
23239 is the default for new boxes and is explained in section\InsetSpace ~
23241 \begin_inset LatexCommand ref
23242 reference "sec:Minipages"
23250 is described in section\InsetSpace ~
23252 \begin_inset LatexCommand ref
23253 reference "sec:Parboxes"
23260 \begin_layout Standard
23261 Boxes aren't numbered and can therefore not be referenced like floats or
23265 \begin_layout Standard
23266 \begin_inset Note Greyedout
23269 \begin_layout Standard
23274 Due to a bug in LyX you have to insert a protected space behind a box when
23275 you want to separate in a line the box from the following text with a space.
23283 \begin_layout Standard
23284 \begin_inset Note Greyedout
23287 \begin_layout Standard
23292 Boxes must not be the item in an
23308 \begin_layout Standard
23309 \begin_inset Note Greyedout
23312 \begin_layout Standard
23317 For an unknown reason you can only set the
23326 when you use a framed box.
23332 type and without frames are explained in section\InsetSpace ~
23334 \begin_inset LatexCommand ref
23335 reference "sec:Prevent-Hyphenation"
23347 \begin_layout Section
23349 \begin_inset LatexCommand label
23350 name "sec:Box-Dialog"
23355 \begin_inset LatexCommand index
23356 name "Boxes ! Box Dialog"
23361 \begin_inset LatexCommand index
23362 name "Boxes ! Alignment"
23369 \begin_layout Standard
23370 In the box dialog you can adjust the box geometry in the fields
23379 The available units for the geometry are explained in Table\InsetSpace ~
23381 \begin_inset LatexCommand ref
23382 reference "tab:Units"
23391 offers the following additional sizes:
23394 \begin_layout Description
23395 Depth This is the plain text
23396 \begin_inset Quotes eld
23400 \begin_inset Quotes erd
23404 It ignores the total depth when there are multiple text lines in the box:
23411 \begin_inset Box Boxed
23420 height_special "depth"
23423 \begin_layout Standard
23425 Box height set to 1\InsetSpace \thinspace{}
23438 \begin_layout Description
23439 Height This is the heigth of the text that is inside the box.
23440 A value of e.\InsetSpace \thinspace{}
23442 2 for this size will set the box heigth to 2 times the text
23444 \begin_inset Box Boxed
23453 height_special "height"
23456 \begin_layout Standard
23458 Box height set to 2\InsetSpace \thinspace{}
23467 \begin_layout Description
23469 Height This is the Height\InsetSpace \thinspace{}
23470 +\InsetSpace \thinspace{}
23472 \begin_inset Box Boxed
23481 height_special "totalheight"
23484 \begin_layout Standard
23486 Box height set to 1\InsetSpace \thinspace{}
23496 \begin_layout Description
23497 Width This set the width of the box as heigth:
23498 \begin_inset Box Boxed
23507 height_special "width"
23510 \begin_layout Standard
23512 Box height set to 1\InsetSpace \thinspace{}
23521 \begin_layout Standard
23522 \begin_inset VSpace bigskip
23525 When you have chosen an
23530 , the vertical box alignment can be:
23533 \begin_layout Description
23534 Top This is an example text line.
23536 \begin_inset Box Boxed
23545 height_special "totalheight"
23548 \begin_layout Standard
23550 This box is top-aligned.
23556 This is an example text line.
23559 \begin_layout Description
23560 Middle This is an example text line.
23562 \begin_inset Box Boxed
23571 height_special "totalheight"
23574 \begin_layout Standard
23576 This box is middle-aligned.
23582 This is an example text line.
23585 \begin_layout Description
23586 Bottom This is an example text line.
23588 \begin_inset Box Boxed
23597 height_special "totalheight"
23600 \begin_layout Standard
23602 This box is bottom-aligned.
23608 This is an example text line.
23611 \begin_layout Standard
23612 The horizontal box alignment can be set via LyX's paragraph dialog when
23613 you set the box into its own paragraph.
23616 \begin_layout Standard
23617 \begin_inset VSpace bigskip
23620 When you have chosen an
23625 , the box content can be vertical aligned to:
23628 \begin_layout Description
23629 top This is an example text line.
23631 \begin_inset Box Boxed
23640 height_special "totalheight"
23643 \begin_layout Standard
23645 This box text is top-aligned.
23651 This is an example text line.
23654 \begin_layout Description
23655 middle This is an example text line.
23657 \begin_inset Box Boxed
23666 height_special "totalheight"
23669 \begin_layout Standard
23671 This box text is middle-aligned.
23677 This is an example text line.
23680 \begin_layout Description
23681 bottom This is an example text line.
23683 \begin_inset Box Boxed
23692 height_special "totalheight"
23695 \begin_layout Standard
23697 This box text is bottom-aligned.
23703 This is an example text line.
23706 \begin_layout Description
23707 stretch This is an example text line.
23709 \begin_inset Box Boxed
23718 height_special "totalheight"
23721 \begin_layout Standard
23726 \begin_layout Standard
23731 \begin_layout Standard
23739 This is an example text line.
23742 \begin_layout Standard
23743 To stretch the box content, it must consist of more than one paragraph.
23744 In the example above every text line is in an own paragraph.
23747 \begin_layout Standard
23748 \begin_inset VSpace bigskip
23751 To align the box content horizontally you can use LyX's paragraph dialog
23752 when you have chosen an
23760 \begin_layout Standard
23762 \begin_inset Box Boxed
23771 height_special "totalheight"
23774 \begin_layout Standard
23779 \begin_layout Standard
23784 \begin_layout Standard
23794 \begin_layout Standard
23795 If you haven't set an
23800 , you can align the box content horizontally in the box dialog.
23803 \begin_layout Standard
23805 \begin_inset Box Boxed
23814 height_special "totalheight"
23817 \begin_layout Standard
23819 This box text is horizontally stretched.
23827 \begin_layout Section
23829 \begin_inset LatexCommand label
23830 name "sec:Framed-Boxes"
23835 \begin_inset LatexCommand index
23836 name "Boxes ! Frames"
23843 \begin_layout Standard
23844 The frame style of the box can be specified in the box-dialog in the drop-down
23850 The following frame types are possible:
23853 \begin_layout Description
23854 Rectangular\InsetSpace ~
23855 box This draws a rectangle frame around the box.
23856 The frame line thickness has the size of
23864 \begin_inset Box Boxed
23873 height_special "totalheight"
23876 \begin_layout Standard
23886 \begin_layout Description
23889 thin This draws an oval frame around the box.
23890 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23893 \begin_inset Box ovalbox
23902 height_special "totalheight"
23905 \begin_layout Standard
23915 \begin_layout Description
23918 thick This draws an oval frame around the box.
23919 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
23922 \begin_inset Box Ovalbox
23931 height_special "totalheight"
23934 \begin_layout Standard
23944 \begin_layout Description
23945 Shadow\InsetSpace ~
23946 box This draws a rectangle frame with a shadow around the box.
23947 The frame line thickness has the size of
23953 , the shadow has a width of 4\InsetSpace \thinspace{}
23956 \begin_inset Box Shadowbox
23965 height_special "totalheight"
23968 \begin_layout Standard
23978 \begin_layout Description
23979 Double\InsetSpace ~
23980 box This draws a double-line rectangle frame around the box.
23981 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
23988 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
23996 The distance between the lines is 1.5\InsetSpace \thinspace{}
24003 \InsetSpace \thinspace{}
24004 +\InsetSpace \thinspace{}
24005 0.5\InsetSpace \thinspace{}
24008 \begin_inset Box Doublebox
24017 height_special "totalheight"
24020 \begin_layout Standard
24030 \begin_layout Standard
24031 \begin_inset VSpace bigskip
24034 LyX's box label will change to the used frame style when you set a frame.
24035 To be able to use the different frame styles, the LaTeX-package
24040 \begin_inset LatexCommand index
24041 name "LaTeX-packages ! fancybox"
24048 \begin_layout Standard
24049 \begin_inset VSpace bigskip
24052 The default value for the size
24058 is 0.4\InsetSpace \thinspace{}
24060 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24062 2\InsetSpace \thinspace{}
24066 \begin_layout Standard
24076 \begin_layout Standard
24080 \begin_layout Standard
24092 \begin_inset Box Boxed
24101 height_special "totalheight"
24104 \begin_layout Standard
24106 Rectangular box with
24112 \InsetSpace \thinspace{}
24113 =\InsetSpace \thinspace{}
24114 2\InsetSpace \thinspace{}
24124 \begin_layout Standard
24138 \begin_layout Standard
24139 \begin_inset VSpace bigskip
24142 The space between the frame and the box content is for all frame styles
24143 by default 3\InsetSpace \thinspace{}
24145 You can change it by setting the length
24152 For example the command
24155 \begin_layout Standard
24165 \begin_layout Standard
24166 sets the value to 10\InsetSpace \thinspace{}
24167 pt, like for the following box:
24170 \begin_layout Standard
24174 \begin_layout Standard
24186 \begin_inset Box Boxed
24195 height_special "totalheight"
24198 \begin_layout Standard
24200 Rectangular box with
24206 \InsetSpace \thinspace{}
24207 =\InsetSpace \thinspace{}
24208 10\InsetSpace \thinspace{}
24218 \begin_layout Standard
24232 \begin_layout Standard
24233 \begin_inset VSpace bigskip
24236 The diameter of the round corners of the oval boxes can be set with the
24247 \begin_layout Standard
24255 \begin_layout Standard
24256 sets the diameter to 1\InsetSpace \thinspace{}
24261 \begin_layout Standard
24269 \begin_layout Standard
24270 sets the diameter to
24272 num\InsetSpace \thinspace{}
24273 ×\InsetSpace \thinspace{}
24274 minimum(width and heigth of box)
24286 \begin_layout Standard
24290 \begin_layout Standard
24300 \begin_inset Box Ovalbox
24309 height_special "totalheight"
24312 \begin_layout Standard
24320 \InsetSpace \thinspace{}
24321 =\InsetSpace \thinspace{}
24322 1.5\InsetSpace \thinspace{}
24332 \begin_layout Standard
24344 \begin_layout Standard
24345 \begin_inset VSpace bigskip
24348 The size of the shadow can be adjusted by changing the length
24355 It it set to 2\InsetSpace \thinspace{}
24356 pt for the following box by this command:
24359 \begin_layout Standard
24369 \begin_layout Standard
24373 \begin_layout Standard
24385 \begin_inset Box Shadowbox
24394 height_special "totalheight"
24397 \begin_layout Standard
24405 \InsetSpace \thinspace{}
24406 =\InsetSpace \thinspace{}
24407 2\InsetSpace \thinspace{}
24417 \begin_layout Standard
24431 \begin_layout Standard
24432 \begin_inset VSpace bigskip
24435 Changed lengths and widths are valid for all boxes following the commands
24439 \begin_layout Section
24441 \begin_inset LatexCommand label
24442 name "sec:Minipages"
24447 \begin_inset LatexCommand index
24448 name "Boxes ! Minipages"
24455 \begin_layout Standard
24456 Minipages are treated by LaTeX as pages within pages and can therefore for
24457 example have their own footnotes.
24460 \begin_layout Standard
24461 Minipages are useful when you write documents with different languages.
24464 \begin_layout Standard
24465 Below are two example minipages side by side.
24466 Their width is set to 45\InsetSpace \thinspace{}
24467 col% and they are separated by a horizontal fill,
24468 that was inserted via the menu
24470 Insert\SpecialChar \menuseparator
24471 Special\InsetSpace ~
24472 Formatting\SpecialChar \menuseparator
24473 Horizontal\InsetSpace ~
24479 \begin_layout Standard
24480 \begin_inset Box Frameless
24489 height_special "totalheight"
24492 \begin_layout Standard
24495 Dies ist ein deutscher Text.
24496 Dies ist ein deutscher Text.
24497 Dies ist ein deutscher Text.
24498 Dies ist ein deutscher Text.
24499 Dies ist ein deutscher Text.
24500 Dies ist ein deutscher Text.
24501 Dies ist ein deutscher Text.
24502 Dies ist ein deutscher Text.
24503 Dies ist ein deutscher Text.
24504 Dies ist ein deutscher Text.
24505 Dies ist ein deutscher Text.
24506 Dies ist ein deutscher Text.
24507 Dies ist ein deutscher Text
24511 \begin_layout Standard
24514 Dies ist eine deutsche Fußnote.
24520 Dies ist ein deutscher Text.
24521 Dies ist ein deutscher Text.
24529 \begin_inset Box Frameless
24538 height_special "totalheight"
24541 \begin_layout Standard
24542 This is an English Text.
24543 This is an English Text.
24544 This is an English Text.
24545 This is an English Text.
24546 This is an English Text.
24547 This is an English Text.
24548 This is an English Text.
24549 This is an English Text.
24550 This is an English Text.
24551 This is an English Text.
24552 This is an English Text.
24553 This is an English Text.
24554 This is an English Text.
24555 This is an English Text.
24556 This is an English Text.
24557 This is an English Text.
24561 \begin_layout Standard
24562 This is an English footnote.
24567 This is an English Text.
24576 \begin_layout Standard
24577 \begin_inset VSpace bigskip
24580 Another application for minipages are footnotes within tables.
24581 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24582 bottom of the current page.
24583 But when you put the table with the footnote to a minipage, the footnote
24584 will appear at its bottom, numbered with Latin letters.
24585 The footnote number is reset to 1 in every minipage but not outside the
24589 \begin_layout Standard
24590 The footnote of this table doesn't appear:
24591 \begin_inset Tabular
24592 <lyxtabular version="3" rows="3" columns="4">
24594 <column alignment="center" valignment="top" leftline="true" width="0pt">
24595 <column alignment="center" valignment="top" leftline="true" width="0pt">
24596 <column alignment="center" valignment="top" leftline="true" width="0pt">
24597 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24598 <row topline="true">
24599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24602 \begin_layout Standard
24608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24611 \begin_layout Standard
24617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24620 \begin_layout Standard
24625 \begin_layout Standard
24626 This is a footnote within a table.
24636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24639 \begin_layout Standard
24646 <row topline="true">
24647 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24650 \begin_layout Standard
24656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24659 \begin_layout Standard
24665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24668 \begin_layout Standard
24674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24677 \begin_layout Standard
24684 <row topline="true" bottomline="true">
24685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24688 \begin_layout Standard
24694 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24697 \begin_layout Standard
24703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24706 \begin_layout Standard
24712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24715 \begin_layout Standard
24729 \begin_layout Standard
24731 \begin_inset Box Frameless
24740 height_special "totalheight"
24743 \begin_layout Standard
24745 \begin_inset Tabular
24746 <lyxtabular version="3" rows="3" columns="4">
24748 <column alignment="center" valignment="top" leftline="true" width="0pt">
24749 <column alignment="center" valignment="top" leftline="true" width="0pt">
24750 <column alignment="center" valignment="top" leftline="true" width="0pt">
24751 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24752 <row topline="true">
24753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24756 \begin_layout Standard
24762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24765 \begin_layout Standard
24771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24774 \begin_layout Standard
24779 \begin_layout Standard
24780 This is a footnote within a table.
24790 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24793 \begin_layout Standard
24800 <row topline="true">
24801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24804 \begin_layout Standard
24810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24813 \begin_layout Standard
24819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24822 \begin_layout Standard
24828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24831 \begin_layout Standard
24838 <row topline="true" bottomline="true">
24839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24842 \begin_layout Standard
24848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24851 \begin_layout Standard
24857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24860 \begin_layout Standard
24866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24869 \begin_layout Standard
24888 \begin_layout Standard
24889 \begin_inset VSpace bigskip
24892 The document-wide paragraph settings are ignored within minipages.
24893 That means that there will be no space between paragraphs in minipages
24894 although you set it to e.\InsetSpace \thinspace{}
24900 in the document settings.
24903 \begin_layout Standard
24904 Minipages can also be used to set a background color for text parts, see
24905 section\InsetSpace ~
24907 \begin_inset LatexCommand ref
24908 reference "sub:Color-for-Paragraphs"
24915 \begin_layout Standard
24916 \begin_inset Note Greyedout
24919 \begin_layout Standard
24924 You cannot have floats or margin notes inside minipages but minipages can
24925 be used inside tables, floats, and other boxes.
24933 \begin_layout Section
24935 \begin_inset LatexCommand label
24936 name "sec:Parboxes"
24941 \begin_inset LatexCommand index
24942 name "Boxes ! Parboxes"
24949 \begin_layout Standard
24950 Parboxes are very similar to minipages with the difference that they cannot
24952 The main difference to minipages is that minipages are in contrary to parboxes
24953 no real boxes but LaTeX-environments.
24956 \begin_layout Standard
24958 \begin_inset Box Frameless
24967 height_special "totalheight"
24970 \begin_layout Standard
24971 This a text within a parbox.
24972 This a text within a parbox.
24975 \begin_layout Standard
24976 This footnote won't appear:
24980 \begin_layout Standard
24981 This footnote is inside a parbox and will therefore not appear.
24994 \begin_layout Section
24995 Boxes for Words and Characters
24996 \begin_inset LatexCommand index
24997 name "Boxes ! for Characters"
25004 \begin_layout Subsection
25005 Prevent Hyphenation
25006 \begin_inset LatexCommand label
25007 name "sec:Prevent-Hyphenation"
25012 \begin_inset LatexCommand index
25013 name "Boxes ! to Prevent Hyphenation"
25020 \begin_layout Standard
25021 You can use a special kind of boxes to prevent words or text to be hyphenated.
25024 e is an example text:
25027 \begin_layout Standard
25028 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25034 \begin_layout Standard
25035 To prevent the hyphenation of the word
25036 \begin_inset Quotes eld
25040 \begin_inset Quotes erd
25046 \begin_layout Standard
25054 \begin_layout Standard
25055 in ERT before the word.
25056 Behind the word insert a closing brace
25057 \begin_inset Quotes eld
25065 \begin_inset Quotes erd
25072 \begin_layout Standard
25084 \begin_layout Standard
25085 This is the result:
25088 \begin_layout Standard
25089 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25095 \begin_layout Standard
25108 \begin_layout Standard
25118 \begin_layout Standard
25119 Of course the word now protrudes over the side margin.
25120 To avoid this, add via the menu
25122 Insert\SpecialChar \menuseparator
25123 Special\InsetSpace ~
25124 Formatting\SpecialChar \menuseparator
25132 ) a line break before the word:
25135 \begin_layout Standard
25136 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25144 \begin_layout Standard
25157 \begin_layout Standard
25167 \begin_layout Subsection
25169 \begin_inset LatexCommand label
25170 name "sub:Vertical-Alignment"
25175 \begin_inset LatexCommand index
25176 name "Boxes ! for Vertical Alignment"
25181 \begin_inset LatexCommand index
25182 name "Boxes ! Raiseboxes"
25189 \begin_layout Standard
25190 With the help of the command
25196 you can align words, characters or other boxes vertically to the surrounding
25204 is used with the following scheme:
25207 \begin_layout Standard
25212 raisebox{lift}[height][depth]{box content}
25215 \begin_layout Standard
25216 The lift can be a positive value to raise the box or a negative value to
25220 \begin_layout Standard
25221 To align for example the word
25222 \begin_inset Quotes eld
25226 \begin_inset Quotes erd
25229 so that the bottom of the
25230 \begin_inset Quotes eld
25234 \begin_inset Quotes erd
25238 \begin_inset Quotes eld
25242 \begin_inset Quotes erd
25245 is at the baseline, insert the command
25248 \begin_layout Standard
25258 \begin_layout Standard
25259 in ERT before the word.
25260 Behind the word insert a closing brace
25261 \begin_inset Quotes eld
25269 \begin_inset Quotes erd
25274 This is the result:
25277 \begin_layout Standard
25278 This is a text line with the word
25282 \begin_layout Standard
25294 \begin_inset Quotes eld
25298 \begin_inset Quotes erd
25305 \begin_layout Standard
25315 \begin_layout Standard
25316 \begin_inset VSpace bigskip
25319 When you raise or lower characters in a line, the line distance will be
25323 \begin_layout Standard
25324 This is a text line with the word
25328 \begin_layout Standard
25340 \begin_inset Quotes eld
25344 \begin_inset Quotes erd
25351 \begin_layout Standard
25360 This is a text line with the word
25364 \begin_layout Standard
25374 \begin_inset Quotes eld
25378 \begin_inset Quotes erd
25385 \begin_layout Standard
25395 \begin_layout Standard
25396 If you want to prevent this for a certain reason, set the box height to
25401 \begin_layout Standard
25411 \begin_layout Standard
25412 This is a text line with the word
25416 \begin_layout Standard
25428 \begin_inset Quotes eld
25432 \begin_inset Quotes erd
25439 \begin_layout Standard
25448 This is a text line with the word
25452 \begin_layout Standard
25456 raisebox{0.5cm}[0pt]{
25462 \begin_inset Quotes eld
25466 \begin_inset Quotes erd
25473 \begin_layout Standard
25483 \begin_layout Section
25485 \begin_inset LatexCommand label
25486 name "sec:Colored-Boxes"
25491 \begin_inset LatexCommand index
25492 name "Boxes ! Color"
25499 \begin_layout Subsection
25501 \begin_inset LatexCommand index
25502 name "Color ! for Text"
25509 \begin_layout Standard
25510 To color the background of text the text must be put into a so called colorbox.
25511 This requires that the LaTeX-package
25516 \begin_inset LatexCommand index
25517 name "LaTeX-packages ! color"
25521 is loaded in the document preamble with the command
25524 \begin_layout Standard
25529 @ifundef\SpecialChar \textcompwordmark{}
25536 \begin_layout Standard
25547 usepackage{color}}{}
25550 \begin_layout Standard
25555 will be loaded automatically by LyX when you color text
25559 \begin_layout Standard
25560 To avoid that it is loaded twice the command
25564 @ifundef\SpecialChar \textcompwordmark{}
25575 \begin_layout Standard
25576 \begin_inset VSpace medskip
25579 Colorboxes are created with the command
25586 This will be used with the following scheme:
25589 \begin_layout Standard
25594 colorbox{color}{box content}
25597 \begin_layout Standard
25598 The box content can also be a box and colorboxes can also be within other
25602 \begin_layout Standard
25603 The following colors are predefined:
25641 You can also define your own color as described in section\InsetSpace ~
25643 \begin_inset LatexCommand ref
25644 reference "sec:Colored-Tables"
25651 \begin_layout Standard
25652 To have e.\InsetSpace \thinspace{}
25654 a red background for a word, insert the command
25657 \begin_layout Standard
25665 \begin_layout Standard
25666 before the word in ERT.
25667 Behind the word insert a closing brace
25668 \begin_inset Quotes eld
25676 \begin_inset Quotes erd
25681 This is the result:
25684 \begin_layout Standard
25685 This is a line where the word
25689 \begin_layout Standard
25699 \begin_inset Quotes eld
25703 \begin_inset Quotes erd
25710 \begin_layout Standard
25717 has a red background.
25720 \begin_layout Standard
25721 \begin_inset VSpace bigskip
25724 If you would have the box frame in a different color, you can use the command
25731 with the following scheme:
25734 \begin_layout Standard
25739 fcolorbox{frame color}{box color}{box content}
25742 \begin_layout Standard
25756 The frame thickness and the space between the frame and the box content
25757 can be adjusted with the lengths
25769 , respectively, as described in section\InsetSpace ~
25771 \begin_inset LatexCommand ref
25772 reference "sec:Framed-Boxes"
25779 \begin_layout Standard
25780 For the following example the command
25783 \begin_layout Standard
25788 fcolorbox{cyan}{magenta}{
25791 \begin_layout Standard
25795 \begin_layout Standard
25796 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25803 \begin_layout Standard
25818 \begin_layout Standard
25822 fcolorbox{cyan}{magenta}{
25827 This is text within a colored, framed box.
25831 \begin_layout Standard
25841 \begin_layout Standard
25842 \begin_inset VSpace bigskip
25845 Of course you can also have colored text inside a colorbox:
25851 \begin_layout Standard
25855 fcolorbox{cyan}{magenta}{
25862 This is colored text within a colored, framed box.
25868 \begin_layout Standard
25879 \begin_layout Standard
25893 \begin_layout Standard
25896 \begin_inset VSpace medskip
25902 \begin_layout Standard
25903 \begin_inset Note Greyedout
25906 \begin_layout Standard
25911 Text in colorboxes cannot have line breaks.
25912 To color multiple text lines or paragraphs, use a box inside a colorbox
25913 as described in the following.
25921 \begin_layout Subsection
25922 Color for Paragraphs
25923 \begin_inset LatexCommand label
25924 name "sub:Color-for-Paragraphs"
25929 \begin_inset LatexCommand index
25930 name "Color ! for Paragraphs"
25937 \begin_layout Standard
25938 To set the background color for more than one text line, put the text into
25940 Before the minipage insert the
25949 \begin_layout Standard
25957 \begin_layout Standard
25959 Behind the minipage insert a closing brace
25960 \begin_inset Quotes eld
25968 \begin_inset Quotes erd
25974 \begin_layout Standard
25978 \begin_layout Standard
25982 colorbox{lightgrey}{
25988 \begin_inset Box Frameless
25997 height_special "totalheight"
26000 \begin_layout Standard
26001 This is text with background color.
26002 This is text with background color.
26005 \begin_layout Standard
26006 \begin_inset VSpace defskip
26009 The text can have footnotes
26013 \begin_layout Standard
26014 Another example footnote
26019 and can include tables and figures.
26022 \begin_layout Standard
26024 \begin_inset Tabular
26025 <lyxtabular version="3" rows="3" columns="3">
26027 <column alignment="center" valignment="top" leftline="true" width="0">
26028 <column alignment="center" valignment="top" leftline="true" width="0">
26029 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26030 <row topline="true">
26031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26034 \begin_layout Standard
26040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26043 \begin_layout Standard
26049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26052 \begin_layout Standard
26059 <row topline="true">
26060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26063 \begin_layout Standard
26069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26072 \begin_layout Standard
26074 \begin_inset Quotes erd
26082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26085 \begin_layout Standard
26092 <row topline="true" bottomline="true">
26093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26096 \begin_layout Standard
26102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26105 \begin_layout Standard
26111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26114 \begin_layout Standard
26134 \begin_layout Standard
26144 \begin_layout Section
26145 URLs (Uniform Resource Locators)
26146 \begin_inset LatexCommand index
26154 \begin_layout Standard
26155 Links to web pages or email addresses can be inserted via the menu
26157 Insert\SpecialChar \menuseparator
26161 The appearing URL dialog has two fields; the
26169 field for the URL description, which will be typeset as plain text immediately
26173 \begin_layout Standard
26174 Here is an example URL:
26175 \begin_inset LatexCommand url
26176 name "LyX's homepage"
26177 target "http://www.lyx.org"
26184 \begin_layout Standard
26187 Generate\InsetSpace ~
26190 in the URL dialog has only an affect when you export your document to the
26192 \begin_inset Quotes eld
26200 \begin_inset Quotes erd
26206 \begin_layout Standard
26207 You cannot change the style of the link text.
26212 field will have the default text style of the document while the text of
26217 field will have the style
26218 \begin_inset Quotes eld
26226 \begin_inset Quotes erd
26232 \begin_layout Standard
26233 When you use the LaTeX-package
26238 \begin_inset LatexCommand index
26239 name "LaTeX-packages ! hyperref"
26243 to link cross-references in the output, URLs will automatically become
26244 clickable hyperlinks in DVI and PDF-output.
26247 \begin_layout Standard
26248 \begin_inset Note Greyedout
26251 \begin_layout Standard
26256 When you use the following characters: "%", "#", "^", you have to write
26257 them with a preceding backslash, e.\InsetSpace \thinspace{}
26260 \begin_inset Quotes eld
26266 \begin_inset Quotes erd
26270 URLs must not end with a backslash.
26278 \begin_layout Standard
26279 \begin_inset VSpace bigskip
26282 To create real hyperlinks without the force to write the link location to
26283 the text, you can use the command
26286 \begin_layout Standard
26291 href{link location}{link text}
26294 \begin_layout Standard
26296 To get for example a link to LyX's web page, write the command
26299 \begin_layout Standard
26304 href{http://www.lyx.org}{
26307 \begin_layout Standard
26309 Insert after the command the link text
26310 \begin_inset Quotes eld
26314 \begin_inset Quotes erd
26317 as normal text followed by a closing brace
26318 \begin_inset Quotes eld
26326 \begin_inset Quotes erd
26330 This is the result:
26334 \begin_layout Standard
26338 href{http://www.lyx.org}{
26347 \begin_layout Standard
26357 \begin_layout Standard
26358 To link to email addresses, add the prefix
26359 \begin_inset Quotes eld
26367 \begin_inset Quotes erd
26370 to the link location:
26376 \begin_layout Standard
26380 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26385 lyx-docs mailing list
26389 \begin_layout Standard
26399 \begin_layout Standard
26406 instead of LyX's URL box has the advantage that you can specify the text
26407 style of the link text like for all other text parts.
26408 You can therefore set hyphenation points and forced linebreaks to have
26409 long link text broken at the page margin.
26410 You are furthermore able to change the text style for all URLs in your
26411 document with an option in
26415 's load command and the restrictions mentioned above doesn't apply for
26424 \begin_layout Standard
26430 \begin_layout Chapter
26436 \begin_layout Standard
26449 \begin_layout Standard
26457 \begin_inset LatexCommand index
26463 \begin_inset LatexCommand label
26464 name "cha:Units-available-in"
26469 \begin_inset Note Note
26472 \begin_layout Standard
26475 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26476 are displayed wrongly in PDF-bookmarks.
26477 For more information about this, have a look at
26478 \begin_inset LatexCommand cite
26491 \begin_layout Standard
26492 To understand the units described in this documentation, Table\InsetSpace ~
26494 \begin_inset LatexCommand ref
26495 reference "tab:Units"
26499 explains all units available in LyX.
26502 \begin_layout Standard
26503 \begin_inset Float table
26509 \begin_layout Standard
26510 \begin_inset Caption
26512 \begin_layout Standard
26513 \begin_inset LatexCommand label
26526 \begin_layout Standard
26527 \begin_inset VSpace medskip
26533 \begin_layout Standard
26535 \begin_inset Tabular
26536 <lyxtabular version="3" rows="20" columns="2">
26538 <column alignment="center" valignment="top" leftline="true" width="0">
26539 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26540 <row topline="true" bottomline="true">
26541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26544 \begin_layout Standard
26550 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26553 \begin_layout Standard
26560 <row topline="true">
26561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26564 \begin_layout Standard
26570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26573 \begin_layout Standard
26580 <row topline="true">
26581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26584 \begin_layout Standard
26590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26593 \begin_layout Standard
26600 <row topline="true">
26601 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26604 \begin_layout Standard
26610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26613 \begin_layout Standard
26620 <row topline="true">
26621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26624 \begin_layout Standard
26630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26633 \begin_layout Standard
26634 point (72.27\InsetSpace \thinspace{}
26635 pt = 1\InsetSpace \thinspace{}
26642 <row topline="true">
26643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26646 \begin_layout Standard
26652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26655 \begin_layout Standard
26656 pica (1\InsetSpace \thinspace{}
26657 pc = 12\InsetSpace \thinspace{}
26664 <row topline="true">
26665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26668 \begin_layout Standard
26674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26677 \begin_layout Standard
26678 scaled point (65536\InsetSpace \thinspace{}
26679 sp = 1\InsetSpace \thinspace{}
26686 <row topline="true">
26687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26690 \begin_layout Standard
26696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26699 \begin_layout Standard
26700 big point (72\InsetSpace \thinspace{}
26701 bp = 1\InsetSpace \thinspace{}
26708 <row topline="true">
26709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26712 \begin_layout Standard
26718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26721 \begin_layout Standard
26722 didot (72\InsetSpace \thinspace{}
26724 \begin_inset Formula $\approx$
26727 37.6\InsetSpace \thinspace{}
26734 <row topline="true">
26735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26738 \begin_layout Standard
26744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26747 \begin_layout Standard
26748 cicero (1\InsetSpace \thinspace{}
26749 cc = 12\InsetSpace \thinspace{}
26756 <row topline="true">
26757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26760 \begin_layout Standard
26766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26769 \begin_layout Standard
26770 % of original image width
26776 <row topline="true">
26777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26780 \begin_layout Standard
26786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26789 \begin_layout Standard
26796 <row topline="true">
26797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26800 \begin_layout Standard
26806 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26809 \begin_layout Standard
26816 <row topline="true">
26817 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26820 \begin_layout Standard
26826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26829 \begin_layout Standard
26836 <row topline="true">
26837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26840 \begin_layout Standard
26846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26849 \begin_layout Standard
26856 <row topline="true">
26857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26860 \begin_layout Standard
26866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26869 \begin_layout Standard
26876 <row topline="true">
26877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26880 \begin_layout Standard
26886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26889 \begin_layout Standard
26896 <row topline="true">
26897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26900 \begin_layout Standard
26906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26909 \begin_layout Standard
26920 <row topline="true">
26921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26924 \begin_layout Standard
26930 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26933 \begin_layout Standard
26944 <row topline="true" bottomline="true">
26945 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26948 \begin_layout Standard
26954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26957 \begin_layout Standard
26958 math unit (1\InsetSpace \thinspace{}
26959 mu = 1/18\InsetSpace \thinspace{}
26978 \begin_layout Chapter
26979 Output File Formats with Graphics
26980 \begin_inset LatexCommand label
26981 name "cha:Output-File-Formats"
26988 \begin_layout Section
26990 \begin_inset LatexCommand index
26991 name "File Formats ! DVI"
26996 \begin_inset LatexCommand index
26997 name "DVI|see{File Formats}"
27004 \begin_layout Standard
27005 This file type has the extension
27006 \begin_inset Quotes eld
27014 \begin_inset Quotes erd
27019 \begin_inset Quotes eld
27023 \begin_inset Quotes erd
27026 (DVI), because it is completely portable; you can move them from one machine
27027 to another without needing to do any sort of conversion.
27028 At the time when this file-format was developed, this was no matter of
27030 DVIs are used for quick previews and as pre-stage for other output formats,
27034 \begin_layout Standard
27035 \begin_inset Note Greyedout
27038 \begin_layout Standard
27043 DVI-files doesn't contain images, they will only be a linked.
27048 So don't forget this, if you move your
27052 file to another computer.
27053 This property can also slow down your computer when you view the DVI.
27054 Because the DVI-viewer has to convert the image in the background to make
27055 it visible when you scroll in the DVI.
27056 So we recommend to use PDF for files with many images.
27059 \begin_layout Standard
27060 You can export your document to DVI by using the menu
27062 File\SpecialChar \menuseparator
27063 Export\SpecialChar \menuseparator
27067 You can view your document as PostScript via the
27071 menu or by using the toolbar button
27072 \begin_inset Graphics
27073 filename ../images/buffer-view_dvi.xpm
27081 \begin_layout Section
27083 \begin_inset LatexCommand label
27084 name "sec:PostScript"
27089 \begin_inset LatexCommand index
27090 name "File Formats ! PostScript\\protect\\pagebreak"
27095 \begin_inset LatexCommand index
27096 name "PostScript|see{File Formats}"
27103 \begin_layout Standard
27104 This file type has the extension
27105 \begin_inset Quotes eld
27113 \begin_inset Quotes erd
27117 PostScript was developed by the company
27121 as printer language.
27122 The file contains therefore commands that the printer uses to print the
27124 PostScript can be seen as
27125 \begin_inset Quotes eld
27128 programming language
27129 \begin_inset Quotes erd
27132 ; you can calculate with it and draw diagrams and images
27136 \begin_layout Standard
27137 If you are interested to learn more about this, have a look at the LaTeX-package
27143 \begin_inset LatexCommand cite
27154 Due to this ability, the files are often bigger than PDFs.
27157 \begin_layout Standard
27158 PostScript can only contain images in the format
27159 \begin_inset Quotes eld
27162 Encapsulated PostScript
27163 \begin_inset Quotes erd
27166 (EPS, file extension
27167 \begin_inset Quotes eld
27175 \begin_inset Quotes erd
27179 As LyX allows you to use any known image format in your document, it has
27180 to convert images in the background to EPS.
27181 If you have e.g 50 images in your document, LyX has to do 50 conversions
27182 whenever you view or export your document.
27183 This will slow down your work flow with LyX drastically.
27184 So if you plan to use PostScript, you can insert your images directly as
27185 EPS to avoid this problem.
27188 \begin_layout Standard
27189 You can export your document to PostScript using the menu
27191 File\SpecialChar \menuseparator
27192 Export\SpecialChar \menuseparator
27196 You can view your document as PostScript via the
27200 menu or by using the toolbar button
27201 \begin_inset Graphics
27202 filename ../images/buffer-view_ps.xpm
27210 \begin_layout Section
27212 \begin_inset LatexCommand label
27218 \begin_inset LatexCommand index
27219 name "File Formats ! PDF"
27224 \begin_inset LatexCommand index
27232 \begin_layout Standard
27233 This file type has the extension
27234 \begin_inset Quotes eld
27242 \begin_inset Quotes erd
27247 \begin_inset Quotes eld
27250 Portable Document Format
27251 \begin_inset Quotes erd
27254 (PDF) is developed by
27258 as derivative from PostScript.
27259 It is more compressed and it uses much less commands than PostScript.
27261 \begin_inset Quotes eld
27265 \begin_inset Quotes erd
27268 implies, it can be processed at any computer system and the printed output
27269 looks exactly the same.
27272 \begin_layout Standard
27273 PDF can contain images in its own PDF format, in the format
27274 \begin_inset Quotes eld
27277 Joint Photographic Experts Group
27278 \begin_inset Quotes erd
27281 (JPG, file extension
27282 \begin_inset Quotes eld
27290 \begin_inset Quotes erd
27294 \begin_inset Quotes eld
27302 \begin_inset Quotes erd
27305 ), and in the format
27306 \begin_inset Quotes eld
27309 Portable Network Graphics
27310 \begin_inset Quotes erd
27313 (PNG, file extension
27314 \begin_inset Quotes eld
27322 \begin_inset Quotes erd
27326 You can although use any other image format, because LyX converts them
27327 in the background to one of these formats.
27328 But as described in the section about PostScript, the image conversion
27329 will slow down your work flow.
27330 So it is recommended to use images in one of the three mentioned formats.
27333 \begin_layout Standard
27334 You can export your document to PDF via the menu
27336 File\SpecialChar \menuseparator
27339 in three different ways:
27342 \begin_layout Description
27343 PDF This uses the program
27347 that creates a PDF from a PostScript-version of your file.
27348 The PostScript-version is produced by the program
27352 which uses a DVI-version as intermediate step.
27353 So this export variant consist of three conversions.
27356 \begin_layout Description
27358 (dvipdfm) This uses the program
27362 that converts your file in the background to DVI and in a second step to
27366 \begin_layout Description
27368 (pdflatex) This uses the program
27372 that converts your file directly to PDF.
27375 \begin_layout Standard
27376 It is recommended to use
27385 supports all features of actual PDF-versions, is quick and works stable
27391 is not under development and therefore a bit outdated.
27394 \begin_layout Standard
27395 You can view your document as PDF via the
27399 menu or by using the toolbar button
27400 \begin_inset Graphics
27401 filename ../images/buffer-view_pdf2.xpm
27418 \begin_layout Chapter
27419 Explanation of Equation\InsetSpace ~
27421 \begin_inset LatexCommand eqref
27427 \begin_inset LatexCommand label
27428 name "cha:Explanation-of-Equation"
27435 \begin_layout Standard
27441 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27444 can be calculated to
27447 \begin_layout Standard
27448 \begin_inset Formula \begin{equation}
27449 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27456 \begin_layout Standard
27458 \begin_inset Formula $W_{g\, n}$
27461 is the given width of all cells.
27468 is the LaTeX-length between the cell text and the cell border, its default
27469 value is 6\InsetSpace \thinspace{}
27477 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27481 \begin_layout Standard
27482 Following equation\InsetSpace ~
27484 \begin_inset LatexCommand eqref
27485 reference "eq:Wtot_n"
27489 , the total width of a multicolumn
27490 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27496 \begin_layout Standard
27497 \begin_inset Formula \begin{equation}
27498 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27505 \begin_layout Standard
27506 By setting equation\InsetSpace ~
27508 \begin_inset LatexCommand eqref
27509 reference "eq:Wtot_n"
27514 \begin_inset LatexCommand eqref
27515 reference "eq:Wtot_mult"
27519 equal we can calculate the needed given width
27520 \begin_inset Formula $W_{g\, n}$
27527 columns are spanned, so that each column has a total width of
27528 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27534 \begin_layout Standard
27535 \begin_inset Formula \begin{equation}
27536 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27543 \begin_layout Bibliography
27544 \begin_inset LatexCommand bibitem
27545 key "latexcompanion"
27549 Frank Mittelbach and Michel Goossens:
27551 The LaTeX Companion Second Edition.
27554 Addison-Wesley, 2004
27557 \begin_layout Bibliography
27558 \begin_inset LatexCommand bibitem
27563 Helmut Kopka and Patrick W.
27566 A Guide to LaTeX Fourth Edition.
27569 Addison-Wesley, 2003
27572 \begin_layout Bibliography
27573 \begin_inset LatexCommand bibitem
27580 LaTeX: A Document Preparation System.
27583 Addison-Wesley, second edition, 1994
27586 \begin_layout Bibliography
27587 \begin_inset LatexCommand bibitem
27596 \begin_layout Standard
27600 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27610 \begin_layout Standard
27617 of the LaTeX-package
27622 \begin_inset LatexCommand index
27623 name "LaTeX-packages ! booktabs"
27630 \begin_layout Bibliography
27631 \begin_inset LatexCommand bibitem
27640 \begin_layout Standard
27644 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27653 \begin_layout Standard
27660 of the LaTeX-package
27665 \begin_inset LatexCommand index
27666 name "LaTeX-packages ! caption"
27673 \begin_layout Bibliography
27674 \begin_inset LatexCommand bibitem
27683 \begin_layout Standard
27687 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27697 \begin_layout Standard
27704 of the LaTeX-package
27709 \begin_layout Bibliography
27710 \begin_inset LatexCommand bibitem
27719 \begin_layout Standard
27723 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27733 \begin_layout Standard
27740 of the LaTeX-package
27742 endf\SpecialChar \textcompwordmark{}
27746 \begin_inset LatexCommand index
27747 name "LaTeX-packages ! endfloat"
27754 \begin_layout Bibliography
27755 \begin_inset LatexCommand bibitem
27764 \begin_layout Standard
27768 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27778 \begin_layout Standard
27785 of the LaTeX-package
27787 floatf\SpecialChar \textcompwordmark{}
27791 \begin_inset LatexCommand index
27792 name "LaTeX-packages ! floatflt"
27799 \begin_layout Bibliography
27800 \begin_inset LatexCommand bibitem
27809 \begin_layout Standard
27813 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27823 \begin_layout Standard
27830 of the LaTeX-package
27835 \begin_inset LatexCommand index
27836 name "LaTeX-packages ! footmisc"
27843 \begin_layout Bibliography
27844 \begin_inset LatexCommand bibitem
27853 \begin_layout Standard
27857 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27866 \begin_layout Standard
27873 of the LaTeX-package
27878 \begin_inset LatexCommand index
27879 name "LaTeX-packages ! hyperref"
27886 \begin_layout Bibliography
27887 \begin_inset LatexCommand bibitem
27896 \begin_layout Standard
27900 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
27910 \begin_layout Standard
27917 of the LaTeX-package
27922 \begin_inset LatexCommand index
27923 name "LaTeX-packages ! hyperref"
27930 \begin_layout Bibliography
27931 \begin_inset LatexCommand bibitem
27940 \begin_layout Standard
27944 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
27954 \begin_layout Standard
27961 of the LaTeX-package
27966 \begin_inset LatexCommand index
27967 name "LaTeX-packages ! koma-script"
27974 \begin_layout Bibliography
27975 \begin_inset LatexCommand bibitem
27976 key "koma-script-de"
27984 \begin_layout Standard
27988 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
27998 \begin_layout Standard
28005 of the LaTeX-package
28010 \begin_inset LatexCommand index
28011 name "LaTeX-packages ! koma-script"
28018 \begin_layout Bibliography
28019 \begin_inset LatexCommand bibitem
28028 \begin_layout Standard
28032 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28042 \begin_layout Standard
28049 of the LaTeX-package
28054 \begin_inset LatexCommand index
28055 name "LaTeX-packages ! marginnote"
28062 \begin_layout Bibliography
28063 \begin_inset LatexCommand bibitem
28072 \begin_layout Standard
28076 href{http://tug.org/PSTricks/main.cgi/}{
28085 \begin_layout Standard
28092 of the LaTeX-package
28097 \begin_inset LatexCommand index
28098 name "LaTeX-packages ! PSTricks"
28105 \begin_layout Bibliography
28106 \begin_inset LatexCommand bibitem
28115 \begin_layout Standard
28119 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28128 \begin_layout Standard
28135 of the LaTeX-package
28140 \begin_inset LatexCommand index
28141 name "LaTeX-packages ! sidecap"
28148 \begin_layout Bibliography
28149 \begin_inset LatexCommand bibitem
28158 \begin_layout Standard
28162 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28171 \begin_layout Standard
28178 about new LyX-features planned for the release
28185 \begin_layout Standard
28186 \begin_inset LatexCommand printindex
28193 \begin_layout Standard
28194 \begin_inset FloatList figure
28201 \begin_layout Standard
28202 \begin_inset FloatList table