1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % use the marginnote package for margin notes
80 \usepackage{marginnote}
81 \let\marginpar\marginnote
83 % enables calculation of values,
86 % provides special table cell alignments
89 % increase the bottom float placement fraction
90 \renewcommand{\bottomfraction}{0.5}
92 % avoids that floats are placed before their
93 % corresponding section starts
94 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
96 % speed up the longtable calculation
97 \setcounter{LTchunksize}{100}
99 % define a new reference format
101 {Figure~float~\ref{#1} printed on page~\pageref{#1}}
103 % used for colored tables
104 \@ifundefined{textcolor}
105 {\usepackage{color}}{}
106 \usepackage{colortbl}
107 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
108 \definecolor{lightgrey}{gray}{0.8}
110 % used for tables with dashed lines
111 \usepackage{arydshln}
114 \usepackage{multirow}
115 %\renewcommand{\multirowsetup}{\centering}
117 % used for book-style tables
118 \usepackage{booktabs}
120 % used to have extra space in table cells,
121 \setlength{\extrarowheight}{2pt}
123 % used for customized tables
126 {>{\centering\hspace{0pt}}m{#1}}
129 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
132 {>{\columncolor{#1}\hspace{0pt}}c}
134 \newcolumntype{V}{!{\vrule width 1.5pt}}
136 \newcolumntype{W}{!{\color{green}\vline}}
139 % To be able to enter the characters ° and · directly in LyX
140 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
141 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
143 % insert additional vertical space of
144 % 1.5 mm between footnotes
146 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
148 % enable algorithm floats to be referenced
149 \newfloat{Xalgorithm}{tbp}{loa}
150 \floatname{Xalgorithm}{Algorithm}
151 \newcommand{\theHalgorithm}{\theHXalgorithm}
152 \renewenvironment{algorithm}[1][tbp]
153 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
155 % number algorithm floats within chapters
156 \numberwithin{Xalgorithm}{chapter}
158 % redefine the greyed out note
159 \renewenvironment{lyxgreyedout}
160 {\textcolor{blue}\bgroup}{\egroup}
162 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
167 \font_typewriter default
168 \font_default_family default
182 \paperorientation portrait
185 \paragraph_separation skip
187 \quotes_language english
190 \paperpagestyle default
194 \tracking_changes false
202 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
210 \begin_layout Standard
212 If you have comments or error corrections, please send them to the LyX Documenta
219 \begin_layout Standard
223 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
228 lyx-docs@lists.lyx.org
232 \begin_layout Standard
245 \begin_inset Note Note
248 \begin_layout Standard
249 original author: Uwe Stöhr <uwestoehr@web.de>
265 \begin_layout Standard
266 \begin_inset LatexCommand tableofcontents
273 \begin_layout Standard
274 \begin_inset Note Note
277 \begin_layout Standard
278 To export this document to PDF, PS, or DVI the LaTeX-packages
293 \begin_layout Standard
294 The latest PDF-version of this document can be found here:
298 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
306 \begin_layout Chapter
308 \begin_inset LatexCommand label
314 \begin_inset LatexCommand index
322 \begin_layout Section
324 \begin_inset LatexCommand index
325 name "Figure ! Graphics Dialog"
332 \begin_layout Standard
333 To insert an image into your document, place the cursor at the text position
334 you want and click on the toolbar icon
335 \begin_inset Graphics
336 filename ../images/dialog-show-new-inset_graphics.xpm
343 Insert\SpecialChar \menuseparator
347 Then a dialog will appear to choose the file to load.
348 The image will appear in the output exactly at the position where it is
352 \begin_layout Standard
353 The graphics dialog can be called at any time by right-clicking on an image.
354 This dialog has three tabs:
357 \begin_layout Description
362 Here you can choose an image file and adjust its appearance in the output.
363 The available units for the image size are explained in appendix\InsetSpace ~
365 \begin_inset LatexCommand ref
366 reference "cha:Units-available-in"
372 You can rotate images counter-clockwise by setting a rotation angle and
374 The image will also be rotated inside LyX.
377 \begin_layout Description
382 Alternatively to the usage of scaling units it is possible to set image
383 coordinates to adjust the height and width of the image in the output.
384 The coordinates can also be calculated automatically by pressing the button
396 bounding\InsetSpace ~
399 will only print the image region within the given coordinates.
400 Normally you don't need to take care about image coordinates and can ignore
404 \begin_layout Description
410 In this tab you can modify the appearance of the image within LyX and set
411 the image to be a subfigure of a figure float with an own caption.
412 Subfigures are explained in section\InsetSpace ~
414 \begin_inset LatexCommand ref
415 reference "sec:Figure-Floats"
421 LaTeX experts can also specify on this tab additional LaTeX options.
429 makes the image appear in the output only as a frame with the size of the
439 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
446 When the option is used the images will not be unzipped on export, since
447 LaTeX can handle them as they are.
449 Zipped EPS-graphics are useful to save
450 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
452 \begin_inset LatexCommand ref
453 reference "sec:PostScript"
458 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
469 zgrep %%Bounding x.eps.gz > x.eps.bb
473 The second command creates the bounding box file
474 \begin_inset Quotes eld
478 \begin_inset Quotes erd
481 that is needed by LaTeX for zipped graphics.
484 \begin_layout Standard
487 This is an example image in EPS format
491 \begin_layout Standard
492 Image formats are explained in section\InsetSpace ~
494 \begin_inset LatexCommand ref
495 reference "sec:Image-Formats"
504 within a separate, horizontally centered paragraph:
507 \begin_layout Standard
509 \begin_inset Graphics
520 \begin_layout Standard
521 This is the same image like the one above but in draft mode:
524 \begin_layout Standard
526 \begin_inset Graphics
538 \begin_layout Section
540 \begin_inset LatexCommand label
541 name "sec:Figure-Floats"
546 \begin_inset LatexCommand index
547 name "Floats ! Figure Floats"
552 \begin_inset LatexCommand index
553 name "Figure ! Floats"
560 \begin_layout Standard
561 For general explanations about floats, have a look at section\InsetSpace ~
563 \begin_inset LatexCommand ref
564 reference "sec:FloatIntroduction"
571 \begin_layout Standard
573 \begin_inset Graphics
574 filename ../images/float-insert_figure.xpm
581 Insert\SpecialChar \menuseparator
582 Float\SpecialChar \menuseparator
585 inserts a float with the label
586 \begin_inset Quotes eld
595 \begin_inset Quotes erd
599 Set the cursor behind this label, press Enter and insert the image as described
600 above to get the caption printed below the image.
601 This was done for Figure\InsetSpace ~
603 \begin_inset LatexCommand ref
604 reference "fig:kill-plat"
609 If you want the caption to be above the image, set the cursor at the end
610 of the caption, press enter and insert the image.
611 This was done in Figure\InsetSpace ~
613 \begin_inset LatexCommand ref
614 reference "fig:escher"
619 More about the caption placement is described in section\InsetSpace ~
621 \begin_inset LatexCommand ref
622 reference "sec:Caption-Placement"
629 \begin_layout Standard
630 \begin_inset Float figure
635 \begin_layout Standard
637 \begin_inset Graphics
638 filename platypus.eps
648 \begin_layout Standard
651 \begin_layout Standard
652 \begin_inset LatexCommand label
657 A severely distorted platypus in a float.
670 \begin_layout Standard
671 \begin_inset Float figure
676 \begin_layout Standard
679 \begin_layout Standard
680 \begin_inset LatexCommand label
694 \begin_layout Standard
696 \begin_inset Graphics
697 filename escher-lsd.eps
712 \begin_layout Standard
713 \begin_inset LatexCommand index
714 name "References ! to Figures"
720 \begin_inset LatexCommand ref
721 reference "fig:kill-plat"
726 \begin_inset LatexCommand ref
727 reference "fig:escher"
731 are an example of cross-referenced figures.
732 Figures can be cross-referenced in the text by referencing their label.
733 To do this insert a label in the caption using the menu
735 Insert\SpecialChar \menuseparator
738 or the toolbar button
739 \begin_inset Graphics
740 filename ../images/label-insert.xpm
746 You can now refer to the label using the menu
748 Insert\SpecialChar \menuseparator
752 or the toolbar button
753 \begin_inset Graphics
754 filename ../images/dialog-show-new-inset_ref.xpm
760 It is important to use references to floats, rather than using vague references
762 \begin_inset Quotes eld
766 \begin_inset Quotes erd
769 , because as LaTeX will reposition the floats in the final document, it
771 \begin_inset Quotes eld
775 \begin_inset Quotes erd
781 \begin_layout Standard
782 Normally only one image is inserted to a figure float, but sometimes you
783 might want to use two images with separate subcaptions.
784 This can be set in the tab
789 of the graphics dialog.
790 Choose there the option
794 and enter the subcaption for the image in the caption field.
795 Note that only the main caption of the float is added to the List of Figures.
798 \begin_layout Standard
801 \begin_inset LatexCommand ref
802 reference "fig:Two-distorted-images"
806 is an example of a figure float with two images set side by side.
807 You can also set the images one below the other.
810 \begin_layout Standard
811 \begin_inset Float figure
816 \begin_layout Standard
820 \begin_inset Graphics
821 filename escher-lsd.eps
824 subcaptionText "Undefinable structure"
831 \begin_inset Graphics
832 filename platypus.eps
836 subcaptionText "Platypus"
845 \begin_layout Standard
848 \begin_layout Standard
849 \begin_inset LatexCommand label
850 name "fig:Two-distorted-images"
854 Two distorted images.
867 \begin_layout Section
869 \begin_inset LatexCommand label
870 name "sec:Image-Formats"
875 \begin_inset LatexCommand index
881 \begin_inset LatexCommand index
882 name "Figure ! Image Formats"
889 \begin_layout Standard
890 You can insert images in any known file format.
891 But as explained in appendix\InsetSpace ~
893 \begin_inset LatexCommand ref
894 reference "cha:Output-File-Formats"
898 , every output document format allows only a few image formats.
899 LyX uses therefore the program
903 in the background to convert the images to the right format.
904 To increase your work flow by avoiding these conversions in the background,
905 you can use only the image formats that can directly be embedded in the
907 The output file formats are explained in appendix\InsetSpace ~
909 \begin_inset LatexCommand ref
910 reference "cha:Output-File-Formats"
917 \begin_layout Standard
918 Similar to fonts there are two types of image formats:
921 \begin_layout Description
923 images consist of pixel values, often in a compressed form.
924 They are therefore not fully scalable and look pixeled in large zooms.
925 Well-known bitmap image formats are
926 \begin_inset Quotes eld
929 Graphics Interchange Format
930 \begin_inset Quotes erd
934 \begin_inset Quotes eld
942 \begin_inset Quotes erd
946 \begin_inset LatexCommand index
947 name "GIF|see{Image formats}"
952 \begin_inset Quotes eld
955 Portable Network Graphics
956 \begin_inset Quotes erd
960 \begin_inset Quotes eld
968 \begin_inset Quotes erd
972 \begin_inset LatexCommand index
973 name "PNG|see{Image formats}"
978 \begin_inset Quotes eld
981 Joint Photographic Experts Group
982 \begin_inset Quotes erd
986 \begin_inset Quotes eld
994 \begin_inset Quotes erd
998 \begin_inset Quotes eld
1006 \begin_inset Quotes erd
1010 \begin_inset LatexCommand index
1011 name "JPG|see{Image formats}"
1018 \begin_layout Description
1020 images consist of vectors and can therefore be scaled to any size
1022 The scaling ability is necessary if you want to create presentations, because
1023 presentations are always scaled by the video projector.
1024 Scaling is also useful for online documents to let the user zoom into diagrams.
1027 ell-known scalable image formats are
1028 \begin_inset Quotes eld
1031 Scalable Vector Graphics
1032 \begin_inset Quotes erd
1035 (SVG, file extension
1036 \begin_inset Quotes eld
1044 \begin_inset Quotes erd
1048 \begin_inset LatexCommand index
1049 name "SVG|see{Image formats}"
1054 \begin_inset Quotes eld
1057 Encapsulated PostScript
1058 \begin_inset Quotes erd
1061 (EPS, file extension
1062 \begin_inset Quotes eld
1070 \begin_inset Quotes erd
1074 \begin_inset LatexCommand index
1075 name "EPS|see{Image formats}"
1080 \begin_inset Quotes eld
1083 Portable Document Format
1084 \begin_inset Quotes erd
1087 (PDF, file extension
1088 \begin_inset Quotes eld
1096 \begin_inset Quotes erd
1100 \begin_inset LatexCommand index
1106 \begin_inset Quotes eld
1110 \begin_inset Quotes erd
1113 (WMF, file extension
1114 \begin_inset Quotes eld
1122 \begin_inset Quotes erd
1126 \begin_inset LatexCommand index
1127 name "SVG|see{Image formats}"
1133 \begin_inset Quotes eld
1137 \begin_inset Quotes erd
1140 , because you can convert any bitmap image to a PDF or EPS-image and the
1141 result will still be a bitmap image.
1142 In this cases only a header with the image properties is added to the original
1147 \begin_layout Standard
1148 In the case of PDF, the original image is additionally compressed.
1154 The PDF-files generated by
1158 are for example bitmap images.
1161 \begin_layout Standard
1162 Normally it is not possible to convert a bitmap image into a scalable one,
1164 Only the image formats PDF and EPS can directly be embedded to PDF and
1165 PostScript output files, respectively.
1166 SVG and WMF-images are currently recalculated to bitmaps when the output
1167 file is generated because there is currently no adequate WMF/SVG
1168 \begin_inset Formula $\to$
1171 PDF/EPS converter available.
1174 \begin_layout Chapter
1176 \begin_inset LatexCommand label
1182 \begin_inset LatexCommand index
1190 \begin_layout Section
1192 \begin_inset LatexCommand index
1193 name "Table ! Introduction"
1200 \begin_layout Standard
1201 You can insert a table using either the toolbar button
1202 \begin_inset Graphics
1203 filename ../images/tabular-insert.xpm
1210 Insert\SpecialChar \menuseparator
1214 The toolbar button offers you a graphical selection: Move the mouse to
1215 set the column/row number of the table that should be created and then
1216 press a mouse button.
1217 When you use the menu to create a table, a dialog will appear, asking you
1218 for the number of rows and columns.
1220 The default table has lines around any
1221 cell and the first row appears separated from the rest of the table.
1222 This separation occurs due to a double line: The cells of the first row
1223 have a line below them and the cells of the second row have a line above
1225 Here is an example table:
1228 \begin_layout Standard
1230 \begin_inset Tabular
1231 <lyxtabular version="3" rows="4" columns="4">
1233 <column alignment="center" valignment="top" leftline="true" width="0">
1234 <column alignment="center" valignment="top" leftline="true" width="0">
1235 <column alignment="center" valignment="top" leftline="true" width="0">
1236 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1237 <row topline="true" bottomline="true">
1238 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1241 \begin_layout Standard
1247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1250 \begin_layout Standard
1265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1268 \begin_layout Standard
1274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1277 \begin_layout Standard
1284 <row topline="true">
1285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1288 \begin_layout Standard
1303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1306 \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" rightline="true" usebox="none">
1324 \begin_layout Standard
1331 <row topline="true">
1332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1335 \begin_layout Standard
1350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1353 \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" rightline="true" usebox="none">
1371 \begin_layout Standard
1378 <row topline="true" bottomline="true">
1379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1382 \begin_layout Standard
1397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1400 \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" rightline="true" usebox="none">
1418 \begin_layout Standard
1432 \begin_layout Section
1434 \begin_inset LatexCommand index
1435 name "Table ! Dialog"
1442 \begin_layout Standard
1443 You can alter a table by clicking on it with the right mouse button, which
1444 brings up the table dialog.
1445 Here you can adjust the settings of that cell and row/column respectively
1446 where the cursor is currently placed.
1447 Most of the dialog options also work on selections.
1448 This means if you select more cells, columns or rows, the action is done
1449 for the whole selection.
1450 Note that there is a difference between selecting the
1454 of the cell, and the cell itself.
1455 You can alter tables with the following tabs of the table dialog:
1458 \begin_layout Description
1464 Here you can set the horizontal alignment for the current row and the width
1465 of the current column.
1466 When you have set a width you can also adjust the vertical alignment of
1468 A given width will allow the cell to have line breaks and multiple paragraphs
1469 of text, see section\InsetSpace ~
1471 \begin_inset LatexCommand ref
1472 reference "sub:Multiple-Lines-in"
1477 If you set no width, the column is as wide as their widest cell content
1480 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1481 cell, see section\InsetSpace ~
1483 \begin_inset LatexCommand ref
1484 reference "sub:Multicolumns"
1490 The rotate check boxes rotates the current cell, a selection, or the whole
1491 table counter-clockwise by 90°.
1492 The rotation is not shown within LyX, only in the output.
1495 \begin_inset Note Greyedout
1498 \begin_layout Standard
1503 Not all DVI-viewers are able to display rotations.
1510 It is also possible to enter a LaTeX-argument which is needed for special
1511 table formattings, see section\InsetSpace ~
1513 \begin_inset LatexCommand ref
1514 reference "sub:Multicolumn-Calculations"
1519 \begin_inset LatexCommand ref
1520 reference "sec:Colored-Tables"
1527 \begin_layout Description
1532 In this tab you can add and delete border lines for the current row/column.
1539 will convert the table to a formal table as described in section\InsetSpace ~
1541 \begin_inset LatexCommand ref
1542 reference "sec:Formal-Tables"
1548 You can also add here space to table rows as decribed in section\InsetSpace ~
1550 \begin_inset LatexCommand ref
1551 reference "sub:Row-Spacing"
1558 \begin_layout Description
1563 This tab is to make a table a so called
1564 \begin_inset Quotes eld
1572 \begin_inset Quotes erd
1575 that can run over several pages.
1576 Section\InsetSpace ~
1578 \begin_inset LatexCommand ref
1579 reference "sec:Longtables"
1584 \begin_inset LatexCommand ref
1585 reference "sec:Special-Longtable-Issues"
1589 describe the longtable features in detail.
1592 \begin_layout Standard
1593 When the table toolbar is opened, you can move the cursor with the arrow
1594 keys from cell to cell and the property of the current cell will immediately
1595 be displayed in the dialog.
1598 \begin_layout Section
1600 \begin_inset LatexCommand index
1601 name "Table ! Toolbar"
1608 \begin_layout Standard
1609 The table toolbar is an alternative to the table dialog to be able to alter
1611 It should normally appear at the bottom of LyX's main window when the cursor
1613 You can alternatively switch it on to appear always, by right-clicking
1614 in LyX's main menu bar.
1617 \begin_layout Standard
1618 The toolbar has the following icons:
1621 \begin_layout Labeling
1622 \labelwidthstring 00.00.0000
1623 \begin_inset Graphics
1624 filename ../images/tabular-feature_append-row.xpm
1628 adds a row below the current cell or selection
1631 \begin_layout Labeling
1632 \labelwidthstring 00.00.0000
1633 \begin_inset Graphics
1634 filename ../images/tabular-feature_append-column.xpm
1638 adds a column right beside the current cell or selection
1641 \begin_layout Labeling
1642 \labelwidthstring 00.00.0000
1643 \begin_inset Graphics
1644 filename ../images/tabular-feature_delete-row.xpm
1648 deletes the current row or selection
1651 \begin_layout Labeling
1652 \labelwidthstring 00.00.0000
1653 \begin_inset Graphics
1654 filename ../images/tabular-feature_delete-column.xpm
1658 deletes the current column or selection
1661 \begin_layout Labeling
1662 \labelwidthstring 00.00.0000
1663 \begin_inset Graphics
1664 filename ../images/tabular-feature_toggle-line-top.xpm
1668 adds a line at the top of the current cell / row or of a selection
1671 \begin_layout Labeling
1672 \labelwidthstring 00.00.0000
1673 \begin_inset Graphics
1674 filename ../images/tabular-feature_toggle-line-bottom.xpm
1678 adds a line at the bottom of the current cell / row or of a selection
1681 \begin_layout Labeling
1682 \labelwidthstring 00.00.0000
1683 \begin_inset Graphics
1684 filename ../images/tabular-feature_toggle-line-left.xpm
1688 adds a line at the left side of the current cell / row or of a selection
1691 \begin_layout Labeling
1692 \labelwidthstring 00.00.0000
1693 \begin_inset Graphics
1694 filename ../images/tabular-feature_toggle-line-right.xpm
1698 adds a line at the right side of the current cell / row or of a selection
1701 \begin_layout Labeling
1702 \labelwidthstring 00.00.0000
1703 \begin_inset Graphics
1704 filename ../images/tabular-feature_set-all-lines.xpm
1708 adds lines around the current or selected cells - if the current cell no
1709 multicolumn this also affects the current row and column
1712 \begin_layout Labeling
1713 \labelwidthstring 00.00.0000
1714 \begin_inset Graphics
1715 filename ../images/tabular-feature_unset-all-lines.xpm
1719 deletes all lines of the current or selected cells - if the current cell
1720 no multicolumn this also affects the current row and column
1723 \begin_layout Labeling
1724 \labelwidthstring 00.00.0000
1725 \begin_inset Graphics
1726 filename ../images/tabular-feature_align-left.xpm
1730 left-aligns the content of the current cell / column
1733 \begin_layout Labeling
1734 \labelwidthstring 00.00.0000
1735 \begin_inset Graphics
1736 filename ../images/tabular-feature_align-center.xpm
1740 centers the content of the current cell / column horizontally
1743 \begin_layout Labeling
1744 \labelwidthstring 00.00.0000
1745 \begin_inset Graphics
1746 filename ../images/tabular-feature_align-right.xpm
1750 right-aligns the content of the current cell / column
1753 \begin_layout Labeling
1754 \labelwidthstring 00.00.0000
1755 \begin_inset Graphics
1756 filename ../images/tabular-feature_valign-top.xpm
1760 aligns the content of the current cell vertically to the top
1763 \begin_layout Labeling
1764 \labelwidthstring 00.00.0000
1765 \begin_inset Graphics
1766 filename ../images/tabular-feature_valign-middle.xpm
1770 centers the content of the current cell vertically
1773 \begin_layout Labeling
1774 \labelwidthstring 00.00.0000
1775 \begin_inset Graphics
1776 filename ../images/tabular-feature_valign-bottom.xpm
1780 aligns the content of the current cell vertically to the bottom
1783 \begin_layout Labeling
1784 \labelwidthstring 00.00.0000
1785 \begin_inset Graphics
1786 filename ../images/tabular-feature_set-rotate-cell.xpm
1790 rotates the current cell or selection counter-clockwise by 90°
1793 \begin_layout Labeling
1794 \labelwidthstring 00.00.0000
1795 \begin_inset Graphics
1796 filename ../images/tabular-feature_set-rotate-tabular.xpm
1800 rotates the whole table counter-clockwise by 90°
1803 \begin_layout Labeling
1804 \labelwidthstring 00.00.0000
1805 \begin_inset Graphics
1806 filename ../images/tabular-feature_multicolumn.xpm
1810 sets the current cell or selection as a multicolumn
1813 \begin_layout Section
1815 \begin_inset LatexCommand index
1816 name "Table ! Edit Menu"
1823 \begin_layout Standard
1824 Additionally to the table dialog and toolbar, the menu
1826 Edit\SpecialChar \menuseparator
1829 allows you to add and delete border lines for the current row/column and
1830 to set the current selection as multicolumn.
1831 The menu is only available when the cursor is inside a table.
1834 \begin_layout Section
1836 \begin_inset LatexCommand label
1837 name "sec:Table-Floats"
1842 \begin_inset LatexCommand index
1843 name "Floats ! Tables"
1848 \begin_inset LatexCommand index
1849 name "Table ! Floats"
1856 \begin_layout Standard
1857 For general explanations about floats, have a look at section\InsetSpace ~
1859 \begin_inset LatexCommand ref
1860 reference "sec:FloatIntroduction"
1867 \begin_layout Standard
1868 \begin_inset Float table
1874 \begin_layout Standard
1875 \begin_inset Caption
1877 \begin_layout Standard
1878 \begin_inset LatexCommand label
1879 name "tab:a table float"
1891 \begin_layout Standard
1893 \begin_inset Tabular
1894 <lyxtabular version="3" rows="3" columns="3">
1896 <column alignment="center" valignment="top" leftline="true" width="0pt">
1897 <column alignment="center" valignment="top" leftline="true" width="0pt">
1898 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1899 <row topline="true" bottomline="true">
1900 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1903 \begin_layout Standard
1918 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1921 \begin_layout Standard
1936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1939 \begin_layout Standard
1955 <row topline="true">
1956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1959 \begin_layout Standard
1974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1977 \begin_layout Standard
1992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1995 \begin_layout Standard
2011 <row topline="true" bottomline="true">
2012 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2015 \begin_layout Standard
2025 \begin_inset Formula $\int x^{2}dx$
2033 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2036 \begin_layout Standard
2046 \begin_inset Formula $\left[\begin{array}{cc}
2048 c & d\end{array}\right]$
2056 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2059 \begin_layout Standard
2069 \begin_inset Formula $1+1=2$
2090 \begin_layout Standard
2091 Table floats can be inserted using the menu
2093 Insert\SpecialChar \menuseparator
2094 Float\SpecialChar \menuseparator
2097 or the toolbar button
2098 \begin_inset Graphics
2099 filename ../images/float-insert_table.xpm
2107 \begin_layout Standard
2108 The float appears as a collapsible box with the label
2109 \begin_inset Quotes eld
2118 \begin_inset Quotes erd
2122 The text following the label is the caption of the table.
2123 To insert a table to the the float set the cursor at the end of the caption
2124 text, press enter and insert the table.
2125 The caption is now printed above the table.
2128 \begin_layout Standard
2131 \begin_inset LatexCommand ref
2132 reference "tab:a table float"
2136 is an example table within a table float.
2139 \begin_layout Standard
2140 Having the caption above the table is the common rule that is unfortunately
2141 not supported in LaTeX's standard classes.
2142 That means if you are using the document classes
2158 there will be no space between the caption and the table.
2159 To insert the needed space, add the following option to the load command
2160 of the LaTeX-package
2165 \begin_inset LatexCommand index
2166 name "LaTeX-packages ! caption"
2170 in your document preamble
2174 \begin_layout Standard
2175 For more information have a look at section\InsetSpace ~
2177 \begin_inset LatexCommand ref
2178 reference "sec:Caption-Placement"
2190 \begin_layout Standard
2196 \begin_layout Standard
2201 , which is described in section\InsetSpace ~
2203 \begin_inset LatexCommand ref
2204 reference "sec:Caption-Formatting"
2208 , is used to adjust the caption format.
2211 \begin_layout Standard
2212 \begin_inset LatexCommand index
2213 name "References ! to Tables"
2217 Tables can be cross-referenced in the text by referencing their label.
2218 To do this insert a label in the caption using the menu
2220 Insert\SpecialChar \menuseparator
2223 or the toolbar button
2224 \begin_inset Graphics
2225 filename ../images/label-insert.xpm
2231 You can now refer to the label using the menu
2233 Insert\SpecialChar \menuseparator
2237 or the toolbar button
2238 \begin_inset Graphics
2239 filename ../images/dialog-show-new-inset_ref.xpm
2247 \begin_layout Standard
2251 \begin_layout Section
2253 \begin_inset LatexCommand label
2254 name "sec:Longtables"
2259 \begin_inset LatexCommand index
2265 \begin_inset LatexCommand index
2266 name "Table ! Longtables"
2273 \begin_layout Standard
2274 If the table is too long to fit on one page, you can use the option
2284 of the table dialog to split the table automatically over more pages.
2285 Doing this enables some check boxes and you can now define:
2288 \begin_layout Description
2293 : The current row and all rows above, that don't have any special options
2294 defined, are defined to be the header rows of all pages of the longtable;
2295 except for the first page, if
2301 This therefore called the main header.
2304 \begin_layout Description
2310 : The current row and all rows above, that don't have any special options
2311 defined, are defined to be the header rows of the first page of the longtable.
2314 \begin_layout Description
2319 : The current row and all rows below, that don't have any special options
2320 defined, are defined to be the footer rows of all pages of the longtable;
2321 except for the last page, if
2329 \begin_layout Description
2335 : The current row and all rows below, that don't have any special options
2336 defined, are defined to be the footer rows of the last page of the longtable.
2339 \begin_layout Standard
2340 You can also specify a row where the table is splitted.
2341 If you set more than one option in the same table row, you should be aware
2342 of the fact that only the first one is used in the given table row.
2343 The others will then be defined as
2348 In this context, first means first in this order:
2350 Footer, Last\InsetSpace ~
2366 See the following longtable to see how it works:
2369 \begin_layout Standard
2371 \begin_inset Tabular
2372 <lyxtabular version="3" rows="69" columns="3">
2373 <features islongtable="true">
2374 <column alignment="left" valignment="top" leftline="true" width="0cm">
2375 <column alignment="left" valignment="top" width="0pt">
2376 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2377 <row topline="true" bottomline="true" endfirsthead="true">
2378 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2381 \begin_layout Standard
2384 Example Phone List (ignore the names)
2389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2392 \begin_layout Standard
2398 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2401 \begin_layout Standard
2408 <row topline="true" bottomline="true" endfirsthead="true">
2409 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2412 \begin_layout Standard
2420 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2423 \begin_layout Standard
2429 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2432 \begin_layout Standard
2441 <row topline="true" bottomline="true" endhead="true">
2442 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2445 \begin_layout Standard
2453 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2456 \begin_layout Standard
2462 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2465 \begin_layout Standard
2472 <row topline="true" bottomline="true" endhead="true">
2473 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2476 \begin_layout Standard
2484 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2487 \begin_layout Standard
2493 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2496 \begin_layout Standard
2505 <row topline="true" bottomline="true" endfoot="true">
2506 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2509 \begin_layout Standard
2510 continued on next page
2515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2518 \begin_layout Standard
2524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2527 \begin_layout Standard
2535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2538 \begin_layout Standard
2546 <cell alignment="center" valignment="top" topline="true" usebox="none">
2549 \begin_layout Standard
2555 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2558 \begin_layout Standard
2566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2569 \begin_layout Standard
2577 <cell alignment="center" valignment="top" topline="true" usebox="none">
2580 \begin_layout Standard
2586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_layout Standard
2597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2600 \begin_layout Standard
2608 <cell alignment="center" valignment="top" topline="true" usebox="none">
2611 \begin_layout Standard
2617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_layout Standard
2628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2631 \begin_layout Standard
2639 <cell alignment="center" valignment="top" topline="true" usebox="none">
2642 \begin_layout Standard
2648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2651 \begin_layout Standard
2659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_layout Standard
2670 <cell alignment="center" valignment="top" topline="true" usebox="none">
2673 \begin_layout Standard
2679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2682 \begin_layout Standard
2690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2693 \begin_layout Standard
2701 <cell alignment="center" valignment="top" topline="true" usebox="none">
2704 \begin_layout Standard
2710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2713 \begin_layout Standard
2721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2724 \begin_layout Standard
2732 <cell alignment="center" valignment="top" topline="true" usebox="none">
2735 \begin_layout Standard
2741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2744 \begin_layout Standard
2752 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2755 \begin_layout Standard
2763 <cell alignment="center" valignment="top" topline="true" usebox="none">
2766 \begin_layout Standard
2772 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2775 \begin_layout Standard
2783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2786 \begin_layout Standard
2794 <cell alignment="center" valignment="top" topline="true" usebox="none">
2797 \begin_layout Standard
2803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_layout Standard
2814 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2817 \begin_layout Standard
2825 <cell alignment="center" valignment="top" topline="true" usebox="none">
2828 \begin_layout Standard
2834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_layout Standard
2845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2848 \begin_layout Standard
2856 <cell alignment="center" valignment="top" topline="true" usebox="none">
2859 \begin_layout Standard
2865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_layout Standard
2876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_layout Standard
2887 <cell alignment="center" valignment="top" topline="true" usebox="none">
2890 \begin_layout Standard
2896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_layout Standard
2907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2910 \begin_layout Standard
2918 <cell alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_layout Standard
2927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2930 \begin_layout Standard
2938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2941 \begin_layout Standard
2949 <cell alignment="center" valignment="top" topline="true" usebox="none">
2952 \begin_layout Standard
2958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2961 \begin_layout Standard
2969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_layout Standard
2980 <cell alignment="center" valignment="top" topline="true" usebox="none">
2983 \begin_layout Standard
2989 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2992 \begin_layout Standard
3000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3003 \begin_layout Standard
3011 <cell alignment="center" valignment="top" topline="true" usebox="none">
3014 \begin_layout Standard
3020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3023 \begin_layout Standard
3031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3034 \begin_layout Standard
3042 <cell alignment="center" valignment="top" topline="true" usebox="none">
3045 \begin_layout Standard
3051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_layout Standard
3062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_layout Standard
3073 <cell alignment="center" valignment="top" topline="true" usebox="none">
3076 \begin_layout Standard
3082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3085 \begin_layout Standard
3093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3096 \begin_layout Standard
3104 <cell alignment="center" valignment="top" topline="true" usebox="none">
3107 \begin_layout Standard
3113 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_layout Standard
3124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3127 \begin_layout Standard
3135 <cell alignment="center" valignment="top" topline="true" usebox="none">
3138 \begin_layout Standard
3144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3147 \begin_layout Standard
3155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3158 \begin_layout Standard
3166 <cell alignment="center" valignment="top" topline="true" usebox="none">
3169 \begin_layout Standard
3175 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3178 \begin_layout Standard
3186 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_layout Standard
3197 <cell alignment="center" valignment="top" topline="true" usebox="none">
3200 \begin_layout Standard
3206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_layout Standard
3217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3220 \begin_layout Standard
3228 <cell alignment="center" valignment="top" topline="true" usebox="none">
3231 \begin_layout Standard
3237 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3240 \begin_layout Standard
3248 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3251 \begin_layout Standard
3259 <cell alignment="center" valignment="top" topline="true" usebox="none">
3262 \begin_layout Standard
3268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3271 \begin_layout Standard
3279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_layout Standard
3290 <cell alignment="center" valignment="top" topline="true" usebox="none">
3293 \begin_layout Standard
3299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3302 \begin_layout Standard
3310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3313 \begin_layout Standard
3321 <cell alignment="center" valignment="top" topline="true" usebox="none">
3324 \begin_layout Standard
3330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3333 \begin_layout Standard
3341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3344 \begin_layout Standard
3352 <cell alignment="center" valignment="top" topline="true" usebox="none">
3355 \begin_layout Standard
3361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_layout Standard
3372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3375 \begin_layout Standard
3383 <cell alignment="center" valignment="top" topline="true" usebox="none">
3386 \begin_layout Standard
3392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3395 \begin_layout Standard
3403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3406 \begin_layout Standard
3414 <cell alignment="center" valignment="top" topline="true" usebox="none">
3417 \begin_layout Standard
3423 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3426 \begin_layout Standard
3434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3437 \begin_layout Standard
3445 <cell alignment="center" valignment="top" topline="true" usebox="none">
3448 \begin_layout Standard
3454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3457 \begin_layout Standard
3464 <row bottomline="true">
3465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3468 \begin_layout Standard
3476 <cell alignment="center" valignment="top" topline="true" usebox="none">
3479 \begin_layout Standard
3485 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3488 \begin_layout Standard
3495 <row bottomline="true">
3496 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3499 \begin_layout Standard
3505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3508 \begin_layout Standard
3514 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3517 \begin_layout Standard
3525 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3528 \begin_layout Standard
3536 <cell alignment="center" valignment="top" topline="true" usebox="none">
3539 \begin_layout Standard
3545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3548 \begin_layout Standard
3556 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3559 \begin_layout Standard
3567 <cell alignment="center" valignment="top" topline="true" usebox="none">
3570 \begin_layout Standard
3576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3579 \begin_layout Standard
3587 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3590 \begin_layout Standard
3598 <cell alignment="center" valignment="top" topline="true" usebox="none">
3601 \begin_layout Standard
3607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3610 \begin_layout Standard
3618 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3621 \begin_layout Standard
3629 <cell alignment="center" valignment="top" topline="true" usebox="none">
3632 \begin_layout Standard
3638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3641 \begin_layout Standard
3649 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3652 \begin_layout Standard
3660 <cell alignment="center" valignment="top" topline="true" usebox="none">
3663 \begin_layout Standard
3669 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3672 \begin_layout Standard
3680 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3683 \begin_layout Standard
3691 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_layout Standard
3700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3703 \begin_layout Standard
3711 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3714 \begin_layout Standard
3722 <cell alignment="center" valignment="top" topline="true" usebox="none">
3725 \begin_layout Standard
3731 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3734 \begin_layout Standard
3742 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3745 \begin_layout Standard
3753 <cell alignment="center" valignment="top" topline="true" usebox="none">
3756 \begin_layout Standard
3762 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_layout Standard
3773 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3776 \begin_layout Standard
3784 <cell alignment="center" valignment="top" topline="true" usebox="none">
3787 \begin_layout Standard
3793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_layout Standard
3804 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3807 \begin_layout Standard
3815 <cell alignment="center" valignment="top" topline="true" usebox="none">
3818 \begin_layout Standard
3824 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3827 \begin_layout Standard
3835 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3838 \begin_layout Standard
3846 <cell alignment="center" valignment="top" topline="true" usebox="none">
3849 \begin_layout Standard
3855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3858 \begin_layout Standard
3866 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3869 \begin_layout Standard
3877 <cell alignment="center" valignment="top" topline="true" usebox="none">
3880 \begin_layout Standard
3886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3889 \begin_layout Standard
3897 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_layout Standard
3908 <cell alignment="center" valignment="top" topline="true" usebox="none">
3911 \begin_layout Standard
3917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_layout Standard
3928 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3931 \begin_layout Standard
3939 <cell alignment="center" valignment="top" topline="true" usebox="none">
3942 \begin_layout Standard
3948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3951 \begin_layout Standard
3959 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3962 \begin_layout Standard
3970 <cell alignment="center" valignment="top" topline="true" usebox="none">
3973 \begin_layout Standard
3979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3982 \begin_layout Standard
3990 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3993 \begin_layout Standard
4001 <cell alignment="center" valignment="top" topline="true" usebox="none">
4004 \begin_layout Standard
4010 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4013 \begin_layout Standard
4021 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4024 \begin_layout Standard
4032 <cell alignment="center" valignment="top" topline="true" usebox="none">
4035 \begin_layout Standard
4041 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4044 \begin_layout Standard
4052 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4055 \begin_layout Standard
4063 <cell alignment="center" valignment="top" topline="true" usebox="none">
4066 \begin_layout Standard
4072 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4075 \begin_layout Standard
4083 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4086 \begin_layout Standard
4094 <cell alignment="center" valignment="top" topline="true" usebox="none">
4097 \begin_layout Standard
4103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4106 \begin_layout Standard
4114 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4117 \begin_layout Standard
4125 <cell alignment="center" valignment="top" topline="true" usebox="none">
4128 \begin_layout Standard
4134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4137 \begin_layout Standard
4145 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4148 \begin_layout Standard
4156 <cell alignment="center" valignment="top" topline="true" usebox="none">
4159 \begin_layout Standard
4165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4168 \begin_layout Standard
4176 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4179 \begin_layout Standard
4187 <cell alignment="center" valignment="top" topline="true" usebox="none">
4190 \begin_layout Standard
4196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_layout Standard
4207 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4210 \begin_layout Standard
4218 <cell alignment="center" valignment="top" topline="true" usebox="none">
4221 \begin_layout Standard
4227 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4230 \begin_layout Standard
4238 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4241 \begin_layout Standard
4249 <cell alignment="center" valignment="top" topline="true" usebox="none">
4252 \begin_layout Standard
4258 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4261 \begin_layout Standard
4269 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4272 \begin_layout Standard
4280 <cell alignment="center" valignment="top" topline="true" usebox="none">
4283 \begin_layout Standard
4289 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4292 \begin_layout Standard
4300 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4303 \begin_layout Standard
4311 <cell alignment="center" valignment="top" topline="true" usebox="none">
4314 \begin_layout Standard
4320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4323 \begin_layout Standard
4331 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4334 \begin_layout Standard
4342 <cell alignment="center" valignment="top" topline="true" usebox="none">
4345 \begin_layout Standard
4351 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4354 \begin_layout Standard
4362 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4365 \begin_layout Standard
4373 <cell alignment="center" valignment="top" topline="true" usebox="none">
4376 \begin_layout Standard
4382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_layout Standard
4393 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4396 \begin_layout Standard
4404 <cell alignment="center" valignment="top" topline="true" usebox="none">
4407 \begin_layout Standard
4413 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4416 \begin_layout Standard
4424 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4427 \begin_layout Standard
4435 <cell alignment="center" valignment="top" topline="true" usebox="none">
4438 \begin_layout Standard
4444 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4447 \begin_layout Standard
4454 <row bottomline="true">
4455 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_layout Standard
4466 <cell alignment="center" valignment="top" topline="true" usebox="none">
4469 \begin_layout Standard
4475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_layout Standard
4485 <row bottomline="true" endlastfoot="true">
4486 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4489 \begin_layout Standard
4495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4498 \begin_layout Standard
4504 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4507 \begin_layout Standard
4522 \begin_layout Standard
4526 addtocounter{table}{-1}
4532 \begin_inset Note Note
4535 \begin_layout Standard
4536 See greyed-out note in section 2.6.2 for an explanation of this command.
4544 \begin_layout Subsection
4545 Footnotes in Longtables
4546 \begin_inset LatexCommand label
4547 name "sub:Footnotes-in-Longtables"
4552 \begin_inset LatexCommand index
4553 name "Longtables ! Footnotes"
4560 \begin_layout Standard
4561 Footnotes can be inserted to every longtable cell.
4562 They appear at the bottom of the page where the table cell with the footnote
4566 \begin_inset LatexCommand ref
4567 reference "tab:DiffCaptions"
4571 has for example a footnote.
4574 \begin_layout Subsection
4576 \begin_inset LatexCommand index
4577 name "Longtables ! Captions"
4584 \begin_layout Standard
4585 A longtable cannot be put into a table float because floats can only be
4587 Therefore the caption layout cannot be used for longtables.
4590 \begin_layout Standard
4591 To add a caption, a dirty hack is needed:
4594 \begin_layout Enumerate
4598 \begin_layout Enumerate
4599 Mark the first row an disable its upper line
4602 \begin_layout Enumerate
4603 Insert the following command as ERT into the first table cell:
4609 caption[short title]{full title}
4616 \begin_layout Enumerate
4618 \begin_inset Quotes eld
4626 \begin_inset Quotes erd
4629 as ERT into every cell of the first row
4632 \begin_layout Standard
4639 command is used like for normal captions, the short title that will appear
4640 in the LOT instead of the full title is optional.
4645 in the table cells omits the vertical line between the the cells.
4646 The first table row is now only a dummy row for the caption, the actual
4647 table starts with the second row.
4650 \begin_layout Standard
4651 Here is a short longtable to see how it works:
4654 \begin_layout Standard
4655 \begin_inset Tabular
4656 <lyxtabular version="3" rows="6" columns="5">
4657 <features islongtable="true">
4658 <column alignment="center" valignment="top" leftline="true" width="0">
4659 <column alignment="center" valignment="top" leftline="true" width="0">
4660 <column alignment="center" valignment="top" leftline="true" width="0">
4661 <column alignment="center" valignment="top" leftline="true" width="0">
4662 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4667 \begin_layout Standard
4671 \begin_layout Standard
4675 caption[Longtable]{Longtable with caption}
4689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4692 \begin_layout Standard
4696 \begin_layout Standard
4708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4711 \begin_layout Standard
4715 \begin_layout Standard
4727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4730 \begin_layout Standard
4734 \begin_layout Standard
4746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4749 \begin_layout Standard
4753 \begin_layout Standard
4766 <row topline="true">
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
4803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4806 \begin_layout Standard
4813 <row topline="true">
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" usebox="none">
4844 \begin_layout Standard
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4853 \begin_layout Standard
4860 <row topline="true">
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" usebox="none">
4891 \begin_layout Standard
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4900 \begin_layout Standard
4907 <row topline="true">
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" usebox="none">
4938 \begin_layout Standard
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4947 \begin_layout Standard
4954 <row topline="true" bottomline="true">
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" usebox="none">
4985 \begin_layout Standard
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4994 \begin_layout Standard
5008 \begin_layout Standard
5009 \begin_inset VSpace medskip
5013 \begin_inset Note Greyedout
5016 \begin_layout Standard
5021 The table number is increased for every longtable, also if you didn't set
5023 For this reason you could have the case that e.g.
5025 2.4 follows on Table\InsetSpace ~
5026 2.1 in the list of tables if there are two longtables
5028 To avoid this you can add the following command in ERT behind every longtable
5032 \begin_layout Standard
5037 addtocounter{table}{-1}
5045 \begin_layout Standard
5046 \begin_inset Note Greyedout
5049 \begin_layout Standard
5054 If you are using the LaTeX-package
5059 \begin_inset LatexCommand index
5060 name "LaTeX-packages ! hyperref"
5064 to link cross-references, the link to a longtable caption will always point
5065 to the beginning of the document.
5073 \begin_layout Subsubsection
5074 References to Longtables
5075 \begin_inset LatexCommand index
5076 name "Longtables ! References"
5083 \begin_layout Standard
5084 \begin_inset Tabular
5085 <lyxtabular version="3" rows="6" columns="5">
5086 <features islongtable="true">
5087 <column alignment="center" valignment="top" leftline="true" width="0">
5088 <column alignment="center" valignment="top" leftline="true" width="0">
5089 <column alignment="center" valignment="top" leftline="true" width="0">
5090 <column alignment="center" valignment="top" leftline="true" width="0">
5091 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5096 \begin_layout Standard
5100 \begin_layout Standard
5104 caption{Referenced longtable
5110 \begin_inset LatexCommand label
5111 name "tab:RefExample"
5119 \begin_layout Standard
5135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5138 \begin_layout Standard
5142 \begin_layout Standard
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5157 \begin_layout Standard
5161 \begin_layout Standard
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5176 \begin_layout Standard
5180 \begin_layout Standard
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5195 \begin_layout Standard
5199 \begin_layout Standard
5212 <row topline="true">
5213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5216 \begin_layout Standard
5222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5225 \begin_layout Standard
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5234 \begin_layout Standard
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5243 \begin_layout Standard
5249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5252 \begin_layout Standard
5259 <row topline="true">
5260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5263 \begin_layout Standard
5269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5272 \begin_layout Standard
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5281 \begin_layout Standard
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5290 \begin_layout Standard
5296 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5299 \begin_layout Standard
5306 <row topline="true">
5307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5310 \begin_layout Standard
5316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5319 \begin_layout Standard
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5328 \begin_layout Standard
5334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5337 \begin_layout Standard
5343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5346 \begin_layout Standard
5353 <row topline="true">
5354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5357 \begin_layout Standard
5363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5366 \begin_layout Standard
5372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5375 \begin_layout Standard
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5384 \begin_layout Standard
5390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5393 \begin_layout Standard
5400 <row topline="true" bottomline="true">
5401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5404 \begin_layout Standard
5410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5413 \begin_layout Standard
5419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5422 \begin_layout Standard
5428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5431 \begin_layout Standard
5437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5440 \begin_layout Standard
5454 \begin_layout Standard
5455 To reference a longtable, insert a label into the
5462 This is done by splitting the ERT of the caption command.
5463 The part of the caption command before the last closing brace
5466 \begin_layout Standard
5471 caption[short title]{full title
5474 \begin_layout Standard
5475 is in the first ERT box, the label is inserted behind it.
5476 Note that you have to add the label prefix
5477 \begin_inset Quotes eld
5485 \begin_inset Quotes eld
5488 manually in the label field.
5489 The second ERT box contains the rest of the
5494 \begin_layout Standard
5504 \begin_layout Standard
5505 and is inserted behind the label box, see Table\InsetSpace ~
5507 \begin_inset LatexCommand ref
5508 reference "tab:RefExample"
5515 \begin_layout Standard
5516 The caption layout can be set together with all other caption of your document
5517 using the LaTeX-package
5522 \begin_inset LatexCommand index
5523 name "LaTeX-packages ! caption"
5527 , see section\InsetSpace ~
5529 \begin_inset LatexCommand ref
5530 reference "sec:Caption-Formatting"
5537 \begin_layout Subsubsection
5539 \begin_inset LatexCommand index
5540 name "Longtables ! Caption Width"
5547 \begin_layout Standard
5548 The maximal width of of caption lines is defined by the length
5555 It default value is 4\InsetSpace \thinspace{}
5557 To change it add the following command to your document preamble or as
5558 ERT into your document before the longtable that should be affected
5561 \begin_layout Standard
5571 \begin_layout Standard
5572 where the width could have one of the units listed in appendix\InsetSpace ~
5574 \begin_inset LatexCommand ref
5575 reference "cha:Units-available-in"
5582 \begin_layout Standard
5583 The following tables show the difference:
5586 \begin_layout Standard
5587 \begin_inset Tabular
5588 <lyxtabular version="3" rows="6" columns="5">
5589 <features islongtable="true">
5590 <column alignment="center" valignment="top" leftline="true" width="0">
5591 <column alignment="center" valignment="top" leftline="true" width="0">
5592 <column alignment="center" valignment="top" leftline="true" width="0">
5593 <column alignment="center" valignment="top" leftline="true" width="0">
5594 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5599 \begin_layout Standard
5603 \begin_layout Standard
5607 caption[caption with default width]{long full title with default width
5610 \begin_layout Standard
5612 long full title with default width long full title with default width}
5626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5629 \begin_layout Standard
5633 \begin_layout Standard
5645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5648 \begin_layout Standard
5652 \begin_layout Standard
5664 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5667 \begin_layout Standard
5671 \begin_layout Standard
5683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5686 \begin_layout Standard
5690 \begin_layout Standard
5703 <row topline="true">
5704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_layout Standard
5713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_layout Standard
5722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_layout Standard
5731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_layout Standard
5740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5743 \begin_layout Standard
5750 <row topline="true">
5751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_layout Standard
5760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_layout Standard
5769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_layout Standard
5778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5781 \begin_layout Standard
5787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5790 \begin_layout Standard
5797 <row topline="true">
5798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_layout Standard
5807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5810 \begin_layout Standard
5816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_layout Standard
5825 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5828 \begin_layout Standard
5834 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5837 \begin_layout Standard
5844 <row topline="true">
5845 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5848 \begin_layout Standard
5854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5857 \begin_layout Standard
5863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5866 \begin_layout Standard
5872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5875 \begin_layout Standard
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5884 \begin_layout Standard
5891 <row topline="true" bottomline="true">
5892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5895 \begin_layout Standard
5901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5904 \begin_layout Standard
5910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5913 \begin_layout Standard
5919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5922 \begin_layout Standard
5928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5931 \begin_layout Standard
5945 \begin_layout Standard
5949 \begin_layout Standard
5961 \begin_inset Tabular
5962 <lyxtabular version="3" rows="6" columns="5">
5963 <features islongtable="true">
5964 <column alignment="center" valignment="top" leftline="true" width="0">
5965 <column alignment="center" valignment="top" leftline="true" width="0">
5966 <column alignment="center" valignment="top" leftline="true" width="0">
5967 <column alignment="center" valignment="top" leftline="true" width="0">
5968 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5973 \begin_layout Standard
5977 \begin_layout Standard
5981 caption[caption with width
5987 ,cm]{long full title with width set to 5
5992 \begin_layout Standard
5994 long full title with width set to 5
5996 ,cm long full title with width set to 5
6012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6015 \begin_layout Standard
6019 \begin_layout Standard
6031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6034 \begin_layout Standard
6038 \begin_layout Standard
6050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_layout Standard
6057 \begin_layout Standard
6069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6072 \begin_layout Standard
6076 \begin_layout Standard
6089 <row topline="true">
6090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6093 \begin_layout Standard
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6102 \begin_layout Standard
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_layout Standard
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6120 \begin_layout Standard
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6129 \begin_layout Standard
6136 <row topline="true">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_layout Standard
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_layout Standard
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_layout Standard
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_layout Standard
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6176 \begin_layout Standard
6183 <row topline="true">
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6187 \begin_layout Standard
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6196 \begin_layout Standard
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6205 \begin_layout Standard
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6214 \begin_layout Standard
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6223 \begin_layout Standard
6230 <row topline="true">
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6234 \begin_layout Standard
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6243 \begin_layout Standard
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6252 \begin_layout Standard
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6261 \begin_layout Standard
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6270 \begin_layout Standard
6277 <row topline="true" bottomline="true">
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6281 \begin_layout Standard
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6290 \begin_layout Standard
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6299 \begin_layout Standard
6305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6308 \begin_layout Standard
6314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6317 \begin_layout Standard
6332 \begin_layout Standard
6346 \begin_layout Standard
6350 \begin_layout Subsubsection
6351 Different Captions for Table Pages
6352 \begin_inset LatexCommand index
6353 name "Longtables ! Different Captions for Pages"
6360 \begin_layout Standard
6361 When the other captions should differ from the one of the first table page,
6368 command with a non-empty short title in a dummy caption row marked as first
6370 The caption used for the other table pages is inserted as
6376 command without a short title in a dummy caption row that is marked as
6378 When this caption shouldn't include the table number, use the command
6391 The label to reference the table is inserted into the caption of the first
6395 \begin_inset LatexCommand ref
6396 reference "tab:DiffCaptions"
6400 is an example for a longtable with different heading where the second caption
6401 doesn't include the table number.
6404 \begin_layout Standard
6406 \begin_inset Tabular
6407 <lyxtabular version="3" rows="60" columns="3">
6408 <features islongtable="true">
6409 <column alignment="left" valignment="top" leftline="true" width="0cm">
6410 <column alignment="left" valignment="top" rightline="true" width="0pt">
6411 <column alignment="right" valignment="top" rightline="true" width="0pt">
6412 <row endfirsthead="true">
6413 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6416 \begin_layout Standard
6420 \begin_layout Standard
6424 caption[Example Phone List]{Example Phone List
6430 \begin_inset LatexCommand label
6431 name "tab:DiffCaptions"
6439 \begin_layout Standard
6455 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6458 \begin_layout Standard
6462 \begin_layout Standard
6474 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6477 \begin_layout Standard
6481 \begin_layout Standard
6494 <row topline="true" bottomline="true" endfirsthead="true">
6495 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6498 \begin_layout Standard
6501 Example Phone List (ignore the names)
6506 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6509 \begin_layout Standard
6515 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6518 \begin_layout Standard
6525 <row topline="true" bottomline="true" endfirsthead="true">
6526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6529 \begin_layout Standard
6537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6540 \begin_layout Standard
6546 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6549 \begin_layout Standard
6558 <row bottomline="true" endhead="true">
6559 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6562 \begin_layout Standard
6566 \begin_layout Standard
6570 caption*{Continued Example Phone List}
6584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6587 \begin_layout Standard
6591 \begin_layout Standard
6603 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6606 \begin_layout Standard
6610 \begin_layout Standard
6623 <row topline="true" bottomline="true" endhead="true">
6624 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6627 \begin_layout Standard
6635 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6638 \begin_layout Standard
6644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6647 \begin_layout Standard
6654 <row topline="true" bottomline="true" endhead="true">
6655 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6658 \begin_layout Standard
6666 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6669 \begin_layout Standard
6675 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6678 \begin_layout Standard
6687 <row topline="true" bottomline="true" endfoot="true">
6688 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6691 \begin_layout Standard
6692 continued on next page
6697 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6700 \begin_layout Standard
6706 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6709 \begin_layout Standard
6717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6720 \begin_layout Standard
6728 <cell alignment="center" valignment="top" topline="true" usebox="none">
6731 \begin_layout Standard
6737 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6740 \begin_layout Standard
6748 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6751 \begin_layout Standard
6759 <cell alignment="center" valignment="top" topline="true" usebox="none">
6762 \begin_layout Standard
6768 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6771 \begin_layout Standard
6779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6782 \begin_layout Standard
6790 <cell alignment="center" valignment="top" topline="true" usebox="none">
6793 \begin_layout Standard
6799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6802 \begin_layout Standard
6810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6813 \begin_layout Standard
6821 <cell alignment="center" valignment="top" topline="true" usebox="none">
6824 \begin_layout Standard
6830 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6833 \begin_layout Standard
6841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6844 \begin_layout Standard
6852 <cell alignment="center" valignment="top" topline="true" usebox="none">
6855 \begin_layout Standard
6861 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6864 \begin_layout Standard
6872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6875 \begin_layout Standard
6883 <cell alignment="center" valignment="top" topline="true" usebox="none">
6886 \begin_layout Standard
6892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6895 \begin_layout Standard
6903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6906 \begin_layout Standard
6914 <cell alignment="center" valignment="top" topline="true" usebox="none">
6917 \begin_layout Standard
6923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6926 \begin_layout Standard
6934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6937 \begin_layout Standard
6945 <cell alignment="center" valignment="top" topline="true" usebox="none">
6948 \begin_layout Standard
6954 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6957 \begin_layout Standard
6965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6968 \begin_layout Standard
6976 <cell alignment="center" valignment="top" topline="true" usebox="none">
6979 \begin_layout Standard
6985 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6988 \begin_layout Standard
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6999 \begin_layout Standard
7007 <cell alignment="center" valignment="top" topline="true" usebox="none">
7010 \begin_layout Standard
7016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7019 \begin_layout Standard
7027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7030 \begin_layout Standard
7038 <cell alignment="center" valignment="top" topline="true" usebox="none">
7041 \begin_layout Standard
7047 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7050 \begin_layout Standard
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7061 \begin_layout Standard
7069 <cell alignment="center" valignment="top" topline="true" usebox="none">
7072 \begin_layout Standard
7078 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7081 \begin_layout Standard
7089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7092 \begin_layout Standard
7100 <cell alignment="center" valignment="top" topline="true" usebox="none">
7103 \begin_layout Standard
7109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7112 \begin_layout Standard
7120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7123 \begin_layout Standard
7131 <cell alignment="center" valignment="top" topline="true" usebox="none">
7134 \begin_layout Standard
7140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7143 \begin_layout Standard
7151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7154 \begin_layout Standard
7163 \begin_layout Standard
7174 <cell alignment="center" valignment="top" topline="true" usebox="none">
7177 \begin_layout Standard
7183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7186 \begin_layout Standard
7194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7197 \begin_layout Standard
7205 <cell alignment="center" valignment="top" topline="true" usebox="none">
7208 \begin_layout Standard
7214 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7217 \begin_layout Standard
7225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7228 \begin_layout Standard
7236 <cell alignment="center" valignment="top" topline="true" usebox="none">
7239 \begin_layout Standard
7245 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7248 \begin_layout Standard
7256 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7259 \begin_layout Standard
7267 <cell alignment="center" valignment="top" topline="true" usebox="none">
7270 \begin_layout Standard
7276 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7279 \begin_layout Standard
7287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7290 \begin_layout Standard
7298 <cell alignment="center" valignment="top" topline="true" usebox="none">
7301 \begin_layout Standard
7307 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7310 \begin_layout Standard
7318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7321 \begin_layout Standard
7329 <cell alignment="center" valignment="top" topline="true" usebox="none">
7332 \begin_layout Standard
7338 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7341 \begin_layout Standard
7349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7352 \begin_layout Standard
7360 <cell alignment="center" valignment="top" topline="true" usebox="none">
7363 \begin_layout Standard
7369 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7372 \begin_layout Standard
7380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7383 \begin_layout Standard
7391 <cell alignment="center" valignment="top" topline="true" usebox="none">
7394 \begin_layout Standard
7400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7403 \begin_layout Standard
7411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7414 \begin_layout Standard
7422 <cell alignment="center" valignment="top" topline="true" usebox="none">
7425 \begin_layout Standard
7431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7434 \begin_layout Standard
7442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7445 \begin_layout Standard
7453 <cell alignment="center" valignment="top" topline="true" usebox="none">
7456 \begin_layout Standard
7462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7465 \begin_layout Standard
7473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7476 \begin_layout Standard
7484 <cell alignment="center" valignment="top" topline="true" usebox="none">
7487 \begin_layout Standard
7493 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7496 \begin_layout Standard
7504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7507 \begin_layout Standard
7515 <cell alignment="center" valignment="top" topline="true" usebox="none">
7518 \begin_layout Standard
7524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7527 \begin_layout Standard
7535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7538 \begin_layout Standard
7546 <cell alignment="center" valignment="top" topline="true" usebox="none">
7549 \begin_layout Standard
7555 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7558 \begin_layout Standard
7566 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7569 \begin_layout Standard
7577 <cell alignment="center" valignment="top" topline="true" usebox="none">
7580 \begin_layout Standard
7586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7589 \begin_layout Standard
7597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7600 \begin_layout Standard
7608 <cell alignment="center" valignment="top" topline="true" usebox="none">
7611 \begin_layout Standard
7617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7620 \begin_layout Standard
7628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7631 \begin_layout Standard
7639 <cell alignment="center" valignment="top" topline="true" usebox="none">
7642 \begin_layout Standard
7648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7651 \begin_layout Standard
7658 <row bottomline="true">
7659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7662 \begin_layout Standard
7670 <cell alignment="center" valignment="top" topline="true" usebox="none">
7673 \begin_layout Standard
7679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7682 \begin_layout Standard
7689 <row bottomline="true">
7690 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7693 \begin_layout Standard
7699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7702 \begin_layout Standard
7708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7711 \begin_layout Standard
7719 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7722 \begin_layout Standard
7730 <cell alignment="center" valignment="top" topline="true" usebox="none">
7733 \begin_layout Standard
7739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7742 \begin_layout Standard
7750 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7753 \begin_layout Standard
7761 <cell alignment="center" valignment="top" topline="true" usebox="none">
7764 \begin_layout Standard
7770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7773 \begin_layout Standard
7781 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7784 \begin_layout Standard
7792 <cell alignment="center" valignment="top" topline="true" usebox="none">
7795 \begin_layout Standard
7801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7804 \begin_layout Standard
7812 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7815 \begin_layout Standard
7823 <cell alignment="center" valignment="top" topline="true" usebox="none">
7826 \begin_layout Standard
7832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7835 \begin_layout Standard
7843 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7846 \begin_layout Standard
7854 <cell alignment="center" valignment="top" topline="true" usebox="none">
7857 \begin_layout Standard
7863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7866 \begin_layout Standard
7874 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7877 \begin_layout Standard
7885 <cell alignment="center" valignment="top" topline="true" usebox="none">
7888 \begin_layout Standard
7894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7897 \begin_layout Standard
7905 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7908 \begin_layout Standard
7916 <cell alignment="center" valignment="top" topline="true" usebox="none">
7919 \begin_layout Standard
7925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7928 \begin_layout Standard
7936 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7939 \begin_layout Standard
7947 <cell alignment="center" valignment="top" topline="true" usebox="none">
7950 \begin_layout Standard
7956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7959 \begin_layout Standard
7967 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7970 \begin_layout Standard
7978 <cell alignment="center" valignment="top" topline="true" usebox="none">
7981 \begin_layout Standard
7987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7990 \begin_layout Standard
7998 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8001 \begin_layout Standard
8009 <cell alignment="center" valignment="top" topline="true" usebox="none">
8012 \begin_layout Standard
8018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8021 \begin_layout Standard
8029 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8032 \begin_layout Standard
8040 <cell alignment="center" valignment="top" topline="true" usebox="none">
8043 \begin_layout Standard
8049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8052 \begin_layout Standard
8060 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8063 \begin_layout Standard
8071 <cell alignment="center" valignment="top" topline="true" usebox="none">
8074 \begin_layout Standard
8080 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8083 \begin_layout Standard
8091 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8094 \begin_layout Standard
8102 <cell alignment="center" valignment="top" topline="true" usebox="none">
8105 \begin_layout Standard
8111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8114 \begin_layout Standard
8122 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8125 \begin_layout Standard
8133 <cell alignment="center" valignment="top" topline="true" usebox="none">
8136 \begin_layout Standard
8142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8145 \begin_layout Standard
8153 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8156 \begin_layout Standard
8164 <cell alignment="center" valignment="top" topline="true" usebox="none">
8167 \begin_layout Standard
8173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8176 \begin_layout Standard
8184 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8187 \begin_layout Standard
8195 <cell alignment="center" valignment="top" topline="true" usebox="none">
8198 \begin_layout Standard
8204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8207 \begin_layout Standard
8215 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8218 \begin_layout Standard
8226 <cell alignment="center" valignment="top" topline="true" usebox="none">
8229 \begin_layout Standard
8235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8238 \begin_layout Standard
8246 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8249 \begin_layout Standard
8257 <cell alignment="center" valignment="top" topline="true" usebox="none">
8260 \begin_layout Standard
8266 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8269 \begin_layout Standard
8277 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8280 \begin_layout Standard
8288 <cell alignment="center" valignment="top" topline="true" usebox="none">
8291 \begin_layout Standard
8297 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8300 \begin_layout Standard
8307 <row bottomline="true">
8308 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8311 \begin_layout Standard
8319 <cell alignment="center" valignment="top" topline="true" usebox="none">
8322 \begin_layout Standard
8328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8331 \begin_layout Standard
8338 <row bottomline="true" endlastfoot="true">
8339 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8342 \begin_layout Standard
8348 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8351 \begin_layout Standard
8357 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8360 \begin_layout Standard
8374 \begin_layout Section
8375 Special Longtable Issues
8376 \begin_inset LatexCommand label
8377 name "sec:Special-Longtable-Issues"
8384 \begin_layout Subsection
8385 Longtable Calculation
8386 \begin_inset LatexCommand index
8387 name "Longtables ! Calculation"
8394 \begin_layout Standard
8395 LaTeX calculates the height of table pages and their page breaks using so
8397 Chunks are pieces of the tables that are at once in LaTeX's memory.
8398 The default value is historically set to only 20 table rows.
8399 If you are using longtables with many pages this may slow down the creation
8401 You can safely increase the chunk size to values of 100-1000 by adding
8402 this command line to your document preamble:
8405 \begin_layout Standard
8410 setcounter{LTchunksize}{100}
8413 \begin_layout Subsection
8414 Floats and Longtables
8415 \begin_inset LatexCommand index
8416 name "Longtables ! Floats"
8423 \begin_layout Standard
8424 There might be problems when a float appears on the same page where a longtable
8426 To avoid such situation, add the command
8432 as ERT before your longtable.
8435 \begin_layout Subsection
8437 \begin_inset LatexCommand index
8438 name "Longtables ! Forced Page Breaks"
8445 \begin_layout Standard
8446 By default tables are only broken between rows.
8447 If you have a cell with multiples lines and want to have a page break within
8448 the cell, insert the new line command
8449 \begin_inset Quotes eld
8461 \begin_inset Quotes erd
8464 as ERT at this point of the cell where it should be broken.
8473 command you have to insert in ERT so many
8474 \begin_inset Quotes eld
8482 \begin_inset Quotes erd
8485 characters like the number of the following table columns.
8490 is the character to separate table cells.
8491 Write in ERT after each
8495 the content of the corresponding following cell and delete the content
8506 command, insert so many
8510 characters like the number of table columns before the current column.
8511 In Table\InsetSpace ~
8513 \begin_inset LatexCommand ref
8514 reference "tab:ForcedPagebreak"
8518 the cell that should be broken is in the second column followed by another
8520 Therefore the following command was inserted in the cell as ERT behind
8522 \begin_inset Quotes eld
8530 \begin_inset Quotes erd
8536 \begin_layout Standard
8548 \begin_layout Standard
8550 \begin_inset Quotes eld
8554 \begin_inset Quotes erd
8557 in the third columns of the row was deleted.
8558 If your footer row of the longtable has for a certain reason no upper line
8559 but you would have a horizontal line where the cell is broken, use this
8563 \begin_layout Standard
8577 \begin_layout Standard
8578 When the cell to be broken is in the last column, the command
8581 \begin_layout Standard
8588 parf\SpecialChar \textcompwordmark{}
8592 \begin_layout Standard
8593 must be inserted as ERT at the beginning of the cell.
8594 This assures that the part of the cell that will be displayed on the new
8595 page appears with the full width.
8599 \begin_layout Standard
8601 \begin_inset Tabular
8602 <lyxtabular version="3" rows="39" columns="3">
8603 <features islongtable="true">
8604 <column alignment="left" valignment="top" leftline="true" width="0cm">
8605 <column alignment="left" valignment="top" rightline="true" width="3cm">
8606 <column alignment="right" valignment="top" rightline="true" width="0pt">
8607 <row endfirsthead="true">
8608 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8611 \begin_layout Standard
8615 \begin_layout Standard
8619 caption[Table with forced page break in table cell]{Table with forced page
8626 \begin_inset LatexCommand label
8627 name "tab:ForcedPagebreak"
8635 \begin_layout Standard
8651 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8654 \begin_layout Standard
8658 \begin_layout Standard
8670 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8673 \begin_layout Standard
8677 \begin_layout Standard
8690 <row topline="true" bottomline="true" endfirsthead="true">
8691 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8694 \begin_layout Standard
8697 Example Phone List (ignore the names)
8702 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8705 \begin_layout Standard
8711 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8714 \begin_layout Standard
8721 <row topline="true" bottomline="true" endfirsthead="true">
8722 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8725 \begin_layout Standard
8733 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8736 \begin_layout Standard
8742 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8745 \begin_layout Standard
8754 <row bottomline="true" endhead="true">
8755 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8758 \begin_layout Standard
8762 \begin_layout Standard
8766 caption{Continued table with forced page break in table cell}
8780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8783 \begin_layout Standard
8787 \begin_layout Standard
8799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8802 \begin_layout Standard
8806 \begin_layout Standard
8819 <row topline="true" bottomline="true" endhead="true">
8820 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8823 \begin_layout Standard
8831 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8834 \begin_layout Standard
8840 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8843 \begin_layout Standard
8850 <row topline="true" bottomline="true" endhead="true">
8851 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8854 \begin_layout Standard
8862 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8865 \begin_layout Standard
8871 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8874 \begin_layout Standard
8883 <row topline="true" bottomline="true" endfoot="true">
8884 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8887 \begin_layout Standard
8888 continued on next page
8893 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8896 \begin_layout Standard
8902 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8905 \begin_layout Standard
8913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8916 \begin_layout Standard
8924 <cell alignment="center" valignment="top" topline="true" usebox="none">
8927 \begin_layout Standard
8933 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8936 \begin_layout Standard
8944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8947 \begin_layout Standard
8955 <cell alignment="center" valignment="top" topline="true" usebox="none">
8958 \begin_layout Standard
8964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8967 \begin_layout Standard
8975 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8978 \begin_layout Standard
8986 <cell alignment="center" valignment="top" topline="true" usebox="none">
8989 \begin_layout Standard
8995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8998 \begin_layout Standard
9006 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9009 \begin_layout Standard
9017 <cell alignment="center" valignment="top" topline="true" usebox="none">
9020 \begin_layout Standard
9026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9029 \begin_layout Standard
9037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9040 \begin_layout Standard
9048 <cell alignment="center" valignment="top" topline="true" usebox="none">
9051 \begin_layout Standard
9057 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9060 \begin_layout Standard
9068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9071 \begin_layout Standard
9079 <cell alignment="center" valignment="top" topline="true" usebox="none">
9082 \begin_layout Standard
9088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9091 \begin_layout Standard
9099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9102 \begin_layout Standard
9110 <cell alignment="center" valignment="top" topline="true" usebox="none">
9113 \begin_layout Standard
9119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9122 \begin_layout Standard
9130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9133 \begin_layout Standard
9141 <cell alignment="center" valignment="top" topline="true" usebox="none">
9144 \begin_layout Standard
9150 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9153 \begin_layout Standard
9161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9164 \begin_layout Standard
9172 <cell alignment="center" valignment="top" topline="true" usebox="none">
9175 \begin_layout Standard
9181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9184 \begin_layout Standard
9192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9195 \begin_layout Standard
9203 <cell alignment="center" valignment="top" topline="true" usebox="none">
9206 \begin_layout Standard
9212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9215 \begin_layout Standard
9223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9226 \begin_layout Standard
9234 <cell alignment="center" valignment="top" topline="true" usebox="none">
9237 \begin_layout Standard
9243 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9246 \begin_layout Standard
9254 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9257 \begin_layout Standard
9265 <cell alignment="center" valignment="top" topline="true" usebox="none">
9268 \begin_layout Standard
9274 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9277 \begin_layout Standard
9285 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9288 \begin_layout Standard
9296 <cell alignment="center" valignment="top" topline="true" usebox="none">
9299 \begin_layout Standard
9305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9308 \begin_layout Standard
9316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9319 \begin_layout Standard
9327 <cell alignment="center" valignment="top" topline="true" usebox="none">
9330 \begin_layout Standard
9336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9339 \begin_layout Standard
9347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9350 \begin_layout Standard
9358 <cell alignment="center" valignment="top" topline="true" usebox="none">
9361 \begin_layout Standard
9367 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9370 \begin_layout Standard
9378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9381 \begin_layout Standard
9389 <cell alignment="center" valignment="top" topline="true" usebox="none">
9392 \begin_layout Standard
9398 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9401 \begin_layout Standard
9409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9412 \begin_layout Standard
9420 <cell alignment="center" valignment="top" topline="true" usebox="none">
9423 \begin_layout Standard
9429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9432 \begin_layout Standard
9440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9443 \begin_layout Standard
9451 <cell alignment="center" valignment="top" topline="true" usebox="none">
9454 \begin_layout Standard
9460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9463 \begin_layout Standard
9471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9474 \begin_layout Standard
9482 <cell alignment="center" valignment="top" topline="true" usebox="none">
9485 \begin_layout Standard
9491 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9494 \begin_layout Standard
9502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9505 \begin_layout Standard
9513 <cell alignment="center" valignment="top" topline="true" usebox="none">
9516 \begin_layout Standard
9522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9525 \begin_layout Standard
9533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9536 \begin_layout Standard
9544 <cell alignment="center" valignment="top" topline="true" usebox="none">
9547 \begin_layout Standard
9553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9556 \begin_layout Standard
9564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9567 \begin_layout Standard
9575 <cell alignment="center" valignment="top" topline="true" usebox="none">
9578 \begin_layout Standard
9584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9587 \begin_layout Standard
9595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9598 \begin_layout Standard
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9609 \begin_layout Standard
9611 Fürst von Montecompatri, 11.
9612 Fürst von Sulmona und Vivaro, 10.
9613 Fürst von Rossano, 5.
9614 Herzog von Canemorte, 11.
9615 Herzog von Palombara, 5.
9616 Herzog von Castelchiodato,
9620 \begin_layout Standard
9629 \begin_layout Standard
9637 Herzog von Poggionativo, 11.
9638 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9639 Graf von Valinfreda, 11.
9640 Baron von Cropalati, 11.
9641 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9649 \begin_layout Standard
9657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9660 \begin_layout Standard
9668 <cell alignment="center" valignment="top" topline="true" usebox="none">
9671 \begin_layout Standard
9677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9680 \begin_layout Standard
9688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9691 \begin_layout Standard
9699 <cell alignment="center" valignment="top" topline="true" usebox="none">
9702 \begin_layout Standard
9708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9711 \begin_layout Standard
9719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9722 \begin_layout Standard
9730 <cell alignment="center" valignment="top" topline="true" usebox="none">
9733 \begin_layout Standard
9739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9742 \begin_layout Standard
9750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9753 \begin_layout Standard
9761 <cell alignment="center" valignment="top" topline="true" usebox="none">
9764 \begin_layout Standard
9770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9773 \begin_layout Standard
9781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9784 \begin_layout Standard
9792 <cell alignment="center" valignment="top" topline="true" usebox="none">
9795 \begin_layout Standard
9801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9804 \begin_layout Standard
9812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9815 \begin_layout Standard
9823 <cell alignment="center" valignment="top" topline="true" usebox="none">
9826 \begin_layout Standard
9832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9835 \begin_layout Standard
9843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9846 \begin_layout Standard
9854 <cell alignment="center" valignment="top" topline="true" usebox="none">
9857 \begin_layout Standard
9863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9866 \begin_layout Standard
9873 <row bottomline="true">
9874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9877 \begin_layout Standard
9885 <cell alignment="center" valignment="top" topline="true" usebox="none">
9888 \begin_layout Standard
9894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9897 \begin_layout Standard
9904 <row endlastfoot="true">
9905 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9908 \begin_layout Standard
9914 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9917 \begin_layout Standard
9923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9926 \begin_layout Standard
9940 \begin_layout Section
9941 Multiple Lines Columns and Rows
9944 \begin_layout Subsection
9945 Multiple Lines in Table Cells
9946 \begin_inset LatexCommand label
9947 name "sub:Multiple-Lines-in"
9952 \begin_inset LatexCommand index
9953 name "Multiple Lines in Table Cells"
9958 \begin_inset LatexCommand index
9959 name "Table ! Linebreaks"
9966 \begin_layout Standard
9968 \begin_inset Float table
9974 \begin_layout Standard
9975 \begin_inset Caption
9977 \begin_layout Standard
9978 \begin_inset LatexCommand label
9979 name "tab:Table-with-multiple"
9983 Table with multiple lines in cells
9991 \begin_layout Standard
9993 \begin_inset Tabular
9994 <lyxtabular version="3" rows="3" columns="3">
9996 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9997 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9998 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9999 <row topline="true">
10000 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10003 \begin_layout Standard
10008 \begin_layout Standard
10022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10025 \begin_layout Standard
10031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10034 \begin_layout Standard
10041 <row topline="true">
10042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10045 \begin_layout Standard
10051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10054 \begin_layout Standard
10060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10063 \begin_layout Standard
10070 <row topline="true" bottomline="true">
10071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10074 \begin_layout Standard
10080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10083 \begin_layout Standard
10089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10092 \begin_layout Standard
10111 \begin_layout Standard
10112 Adjusting a fixed width for a column, enables to enter text as a paragraph
10113 with multiple lines and hyphenations.
10116 \begin_layout Standard
10117 To produce Table\InsetSpace ~
10119 \begin_inset LatexCommand ref
10120 reference "tab:Table-with-multiple"
10124 , create a 3×3 table, mark the first cell and right-click on it.
10125 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10126 cm and choose centered
10127 for the vertical and horizontal alignment.
10128 As our text is smaller than than 2.5\InsetSpace \thinspace{}
10129 cm, only one line will appear.
10130 To get two lines, we add a line break with the command
10133 \begin_layout Standard
10141 \begin_layout Standard
10143 If the text is wider than the set cell width it will automatically be broken
10147 \begin_layout Standard
10148 To center the text inside the two other cells of the first row vertically,
10149 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
10151 centered alignments.
10152 Then do the same for the third cell of the row.
10155 \begin_layout Standard
10156 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10157 by LaTeX if it is the first entry.
10158 Therefore you need to insert something, to make the word not being the
10159 first entry: Add the command
10162 \begin_layout Standard
10170 \begin_layout Standard
10171 in ERT before the word.
10172 As the space is zero, it doesn't change the output.
10175 \begin_inset LatexCommand ref
10176 reference "tab:Table-with-and"
10183 \begin_layout Standard
10184 \begin_inset Float table
10189 \begin_layout Standard
10190 \begin_inset Caption
10192 \begin_layout Standard
10193 \begin_inset LatexCommand label
10194 name "tab:Table-with-and"
10198 Table with and without hyphenation
10206 \begin_layout Standard
10210 \begin_inset Tabular
10211 <lyxtabular version="3" rows="3" columns="3">
10213 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10214 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10215 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10216 <row topline="true">
10217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10220 \begin_layout Standard
10221 verylongtablecellword
10226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10229 \begin_layout Standard
10235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10238 \begin_layout Standard
10245 <row topline="true">
10246 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10249 \begin_layout Standard
10255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10258 \begin_layout Standard
10264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10267 \begin_layout Standard
10274 <row topline="true" bottomline="true">
10275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10278 \begin_layout Standard
10284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10287 \begin_layout Standard
10293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10296 \begin_layout Standard
10310 \begin_inset Tabular
10311 <lyxtabular version="3" rows="3" columns="3">
10313 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10314 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10315 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10316 <row topline="true">
10317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10320 \begin_layout Standard
10324 \begin_layout Standard
10333 verylongtablecellword
10338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10341 \begin_layout Standard
10347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10350 \begin_layout Standard
10357 <row topline="true">
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10361 \begin_layout Standard
10367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10370 \begin_layout Standard
10376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10379 \begin_layout Standard
10386 <row topline="true" bottomline="true">
10387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10390 \begin_layout Standard
10396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10399 \begin_layout Standard
10405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10408 \begin_layout Standard
10429 \begin_layout Standard
10435 \begin_layout Subsection
10437 \begin_inset LatexCommand label
10438 name "sub:Multicolumns"
10443 \begin_inset LatexCommand index
10444 name "Multicolumns"
10449 \begin_inset LatexCommand index
10450 name "Table ! Multicolumns"
10457 \begin_layout Subsubsection
10461 \begin_layout Standard
10462 To span a cell over multiple columns, mark as much cells within a line that
10463 should be one spanned cell and use either the table-toolbar button
10464 \begin_inset Graphics
10465 filename ../images/tabular-feature_multicolumn.xpm
10472 Edit\SpecialChar \menuseparator
10473 Table\SpecialChar \menuseparator
10476 , or right click on the marked cells and choose multicolumn in the appearing
10477 table dialog under the tab
10484 \begin_layout Standard
10485 Multicolumns have there own cell settings.
10486 That means changing cell borders, cell alignment, and the width only affects
10488 Here is an example table with a multicolumn cell in the first row and one
10489 in the last row without the upper border:
10492 \begin_layout Standard
10494 \begin_inset Tabular
10495 <lyxtabular version="3" rows="3" columns="4">
10496 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10497 <column alignment="center" valignment="top" leftline="true" width="0pt">
10498 <column alignment="center" valignment="middle" leftline="true" width="0">
10499 <column alignment="center" valignment="top" leftline="true" width="0in">
10500 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10501 <row topline="true" bottomline="true">
10502 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10505 \begin_layout Standard
10511 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10514 \begin_layout Standard
10524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10527 \begin_layout Standard
10533 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10536 \begin_layout Standard
10543 <row topline="true">
10544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10547 \begin_layout Standard
10562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10565 \begin_layout Standard
10571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10574 \begin_layout Standard
10580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10583 \begin_layout Standard
10590 <row topline="true" bottomline="true">
10591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10594 \begin_layout Standard
10600 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10603 \begin_layout Standard
10609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10612 \begin_layout Standard
10618 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10621 \begin_layout Standard
10635 \begin_layout Subsubsection
10636 Multicolumn Calculations
10637 \begin_inset LatexCommand label
10638 name "sub:Multicolumn-Calculations"
10643 \begin_inset LatexCommand index
10644 name "Multicolumns ! Calculations"
10651 \begin_layout Standard
10652 LyX supports multicolumns directly, but we have to take notice of the cell
10653 width of the columns spanned by the multicolumn cell.
10656 \begin_layout Standard
10657 \begin_inset Float table
10662 \begin_layout Standard
10663 \begin_inset Caption
10665 \begin_layout Standard
10666 \begin_inset LatexCommand label
10667 name "tab:Table-with-centered"
10671 Table with centered multicolumn text above two columns that have exactly
10672 half the width of the multicolumn cell
10673 \begin_inset OptArg
10676 \begin_layout Standard
10677 Perfect multicolumn table
10690 \begin_layout Standard
10692 \begin_inset Tabular
10693 <lyxtabular version="3" rows="3" columns="3">
10695 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10696 <column alignment="center" valignment="middle" leftline="true" width="0">
10697 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10698 <row topline="true">
10699 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10702 \begin_layout Standard
10703 multiple lines multicolumn
10708 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10711 \begin_layout Standard
10717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10720 \begin_layout Standard
10727 <row topline="true">
10728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10731 \begin_layout Standard
10737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10740 \begin_layout Standard
10746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10749 \begin_layout Standard
10756 <row topline="true" bottomline="true">
10757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10760 \begin_layout Standard
10766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10769 \begin_layout Standard
10775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10778 \begin_layout Standard
10797 \begin_layout Standard
10798 To create for example Table\InsetSpace ~
10800 \begin_inset LatexCommand ref
10801 reference "tab:Table-with-centered"
10805 , mark the first two cells in the first row a 3×3 table and right-click
10807 Now choose for this cell
10815 and a width of 2.5\InsetSpace \thinspace{}
10816 cm in the table dialog.
10817 The spanned columns should have exactly half the width of the multicolumn
10818 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10819 cm for the first column.
10820 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10822 width - width of first column).
10823 This was done for Table\InsetSpace ~
10825 \begin_inset LatexCommand ref
10826 reference "tab:Table-without-half"
10833 \begin_layout Standard
10834 \begin_inset Float table
10839 \begin_layout Standard
10840 \begin_inset Caption
10842 \begin_layout Standard
10843 \begin_inset LatexCommand label
10844 name "tab:Table-without-half"
10848 Table where the spanned table columns have not exactly half the width of
10849 the multicolumn cell
10850 \begin_inset OptArg
10853 \begin_layout Standard
10854 Imperfect multicolumn table
10867 \begin_layout Standard
10869 \begin_inset Tabular
10870 <lyxtabular version="3" rows="3" columns="3">
10872 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10873 <column alignment="center" valignment="top" leftline="true" width="0">
10874 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10875 <row topline="true" bottomline="true">
10876 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10879 \begin_layout Standard
10880 multiple lines multicolumn
10885 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10888 \begin_layout Standard
10894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10897 \begin_layout Standard
10904 <row topline="true">
10905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10908 \begin_layout Standard
10914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10917 \begin_layout Standard
10923 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10926 \begin_layout Standard
10933 <row topline="true" bottomline="true">
10934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10937 \begin_layout Standard
10943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10946 \begin_layout Standard
10952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10955 \begin_layout Standard
10974 \begin_layout Standard
10975 You can see that the first column has not the half width of the multicolumn
10976 cell, it is a bit bigger.
10977 The reason is that the given width of a cell
10978 \begin_inset Formula $W_{g}$
10981 is not its total width
10982 \begin_inset Formula $W_{\mathrm{tot}}$
10985 because a cell is always a bit larger than its given width.
10986 Appendix\InsetSpace ~
10988 \begin_inset LatexCommand eqref
10989 reference "cha:Explanation-of-Equation"
10993 explains it in detail.
10996 \begin_layout Standard
10997 The needed given width
10998 \begin_inset Formula $W_{g\, n}$
11005 columns are spanned columns can be calculated, so that each column has
11007 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11011 \begin_inset Formula \begin{equation}
11012 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11019 \begin_layout Standard
11020 In our case we have
11021 \begin_inset Formula $n=2$
11025 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11028 cm and the default values for the lengths, so that equation
11029 \begin_inset LatexCommand ref
11035 \begin_inset Formula \begin{equation}
11036 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11043 \begin_layout Standard
11044 To enable calculations in LaTeX, the LaTeX-package
11048 must be loaded with the document preamble line
11049 \begin_inset LatexCommand index
11050 name "LaTeX-packages ! calc"
11057 \begin_layout Standard
11065 \begin_layout Standard
11066 LyX does not allow to calculate lengths in the width-field of the table
11068 Therefore you have to format the column by inserting a LaTeX-argument in
11070 Here is an overview about the arguments:
11073 \begin_layout Itemize
11078 creates cell with a fixed width, its text is vertically top-aligned
11081 \begin_layout Itemize
11086 creates cell with a fixed width, its text is vertically centered
11089 \begin_layout Itemize
11094 creates cell with a fixed width, its text is vertically bottom-aligned
11097 \begin_layout Standard
11098 By entering a LaTeX-argument, all cell properties set in the table dialog
11101 \begin_inset Note Greyedout
11104 \begin_layout Standard
11109 Due to a bug, LyX shows the overwritten properties anyway.
11114 As the text should be horizontally centered, the command
11121 You can now enter the following LaTeX-argument for the first spanned column:
11124 \begin_layout Standard
11129 centering}m{1.25cm-6.2pt}
11132 \begin_layout Standard
11134 \begin_inset Quotes eld
11142 \begin_inset Quotes erd
11145 at the beginning draws the border line and the command
11149 means, that the commands inside the braces are applied before the cell
11153 \begin_layout Standard
11154 Although we have chosen centered alignment for the text of the multicolumn
11155 cell, it is still left aligned.
11156 This is because LyX only applies the alignment to single columns.
11157 So we have to use for the multicolumn the LaTeX-argument
11160 \begin_layout Standard
11165 centering}m{2.5cm}|
11168 \begin_layout Subsection
11170 \begin_inset LatexCommand index
11176 \begin_inset LatexCommand index
11177 name "Table ! Multirows"
11182 \begin_inset LatexCommand index
11183 name "LaTeX-packages ! multirow"
11190 \begin_layout Standard
11191 In contrary to multicolumns multirows are not yet supported by LyX so a
11192 bit of ERT needs to be used.
11193 To use multirows load the LaTeX-package
11197 in your document preamble with the command
11200 \begin_layout Standard
11205 usepackage{multirow}
11208 \begin_layout Standard
11209 Multirows are created with the command
11212 \begin_layout Standard
11217 multirow{number of rows}{cell width}{cell entry}
11220 \begin_layout Standard
11221 To create the following table:
11224 \begin_layout Standard
11229 \begin_layout Standard
11243 \begin_inset Tabular
11244 <lyxtabular version="3" rows="3" columns="3">
11246 <column alignment="center" valignment="top" leftline="true" width="0">
11247 <column alignment="center" valignment="top" leftline="true" width="0">
11248 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11249 <row topline="true">
11250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_layout Standard
11259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11262 \begin_layout Standard
11268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11271 \begin_layout Standard
11278 <row topline="true">
11279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11282 \begin_layout Standard
11286 \begin_layout Standard
11290 multirow{2}{2.5cm}{
11299 \begin_layout Standard
11311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11314 \begin_layout Standard
11320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11323 \begin_layout Standard
11330 <row topline="true" bottomline="true">
11331 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11334 \begin_layout Standard
11340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11343 \begin_layout Standard
11349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11352 \begin_layout Standard
11367 \begin_layout Standard
11383 \begin_layout Standard
11384 create a 3×3 table.
11385 To get rid of the line above the last cell in the first column, the cell
11386 is marked as multicolumn and the upper border is unset.
11387 The multirow is now created in the second row of the first column by inserting
11391 \begin_layout Standard
11396 multirow{2}{2.5cm}{
11399 \begin_layout Standard
11401 According to the command parameters the multirow spans now two rows and
11402 has a width of 2.5\InsetSpace \thinspace{}
11404 The content of the multirow cell follows outside the ERT box and the command
11405 is finished with a right brace
11409 in another ERT-box behind the text.
11412 \begin_layout Standard
11419 left-aligns its content by default.
11420 To override the default, renew the command
11429 \begin_layout Standard
11441 \begin_layout Standard
11442 in ERT in the document preamble.
11443 Then all entries of multirow cells in the document are centered.
11444 If centering is only needed for several tables, you can renew the command
11445 in an ERT box just before the table instead of the preamble.
11446 If the text should be right-aligned, replace
11459 To return to left-alignment
11468 \begin_layout Section
11470 \begin_inset LatexCommand label
11471 name "sec:Formal-Tables"
11476 \begin_inset LatexCommand index
11477 name "Table ! Formal"
11484 \begin_layout Standard
11485 Tables are often typeset in books similar to Table\InsetSpace ~
11487 \begin_inset LatexCommand ref
11488 reference "tab:Example-booktabs-table"
11493 This kind of tables is called
11494 \begin_inset Quotes eld
11502 \begin_inset Quotes erd
11506 To make a table a formal table use the option
11514 tab of the table dialog.
11517 \begin_layout Standard
11518 \begin_inset Float table
11524 \begin_layout Standard
11525 \begin_inset Caption
11527 \begin_layout Standard
11528 \begin_inset LatexCommand label
11529 name "tab:Example-booktabs-table"
11533 Example booktabs-table
11541 \begin_layout Standard
11543 \begin_inset Tabular
11544 <lyxtabular version="3" rows="8" columns="4">
11545 <features booktabs="true">
11546 <column alignment="center" valignment="top" rightline="true" width="0">
11547 <column alignment="center" valignment="top" width="0">
11548 <column alignment="center" valignment="top" width="0">
11549 <column alignment="center" valignment="top" width="0">
11550 <row topline="true">
11551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11554 \begin_layout Standard
11560 <cell alignment="center" valignment="top" topline="true" usebox="none">
11563 \begin_layout Standard
11565 \begin_inset Formula $\,$
11573 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11576 \begin_layout Standard
11578 \begin_inset Formula $\,$
11586 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11589 \begin_layout Standard
11597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11600 \begin_layout Standard
11604 \begin_layout Standard
11617 \begin_layout Standard
11626 Detector thickness [µm]
11631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11634 \begin_layout Standard
11640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11643 \begin_layout Standard
11649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11652 \begin_layout Standard
11659 <row topline="true">
11660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11663 \begin_layout Standard
11669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11672 \begin_layout Standard
11678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11681 \begin_layout Standard
11687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11690 \begin_layout Standard
11697 <row topspace="default">
11698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11701 \begin_layout Standard
11702 Spatial resolution [µm]
11707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11710 \begin_layout Standard
11716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11719 \begin_layout Standard
11725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11728 \begin_layout Standard
11735 <row topspace="default">
11736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11739 \begin_layout Standard
11741 \begin_inset Formula $f_{\mathrm{max}}$
11749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11752 \begin_layout Standard
11758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11761 \begin_layout Standard
11767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11770 \begin_layout Standard
11777 <row topspace="default">
11778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11781 \begin_layout Standard
11785 \begin_layout Standard
11789 cmidrule(l{10pt}){1-1}
11794 LSF-spatial resolution
11799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11802 \begin_layout Standard
11808 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11811 \begin_layout Standard
11817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11820 \begin_layout Standard
11828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11831 \begin_layout Standard
11837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11840 \begin_layout Standard
11846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11849 \begin_layout Standard
11855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11858 \begin_layout Standard
11865 <row bottomline="true">
11866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11869 \begin_layout Standard
11875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11878 \begin_layout Standard
11884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11887 \begin_layout Standard
11893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11896 \begin_layout Standard
11915 \begin_layout Standard
11916 Spaces to table rows can be added using the
11920 tab of the table dialog as described in section\InsetSpace ~
11922 \begin_inset LatexCommand ref
11923 reference "sub:Row-Spacing"
11930 \begin_layout Standard
11931 In contrary to normal tables, formal tables have no vertical table lines.
11932 The horizontal table lines can be set like for normal tables but they appear
11933 with different width in the output:
11935 The first and the last table line have
11936 a default width of 0.08\InsetSpace \thinspace{}
11937 em while the other lines have a default width of
11938 0.05\InsetSpace \thinspace{}
11942 \begin_layout Standard
11943 The default widths can be changed with the following preamble lines
11946 \begin_layout Standard
11966 \begin_layout Standard
11967 This example is for the first line, the so called toprule.
11968 If you want to change the width for the last line, replace
11977 To change the width for the other lines replace
11986 You can use all units listed in appendix\InsetSpace ~
11988 \begin_inset LatexCommand ref
11989 reference "cha:Units-available-in"
11996 \begin_layout Standard
11997 Lines that don't span over all table columns can be created by setting a
11998 table line for multicolumn cells.
11999 LyX will then internally use the command
12005 to create this line.
12009 \begin_layout Standard
12014 cmidrule[width](trim){startcol-endcol}
12017 \begin_layout Standard
12024 are are currently not supported by LyX so you have to use ERT to be able
12032 s can manually be created by inserting the command as ERT as first cell
12033 entry of the first cell of a row.
12034 The line is then drawn in the output above the current row.
12037 \begin_layout Standard
12038 The default for the width is 0.03\InsetSpace \thinspace{}
12040 Startcol is the number of the column where the line starts and endcol the
12041 column number where the line ends.
12042 The endcol always needs to be specified, also when the line should span
12044 The optional parameter trim could be either
12052 where the trimwidth is also optional.
12053 Using for example the parameter
12057 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12059 If you don't specify the trimwidth the lines are trimmed by the default
12060 of 0.5\InsetSpace \thinspace{}
12064 \begin_layout Standard
12065 \begin_inset VSpace bigskip
12070 \begin_inset LatexCommand ref
12071 reference "tab:Example-booktabs-table"
12075 was created using the commands
12078 \begin_layout Standard
12088 \begin_layout Standard
12089 at the beginning of the in the second row and
12092 \begin_layout Standard
12097 cmidrule(l{10pt}){1-1}
12100 \begin_layout Standard
12104 \begin_layout Standard
12108 \begin_layout Standard
12109 \begin_inset VSpace bigskip
12115 \begin_layout Standard
12116 You might want to have overlapping
12122 s like in Table\InsetSpace ~
12124 \begin_inset LatexCommand ref
12125 reference "tab:Special-booktabs-table"
12130 This can be achieved with the ERT command
12133 \begin_layout Standard
12141 \begin_layout Standard
12142 The command that was used for the second row of Table\InsetSpace ~
12144 \begin_inset LatexCommand ref
12145 reference "tab:Special-booktabs-table"
12152 \begin_layout Standard
12166 \begin_layout Standard
12167 The command for the sixth row is
12170 \begin_layout Standard
12182 \begin_layout Standard
12183 \begin_inset VSpace bigskip
12189 \begin_layout Standard
12190 If you are anyway not satisfied with the border line spacing, you can use
12191 the following command to produce lines that span over all table columns
12196 \begin_layout Standard
12201 specialrule{width}{space above}{space below}
12204 \begin_layout Standard
12205 For more informations about these specialties, we refer to the manual of
12211 \begin_inset LatexCommand cite
12217 \begin_inset LatexCommand index
12218 name "LaTeX-packages ! booktabs"
12225 \begin_layout Standard
12226 \begin_inset Float table
12232 \begin_layout Standard
12233 \begin_inset Caption
12235 \begin_layout Standard
12236 \begin_inset LatexCommand label
12237 name "tab:Special-booktabs-table"
12241 Special booktabs-table
12249 \begin_layout Standard
12251 \begin_inset Tabular
12252 <lyxtabular version="3" rows="8" columns="4">
12253 <features booktabs="true">
12254 <column alignment="center" valignment="top" width="0">
12255 <column alignment="center" valignment="top" width="0">
12256 <column alignment="center" valignment="top" width="0">
12257 <column alignment="center" valignment="top" width="0">
12258 <row topline="true">
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" usebox="none">
12271 \begin_layout Standard
12272 Medipix\InsetSpace \thinspace{}
12278 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12281 \begin_layout Standard
12282 Medipix\InsetSpace \thinspace{}
12288 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12291 \begin_layout Standard
12299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12302 \begin_layout Standard
12306 \begin_layout Standard
12319 \begin_layout Standard
12332 \begin_layout Standard
12345 \begin_layout Standard
12354 Detector thickness [µm]
12359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12362 \begin_layout Standard
12368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12371 \begin_layout Standard
12377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12380 \begin_layout Standard
12387 <row topline="true">
12388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12391 \begin_layout Standard
12397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12400 \begin_layout Standard
12406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12409 \begin_layout Standard
12415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12418 \begin_layout Standard
12425 <row topspace="default">
12426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12429 \begin_layout Standard
12430 Spatial resolution [µm]
12435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12438 \begin_layout Standard
12444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12447 \begin_layout Standard
12453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12456 \begin_layout Standard
12463 <row topspace="default">
12464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12467 \begin_layout Standard
12469 \begin_inset Formula $f_{\mathrm{max}}$
12477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12480 \begin_layout Standard
12486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12489 \begin_layout Standard
12495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12498 \begin_layout Standard
12505 <row topline="true">
12506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12509 \begin_layout Standard
12513 \begin_layout Standard
12526 \begin_layout Standard
12535 LSF-spatial resolution
12540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12543 \begin_layout Standard
12549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12552 \begin_layout Standard
12558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12561 \begin_layout Standard
12569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12572 \begin_layout Standard
12578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12581 \begin_layout Standard
12587 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12590 \begin_layout Standard
12596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12599 \begin_layout Standard
12606 <row bottomline="true">
12607 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12610 \begin_layout Standard
12616 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12619 \begin_layout Standard
12625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12628 \begin_layout Standard
12634 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12637 \begin_layout Standard
12656 \begin_layout Section
12657 Vertical Table Alignment
12658 \begin_inset LatexCommand index
12659 name "Table ! Alignment"
12666 \begin_layout Standard
12667 To align tables vertically in a text line the table must be inside a box.
12668 The box can then be vertically aligned as described in section\InsetSpace ~
12670 \begin_inset LatexCommand ref
12671 reference "sec:Box-Dialog"
12678 \begin_layout Standard
12679 In the following example the tables are inside a minipage
12683 \begin_layout Standard
12684 Minipages are described in section\InsetSpace ~
12686 \begin_inset LatexCommand ref
12687 reference "sec:Minipages"
12696 box that has a width of 15\InsetSpace \thinspace{}
12700 \begin_layout Itemize
12702 \begin_inset Box Frameless
12711 height_special "totalheight"
12714 \begin_layout Standard
12715 \begin_inset Tabular
12716 <lyxtabular version="3" rows="3" columns="3">
12718 <column alignment="center" valignment="top" leftline="true" width="0">
12719 <column alignment="center" valignment="top" leftline="true" width="0">
12720 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12721 <row topline="true">
12722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12725 \begin_layout Standard
12731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12734 \begin_layout Standard
12740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12743 \begin_layout Standard
12750 <row topline="true">
12751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12754 \begin_layout Standard
12760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12763 \begin_layout Standard
12769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12772 \begin_layout Standard
12779 <row topline="true" bottomline="true">
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12783 \begin_layout Standard
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12792 \begin_layout Standard
12798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12801 \begin_layout Standard
12821 \begin_layout Standard
12833 \begin_inset Box Frameless
12842 height_special "totalheight"
12845 \begin_layout Standard
12846 \begin_inset Tabular
12847 <lyxtabular version="3" rows="3" columns="3">
12849 <column alignment="center" valignment="top" leftline="true" width="0">
12850 <column alignment="center" valignment="top" leftline="true" width="0">
12851 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12852 <row topline="true">
12853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12856 \begin_layout Standard
12862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12865 \begin_layout Standard
12871 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12874 \begin_layout Standard
12881 <row topline="true">
12882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12885 \begin_layout Standard
12891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12894 \begin_layout Standard
12900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12903 \begin_layout Standard
12910 <row topline="true" bottomline="true">
12911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12914 \begin_layout Standard
12920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12923 \begin_layout Standard
12929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12932 \begin_layout Standard
12952 \begin_layout Standard
12962 \begin_layout Itemize
12964 \begin_inset Box Frameless
12973 height_special "totalheight"
12976 \begin_layout Standard
12977 \begin_inset Tabular
12978 <lyxtabular version="3" rows="3" columns="3">
12980 <column alignment="center" valignment="top" leftline="true" width="0">
12981 <column alignment="center" valignment="top" leftline="true" width="0">
12982 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12983 <row topline="true">
12984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12987 \begin_layout Standard
12993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12996 \begin_layout Standard
13002 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13005 \begin_layout Standard
13012 <row topline="true">
13013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13016 \begin_layout Standard
13022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13025 \begin_layout Standard
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13034 \begin_layout Standard
13041 <row topline="true" bottomline="true">
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13045 \begin_layout Standard
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13054 \begin_layout Standard
13060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13063 \begin_layout Standard
13082 \begin_layout Itemize
13084 \begin_inset Box Frameless
13093 height_special "totalheight"
13096 \begin_layout Standard
13097 \begin_inset Tabular
13098 <lyxtabular version="3" rows="3" columns="3">
13100 <column alignment="center" valignment="top" leftline="true" width="0">
13101 <column alignment="center" valignment="top" leftline="true" width="0">
13102 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13103 <row topline="true">
13104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13107 \begin_layout Standard
13113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13116 \begin_layout Standard
13122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13125 \begin_layout Standard
13132 <row topline="true">
13133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13136 \begin_layout Standard
13142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13145 \begin_layout Standard
13151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13154 \begin_layout Standard
13161 <row topline="true" bottomline="true">
13162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13165 \begin_layout Standard
13171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13174 \begin_layout Standard
13180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13183 \begin_layout Standard
13203 \begin_layout Standard
13215 \begin_inset Box Frameless
13224 height_special "totalheight"
13227 \begin_layout Standard
13228 \begin_inset Tabular
13229 <lyxtabular version="3" rows="3" columns="3">
13231 <column alignment="center" valignment="top" leftline="true" width="0">
13232 <column alignment="center" valignment="top" leftline="true" width="0">
13233 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13234 <row topline="true">
13235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13238 \begin_layout Standard
13244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13247 \begin_layout Standard
13253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13256 \begin_layout Standard
13263 <row topline="true">
13264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13267 \begin_layout Standard
13273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13276 \begin_layout Standard
13282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13285 \begin_layout Standard
13292 <row topline="true" bottomline="true">
13293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13296 \begin_layout Standard
13302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13305 \begin_layout Standard
13311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13314 \begin_layout Standard
13334 \begin_layout Standard
13344 \begin_layout Standard
13345 As you can see, the content of the first and last table row is not correctly
13346 aligned with the text line where the table is in.
13347 To get this alignment, the minipage box must be set into a raisebox
13351 \begin_layout Standard
13352 Raiseboxes are described in section\InsetSpace ~
13354 \begin_inset LatexCommand ref
13355 reference "sub:Vertical-Alignment"
13365 In the example above the second table in the first item is aligned using
13369 \begin_layout Standard
13379 \begin_layout Standard
13381 Behind the box the closing brace
13385 is inserted as ERT.
13386 For the second table in the last item the command
13389 \begin_layout Standard
13399 \begin_layout Standard
13403 \begin_layout Standard
13404 \begin_inset Note Greyedout
13407 \begin_layout Standard
13412 The alignment of the table row content to the surrounding text line is not
13414 The needed factor of the
13420 command for this alignment depends on the document font, the font size,
13421 and the table line thickness.
13429 \begin_layout Section
13431 \begin_inset LatexCommand label
13432 name "sec:Colored-Tables"
13437 \begin_inset LatexCommand index
13438 name "Table ! Color"
13445 \begin_layout Subsection
13447 \begin_inset LatexCommand index
13448 name "Table Color ! for Cells"
13453 \begin_inset LatexCommand index
13454 name "Color ! for Table Cells"
13461 \begin_layout Standard
13462 \begin_inset Float table
13468 \begin_layout Standard
13469 \begin_inset Caption
13471 \begin_layout Standard
13472 \begin_inset LatexCommand label
13473 name "tab:Table-colored-without"
13477 Table colored without using the package
13482 \begin_inset OptArg
13485 \begin_layout Standard
13486 Table without colortbl
13499 \begin_layout Standard
13501 \begin_inset Tabular
13502 <lyxtabular version="3" rows="3" columns="3">
13504 <column alignment="center" valignment="top" leftline="true" width="0">
13505 <column alignment="center" valignment="top" leftline="true" width="0">
13506 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13507 <row topline="true">
13508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13511 \begin_layout Standard
13519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13522 \begin_layout Standard
13530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13533 \begin_layout Standard
13542 <row topline="true">
13543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13546 \begin_layout Standard
13554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13557 \begin_layout Standard
13565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13568 \begin_layout Standard
13577 <row topline="true" bottomline="true">
13578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13581 \begin_layout Standard
13589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13592 \begin_layout Standard
13600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13603 \begin_layout Standard
13624 \begin_layout Standard
13625 If you only need colored text, mark the cells and choose a color in the
13628 Edit\SpecialChar \menuseparator
13633 This was used to create Table\InsetSpace ~
13635 \begin_inset LatexCommand ref
13636 reference "tab:Table-colored-without"
13641 In any other case you have to use the LaTeX-package
13646 \begin_inset LatexCommand index
13647 name "LaTeX-packages ! colortbl"
13654 \begin_layout Standard
13655 To create colored tables,
13659 must be loaded in the preamble with the line
13662 \begin_layout Standard
13667 usepackage{colortbl}
13670 \begin_layout Standard
13671 The color of a column is adjusted with the command
13674 \begin_layout Standard
13679 columncolor{name of color}
13682 \begin_layout Standard
13688 More about the command
13692 is described in section\InsetSpace ~
13694 \begin_inset LatexCommand ref
13695 reference "sub:Multicolumn-Calculations"
13702 \begin_layout Standard
13703 The following color names are predefined:
13706 \begin_layout Standard
13740 \begin_layout Standard
13741 \begin_inset VSpace medskip
13747 \begin_layout Standard
13748 You can also define your own color with the command
13751 \begin_layout Standard
13756 def\SpecialChar \textcompwordmark{}
13757 inecolor{color name}{color model}{color values}
13760 \begin_layout Standard
13761 The color model can be
13764 \begin_layout Labeling
13765 \labelwidthstring 00.00.0000
13766 cmyk: cyan, magenta, yellow, black
13769 \begin_layout Labeling
13770 \labelwidthstring 00.00.0000
13771 rgb: red, green blue
13774 \begin_layout Labeling
13775 \labelwidthstring 00.00.0000
13779 \begin_layout Standard
13780 and the color values are comma separated numbers between 0 and 1 describing
13781 the factor for the corresponding color of the color model.
13784 \begin_layout Standard
13785 You can e.\InsetSpace \thinspace{}
13791 " in the preamble with
13794 \begin_layout Standard
13799 def\SpecialChar \textcompwordmark{}
13800 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13803 \begin_layout Standard
13811 \begin_layout Standard
13816 def\SpecialChar \textcompwordmark{}
13817 inecolor{lightgray}{gray}{0.8}
13820 \begin_layout Standard
13821 \begin_inset VSpace medskip
13827 \begin_layout Standard
13828 Lines are colored with the command
13831 \begin_layout Standard
13836 rowcolor{name of color}
13839 \begin_layout Standard
13840 and cells are colored with the command
13843 \begin_layout Standard
13848 cellcolor{name of color}
13851 \begin_layout Standard
13852 Both commands are inserted at the beginning of a cell as ERT.
13855 \begin_layout Standard
13856 To color characters in the table, mark the cells and use the LyX menu
13858 Edit\SpecialChar \menuseparator
13863 If a cell contains ERT mark only the characters, otherwise the colored
13864 ERT will cause LaTeX-errors.
13867 \begin_layout Standard
13868 \begin_inset VSpace bigskip
13874 \begin_layout Standard
13875 To create Table\InsetSpace ~
13877 \begin_inset LatexCommand ref
13878 reference "tab:Table-colored-using"
13882 do the following: The color of the first column should be
13890 \begin_layout Standard
13895 columncolor{darkgreen}
13900 \begin_layout Standard
13901 as LaTeX-argument for this column.
13902 The first row should be blue, therefore the ERT command
13905 \begin_layout Standard
13913 \begin_layout Standard
13914 is inserted to the first cell of this row.
13915 Note that this overwrites the column color for the first cell.
13916 The last cell of the last row is colored magenta by inserting the ERT command
13919 \begin_layout Standard
13927 \begin_layout Standard
13928 The characters could now be colored using the menu
13930 Edit\SpecialChar \menuseparator
13937 \begin_layout Standard
13938 \begin_inset Float table
13944 \begin_layout Standard
13945 \begin_inset Caption
13947 \begin_layout Standard
13948 \begin_inset LatexCommand label
13949 name "tab:Table-colored-using"
13953 Table colored using the package
13958 \begin_inset OptArg
13961 \begin_layout Standard
13962 Table with colortbl
13975 \begin_layout Standard
13977 \begin_inset Tabular
13978 <lyxtabular version="3" rows="3" columns="3">
13980 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13981 <column alignment="center" valignment="top" width="0">
13982 <column alignment="center" valignment="top" width="0">
13984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13987 \begin_layout Standard
13991 \begin_layout Standard
14007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14010 \begin_layout Standard
14018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14021 \begin_layout Standard
14031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14034 \begin_layout Standard
14042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14045 \begin_layout Standard
14053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14056 \begin_layout Standard
14066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14069 \begin_layout Standard
14077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14080 \begin_layout Standard
14088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14091 \begin_layout Standard
14095 \begin_layout Standard
14124 \begin_layout Subsection
14126 \begin_inset LatexCommand index
14127 name "Table Color ! for Lines"
14132 \begin_inset LatexCommand index
14133 name "Color ! for Table Lines"
14140 \begin_layout Standard
14141 As described in section\InsetSpace ~
14143 \begin_inset LatexCommand ref
14144 reference "sub:Line-Thickness"
14148 , the line thickness for all lines in a table can be adjusted with the length
14156 It is set to 1.5\InsetSpace \thinspace{}
14157 pt for all tables of this section.
14161 \begin_layout Standard
14167 arrayrulewidth}{1.5pt}
14175 \begin_layout Standard
14176 To color vertical lines for example with green, create the following column
14177 format in the document preamble, according to the description in section\InsetSpace ~
14179 \begin_inset LatexCommand ref
14180 reference "sub:Customized-Format"
14187 \begin_layout Standard
14192 newcolumntype{W}{!{
14199 \begin_layout Standard
14200 For Table\InsetSpace ~
14202 \begin_inset LatexCommand ref
14203 reference "tab:Table-with-vertical-colored"
14210 \begin_layout Standard
14216 \begin_layout Standard
14217 was used for the last column and
14220 \begin_layout Standard
14226 \begin_layout Standard
14227 for the other columns.
14230 \begin_layout Standard
14231 If you want to have several colors, define more column formats.
14234 \begin_layout Standard
14235 \begin_inset Float table
14240 \begin_layout Standard
14241 \begin_inset Caption
14243 \begin_layout Standard
14244 \begin_inset LatexCommand label
14245 name "tab:Table-with-vertical-colored"
14249 Table with colored vertical lines
14257 \begin_layout Standard
14259 \begin_inset Tabular
14260 <lyxtabular version="3" rows="3" columns="3">
14262 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14263 <column alignment="center" valignment="top" width="0" special="Wc">
14264 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14265 <row topline="true">
14266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14269 \begin_layout Standard
14275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14278 \begin_layout Standard
14284 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14287 \begin_layout Standard
14294 <row topline="true">
14295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14298 \begin_layout Standard
14304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14307 \begin_layout Standard
14313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14316 \begin_layout Standard
14323 <row topline="true" bottomline="true">
14324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14327 \begin_layout Standard
14333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14336 \begin_layout Standard
14342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14345 \begin_layout Standard
14364 \begin_layout Standard
14365 \begin_inset VSpace bigskip
14368 To color horizontal lines for example with red, like in Table\InsetSpace ~
14370 \begin_inset LatexCommand ref
14371 reference "tab:Table-with-horizontal-colored"
14375 , insert these commands in ERT before the table or table float:
14378 \begin_layout Standard
14395 arrayrulecolor{red}
14399 arrayrulecolor{black}}
14402 \begin_layout Standard
14406 \begin_layout Standard
14417 \begin_layout Standard
14425 arrayrulecolor{red}
14429 arrayrulecolor{black}}
14435 \begin_inset Float table
14440 \begin_layout Standard
14441 \begin_inset Caption
14443 \begin_layout Standard
14444 \begin_inset LatexCommand label
14445 name "tab:Table-with-horizontal-colored"
14449 Table with colored horizontal lines
14457 \begin_layout Standard
14459 \begin_inset Tabular
14460 <lyxtabular version="3" rows="3" columns="3">
14462 <column alignment="center" valignment="top" leftline="true" width="0">
14463 <column alignment="center" valignment="top" leftline="true" width="0">
14464 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14465 <row topline="true">
14466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14469 \begin_layout Standard
14475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14478 \begin_layout Standard
14484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14487 \begin_layout Standard
14494 <row topline="true">
14495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14498 \begin_layout Standard
14504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14507 \begin_layout Standard
14513 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14516 \begin_layout Standard
14523 <row topline="true" bottomline="true">
14524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14527 \begin_layout Standard
14533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14536 \begin_layout Standard
14542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14545 \begin_layout Standard
14564 \begin_layout Standard
14568 \begin_layout Standard
14580 \begin_layout Standard
14581 To return to the default line color black, insert this command in ERT behind
14582 the table or table float:
14585 \begin_layout Standard
14597 \begin_layout Standard
14600 \begin_inset LatexCommand ref
14601 reference "tab:Table-with-colored"
14605 is an example with colored vertical and horizontal lines.
14608 \begin_layout Standard
14609 \begin_inset Float table
14614 \begin_layout Standard
14615 \begin_inset Caption
14617 \begin_layout Standard
14618 \begin_inset LatexCommand label
14619 name "tab:Table-with-colored"
14623 Table with colored lines
14631 \begin_layout Standard
14633 \begin_inset Tabular
14634 <lyxtabular version="3" rows="3" columns="3">
14636 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14637 <column alignment="center" valignment="top" width="0" special="Wc">
14638 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14639 <row topline="true">
14640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14643 \begin_layout Standard
14649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14652 \begin_layout Standard
14658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14661 \begin_layout Standard
14668 <row topline="true">
14669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14672 \begin_layout Standard
14678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14681 \begin_layout Standard
14687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14690 \begin_layout Standard
14697 <row topline="true" bottomline="true" topspace="default">
14698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14701 \begin_layout Standard
14707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14710 \begin_layout Standard
14716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14719 \begin_layout Standard
14738 \begin_layout Standard
14742 \begin_layout Standard
14758 \begin_layout Standard
14762 \begin_layout Standard
14768 arrayrulewidth}{0.4pt}
14776 \begin_layout Section
14777 Table Customization
14778 \begin_inset LatexCommand index
14779 name "Table Customization"
14784 \begin_inset LatexCommand index
14785 name "Table ! Customization"
14792 \begin_layout Subsection
14794 \begin_inset LatexCommand label
14795 name "sub:Row-Spacing"
14800 \begin_inset LatexCommand index
14801 name "Table Customization ! Row Spacing"
14808 \begin_layout Standard
14809 You can add vertical space to table rows in the
14813 tab of the table dialog.
14814 You find there three possibilities:
14817 \begin_layout Description
14820 row will add space above the characters of the table row.
14821 If the table is a formal table
14825 \begin_layout Standard
14826 Formal tables are explained in section\InsetSpace ~
14828 \begin_inset LatexCommand ref
14829 reference "sec:Formal-Tables"
14838 LyX will insert as default 0.5\InsetSpace \thinspace{}
14840 For normal tables the inserted space will unfortunately destroy the vertical
14841 table lines as in the following table:
14842 \begin_inset Tabular
14843 <lyxtabular version="3" rows="3" columns="1">
14845 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14846 <row topline="true">
14847 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14850 \begin_layout Standard
14857 <row topline="true" topspace="3mm">
14858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14861 \begin_layout Standard
14862 3\InsetSpace \thinspace{}
14863 mm space top of row
14869 <row topline="true" bottomline="true">
14870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14873 \begin_layout Standard
14886 So inserting space to the top of row for normal tables is only useful when
14887 you don't have vertical lines.
14890 \begin_layout Description
14891 Bottom\InsetSpace ~
14893 row will add space below the characters of the table row.
14894 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14896 normal tables the default size is 2\InsetSpace \thinspace{}
14900 \begin_layout Description
14901 Between\InsetSpace ~
14902 rows only has an effect when you have selected the whole table row
14904 The space is added between the current and the following row.
14905 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14907 For normal tables the inserted space will unfortunately destroy the vertical
14908 table lines as in the following table:
14909 \begin_inset Tabular
14910 <lyxtabular version="3" rows="3" columns="1">
14912 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14913 <row topline="true">
14914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14917 \begin_layout Standard
14924 <row topline="true" interlinespace="3mm">
14925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14928 \begin_layout Standard
14929 \begin_inset Formula $\downarrow$
14932 3\InsetSpace \thinspace{}
14933 mm space between row
14934 \begin_inset Formula $\downarrow$
14943 <row topline="true" bottomline="true">
14944 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14947 \begin_layout Standard
14948 \begin_inset Formula $\uparrow$
14951 3\InsetSpace \thinspace{}
14952 mm space between row
14953 \begin_inset Formula $\uparrow$
14968 So inserting space to the top of row for normal tables is only useful when
14969 you don't have vertical lines.
14972 \begin_layout Standard
14973 When you want to add extra height to all cells of all tables, you can do
14974 this with the following preamble line:
14977 \begin_layout Standard
14984 extrarowheight}{height}
14987 \begin_layout Standard
14988 But this has the disadvantage that the cell texts are no longer exactly
14989 vertically centered.
14992 \begin_layout Subsection
14993 Special Cell Alignment
14994 \begin_inset LatexCommand index
14995 name "Table Customization ! Special Cell Alignment"
15002 \begin_layout Standard
15003 Sometimes it looks better when the cell entries of a column are aligned
15004 with a special character, e.\InsetSpace \thinspace{}
15006 with the decimal separator as in Table\InsetSpace ~
15008 \begin_inset LatexCommand ref
15009 reference "tab:Table-cells-of"
15016 \begin_layout Standard
15017 \begin_inset Float table
15023 \begin_layout Standard
15024 \begin_inset Caption
15026 \begin_layout Standard
15027 \begin_inset LatexCommand label
15028 name "tab:Table-cells-of"
15032 Table cells of a column aligned with the decimal separator.
15040 \begin_layout Standard
15042 \begin_inset Tabular
15043 <lyxtabular version="3" rows="4" columns="2">
15045 <column alignment="right" valignment="top" width="0">
15046 <column alignment="left" valignment="top" width="0" special="@{}l">
15047 <row bottomline="true">
15048 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15051 \begin_layout Standard
15057 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15060 \begin_layout Standard
15068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15071 \begin_layout Standard
15077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15080 \begin_layout Standard
15088 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15091 \begin_layout Standard
15097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15100 \begin_layout Standard
15108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15111 \begin_layout Standard
15117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15120 \begin_layout Standard
15139 \begin_layout Standard
15140 This table was created with a 4×2 table.
15141 The heading is a centered multicolumn.
15142 The first column is right-aligned and contains the digits before the decimal
15143 point and the decimal point.
15144 The second column is left aligned and contains the digits after the decimal
15146 To omit the space that is normally between two table columns, use the following
15147 LaTeX-argument for the second column:
15150 \begin_layout Standard
15156 \begin_layout Standard
15157 If you need a vertical line right beside the second column, use this LaTeX-argum
15163 \begin_layout Standard
15166 \begin_inset LatexCommand ref
15167 reference "tab:Several-table-cell"
15171 shows some example alignments.
15172 For the alignment with the relation sign, you must add the second smallest
15173 math-space at the beginning of the last column to get the correct space
15174 surrounding the relation sign.
15177 \begin_layout Standard
15178 \begin_inset Float table
15183 \begin_layout Standard
15184 \begin_inset Caption
15186 \begin_layout Standard
15187 \begin_inset LatexCommand label
15188 name "tab:Several-table-cell"
15192 Several table cell alignments.
15200 \begin_layout Standard
15202 \begin_inset Tabular
15203 <lyxtabular version="3" rows="4" columns="6">
15205 <column alignment="right" valignment="top" width="0">
15206 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15207 <column alignment="right" valignment="top" width="0">
15208 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15209 <column alignment="right" valignment="top" width="0">
15210 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15211 <row bottomline="true">
15212 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15215 \begin_layout Standard
15221 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15224 \begin_layout Standard
15230 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15233 \begin_layout Standard
15239 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15242 \begin_layout Standard
15248 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15251 \begin_layout Standard
15257 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15260 \begin_layout Standard
15268 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15271 \begin_layout Standard
15277 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15280 \begin_layout Standard
15281 24\InsetSpace \thinspace{}
15287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15290 \begin_layout Standard
15291 \begin_inset Formula $10\cdot$
15299 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15302 \begin_layout Standard
15303 \begin_inset Formula $10^{\mbox{-}17}$
15311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15314 \begin_layout Standard
15315 \begin_inset Formula $\Gamma(t)\propto$
15323 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15326 \begin_layout Standard
15327 \begin_inset Formula $\:\Upsilon(t)$
15337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15340 \begin_layout Standard
15346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15349 \begin_layout Standard
15350 768\InsetSpace \thinspace{}
15356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15359 \begin_layout Standard
15360 \begin_inset Formula $5.78\cdot$
15368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15371 \begin_layout Standard
15372 \begin_inset Formula $10^{7}$
15380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15383 \begin_layout Standard
15384 \begin_inset Formula $A\ne$
15392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15395 \begin_layout Standard
15396 \begin_inset Formula $\: B_{\mathrm{red}}$
15406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15409 \begin_layout Standard
15415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15418 \begin_layout Standard
15419 6\InsetSpace \thinspace{}
15425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15428 \begin_layout Standard
15430 \begin_inset Formula $33.5\cdot$
15438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_layout Standard
15442 \begin_inset Formula $10^{4}$
15450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15453 \begin_layout Standard
15454 \begin_inset Formula $\sin(\alpha)\ge$
15462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15465 \begin_layout Standard
15466 \begin_inset Formula $\:\sin(\beta)$
15487 \begin_layout Standard
15488 \begin_inset VSpace bigskip
15491 There is also the LaTeX-package
15496 \begin_inset LatexCommand index
15497 name "LaTeX-packages ! dcolumn"
15501 that provides table cell alignments.
15502 But this unfortunately treats the cell entries as math and doesn't allow
15503 formulas in table cells: The first column of Table\InsetSpace ~
15505 \begin_inset LatexCommand ref
15506 reference "tab:Several-table-cell"
15514 like the first column in Table\InsetSpace ~
15516 \begin_inset LatexCommand ref
15517 reference "tab:Alignments-when"
15521 and only with some tricks like the expected.
15522 The alignment of the second and third column of Table\InsetSpace ~
15524 \begin_inset LatexCommand ref
15525 reference "tab:Several-table-cell"
15529 is not possible with
15536 \begin_layout Standard
15537 \begin_inset Float table
15543 \begin_layout Standard
15544 \begin_inset Caption
15546 \begin_layout Standard
15547 \begin_inset LatexCommand label
15548 name "tab:Alignments-when"
15552 Alignments when LaTeX-package dcolumn is used.
15553 For the second and third alignment some tricks were used.
15561 \begin_layout Standard
15563 \begin_inset Tabular
15564 <lyxtabular version="3" rows="4" columns="3">
15566 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15567 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15568 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15569 <row bottomline="true">
15570 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15573 \begin_layout Standard
15579 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15582 \begin_layout Standard
15588 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15591 \begin_layout Standard
15599 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15602 \begin_layout Standard
15603 12×24\InsetSpace \thinspace{}
15609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15612 \begin_layout Standard
15613 12×24\InsetSpace \thinspace{}
15615 \begin_inset Formula $\mbox{bottles}$
15623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15626 \begin_layout Standard
15628 \begin_inset Formula $\mbox{bottles}$
15638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15641 \begin_layout Standard
15642 1024×768\InsetSpace \thinspace{}
15648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15651 \begin_layout Standard
15652 1024×768\InsetSpace \thinspace{}
15654 \begin_inset Formula $\mbox{Pixels}$
15662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15665 \begin_layout Standard
15667 \begin_inset Formula $\mbox{Pixels}$
15677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15680 \begin_layout Standard
15681 32×6\InsetSpace \thinspace{}
15687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15690 \begin_layout Standard
15691 32×6\InsetSpace \thinspace{}
15693 \begin_inset Formula $\mbox{cm}$
15701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15704 \begin_layout Standard
15706 \begin_inset Formula $\mbox{cm}$
15727 \begin_layout Subsection
15728 Customized Cell/Column Format
15729 \begin_inset LatexCommand label
15730 name "sub:Customized-Format"
15735 \begin_inset LatexCommand index
15736 name "Table Customization ! Cell/Column Format"
15743 \begin_layout Standard
15744 Calculating the needed width for spanned columns like in section\InsetSpace ~
15746 \begin_inset LatexCommand ref
15747 reference "sub:Multicolumn-Calculations"
15751 is very annoying if you have several tables with multicolumn cells.
15752 To make life easier, you can define a cell/column format in the preamble,
15753 so that it can be used in all tables of the document.
15754 The format is defined with the command
15757 \begin_layout Standard
15762 newcolumntype{name of format}[number of arguments]{commands}
15765 \begin_layout Standard
15766 The format name may only consist of one letter.
15791 are predefined and cannot be used.
15792 But all letters are allowed as capitals.
15795 \begin_layout Standard
15796 \begin_inset VSpace medskip
15802 \begin_layout Standard
15803 For vertically and horizontally centered multicolumn cells with a fixed
15804 width you can define the cell format
15807 \begin_layout Standard
15812 newcolumntype{M}[1]{>{
15819 \begin_layout Standard
15826 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15828 \begin_inset LatexCommand ref
15829 reference "sub:Multiple-Lines-in"
15834 Now you can simply enter
15837 \begin_layout Standard
15843 \begin_layout Standard
15844 as LaTeX-argument in the table dialog to create a multicolumn.
15847 \begin_layout Standard
15848 \begin_inset VSpace bigskip
15854 \begin_layout Standard
15855 For cells spanned by a multicolumn cell, you can define the format
15858 \begin_layout Standard
15863 newcolumntype{S}[2]{>{
15873 \begin_layout Standard
15884 newcolumntype{S}[2]
15888 \begin_layout Standard
15899 arrayrulewidth)*(1-#2))/#2}}
15902 \begin_layout Standard
15903 This format uses equation
15904 \begin_inset LatexCommand eqref
15909 to calculate the needed width so that each spanned cell has the same width.
15912 \begin_layout Standard
15916 \begin_layout Standard
15919 |S{width of multicolumn cell}{number of spanned columns}
15922 \begin_layout Standard
15923 as LaTeX-argument of the column.
15926 \begin_layout Standard
15927 \begin_inset VSpace bigskip
15933 \begin_layout Standard
15934 For colored columns, you can define
15937 \begin_layout Standard
15942 newcolumntype{K}[1]{>{
15949 \begin_layout Standard
15951 \begin_inset Quotes eld
15955 \begin_inset Quotes erd
15958 at the end creates a column with a flexible width whose text is horizontally
15963 \begin_layout Standard
15969 \begin_layout Standard
15973 \begin_layout Standard
15974 \begin_inset VSpace bigskip
15980 \begin_layout Standard
15981 To create Table\InsetSpace ~
15983 \begin_inset LatexCommand ref
15984 reference "tab:Table-using-user-defined"
15988 use the LaTeX-arguments
15991 \begin_layout Standard
15997 \begin_layout Standard
15998 for the first column and the multicolumn,
16001 \begin_layout Standard
16007 \begin_layout Standard
16008 for the the last column, and
16011 \begin_layout Standard
16017 \begin_layout Standard
16018 for the cells in the second column.
16021 \begin_layout Standard
16022 \begin_inset Float table
16028 \begin_layout Standard
16029 \begin_inset Caption
16031 \begin_layout Standard
16032 \begin_inset LatexCommand label
16033 name "tab:Table-using-user-defined"
16037 Table using user-defined table formats
16045 \begin_layout Standard
16047 \begin_inset Tabular
16048 <lyxtabular version="3" rows="3" columns="4">
16050 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
16051 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
16052 <column alignment="center" valignment="middle" leftline="true" width="0">
16053 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
16054 <row topline="true">
16055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16058 \begin_layout Standard
16059 verylongtablecellword
16064 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
16067 \begin_layout Standard
16068 multiple lines multicolumn
16073 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16076 \begin_layout Standard
16082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16085 \begin_layout Standard
16092 <row topline="true">
16093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16096 \begin_layout Standard
16102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16105 \begin_layout Standard
16111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16114 \begin_layout Standard
16120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16123 \begin_layout Standard
16130 <row topline="true" bottomline="true">
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16134 \begin_layout Standard
16140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16143 \begin_layout Standard
16149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16152 \begin_layout Standard
16158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16161 \begin_layout Standard
16180 \begin_layout Subsection
16182 \begin_inset LatexCommand label
16183 name "sub:Line-Thickness"
16188 \begin_inset LatexCommand index
16189 name "Table Customization ! Line Thickness"
16196 \begin_layout Standard
16197 The line thickness for all lines in a table can be adjusted with the length
16205 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16206 pt, like in Table\InsetSpace ~
16208 \begin_inset LatexCommand ref
16209 reference "tab:Table-with-1.5"
16213 , insert the command
16216 \begin_layout Standard
16223 arrayrulewidth}{1.5pt}
16226 \begin_layout Standard
16227 in ERT before the table or table float.
16228 The changed thickness is valid for all following tables.
16229 To use the default value again, set
16235 to 0.4\InsetSpace \thinspace{}
16236 pt in ERT behind the table or table float.
16239 \begin_layout Standard
16243 \begin_layout Standard
16249 arrayrulewidth}{1.5pt}
16255 \begin_inset Float table
16260 \begin_layout Standard
16261 \begin_inset Caption
16263 \begin_layout Standard
16264 \begin_inset LatexCommand label
16265 name "tab:Table-with-1.5"
16269 Table with 1.5\InsetSpace \thinspace{}
16278 \begin_layout Standard
16280 \begin_inset Tabular
16281 <lyxtabular version="3" rows="3" columns="3">
16283 <column alignment="center" valignment="top" leftline="true" width="0">
16284 <column alignment="center" valignment="top" leftline="true" width="0">
16285 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16286 <row topline="true">
16287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16290 \begin_layout Standard
16296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16299 \begin_layout Standard
16305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16308 \begin_layout Standard
16315 <row topline="true">
16316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16319 \begin_layout Standard
16325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16328 \begin_layout Standard
16334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16337 \begin_layout Standard
16344 <row topline="true" bottomline="true">
16345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16348 \begin_layout Standard
16354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16357 \begin_layout Standard
16363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16366 \begin_layout Standard
16386 \begin_layout Standard
16392 arrayrulewidth}{0.4pt}
16400 \begin_layout Standard
16401 \begin_inset VSpace bigskip
16404 To set the line thickness to 1.5\InsetSpace \thinspace{}
16405 pt only for horizontal lines, like in Table\InsetSpace ~
16407 \begin_inset LatexCommand ref
16408 reference "tab:Table-with-horizontal"
16412 , insert these commands in ERT before the table or table float:
16415 \begin_layout Standard
16438 arrayrulewidth 1.5pt}
16448 arrayrulewidth 0.4pt}}
16451 \begin_layout Standard
16452 To return to the default line thickness, insert this command in ERT behind
16453 the table or table float:
16456 \begin_layout Standard
16468 \begin_layout Standard
16472 \begin_layout Standard
16483 \begin_layout Standard
16492 \begin_layout Standard
16500 arrayrulewidth 1.5pt}
16503 \begin_layout Standard
16513 arrayrulewidth 0.4pt}}
16519 \begin_inset Float table
16524 \begin_layout Standard
16525 \begin_inset Caption
16527 \begin_layout Standard
16528 \begin_inset LatexCommand label
16529 name "tab:Table-with-horizontal"
16533 Table with 1.5\InsetSpace \thinspace{}
16534 pt thick horizontal lines
16542 \begin_layout Standard
16544 \begin_inset Tabular
16545 <lyxtabular version="3" rows="3" columns="3">
16547 <column alignment="center" valignment="top" leftline="true" width="0">
16548 <column alignment="center" valignment="top" leftline="true" width="0">
16549 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16550 <row topline="true">
16551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16554 \begin_layout Standard
16560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16563 \begin_layout Standard
16569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16572 \begin_layout Standard
16579 <row topline="true">
16580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16583 \begin_layout Standard
16589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16592 \begin_layout Standard
16598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16601 \begin_layout Standard
16608 <row topline="true" bottomline="true">
16609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16612 \begin_layout Standard
16618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16621 \begin_layout Standard
16627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16630 \begin_layout Standard
16650 \begin_layout Standard
16666 \begin_layout Standard
16667 \begin_inset VSpace bigskip
16670 To set the line thickness to 1.5\InsetSpace \thinspace{}
16671 pt only for vertical lines, create the following
16672 column format in the document preamble, according to the description in
16673 section\InsetSpace ~
16675 \begin_inset LatexCommand ref
16676 reference "sub:Customized-Format"
16683 \begin_layout Standard
16688 newcolumntype{V}{!{
16690 vrule width 1.5pt}}
16693 \begin_layout Standard
16694 For Table\InsetSpace ~
16696 \begin_inset LatexCommand ref
16697 reference "tab:Table-with-vertical"
16704 \begin_layout Standard
16710 \begin_layout Standard
16711 was used for the last column and
16714 \begin_layout Standard
16720 \begin_layout Standard
16721 for the other columns.
16724 \begin_layout Standard
16725 \begin_inset Float table
16730 \begin_layout Standard
16731 \begin_inset Caption
16733 \begin_layout Standard
16734 \begin_inset LatexCommand label
16735 name "tab:Table-with-vertical"
16739 Table with 1.5\InsetSpace \thinspace{}
16740 pt thick vertical lines
16748 \begin_layout Standard
16750 \begin_inset Tabular
16751 <lyxtabular version="3" rows="3" columns="3">
16753 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16754 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16755 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16756 <row topline="true">
16757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16760 \begin_layout Standard
16766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16769 \begin_layout Standard
16775 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16778 \begin_layout Standard
16785 <row topline="true">
16786 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16789 \begin_layout Standard
16795 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16798 \begin_layout Standard
16804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16807 \begin_layout Standard
16814 <row topline="true" bottomline="true">
16815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16818 \begin_layout Standard
16824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16827 \begin_layout Standard
16833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16836 \begin_layout Standard
16855 \begin_layout Subsection
16857 \begin_inset LatexCommand index
16858 name "Table Customization ! Dashed Lines"
16865 \begin_layout Standard
16866 \begin_inset Float table
16872 \begin_layout Standard
16873 \begin_inset Caption
16875 \begin_layout Standard
16876 \begin_inset LatexCommand label
16877 name "tab:Table-with-dashed"
16881 Table with dashed lines
16889 \begin_layout Standard
16891 \begin_inset Tabular
16892 <lyxtabular version="3" rows="5" columns="5">
16894 <column alignment="center" valignment="top" leftline="true" width="0">
16895 <column alignment="center" valignment="top" leftline="true" width="0">
16896 <column alignment="center" valignment="top" width="0" special=":c">
16897 <column alignment="center" valignment="top" leftline="true" width="0">
16898 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16899 <row topline="true" bottomline="true">
16900 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16903 \begin_layout Standard
16909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16912 \begin_layout Standard
16918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16921 \begin_layout Standard
16927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16930 \begin_layout Standard
16936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16939 \begin_layout Standard
16946 <row topline="true">
16947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16950 \begin_layout Standard
16956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16959 \begin_layout Standard
16965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16968 \begin_layout Standard
16974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16977 \begin_layout Standard
16983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16986 \begin_layout Standard
16994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16997 \begin_layout Standard
17001 \begin_layout Standard
17015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17018 \begin_layout Standard
17024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17027 \begin_layout Standard
17033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17036 \begin_layout Standard
17042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17045 \begin_layout Standard
17052 <row topline="true">
17053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17056 \begin_layout Standard
17060 \begin_layout Standard
17074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17077 \begin_layout Standard
17083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17086 \begin_layout Standard
17092 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17095 \begin_layout Standard
17101 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17104 \begin_layout Standard
17111 <row topline="true" bottomline="true">
17112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17115 \begin_layout Standard
17121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17124 \begin_layout Standard
17130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17133 \begin_layout Standard
17139 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17142 \begin_layout Standard
17148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17151 \begin_layout Standard
17170 \begin_layout Standard
17171 LyX doesn't natively support dashed lines, so you have to use ERT.
17172 As prerequisite the LaTeX-package
17177 \begin_inset LatexCommand index
17178 name "LaTeX-packages ! arydshln"
17182 must be loaded in the document preamble with the command
17185 \begin_layout Standard
17190 usepackage{arydshln}
17193 \begin_layout Standard
17194 To make a vertical line dashed, enter the colon
17195 \begin_inset Quotes eld
17199 \begin_inset Quotes erd
17202 together with the character for the horizontal alignment as LaTeX-argument
17203 in the table cell dialog.
17206 \begin_layout Standard
17207 For a horizontal dashed line add the command
17210 \begin_layout Standard
17218 \begin_layout Standard
17219 in ERT as first element of the first cell in the table row.
17222 \begin_layout Standard
17223 For dashed multicolumn lines use the command
17226 \begin_layout Standard
17231 cdashline{line number
17236 \begin_layout Standard
17237 in ERT as first element of the first cell in the table row.
17238 If you have for example a multicolumn spanning over columns 2 to 4 and
17239 you want to have a dashed line above, add the command
17242 \begin_layout Standard
17250 \begin_layout Standard
17251 as first element of the first cell in the row of the multicolumn.
17254 \begin_layout Standard
17255 \begin_inset VSpace bigskip
17261 \begin_layout Standard
17264 \begin_inset LatexCommand ref
17265 reference "tab:Table-with-dashed"
17270 \begin_inset Quotes eld
17278 \begin_inset Quotes erd
17281 as LaTeX-argument of the third column.
17288 was inserted to the first cell of the third row and the the ERT command
17297 was inserted to the first cell of the fourth row.
17300 \begin_layout Standard
17301 \begin_inset Note Greyedout
17304 \begin_layout Standard
17309 The used LaTeX-package
17313 is apparently not compatible with the LaTeX-package
17318 \begin_inset LatexCommand index
17319 name "LaTeX-packages ! colortbl"
17323 that is used for colored tables in section\InsetSpace ~
17325 \begin_inset LatexCommand ref
17326 reference "sec:Colored-Tables"
17331 That means colored tables cannot have dashed lines.
17339 \begin_layout Chapter
17341 \begin_inset LatexCommand index
17347 \begin_inset LatexCommand label
17355 \begin_layout Section
17357 \begin_inset LatexCommand label
17358 name "sec:FloatIntroduction"
17363 \begin_inset LatexCommand index
17364 name "Floats ! Introduction"
17371 \begin_layout Standard
17372 A float is a block of text associated with some sort of label, which doesn't
17373 have a fixed location.
17375 \begin_inset Quotes eld
17379 \begin_inset Quotes erd
17382 forward or backward a page or two, to wherever it fits best.
17389 Margin\InsetSpace ~
17392 are also floats, because they can float to the next page when there are
17393 too many notes at the page.
17396 \begin_layout Standard
17397 Floats allow a high quality layout.
17398 Images and tables can evenly be spread to the pages to avoid white space
17399 and pages without text.
17400 As the floating often destroys the context between the text and the image/table
17401 , every float can be referenced in the text.
17402 Floats are therefore numbered.
17403 Referencing is described in section\InsetSpace ~
17405 \begin_inset LatexCommand ref
17406 reference "sec:Referencing-Floats"
17413 \begin_layout Standard
17414 To insert a float, use the menu
17416 Insert\SpecialChar \menuseparator
17420 This inserts a box with a label in the
17428 \begin_layout Standard
17433 environment is described in LyX's
17442 into your document.
17443 Every label ends with the character
17444 \begin_inset Quotes eld
17448 \begin_inset Quotes erd
17451 as placeholder for the float number in the output.
17452 The label will automatically be translated to the document language in
17454 Behind the label you can insert the caption text.
17455 The image or table is inserted above or below the caption in a separate
17456 paragraph within the float.
17457 More about the caption placement is described in section\InsetSpace ~
17459 \begin_inset LatexCommand ref
17460 reference "sec:Caption-Placement"
17465 To keep your LyX-document readable, you can open and close the float box
17466 by left-clicking on the box label.
17467 A closed float box looks like this:
17468 \begin_inset Graphics
17469 filename ../clipart/floatQt4.png
17474 -- a gray button with a red label.
17477 \begin_layout Standard
17478 It is recommended to insert floats as a separate paragraph to avoid possible
17479 LaTeX-errors that can occur when the surrounding text is specially formatted.
17482 \begin_layout Standard
17483 Existing figures or tables can be put into a float by marking them and then
17484 pressing the corresponding toolbar button for a new float.
17487 \begin_layout Section
17491 \begin_layout Standard
17492 Besides figure and table floats that are described in section\InsetSpace ~
17494 \begin_inset LatexCommand ref
17495 reference "sec:Figure-Floats"
17500 \begin_inset LatexCommand ref
17501 reference "sec:Table-Floats"
17505 , respectively, LyX offers the float types
17518 \begin_layout Subsection
17520 \begin_inset LatexCommand index
17521 name "Floats ! Algorithm Floats"
17528 \begin_layout Standard
17529 \begin_inset Float algorithm
17535 \begin_layout Standard
17536 \begin_inset Caption
17538 \begin_layout Standard
17539 \begin_inset LatexCommand label
17540 name "alg:Example-Algorithm-float"
17544 Example Algorithm float
17552 \begin_layout LyX-Code
17555 Sum:= Sum + A(I); /*senseless comment*/
17558 \begin_inset VSpace -4mm
17569 \begin_layout Standard
17570 This float type is inserted with the menu
17572 Insert\SpecialChar \menuseparator
17573 Floats\SpecialChar \menuseparator
17577 It is used for program codes and descriptions of algorithms.
17578 A possible environment for algorithms is the
17582 , described in LyX's
17587 Algorithm\InsetSpace ~
17589 \begin_inset LatexCommand ref
17590 reference "alg:Example-Algorithm-float"
17594 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17595 mm vertical space was added
17596 at the end of the float to have the bottom rule exactly below the last
17600 \begin_layout Standard
17601 The float label is not automatically translated into the document language.
17602 If your document is not in English, you have to do this manually by adding
17607 to the document preamble
17612 \begin_layout Standard
17617 floatname{algorithm}{your\InsetSpace ~
17621 \begin_layout Standard
17628 \begin_inset Quotes eld
17636 \begin_inset Quotes erd
17642 \begin_layout Description
17647 When the LaTeX-package
17652 \begin_inset LatexCommand index
17653 name "LaTeX-packages ! hyperref"
17657 is used to link cross-references to floats in the PDF-output, it must be
17658 loaded in the document preamble before the definition of floats to be able
17659 to reference floats.
17660 As LyX sets the float definition for algorithm floats automatically before
17661 the user editable part of the document preamble, you need to insert the
17662 following preamble lines
17666 the loading command of
17673 \begin_inset VSpace defskip
17680 newfloat{Xalgorithm}{tbp}{loa}
17684 floatname{Xalgorithm}{your\InsetSpace ~
17697 renewenvironment{algorithm}[1][tbp]
17703 \begin_layout Standard
17714 begin{Xalgorithm}[#1]}{
17717 \begin_inset VSpace defskip
17730 \begin_inset Quotes eld
17738 \begin_inset Quotes erd
17744 \begin_layout Standard
17745 Algorithm floats are not by default numbered in the scheme
17746 \begin_inset Quotes eld
17750 \begin_inset Quotes erd
17753 like it is the case for table and figure floats in many document-classes.
17754 To number algorithm floats in the same scheme, add this command to your
17758 \begin_layout Standard
17763 numberwithin{algorithm}{chapter}
17766 \begin_layout Standard
17767 If you use the LaTeX-package
17771 , add this line instead
17779 (the commands from above) to the preamble:
17782 \begin_layout Standard
17787 numberwithin{Xalgorithm}{chapter}
17790 \begin_layout Standard
17791 To be able to use the command
17802 in the document settings the option
17812 \begin_layout Subsection
17814 \begin_inset LatexCommand index
17815 name "Floats ! Text Wrap Floats"
17820 \begin_inset LatexCommand label
17821 name "sub:floatflt-wrap-float"
17828 \begin_layout Standard
17829 This float type is used if you want to
17830 \begin_inset Quotes eld
17834 \begin_inset Quotes erd
17837 text around a figure so that it only occupies some fraction of the column
17839 It can be inserted using the menu
17840 \begin_inset Wrap figure
17845 \begin_layout Standard
17846 \begin_inset Graphics
17847 filename mobius.eps
17850 rotateOrigin center
17857 \begin_layout Standard
17858 \begin_inset Caption
17860 \begin_layout Standard
17861 \begin_inset LatexCommand label
17862 name "fig:This-is-a"
17866 This is a wrapped figure, and this is the brilliant caption that describes
17868 \begin_inset VSpace medskip
17883 Insert\SpecialChar \menuseparator
17884 Floats\SpecialChar \menuseparator
17889 if the LaTeX-package
17894 \begin_inset LatexCommand index
17895 name "LaTeX-packages ! floatflt"
17903 \begin_layout Standard
17904 Installing a LaTeX-package is explained it in the
17914 The width and placement of the float is adjusted by right-clicking on the
17916 Figure\InsetSpace ~
17918 \begin_inset LatexCommand ref
17919 reference "fig:This-is-a"
17923 is an example text wrap float with a width of 40
17924 \begin_inset Formula $\,$
17931 \begin_layout Standard
17932 Available units are explained in
17933 \begin_inset LatexCommand ref
17934 reference "cha:Units-available-in"
17943 Some space was added under the caption to separate it better from the surroundi
17947 \begin_layout Standard
17952 also supports table wrap floats, but they are not yet supported by LyX.
17953 If you need this, read the documentation of
17958 \begin_inset LatexCommand cite
17966 \begin_layout Standard
17967 \begin_inset Note Greyedout
17970 \begin_layout Standard
17976 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17978 having a figure too close to the bottom
17979 of the page can mess things up in the way that the float doesn't appear
17980 in the output or that it is placed over some other text.
17984 \begin_layout Standard
17985 The better solution is to use the LaTeX-package
17987 wrapf\SpecialChar \textcompwordmark{}
17991 \begin_inset LatexCommand index
17992 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17998 floatf\SpecialChar \textcompwordmark{}
18001 , but it is currently not supported by LyX.
18014 \begin_layout Standard
18018 \begin_layout Itemize
18019 Wrap floats should not be placed in paragraphs that run over a page break.
18020 That means that wrap floats should better be inserted to the exact place
18021 when the document is nearly ready and you are able to estimate where page
18022 breaks will appear.
18025 \begin_layout Itemize
18026 Wrap floats should either be placed in an own paragraph before the paragraph
18027 where they should wrap into or within a paragraph.
18030 \begin_layout Itemize
18031 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18032 there is a text paragraph between them as separator.
18035 \begin_layout Itemize
18036 Wrap floats are not allowed in section headings or tables.
18039 \begin_layout Section
18041 \begin_inset LatexCommand label
18042 name "sec:Referencing-Floats"
18047 \begin_inset LatexCommand index
18048 name "Floats ! References"
18053 \begin_inset LatexCommand index
18061 \begin_layout Standard
18062 To reference a float, insert a label into its caption using the menu
18064 Insert\SpecialChar \menuseparator
18067 or the toolbar button
18068 \begin_inset Graphics
18069 filename ../images/label-insert.xpm
18075 A grey label box like this one:
18076 \begin_inset Graphics
18077 filename ../clipart/labelQt4.png
18082 will be inserted and the label window pops up asking for the label text.
18083 LyX offers as text the first words of the caption with a prefix.
18084 The prefix depends on the float type, e.\InsetSpace \thinspace{}
18086 for figure floats the prefix will
18094 \begin_layout Standard
18095 The label is used as anchor and name for the reference.
18096 You can refer to the label using the menu
18098 Insert\SpecialChar \menuseparator
18101 or the toolbar button
18102 \begin_inset Graphics
18103 filename ../images/dialog-show-new-inset_ref.xpm
18109 A grey cross-reference box like this one:
18110 \begin_inset Graphics
18111 filename ../clipart/referenceQt4.png
18116 will be inserted and the cross-reference window appear showing all labels
18118 If you have multiple LyX-documents opened, choose the one you are working
18119 on from the drop-list at the top of the dialog.
18120 You can now sort the labels alphabetically and then choose one.
18121 At the position of the cross-reference box the float number will appear
18125 \begin_layout Standard
18126 It is recommended to use a protected space between the cross-reference name
18127 and its number to avoid line breaks between them.
18128 If a cross-reference refers to a non-existing label, you will see two question
18129 marks in the output instead of the reference.
18132 \begin_layout Standard
18133 You can change labels at any time by clicking on the label box.
18134 References to the changed label will automatically change its link to the
18135 new label text, so that you don't need to take care about this.
18138 \begin_layout Standard
18145 in the cross-reference window sets the cursor before the referred label.
18146 The button text changes then to Go\InsetSpace ~
18147 Back and you can use it to set the cursor
18148 back to the cross-reference.
18149 Right-clicking on a cross-reference box also sets the cursor before the
18150 referenced label but without a possibility to go back.
18153 \begin_layout Subsection
18154 Cross-reference formats
18155 \begin_inset LatexCommand label
18156 name "sub:Cross-reference-formats"
18161 \begin_inset LatexCommand index
18162 name "References ! Formats"
18169 \begin_layout Standard
18170 There are six varieties of cross-references:
18173 \begin_layout Description
18174 <reference>: prints the float number, this is the default:
18175 \begin_inset LatexCommand ref
18176 reference "fig:Two-distorted-images"
18183 \begin_layout Description
18184 (<reference>): prints the float number within two parentheses, this is the
18185 style normally used to reference formulas, especially when the reference
18187 \begin_inset Quotes eld
18191 \begin_inset Quotes erd
18195 \begin_inset LatexCommand eqref
18203 \begin_layout Description
18204 <page>: prints the page number: Page\InsetSpace ~
18206 \begin_inset LatexCommand pageref
18207 reference "fig:Two-distorted-images"
18214 \begin_layout Description
18217 <page>: prints the text "on page" and the page number:
18218 \begin_inset LatexCommand vpageref
18219 reference "fig:Two-distorted-images"
18226 \begin_layout Description
18227 <reference>\InsetSpace ~
18230 <page>: prints the float number, the text "on page", and
18232 \begin_inset LatexCommand vref
18233 reference "fig:Two-distorted-images"
18240 \begin_layout Description
18241 Formatted\InsetSpace ~
18242 reference: prints a self defined cross-reference format:
18245 \begin_inset LatexCommand prettyref
18246 reference "fig:Two-distorted-images"
18253 \begin_layout Standard
18254 Note that the style <page> won't print the page number if the label is on
18255 the previous, the same, or the next page.
18256 You will e.\InsetSpace \thinspace{}
18259 \begin_inset Quotes eld
18267 \begin_inset Quotes erd
18273 \begin_layout Standard
18274 The number and current page of the referred document part in the output,
18275 is automatically calculated by LaTeX.
18276 The varieties are adjusted in the field
18280 of the cross-reference window, that appear when you click on the cross-referenc
18282 \begin_inset VSpace bigskip
18288 \begin_layout Standard
18289 To define a format for the
18291 Formatted\InsetSpace ~
18294 style, you have to use the following command in the document preamble:
18297 \begin_layout Standard
18302 newrefformat{prefix}{text}
18305 \begin_layout Standard
18306 This formatting command affects all references to labels with the same prefix.
18307 To get the format of the
18309 Formatted\InsetSpace ~
18312 example above, this command was used:
18315 \begin_layout Standard
18326 \begin_layout Standard
18337 ref{#1} printed on page~
18342 \begin_layout Standard
18343 The tilde "~" is the LaTeX equivalent for the protected space.
18350 refers to the float number, the command
18356 to the page number.
18359 \begin_layout Subsection
18360 Automatic Reference Naming
18361 \begin_inset LatexCommand index
18362 name "References ! Automatic Reference Naming"
18369 \begin_layout Standard
18374 provides a very useful feature that cross-references automatically include
18375 the name of the referenced floats (or text parts like sections).
18376 You save to write e.\InsetSpace \thinspace{}
18379 \begin_inset Quotes eld
18383 \begin_inset Quotes erd
18386 before every reference box.
18387 To get this automatic reference naming, you have to load the LaTeX-package
18393 \begin_inset LatexCommand index
18394 name "LaTeX-packages ! hyperref"
18398 in the document preamble with
18401 \begin_layout Standard
18406 usepackage[pdfborder={0 0 0}]{hyperref}
18421 \begin_layout Standard
18426 is used to link cross-references in the DVI- and PDF-output, this means
18427 that the reader of your document will be able to click on a table of content
18428 (TOC) entry or on a reference and he will be shown the referenced document
18434 also creates PDF-bookmarks for every section of your document to make it
18435 easier for readers to navigate through the document.
18436 This is also used in this document but when you have a look in the document
18437 preamble you will find various options in the load command of
18442 To learn more about the
18446 package, we refer to its documentation
18447 \begin_inset LatexCommand cite
18455 \begin_layout Standard
18456 \begin_inset Note Greyedout
18459 \begin_layout Standard
18464 Automatic reference naming cannot be used when you use cross-references
18467 Formatted\InsetSpace ~
18470 style, described in section\InsetSpace ~
18472 \begin_inset LatexCommand ref
18473 reference "sub:Cross-reference-formats"
18478 That is the reason why it is not used in this document.
18486 \begin_layout Subsection
18488 \begin_inset LatexCommand label
18489 name "sub:Reference-Position"
18494 \begin_inset LatexCommand index
18495 name "References ! Reference Position"
18502 \begin_layout Standard
18508 \begin_inset LatexCommand index
18509 name "LaTeX-packages ! hyperref"
18513 to link cross-references in the output, you will see that clicking on an
18514 image float reference jumps to the image label.
18515 The caption will be the first text part on the screen, so that you cannot
18516 see the image without scrolling.
18517 This is because the reference link anchor is placed at the position of
18519 With the use of the package
18524 \begin_inset LatexCommand index
18525 name "LaTeX-packages ! hypcap"
18529 , which is part of the LaTeX-package
18534 \begin_inset LatexCommand index
18535 name "LaTeX-packages ! oberdiek"
18539 , the link anchor is placed at the beginning of a float.
18540 To use this feature for figure floats, load
18544 in the document preamble with the line
18547 \begin_layout Standard
18552 usepackage[f\SpecialChar \textcompwordmark{}
18556 \begin_layout Standard
18561 for all floats but this isn't recommended for stability reasons.
18562 For more informations, have a look at
18567 \begin_inset LatexCommand cite
18575 \begin_layout Standard
18576 \begin_inset Note Greyedout
18579 \begin_layout Standard
18588 must be loaded after
18592 in the document preamble.
18600 \begin_layout Section
18602 \begin_inset LatexCommand label
18603 name "sec:Float-Placement"
18608 \begin_inset LatexCommand index
18609 name "Floats ! Placement"
18616 \begin_layout Standard
18617 Right-clicking on a float-box opens a dialog where you can alter the placement
18618 options that LaTeX uses for positioning the float.
18625 is only useful for two-column documents: If you select it, the float will
18626 span across both columns on the page instead of being confined to just
18631 Rotate\InsetSpace ~
18634 is used to rotate floats, see section
18635 \begin_inset LatexCommand ref
18636 reference "sec:Rotated-Floats"
18643 \begin_layout Standard
18644 You can use one ore more of the following options in the float dialog to
18645 set the placement for a particular float when you uncheck the option
18648 default\InsetSpace ~
18654 \begin_layout Description
18657 possible: try to place the float on the position where it is inserted
18660 \begin_layout Description
18663 page: try to place the float on the top of the current page
18666 \begin_layout Description
18667 Bottom\InsetSpace ~
18669 page: try to place the float on the bottom of the current page
18672 \begin_layout Description
18675 floats: try to place the float on an own page
18678 \begin_layout Standard
18679 The order of the above option is
18684 That means, if you use the default placement, LaTeX will first try out
18697 , and then the others.
18698 If you don't use the default, LaTeX will try only the checked options but
18700 If none of the 4 placements are possible the procedure is internally repeated
18701 but it is tried to put the float on the following page.
18704 \begin_layout Standard
18705 By default, each options has its own rules:
18708 \begin_layout Labeling
18709 \labelwidthstring 00.00.0000
18716 only floats occupying less than 70\InsetSpace \thinspace{}
18717 % of the page can be placed at the top
18727 \begin_layout Labeling
18728 \labelwidthstring 00.00.0000
18731 Bottom\InsetSpace ~
18735 : only floats occupying less than 30\InsetSpace \thinspace{}
18736 % of the page can be placed at the bottom
18747 \begin_layout Labeling
18748 \labelwidthstring 00.00.0000
18755 : only if more than 50\InsetSpace \thinspace{}
18756 % of the page are occupied by floats, several floats
18757 can be set together on a page.
18767 \begin_layout Standard
18768 If you don't like these rules, you can ignore them by using the additional
18771 Ignore\InsetSpace ~
18777 You can also redefine the rules with LaTeX-commands that are given in parenthese
18778 s behind the rules description above.
18779 To increase for example the often too small default of the bottom-rule
18780 to 50\InsetSpace \thinspace{}
18781 % of the page, add this line to your document preamble:
18784 \begin_layout Standard
18791 bottomfraction}{0.5}
18794 \begin_layout Standard
18795 Sometimes you might need, under all circumstances, a float to be placed
18796 exactly at the position where it is inserted.
18797 For this case you can use the option
18803 Use this option very rarely and only if the document is nearly ready to
18805 Because the float is then no longer able to
18806 \begin_inset Quotes eld
18810 \begin_inset Quotes erd
18813 when you change your document and this will often destroy the page layout.
18816 \begin_layout Standard
18817 There are no placement options for text wrap floats, because they are always
18818 surrounded by the text of a certain paragraph.
18819 \begin_inset VSpace bigskip
18825 \begin_layout Standard
18826 Sometimes you have the problem that a float is placed at the top of a page
18827 while its corresponding section starts at the middle of the page, so that
18828 the reader could think the float is part of the previous section.
18829 To avoid this the LaTeX-command
18833 suppressf\SpecialChar \textcompwordmark{}
18837 It suppresses a given float placement for the page where it is inserted
18838 and can therefore be used to avoid that floats could be set before a section
18840 To get this, add these commands to your document preamble:
18843 \begin_layout Standard
18860 suppressf\SpecialChar \textcompwordmark{}
18866 \begin_layout Standard
18867 You can define the same for all section headings, like chapters and subsections.
18868 This definition is not recommended to be used for small text parts like
18869 subsubsections because LaTeX may then have problems to find a suitable
18873 \begin_layout Standard
18874 \begin_inset VSpace bigskip
18877 In some cases it is required to have all figures/tables at the end of the
18879 For this purpose the LaTeX-package
18881 endf\SpecialChar \textcompwordmark{}
18885 \begin_inset LatexCommand index
18886 name "LaTeX-packages ! endfloat"
18891 It puts all figure and table floats at the end of the document into own
18893 At the original float position a text hint like
18894 \begin_inset Quotes eld
18899 [Figure\InsetSpace ~
18903 \begin_inset Quotes erd
18907 The endfloat-package is loaded in the preamble with the line
18910 \begin_layout Standard
18915 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18919 \begin_layout Standard
18920 There are various package options to format the created figure/table sections.
18921 For more information we refer to the
18923 endf\SpecialChar \textcompwordmark{}
18927 \begin_inset LatexCommand cite
18935 \begin_inset Note Greyedout
18938 \begin_layout Standard
18941 Note: endf\SpecialChar \textcompwordmark{}
18944 doesn't provide an automatic translation for the text hint, you have to
18945 do this manually, see section\InsetSpace ~
18947 \begin_inset LatexCommand cite
18960 \begin_inset Note Greyedout
18963 \begin_layout Standard
18968 There is currently a bug in
18970 endf\SpecialChar \textcompwordmark{}
18973 when the caption contains a German
18974 \begin_inset Quotes eld
18978 \begin_inset Quotes erd
18982 Use in this case the command
18983 \begin_inset Quotes eld
18993 \begin_inset Quotes erd
18997 \begin_inset Quotes eld
19001 \begin_inset Quotes erd
19012 \begin_layout Standard
19013 \begin_inset VSpace bigskip
19016 For more details about float placements, have a look at LaTeX books,
19017 \begin_inset LatexCommand cite
19018 key "latexcompanion,latexguide,latexbook"
19025 \begin_layout Section
19027 \begin_inset LatexCommand label
19028 name "sec:Rotated-Floats"
19033 \begin_inset LatexCommand index
19034 name "Floats ! Rotating"
19041 \begin_layout Standard
19042 Especially for wide tables you might have floats rotated.
19043 To rotate a whole float including the caption, right-click on the float-box
19046 Rotate\InsetSpace ~
19052 \begin_layout Standard
19053 Rotated floats are always placed on its own page (or column, when you have
19054 a two-column document).
19055 They are normally rotated so that you can read them from the outside margin
19056 -- to the left on even pages, to the right on odd pages.
19059 \begin_layout Standard
19060 Referencing rotated floats is the same like for normal floats, the caption
19061 format is also the same: Table\InsetSpace ~
19063 \begin_inset LatexCommand ref
19064 reference "tab:Rotated-table"
19068 is an example of a rotated table float.
19071 \begin_layout Standard
19072 \begin_inset Note Greyedout
19075 \begin_layout Standard
19080 Not all DVI-viewers are able to display rotated floats.
19088 \begin_layout Standard
19089 \begin_inset Float table
19094 \begin_layout Standard
19095 \begin_inset Caption
19097 \begin_layout Standard
19098 \begin_inset LatexCommand label
19099 name "tab:Rotated-table"
19111 \begin_layout Standard
19113 \begin_inset Tabular
19114 <lyxtabular version="3" rows="1" columns="5">
19116 <column alignment="center" valignment="top" leftline="true" width="0">
19117 <column alignment="center" valignment="top" leftline="true" width="0">
19118 <column alignment="center" valignment="top" leftline="true" width="0">
19119 <column alignment="center" valignment="top" leftline="true" width="0">
19120 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19121 <row topline="true" bottomline="true">
19122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19125 \begin_layout Standard
19131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19134 \begin_layout Standard
19140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19143 \begin_layout Standard
19149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19152 \begin_layout Standard
19158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19161 \begin_layout Standard
19180 \begin_layout Section
19182 \begin_inset LatexCommand index
19183 name "Caption ! Formatting"
19188 \begin_inset LatexCommand index
19189 name "Floats ! Caption Formatting"
19194 \begin_inset LatexCommand index
19195 name "LaTeX-packages ! caption"
19200 \begin_inset LatexCommand label
19201 name "sec:Caption-Formatting"
19208 \begin_layout Standard
19213 environment is the default paragraph environment for
19218 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19221 \begin_inset Quotes eld
19229 \begin_inset Quotes erd
19232 followed by the caption text.
19234 \begin_inset Quotes eld
19238 \begin_inset Quotes erd
19241 is substituted in the printed output by the actual reference number.
19242 By default the label and the number are in the same font as the caption
19243 text and a colon follows the number to divide then label from the text.
19244 This caption format is not suitable for all document formats.
19248 \begin_layout Standard
19249 To change the default caption format, load the LaTeX-package
19254 \begin_inset LatexCommand index
19255 name "LaTeX-packages ! caption"
19259 in the document preamble with this line:
19262 \begin_layout Standard
19267 usepackage[format definition]{caption}
19270 \begin_layout Standard
19271 To have for example the label and the number in sans-serif bold font and
19272 the table captions always above the table like in this document, use the
19276 \begin_layout Standard
19281 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19284 \begin_layout Standard
19285 You can also define different caption formats for the different float types.
19286 In this case load the
19290 package without format specific options and define the different formats
19291 with the help of the command
19294 \begin_layout Standard
19299 captionsetup[float type]{format definition}
19302 \begin_layout Standard
19303 in the document preamble.
19304 For example the caption formats of Figure\InsetSpace ~
19306 \begin_inset LatexCommand ref
19307 reference "fig:This-is-an-fig"
19311 and Table\InsetSpace ~
19313 \begin_inset LatexCommand ref
19314 reference "tab:This-is-an-tab"
19318 can be created using these commands in the document preamble:
19321 \begin_layout Standard
19326 usepackage[tableposition=top]{caption}
19334 captionsetup[f\SpecialChar \textcompwordmark{}
19335 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19341 \begin_layout Standard
19349 captionsetup[figure]
19360 captionsetup[table]{labelfont={bf,sf}}
19363 \begin_layout Standard
19364 For more information about the package
19368 we refer to its documentation
19369 \begin_inset LatexCommand cite
19370 key "caption,caption-de"
19377 \begin_layout Standard
19378 \begin_inset VSpace bigskip
19386 \begin_inset LatexCommand index
19387 name "LaTeX-packages ! koma-script"
19393 article (koma-script)
19401 letter (koma-script)
19405 report (koma-script)
19407 \InsetSpace \thinspace{}
19408 ), you can alternatively to the
19416 's built-in command
19423 For example, to have the caption label in bold, add this command to your
19427 \begin_layout Standard
19432 setkomafont{captionlabel}{
19437 \begin_layout Standard
19438 For more information about
19449 \begin_inset LatexCommand cite
19450 key "koma-script,koma-script-de"
19457 \begin_layout Standard
19461 \begin_layout Standard
19465 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19472 \begin_inset Note Note
19475 \begin_layout Standard
19476 The caption format is changed only for this example.
19484 \begin_layout Standard
19485 \begin_inset Float figure
19491 \begin_layout Standard
19493 \begin_inset Graphics
19494 filename mobius.eps
19503 \begin_layout Standard
19504 \begin_inset Caption
19506 \begin_layout Standard
19507 \begin_inset LatexCommand label
19508 name "fig:This-is-an-fig"
19512 This is an example figure caption that is longer than one line to show the
19513 different caption format.
19514 Here a self-defined caption format is used.
19527 \begin_layout Standard
19531 \begin_layout Standard
19535 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19544 \begin_layout Standard
19545 \begin_inset Float table
19551 \begin_layout Standard
19552 \begin_inset Caption
19554 \begin_layout Standard
19555 \begin_inset LatexCommand label
19556 name "tab:This-is-an-tab"
19560 This is an example table caption that is longer than one line to show the
19561 different caption format.
19562 Here the standard caption format for tables in this document is used.
19570 \begin_layout Standard
19572 \begin_inset Tabular
19573 <lyxtabular version="3" rows="1" columns="5">
19575 <column alignment="center" valignment="top" leftline="true" width="0">
19576 <column alignment="center" valignment="top" leftline="true" width="0">
19577 <column alignment="center" valignment="top" leftline="true" width="0">
19578 <column alignment="center" valignment="top" leftline="true" width="0">
19579 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19580 <row topline="true" bottomline="true">
19581 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19584 \begin_layout Standard
19590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19593 \begin_layout Standard
19599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19602 \begin_layout Standard
19608 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19611 \begin_layout Standard
19617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19620 \begin_layout Standard
19639 \begin_layout Section
19641 \begin_inset LatexCommand index
19642 name "Caption ! Placement"
19647 \begin_inset LatexCommand index
19648 name "Floats ! Caption Placement"
19653 \begin_inset LatexCommand label
19654 name "sec:Caption-Placement"
19661 \begin_layout Standard
19662 The common caption placement rule is:
19665 \begin_layout Description
19666 Figure: Caption is set below the figure
19669 \begin_layout Description
19670 Table: Caption is set above the table
19673 \begin_layout Standard
19674 Having the caption above the table is unfortunately not supported in LaTeX's
19676 That means if you are using the document classes
19692 there will be no space between the caption and the table.
19693 To insert the needed space, add the following option to the load command
19694 of the LaTeX-package
19698 in your document preamble
19702 \begin_layout Standard
19703 See section\InsetSpace ~
19705 \begin_inset LatexCommand ref
19706 reference "sec:Caption-Formatting"
19710 for more information of the package
19722 \begin_layout Standard
19728 \begin_layout Standard
19734 \begin_inset LatexCommand index
19735 name "LaTeX-packages ! koma-script"
19741 article (koma-script)
19749 letter (koma-script)
19753 report (koma-script)
19755 \InsetSpace \thinspace{}
19756 ), you can alternatively to the
19760 package set the document class option
19764 , or you can use the environment
19766 caption\InsetSpace ~
19776 \begin_layout Standard
19777 \begin_inset VSpace bigskip
19780 It is also possible to set the caption beside a figure or table.
19781 To get this the LaTeX-package
19786 \begin_inset LatexCommand index
19787 name "LaTeX-packages ! sidecap"
19791 has to be loaded in the document preamble with the line
19794 \begin_layout Standard
19799 usepackage[option]{sidecap}
19802 \begin_layout Standard
19803 If you set no option, the caption is placed on the side of the outer page
19804 margin -- to the right on odd pages, to the left on even pages.
19805 You can change the placement to inner margin with the option
19810 To force the placement always to the right or left, use the option
19821 \begin_layout Standard
19822 To place in LyX the caption of a float on the side, it is necessary to add
19823 these commands to the document preamble:
19826 \begin_layout Standard
19832 \begin_layout Standard
19845 \begin_layout Standard
19866 \begin_layout Standard
19887 \begin_layout Standard
19898 renewenvironment{table}{
19905 \begin_layout Standard
19918 \begin_layout Standard
19939 \begin_layout Standard
19957 \begin_layout Standard
19970 \begin_layout Standard
19985 f\SpecialChar \textcompwordmark{}
19992 \begin_layout Standard
20005 MyEndf\SpecialChar \textcompwordmark{}
20008 endf\SpecialChar \textcompwordmark{}
20015 \begin_layout Standard
20026 renewenvironment{f\SpecialChar \textcompwordmark{}
20029 begin{SCf\SpecialChar \textcompwordmark{}
20032 end{SCf\SpecialChar \textcompwordmark{}
20036 \begin_layout Standard
20049 \begin_layout Standard
20062 f\SpecialChar \textcompwordmark{}
20071 \begin_layout Standard
20084 endf\SpecialChar \textcompwordmark{}
20087 MyEndf\SpecialChar \textcompwordmark{}
20091 \begin_layout Standard
20097 \begin_layout Standard
20098 The commands allow you to redefine the floats so that the caption is set
20100 For figure floats use the command
20103 \begin_layout Standard
20111 \begin_layout Standard
20112 in ERT before the float.
20113 Behind the float insert the command
20116 \begin_layout Standard
20124 \begin_layout Standard
20125 in ERT to get back to the original float definition.
20128 \begin_layout Standard
20129 For table floats use the corresponding commands
20132 \begin_layout Standard
20146 \begin_layout Standard
20147 Figure\InsetSpace ~
20149 \begin_inset LatexCommand ref
20150 reference "fig:cap-beside-fig"
20154 and Table\InsetSpace ~
20156 \begin_inset LatexCommand ref
20157 reference "tab:cap-beside-tab"
20161 are examples where the caption is set beside.
20164 \begin_layout Standard
20165 You can see in the examples that the caption text appears at the top of
20166 the floats for table floats and at the bottom for figure floats.
20167 To change this, you can use the command
20170 \begin_layout Standard
20175 sidecaptionvpos{float type}{placement}
20178 \begin_layout Standard
20179 in the document preamble or in ERT before the float.
20180 The float type is either
20188 , the placement can be
20189 \begin_inset Quotes eld
20197 \begin_inset Quotes erd
20201 \begin_inset Quotes eld
20209 \begin_inset Quotes erd
20213 \begin_inset Quotes eld
20221 \begin_inset Quotes erd
20225 To have for example the caption of figure floats vertically centered, use
20229 \begin_layout Standard
20234 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20238 \begin_layout Standard
20239 This was used for Figure\InsetSpace ~
20241 \begin_inset LatexCommand ref
20242 reference "fig:cap-beside-fig-2"
20249 \begin_layout Standard
20250 \begin_inset VSpace defskip
20253 For more information about the package
20257 we refer to its documentation
20258 \begin_inset LatexCommand cite
20266 \begin_layout Standard
20267 \begin_inset Note Greyedout
20270 \begin_layout Standard
20280 \begin_inset LatexCommand index
20281 name "LaTeX-packages ! hypcap"
20285 , described in section\InsetSpace ~
20287 \begin_inset LatexCommand ref
20288 reference "sub:Reference-Position"
20292 , has no effect on floats with the caption set beside.
20300 \begin_layout Standard
20304 \begin_layout Standard
20316 \begin_layout Standard
20317 \begin_inset Float figure
20322 \begin_layout Standard
20323 \begin_inset Graphics
20324 filename escher-lsd.eps
20332 \begin_layout Standard
20333 \begin_inset Caption
20335 \begin_layout Standard
20336 \begin_inset LatexCommand label
20337 name "fig:cap-beside-fig"
20341 This is a caption beside a figure.
20354 \begin_layout Standard
20358 \begin_layout Standard
20370 \begin_layout Standard
20371 \begin_inset Float table
20376 \begin_layout Standard
20377 \begin_inset Caption
20379 \begin_layout Standard
20380 \begin_inset LatexCommand label
20381 name "tab:cap-beside-tab"
20385 This is a caption beside a table.
20393 \begin_layout Standard
20394 \begin_inset Tabular
20395 <lyxtabular version="3" rows="4" columns="5">
20397 <column alignment="center" valignment="top" leftline="true" width="0">
20398 <column alignment="center" valignment="top" leftline="true" width="0">
20399 <column alignment="center" valignment="top" leftline="true" width="0">
20400 <column alignment="center" valignment="top" leftline="true" width="0">
20401 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20402 <row topline="true">
20403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20406 \begin_layout Standard
20412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20415 \begin_layout Standard
20421 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20424 \begin_layout Standard
20430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20433 \begin_layout Standard
20439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20442 \begin_layout Standard
20449 <row topline="true">
20450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20453 \begin_layout Standard
20459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20462 \begin_layout Standard
20468 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20471 \begin_layout Standard
20477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20480 \begin_layout Standard
20486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20489 \begin_layout Standard
20496 <row topline="true">
20497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20500 \begin_layout Standard
20506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20509 \begin_layout Standard
20515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20518 \begin_layout Standard
20524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20527 \begin_layout Standard
20533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20536 \begin_layout Standard
20543 <row topline="true" bottomline="true">
20544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20547 \begin_layout Standard
20553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20556 \begin_layout Standard
20562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20565 \begin_layout Standard
20571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20574 \begin_layout Standard
20580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20583 \begin_layout Standard
20602 \begin_layout Standard
20606 \begin_layout Standard
20618 \begin_layout Standard
20622 \begin_layout Standard
20626 sidecaptionvpos{figure}{c}
20632 \begin_inset Float figure
20637 \begin_layout Standard
20638 \begin_inset Graphics
20639 filename escher-lsd.eps
20647 \begin_layout Standard
20648 \begin_inset Caption
20650 \begin_layout Standard
20651 \begin_inset LatexCommand label
20652 name "fig:cap-beside-fig-2"
20656 This is a vertically centered caption beside a figure.
20669 \begin_layout Standard
20673 \begin_layout Standard
20685 \begin_layout Section
20687 \begin_inset LatexCommand label
20688 name "sec:Listings-of-Floats"
20693 \begin_inset LatexCommand index
20694 name "Floats ! Listings"
20701 \begin_layout Standard
20702 Similar to the the table of contents where the sections of the document
20703 are listed, there are listings for all float types, like the figures of
20705 You can insert them via the
20707 Insert\SpecialChar \menuseparator
20715 \begin_layout Standard
20716 The list entries are the float captions or its short title, the float number,
20717 and the page number where they appear in the document.
20720 \begin_layout Standard
20721 You can find the list of figures and tables at the end of this document.
20724 \begin_layout Chapter
20728 \begin_layout Section
20732 \begin_layout Standard
20745 \begin_layout Standard
20753 \begin_inset LatexCommand label
20754 name "sec:LyX-Notes"
20759 \begin_inset LatexCommand index
20760 name "Notes ! LyX Notes"
20765 \begin_inset Note Note
20768 \begin_layout Standard
20771 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20772 are displayed wrongly in PDF-bookmarks.
20773 For more information about this, have a look at
20774 \begin_inset LatexCommand cite
20787 \begin_layout Standard
20788 Notes are inserted with the toolbar button
20789 \begin_inset Graphics
20790 filename ../images/note-insert.xpm
20797 Insert\SpecialChar \menuseparator
20801 There are three types of notes:
20804 \begin_layout Description
20806 Note This note type is for internal notes that won't appear in the output.
20807 Its note-box looks like this:
20812 \begin_inset Graphics
20813 filename ../clipart/LyXNoteImageQt4.png
20820 \begin_inset Note Note
20823 \begin_layout Standard
20824 This is text in a note box that doesn't appear in the output.
20832 \begin_layout Description
20833 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20834 ent, when you export the document to LaTeX via the menu
20836 File\SpecialChar \menuseparator
20837 Export\SpecialChar \menuseparator
20838 LaTeX (pdflatex) / LaTeX (plain)
20841 Its note-box looks like this:
20846 \begin_inset Graphics
20847 filename ../clipart/CommentNoteImageQt4.png
20854 \begin_inset Note Comment
20857 \begin_layout Standard
20858 This is text in a note box that only appears as comment in LaTeX-files.
20866 \begin_layout Description
20867 Greyed\InsetSpace ~
20868 Out This note will appear in the output as grey text.
20869 Its note-box looks like this:
20874 \begin_inset Graphics
20875 filename ../clipart/GreyedOutNoteImageQt4.png
20887 \begin_layout Standard
20891 renewenvironment{lyxgreyedout}
20894 \begin_layout Standard
20898 textcolor[gray]{0.8}
20908 \begin_inset Note Greyedout
20911 \begin_layout Standard
20916 \begin_layout Standard
20917 This is an example footnote within a greyed out note.
20922 of a comment that appears in the output as grey text.
20931 \begin_layout Standard
20935 renewenvironment{lyxgreyedout}
20938 \begin_layout Standard
20952 \begin_inset Note Note
20955 \begin_layout Standard
20956 The greyed out note is here redefined to show it with the original LyX definitio
20957 n because greyed out notes are redefined in the preamble of this document,
20958 as described below, to have blue text.
20967 As you can see in the example, the first line of greyed out notes is a bit
20968 indented and greyed out notes can have footnotes.
20971 \begin_layout Description
20972 Framed This note will appear in the output as framed text.
20973 Its note-box looks like this:
20978 \begin_inset Graphics
20979 filename ../clipart/FramedNoteImageQt4.png
20986 \begin_inset Note Framed
20989 \begin_layout Standard
20990 This is text in a note box that appears framed in the output.
20995 In contrary to framed boxes
20999 \begin_layout Standard
21000 Framed boxes are described in section\InsetSpace ~
21002 \begin_inset LatexCommand ref
21003 reference "sec:Framed-Boxes"
21012 the frame uses always the whole text width and the note is set into its
21016 \begin_layout Description
21017 Shaded This note will appear in the output with red background color.
21018 Its note box looks like this:
21023 \begin_inset Graphics
21024 filename ../clipart/ShadedNoteImageQt4.png
21031 \begin_inset Note Shaded
21034 \begin_layout Standard
21035 This text in a note box appears in the output with red background.
21040 In contrary to colored boxes
21044 \begin_layout Standard
21045 Colored boxes are described in section\InsetSpace ~
21047 \begin_inset LatexCommand ref
21048 reference "sec:Colored-Boxes"
21057 the note uses always the whole text width and the note is set into its
21061 \begin_layout Standard
21062 \begin_inset VSpace bigskip
21065 When you use the toolbar button to insert notes, a
21071 You can switch between the three note types by right-clicking on the note-box.
21076 If you want to turn existing text into a note, mark it and click on the
21092 \begin_layout Standard
21093 \begin_inset VSpace bigskip
21096 You can change the text color of the greyed out notes in the preamble with
21097 the following command:
21100 \begin_layout Standard
21105 renewenvironment{lyxgreyedout}
21111 \begin_layout Standard
21129 \begin_layout Standard
21130 The available colors and the method to define own colors is explained in
21131 section\InsetSpace ~
21133 \begin_inset LatexCommand ref
21134 reference "sec:Colored-Tables"
21141 \begin_layout Standard
21142 Notes that appear in blue in this document are set using greyed out notes
21146 \begin_layout Standard
21147 \begin_inset VSpace bigskip
21153 \begin_layout Standard
21162 notes can be set in the
21169 \begin_layout Standard
21170 The default frame width for
21174 notes is 0.4\InsetSpace \thinspace{}
21175 pt; it can be changed by changing the size
21182 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21184 be changed by changing the size
21191 For example the frame appearance of the following
21195 note is set with the ERT commands
21198 \begin_layout Standard
21208 \begin_layout Standard
21212 \begin_layout Standard
21224 \begin_inset Note Framed
21227 \begin_layout Standard
21241 \begin_layout Standard
21255 \begin_layout Standard
21256 \begin_inset VSpace bigskip
21262 \begin_layout Standard
21267 notes the default space between the note content and the note border is
21268 3\InsetSpace \thinspace{}
21269 pt; it can be changed by changing the size
21277 The default background color red can be changed with the command
21281 def\SpecialChar \textcompwordmark{}
21289 def\SpecialChar \textcompwordmark{}
21292 command is explained in section\InsetSpace ~
21294 \begin_inset LatexCommand ref
21295 reference "sec:Colored-Tables"
21303 \begin_layout Standard
21310 \SpecialChar \textcompwordmark{}
21315 requires the LaTeX-package
21319 in the preamble, see section\InsetSpace ~
21321 \begin_inset LatexCommand ref
21322 reference "sec:Colored-Boxes"
21334 \begin_layout Standard
21335 For example the appearance of the following
21339 note is set with the ERT commands
21342 \begin_layout Standard
21355 def\SpecialChar \textcompwordmark{}
21356 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21359 \begin_layout Standard
21363 \begin_layout Standard
21376 \begin_layout Standard
21380 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21386 \begin_inset Note Shaded
21389 \begin_layout Standard
21392 This is yellow text in a
21396 note with darkgreen background.
21405 \begin_layout Standard
21418 \begin_layout Standard
21422 definecolor{shadecolor}{rgb}{1,0,0}
21430 \begin_layout Section
21432 \begin_inset LatexCommand label
21433 name "sec:Footnotes"
21438 \begin_inset LatexCommand index
21439 name "Notes ! Footnotes"
21444 \begin_inset LatexCommand index
21452 \begin_layout Standard
21453 Footnotes can be inserted using the toolbar button
21454 \begin_inset Graphics
21455 filename ../images/footnote-insert.xpm
21462 Insert\SpecialChar \menuseparator
21474 then the following footnote-box:
21475 \begin_inset Graphics
21476 filename ../clipart/footnoteQt4.png
21485 where you can enter the footnote text.
21486 If you want to turn existing text into a footnote, mark it and click on
21502 \begin_layout Standard
21503 Here is an example footnote:
21511 \begin_layout Standard
21512 \begin_inset LatexCommand label
21513 name "foot:This-is-an"
21517 This is an example footnote.
21530 \begin_layout Standard
21534 newcounter{MyRepeatFoot}
21537 \begin_layout Standard
21541 setcounter{MyRepeatFoot}{
21551 \begin_layout Standard
21552 The footnote will appear in the output as a superscript number at the text
21553 position where the footnote box is placed.
21554 The footnote text is placed at the bottom of the current page.
21555 The footnote number is calculated by LaTeX, the numbers are consecutive.
21556 It depends on your document-class, if the footnote number is reset for
21560 \begin_layout Standard
21561 Footnotes can be referenced like floats: Insert a label into the footnote
21562 and cross-reference this label in the text as described in section\InsetSpace ~
21564 \begin_inset LatexCommand ref
21565 reference "sec:Referencing-Floats"
21571 This is a cross-reference of Footnote\InsetSpace ~
21573 \begin_inset LatexCommand prettyref
21574 reference "foot:This-is-an"
21581 \begin_inset Note Greyedout
21584 \begin_layout Standard
21589 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21590 e.\InsetSpace \thinspace{}
21595 \begin_inset Quotes eld
21601 \begin_inset Quotes erd
21604 manually when you want to use the reference style
21606 Formatted\InsetSpace ~
21617 \begin_layout Standard
21618 \begin_inset VSpace defskip
21621 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21623 \begin_inset LatexCommand ref
21624 reference "sec:Minipages"
21629 Footnotes within longtables are described in section\InsetSpace ~
21631 \begin_inset LatexCommand ref
21632 reference "sub:Footnotes-in-Longtables"
21639 \begin_layout Standard
21640 \begin_inset VSpace defskip
21643 To create only a mark for a footnote, use the command
21647 footnotemark[number]
21650 This is used when you have the same annotation several times in a text
21651 but doesn't want to print the footnote text every time.
21654 the number of the repeating footnote while you are writing the text, you
21655 have to store its number.
21656 For the following footnote mark example, these commands were inserted in
21657 ERT behind Footnote\InsetSpace ~
21659 \begin_inset LatexCommand ref
21660 reference "foot:This-is-an"
21664 to store the footnote number:
21667 \begin_layout Standard
21672 newcounter{MyRepeatFoot}
21676 setcounter{MyRepeatFoot}{
21681 \begin_layout Standard
21682 The footnote mark was then created with this command:
21685 \begin_layout Standard
21695 \begin_layout Standard
21696 Here is an example footnote mark:
21704 \begin_layout Standard
21718 \begin_layout Subsection
21720 \begin_inset LatexCommand label
21721 name "sub:Footnote-Numbering"
21726 \begin_inset LatexCommand index
21727 name "Footnotes ! Numbering"
21734 \begin_layout Standard
21735 If you want to have footnotes numbered in the scheme
21736 \begin_inset Quotes eld
21740 \begin_inset Quotes erd
21743 , add the following command to your document preamble:
21746 \begin_layout Standard
21751 numberwithin{footnote}{chapter}
21754 \begin_layout Standard
21755 To be able to use the command
21766 in the document settings the option
21776 \begin_layout Standard
21780 \begin_layout Standard
21784 numberwithin{footnote}{chapter}
21789 This is another example footnote:
21795 \begin_layout Standard
21796 This is a footnote numbered in the scheme
21797 \begin_inset Quotes eld
21801 \begin_inset Quotes erd
21815 \begin_layout Standard
21819 numberwithin{footnote}{part}
21827 \begin_layout Standard
21828 \begin_inset VSpace bigskip
21834 \begin_layout Standard
21835 To reset the footnote number back to 1 after each section
21837 , add this command to your document preamble:
21840 \begin_layout Standard
21845 @addtoreset{footnote}{section}
21848 \begin_layout Standard
21849 \begin_inset VSpace bigskip
21852 The following preamble command changes the footnote numbering style to small
21856 \begin_layout Standard
21868 \begin_layout Standard
21872 \begin_layout Standard
21885 This is a footnote with roman numbering:
21889 \begin_layout Standard
21890 This is an example footnote with roman numbering.
21899 \begin_layout Standard
21915 \begin_layout Standard
21916 To change the numbering style to capital roman numerals replace in the command
21931 \begin_inset Quotes eld
21935 \begin_inset Quotes erd
21938 footnotes with capital or small Latin letters use
21952 \begin_inset Quotes eld
21956 \begin_inset Quotes erd
21959 footnotes with symbols use
21968 \begin_layout Standard
21969 \begin_inset Note Greyedout
21972 \begin_layout Standard
21979 You can only number 26 footnotes with Latin letters, because this numbering
21980 is limited to single letters.
21988 \begin_inset Note Greyedout
21991 \begin_layout Standard
21996 You can only number 9 footnotes with symbols.
22004 \begin_layout Standard
22005 To return to the default numbering style when you changed to another one,
22018 in the command above.
22021 \begin_layout Subsection
22023 \begin_inset LatexCommand index
22024 name "Footnotes ! Placement"
22031 \begin_layout Standard
22032 If you have several footnotes in one page, they appear without vertical
22033 space between them at the bottom of the page.
22034 To make them better readable you can e.\InsetSpace \thinspace{}
22036 add 1.5\InsetSpace \thinspace{}
22037 mm space with the following
22041 \begin_layout Standard
22063 \begin_layout Standard
22064 \begin_inset VSpace bigskip
22067 In a two-column document the footnotes appear at the bottom of every column,
22068 see Figure\InsetSpace ~
22070 \begin_inset LatexCommand ref
22071 reference "fig:Standard-footnote-placement"
22076 If the footnotes should only appear at the bottom of the right column,
22077 as in Figure\InsetSpace ~
22079 \begin_inset LatexCommand ref
22080 reference "fig:Footnote-placement-in"
22084 , use the LaTeX-package
22089 \begin_inset LatexCommand index
22090 name "LaTeX-packages ! ftnright"
22094 with this command in the document preamble:
22097 \begin_layout Standard
22102 usepackage{ftnright}
22105 \begin_layout Standard
22106 \begin_inset Float figure
22112 \begin_layout Standard
22116 \begin_layout Standard
22126 \begin_inset Graphics
22127 filename ../clipart/without_fntright.pdf
22136 \begin_layout Standard
22146 \begin_layout Standard
22147 \begin_inset Caption
22149 \begin_layout Standard
22150 \begin_inset LatexCommand label
22151 name "fig:Standard-footnote-placement"
22155 Standard footnote placement in two-column documents.
22168 \begin_layout Standard
22169 \begin_inset Float figure
22175 \begin_layout Standard
22179 \begin_layout Standard
22189 \begin_inset Graphics
22190 filename ../clipart/with_fntright.pdf
22199 \begin_layout Standard
22209 \begin_layout Standard
22210 \begin_inset Caption
22212 \begin_layout Standard
22213 \begin_inset LatexCommand label
22214 name "fig:Footnote-placement-in"
22218 Footnote placement in two-column documents when the LaTeX-package
22235 \begin_layout Standard
22236 \begin_inset VSpace bigskip
22239 In some scientific literature it is usual to collect the footnotes and print
22240 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22242 \begin_inset LatexCommand ref
22243 reference "fig:Endnotes----footnotes"
22248 They are then so called
22249 \begin_inset Quotes eld
22253 \begin_inset Quotes erd
22257 To use endnotes instead of footnotes in your document, load the LaTeX-package
22263 \begin_inset LatexCommand index
22264 name "LaTeX-packages ! endnotes"
22268 with the document preamble lines
22271 \begin_layout Standard
22276 usepackage{endnotes}
22287 \begin_layout Standard
22288 To insert the collected footnotes, insert the command
22291 \begin_layout Standard
22299 \begin_layout Standard
22300 in ERT at the the end of a section or chapter.
22303 \begin_layout Standard
22304 \begin_inset Float figure
22309 \begin_layout Standard
22314 \begin_layout Standard
22324 \begin_inset Graphics
22325 filename ../clipart/endnotes.pdf
22333 \begin_layout Standard
22343 \begin_layout Standard
22344 \begin_inset Caption
22346 \begin_layout Standard
22347 \begin_inset LatexCommand label
22348 name "fig:Endnotes----footnotes"
22352 Endnotes -- footnotes are printed in a separate paragraph at the end of
22353 sections or chapters.
22366 \begin_layout Standard
22367 \begin_inset VSpace defskip
22370 The paragraph heading for the endnotes isn't automatically translated into
22371 the document language, this must be done manually.
22372 The following preamble command translate the default English name
22373 \begin_inset Quotes eld
22377 \begin_inset Quotes erd
22380 to the German translation
22381 \begin_inset Quotes eld
22385 \begin_inset Quotes erd
22391 \begin_layout Standard
22398 notesname}{Anmerkungen}
22401 \begin_layout Standard
22402 \begin_inset VSpace defskip
22405 The numbering of endnotes can be changed like the footnote numbering as
22406 described in section\InsetSpace ~
22408 \begin_inset LatexCommand ref
22409 reference "sub:Footnote-Numbering"
22413 ; just replace the command
22426 To reset the endnote number use the command
22432 as described in section\InsetSpace ~
22434 \begin_inset LatexCommand ref
22435 reference "sub:Footnote-Numbering"
22439 and replace the command parameter
22450 \begin_layout Standard
22451 To create only a mark for an endnote, use the command
22455 endnotemark[number]
22457 similar to the command
22463 , described in section\InsetSpace ~
22465 \begin_inset LatexCommand ref
22466 reference "sec:Footnotes"
22473 \begin_layout Standard
22474 \begin_inset VSpace bigskip
22477 Footnotes can also be placed in the page margin and the footnote text alignment
22478 can be changed, see the LaTeX-package
22483 \begin_inset LatexCommand index
22484 name "LaTeX-packages ! footmisc"
22489 \begin_inset LatexCommand cite
22494 for more information about this.
22497 \begin_layout Standard
22498 For various further footnote formatting issues have a look at LaTeX-books,
22500 \begin_inset LatexCommand cite
22501 key "latexcompanion,latexguide,latexbook"
22508 \begin_layout Section
22510 \begin_inset LatexCommand index
22511 name "Notes ! Margin Notes"
22518 \begin_layout Standard
22519 Margin notes look and behave in LyX like footnotes.
22520 They are inserted via the menu
22522 Insert\SpecialChar \menuseparator
22523 Marginal\InsetSpace ~
22526 or the toolbar button
22527 \begin_inset Graphics
22528 filename ../images/marginalnote-insert.xpm
22550 \begin_inset Quotes eld
22554 \begin_inset Quotes erd
22557 appears where you can enter the text of the margin note.
22560 \begin_layout Standard
22561 At the side is an example margin note.
22565 \begin_inset Marginal
22568 \begin_layout Standard
22569 This is a margin note.
22577 \begin_layout Standard
22578 Margin notes appear at the right side in single-sided documents.
22579 In double-sided documents they appear in the outer margin -- left on even
22580 pages, right on odd pages.
22581 The text of margin notes is aligned opposite to the outer margin -- right-align
22582 ed when the note appears in the left margin.
22583 The first line of the margin note is placed at the position of the text
22584 line where it is inserted in the document.
22587 \begin_layout Standard
22588 \begin_inset VSpace bigskip
22591 To place the margin note in the inner margin, add the command
22594 \begin_layout Standard
22602 \begin_layout Standard
22603 in ERT before a margin note.
22604 The new placement is valid for all following margin notes.
22608 \begin_layout Standard
22618 \begin_inset Marginal
22621 \begin_layout Standard
22622 This is a margin note in the inner margin.
22634 \begin_inset Note Greyedout
22637 \begin_layout Standard
22642 There is often not enough space in the inner margin so that the notes are
22643 not correctly displayed in the output.
22651 \begin_layout Standard
22655 \begin_layout Standard
22664 To return to the default placement insert the command
22667 \begin_layout Standard
22675 \begin_layout Standard
22678 \begin_inset Note Greyedout
22681 \begin_layout Standard
22686 The command is ignored when it is within a paragraph where also the command
22701 \begin_layout Standard
22702 \begin_inset VSpace bigskip
22709 \begin_inset Marginal
22712 \begin_layout Standard
22713 AVeryLongMarginParWord that isn't hyphenated.
22721 Similar to the case described in section\InsetSpace ~
22723 \begin_inset LatexCommand ref
22724 reference "sub:Multiple-Lines-in"
22728 , long words cannot be hyphenated when they are the first word in a margin
22730 To avoid this, insert the command
22733 \begin_layout Standard
22741 \begin_layout Standard
22742 in ERT before the word
22746 \begin_inset Marginal
22749 \begin_layout Standard
22753 \begin_layout Standard
22762 AVeryLongMarginParWord that is hyphenated.
22770 \begin_layout Standard
22771 \begin_inset VSpace bigskip
22777 \begin_layout Standard
22778 \begin_inset Note Greyedout
22781 \begin_layout Standard
22786 Margin notes can normally not be used inside tables, floats, and footnotes.
22794 \begin_layout Standard
22795 This restriction can be evaded by using the LaTeX-package
22800 \begin_inset LatexCommand index
22801 name "LaTeX-packages ! marginnote"
22806 By adding these two lines to your document preamble, the command used by
22807 LyX for margin notes is redefined to use the command provided by the
22814 \begin_layout Standard
22819 usepackage{marginnote}
22830 \begin_layout Standard
22831 This is also used in this document because
22835 has another useful feature: You can set a vertical offset for the note.
22836 This is often needed when too many margin notes are too close together
22837 or for a better page layout.
22838 The offset is set in LyX as ERT directly behind the margin note in the
22842 \begin_layout Standard
22848 \begin_layout Standard
22849 where the offset is a length with one of the units listed in Table\InsetSpace ~
22851 \begin_inset LatexCommand ref
22852 reference "tab:Units"
22857 A negative value shifts the note up, a positive value shifts it down.
22861 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22864 \begin_inset Quotes eld
22874 \begin_inset Quotes erd
22878 \begin_inset Marginal
22881 \begin_layout Standard
22882 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22883 cm from its original position.
22895 \begin_layout Standard
22905 \begin_layout Standard
22906 \begin_inset VSpace defskip
22913 you can also change the alignment of the text in the margin note.
22914 For example the commands
22917 \begin_layout Standard
22924 raggedleftmarginnote}{
22932 raggedrightmarginnote}{
22937 \begin_layout Standard
22938 set the alignment to centered.
22943 raggedleftmarginnote
22945 denotes margin notes that appear at the left side.
22952 \begin_layout Standard
22958 raggedleftmarginnote}{
22963 \begin_layout Standard
22969 raggedrightmarginnote}{
22977 \begin_inset Marginal
22980 \begin_layout Standard
22981 The text of this margin note is centered.
22992 \begin_layout Standard
22999 raggedleftmarginnote}{
23007 raggedrightmarginnote}{
23016 \begin_layout Standard
23022 raggedleftmarginnote}{
23027 \begin_layout Standard
23033 raggedrightmarginnote}{
23043 \begin_layout Standard
23044 \begin_inset VSpace defskip
23047 For the other features of
23051 we refer to its documentation
23052 \begin_inset LatexCommand cite
23060 \begin_layout Standard
23061 \begin_inset VSpace bigskip
23064 You can change the layout of margin notes by redefining its definition.
23065 To create for example a header for all margin notes with the underlined,
23066 sans-serif, and bold header text
23067 \begin_inset Quotes eld
23079 \begin_inset Quotes erd
23082 , add this to your document preamble:
23085 \begin_layout Standard
23108 \begin_layout Standard
23125 underbar{Attention!}}}%
23131 \begin_layout Standard
23149 \begin_layout Standard
23156 \begin_layout Standard
23167 \begin_layout Standard
23178 \begin_layout Standard
23186 underbar{Attention!}}}%
23189 \begin_layout Standard
23203 \begin_inset Marginal
23206 \begin_layout Standard
23207 This is a margin note with a defined heading.
23219 \begin_layout Standard
23233 \begin_layout Standard
23250 \begin_inset Note Note
23253 \begin_layout Standard
23254 The margin note format is changed only for this example.
23262 \begin_layout Chapter
23266 \begin_layout Section
23268 \begin_inset LatexCommand index
23269 name "Boxes ! Introduction"
23276 \begin_layout Standard
23277 Boxes are used to format a block of text.
23278 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23280 \begin_inset LatexCommand ref
23281 reference "sec:Minipages"
23285 , to frame texts, see section\InsetSpace ~
23287 \begin_inset LatexCommand ref
23288 reference "sec:Framed-Boxes"
23292 , to prevent words to be hyphenated, see section\InsetSpace ~
23294 \begin_inset LatexCommand ref
23295 reference "sec:Prevent-Hyphenation"
23299 , to align text, see section\InsetSpace ~
23301 \begin_inset LatexCommand ref
23302 reference "sub:Vertical-Alignment"
23306 , or to set the background color of texts, see section\InsetSpace ~
23308 \begin_inset LatexCommand ref
23309 reference "sec:Colored-Boxes"
23316 \begin_layout Standard
23317 Boxes can be inserted with the menu
23319 Insert\SpecialChar \menuseparator
23323 A grey box with the label
23328 \begin_inset Graphics
23329 filename ../clipart/BoxInsetDefaultQt4.png
23334 , will be inserted.
23335 The box type can be specified by right-clicking on the box.
23336 The appearing box dialog offers the
23354 is the default for new boxes and is explained in section\InsetSpace ~
23356 \begin_inset LatexCommand ref
23357 reference "sec:Minipages"
23365 is described in section\InsetSpace ~
23367 \begin_inset LatexCommand ref
23368 reference "sec:Parboxes"
23375 \begin_layout Standard
23376 Boxes aren't numbered and can therefore not be referenced like floats or
23380 \begin_layout Standard
23381 \begin_inset Note Greyedout
23384 \begin_layout Standard
23389 Due to a bug in LyX you have to insert a protected space behind a box when
23390 you want to separate in a line the box from the following text with a space.
23398 \begin_layout Standard
23399 \begin_inset Note Greyedout
23402 \begin_layout Standard
23407 Boxes must not be the item in an
23423 \begin_layout Standard
23424 \begin_inset Note Greyedout
23427 \begin_layout Standard
23432 For an unknown reason you can only set the
23441 when you use a framed box.
23447 type and without frames are explained in section\InsetSpace ~
23449 \begin_inset LatexCommand ref
23450 reference "sec:Prevent-Hyphenation"
23462 \begin_layout Section
23464 \begin_inset LatexCommand label
23465 name "sec:Box-Dialog"
23470 \begin_inset LatexCommand index
23471 name "Boxes ! Box Dialog"
23476 \begin_inset LatexCommand index
23477 name "Boxes ! Alignment"
23484 \begin_layout Standard
23485 In the box dialog you can adjust the box geometry in the fields
23494 The available units for the geometry are explained in Table\InsetSpace ~
23496 \begin_inset LatexCommand ref
23497 reference "tab:Units"
23506 offers the following additional sizes:
23509 \begin_layout Description
23510 Depth This is the plain text
23511 \begin_inset Quotes eld
23515 \begin_inset Quotes erd
23519 It ignores the total depth when there are multiple text lines in the box:
23526 \begin_inset Box Boxed
23535 height_special "depth"
23538 \begin_layout Standard
23540 Box height set to 1\InsetSpace \thinspace{}
23553 \begin_layout Description
23554 Height This is the heigth of the text that is inside the box.
23555 A value of e.\InsetSpace \thinspace{}
23557 2 for this size will set the box heigth to 2 times the text
23559 \begin_inset Box Boxed
23568 height_special "height"
23571 \begin_layout Standard
23573 Box height set to 2\InsetSpace \thinspace{}
23582 \begin_layout Description
23584 Height This is the Height\InsetSpace \thinspace{}
23585 +\InsetSpace \thinspace{}
23587 \begin_inset Box Boxed
23596 height_special "totalheight"
23599 \begin_layout Standard
23601 Box height set to 1\InsetSpace \thinspace{}
23611 \begin_layout Description
23612 Width This set the width of the box as heigth:
23613 \begin_inset Box Boxed
23622 height_special "width"
23625 \begin_layout Standard
23627 Box height set to 1\InsetSpace \thinspace{}
23636 \begin_layout Standard
23637 \begin_inset VSpace bigskip
23640 When you have chosen an
23645 , the vertical box alignment can be:
23648 \begin_layout Description
23649 Top This is an example text line.
23651 \begin_inset Box Boxed
23660 height_special "totalheight"
23663 \begin_layout Standard
23665 This box is top-aligned.
23671 This is an example text line.
23674 \begin_layout Description
23675 Middle This is an example text line.
23677 \begin_inset Box Boxed
23686 height_special "totalheight"
23689 \begin_layout Standard
23691 This box is middle-aligned.
23697 This is an example text line.
23700 \begin_layout Description
23701 Bottom This is an example text line.
23703 \begin_inset Box Boxed
23712 height_special "totalheight"
23715 \begin_layout Standard
23717 This box is bottom-aligned.
23723 This is an example text line.
23726 \begin_layout Standard
23727 The horizontal box alignment can be set via LyX's paragraph dialog when
23728 you set the box into its own paragraph.
23731 \begin_layout Standard
23732 \begin_inset VSpace bigskip
23735 When you have chosen an
23740 , the box content can be vertical aligned to:
23743 \begin_layout Description
23744 top This is an example text line.
23746 \begin_inset Box Boxed
23755 height_special "totalheight"
23758 \begin_layout Standard
23760 This box text is top-aligned.
23766 This is an example text line.
23769 \begin_layout Description
23770 middle This is an example text line.
23772 \begin_inset Box Boxed
23781 height_special "totalheight"
23784 \begin_layout Standard
23786 This box text is middle-aligned.
23792 This is an example text line.
23795 \begin_layout Description
23796 bottom This is an example text line.
23798 \begin_inset Box Boxed
23807 height_special "totalheight"
23810 \begin_layout Standard
23812 This box text is bottom-aligned.
23818 This is an example text line.
23821 \begin_layout Description
23822 stretch This is an example text line.
23824 \begin_inset Box Boxed
23833 height_special "totalheight"
23836 \begin_layout Standard
23841 \begin_layout Standard
23846 \begin_layout Standard
23854 This is an example text line.
23857 \begin_layout Standard
23858 To stretch the box content, it must consist of more than one paragraph.
23859 In the example above every text line is in an own paragraph.
23862 \begin_layout Standard
23863 \begin_inset VSpace bigskip
23866 To align the box content horizontally you can use LyX's paragraph dialog
23867 when you have chosen an
23875 \begin_layout Standard
23877 \begin_inset Box Boxed
23886 height_special "totalheight"
23889 \begin_layout Standard
23894 \begin_layout Standard
23899 \begin_layout Standard
23909 \begin_layout Standard
23910 If you haven't set an
23915 , you can align the box content horizontally in the box dialog.
23918 \begin_layout Standard
23920 \begin_inset Box Boxed
23929 height_special "totalheight"
23932 \begin_layout Standard
23934 This box text is horizontally stretched.
23942 \begin_layout Section
23944 \begin_inset LatexCommand label
23945 name "sec:Framed-Boxes"
23950 \begin_inset LatexCommand index
23951 name "Boxes ! Frames"
23958 \begin_layout Standard
23959 The frame style of the box can be specified in the box-dialog in the drop-down
23965 The following frame types are possible:
23968 \begin_layout Description
23969 Rectangular\InsetSpace ~
23970 box This draws a rectangle frame around the box.
23971 The frame line thickness has the size of
23979 \begin_inset Box Boxed
23988 height_special "totalheight"
23991 \begin_layout Standard
24001 \begin_layout Description
24004 thin This draws an oval frame around the box.
24005 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24008 \begin_inset Box ovalbox
24017 height_special "totalheight"
24020 \begin_layout Standard
24030 \begin_layout Description
24033 thick This draws an oval frame around the box.
24034 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24037 \begin_inset Box Ovalbox
24046 height_special "totalheight"
24049 \begin_layout Standard
24059 \begin_layout Description
24060 Shadow\InsetSpace ~
24061 box This draws a rectangle frame with a shadow around the box.
24062 The frame line thickness has the size of
24068 , the shadow has a width of 4\InsetSpace \thinspace{}
24071 \begin_inset Box Shadowbox
24080 height_special "totalheight"
24083 \begin_layout Standard
24093 \begin_layout Description
24094 Double\InsetSpace ~
24095 box This draws a double-line rectangle frame around the box.
24096 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24103 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24111 The distance between the lines is 1.5\InsetSpace \thinspace{}
24118 \InsetSpace \thinspace{}
24119 +\InsetSpace \thinspace{}
24120 0.5\InsetSpace \thinspace{}
24123 \begin_inset Box Doublebox
24132 height_special "totalheight"
24135 \begin_layout Standard
24145 \begin_layout Standard
24146 \begin_inset VSpace bigskip
24149 LyX's box label will change to the used frame style when you set a frame.
24150 To be able to use the different frame styles, the LaTeX-package
24155 \begin_inset LatexCommand index
24156 name "LaTeX-packages ! fancybox"
24163 \begin_layout Standard
24164 \begin_inset VSpace bigskip
24167 The default value for the size
24173 is 0.4\InsetSpace \thinspace{}
24175 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24177 2\InsetSpace \thinspace{}
24181 \begin_layout Standard
24191 \begin_layout Standard
24195 \begin_layout Standard
24207 \begin_inset Box Boxed
24216 height_special "totalheight"
24219 \begin_layout Standard
24221 Rectangular box with
24227 \InsetSpace \thinspace{}
24228 =\InsetSpace \thinspace{}
24229 2\InsetSpace \thinspace{}
24239 \begin_layout Standard
24253 \begin_layout Standard
24254 \begin_inset VSpace bigskip
24257 The space between the frame and the box content is for all frame styles
24258 by default 3\InsetSpace \thinspace{}
24260 You can change it by setting the length
24267 For example the command
24270 \begin_layout Standard
24280 \begin_layout Standard
24281 sets the value to 10\InsetSpace \thinspace{}
24282 pt, like for the following box:
24285 \begin_layout Standard
24289 \begin_layout Standard
24301 \begin_inset Box Boxed
24310 height_special "totalheight"
24313 \begin_layout Standard
24315 Rectangular box with
24321 \InsetSpace \thinspace{}
24322 =\InsetSpace \thinspace{}
24323 10\InsetSpace \thinspace{}
24333 \begin_layout Standard
24347 \begin_layout Standard
24348 \begin_inset VSpace bigskip
24351 The diameter of the round corners of the oval boxes can be set with the
24362 \begin_layout Standard
24370 \begin_layout Standard
24371 sets the diameter to 1\InsetSpace \thinspace{}
24376 \begin_layout Standard
24384 \begin_layout Standard
24385 sets the diameter to
24387 num\InsetSpace \thinspace{}
24388 ×\InsetSpace \thinspace{}
24389 minimum(width and heigth of box)
24401 \begin_layout Standard
24405 \begin_layout Standard
24415 \begin_inset Box Ovalbox
24424 height_special "totalheight"
24427 \begin_layout Standard
24435 \InsetSpace \thinspace{}
24436 =\InsetSpace \thinspace{}
24437 1.5\InsetSpace \thinspace{}
24447 \begin_layout Standard
24459 \begin_layout Standard
24460 \begin_inset VSpace bigskip
24463 The size of the shadow can be adjusted by changing the length
24470 It it set to 2\InsetSpace \thinspace{}
24471 pt for the following box by this command:
24474 \begin_layout Standard
24484 \begin_layout Standard
24488 \begin_layout Standard
24500 \begin_inset Box Shadowbox
24509 height_special "totalheight"
24512 \begin_layout Standard
24520 \InsetSpace \thinspace{}
24521 =\InsetSpace \thinspace{}
24522 2\InsetSpace \thinspace{}
24532 \begin_layout Standard
24546 \begin_layout Standard
24547 \begin_inset VSpace bigskip
24550 Changed lengths and widths are valid for all boxes following the commands
24554 \begin_layout Section
24556 \begin_inset LatexCommand label
24557 name "sec:Minipages"
24562 \begin_inset LatexCommand index
24563 name "Boxes ! Minipages"
24570 \begin_layout Standard
24571 Minipages are treated by LaTeX as pages within pages and can therefore for
24572 example have their own footnotes.
24575 \begin_layout Standard
24576 Minipages are useful when you write documents with different languages.
24579 \begin_layout Standard
24580 Below are two example minipages side by side.
24581 Their width is set to 45\InsetSpace \thinspace{}
24582 col% and they are separated by a horizontal fill,
24583 that was inserted via the menu
24585 Insert\SpecialChar \menuseparator
24586 Special\InsetSpace ~
24587 Formatting\SpecialChar \menuseparator
24588 Horizontal\InsetSpace ~
24594 \begin_layout Standard
24595 \begin_inset Box Frameless
24604 height_special "totalheight"
24607 \begin_layout Standard
24610 Dies ist ein deutscher Text.
24611 Dies ist ein deutscher Text.
24612 Dies ist ein deutscher Text.
24613 Dies ist ein deutscher Text.
24614 Dies ist ein deutscher Text.
24615 Dies ist ein deutscher Text.
24616 Dies ist ein deutscher Text.
24617 Dies ist ein deutscher Text.
24618 Dies ist ein deutscher Text.
24619 Dies ist ein deutscher Text.
24620 Dies ist ein deutscher Text.
24621 Dies ist ein deutscher Text.
24622 Dies ist ein deutscher Text
24626 \begin_layout Standard
24629 Dies ist eine deutsche Fußnote.
24635 Dies ist ein deutscher Text.
24636 Dies ist ein deutscher Text.
24644 \begin_inset Box Frameless
24653 height_special "totalheight"
24656 \begin_layout Standard
24657 This is an English Text.
24658 This is an English Text.
24659 This is an English Text.
24660 This is an English Text.
24661 This is an English Text.
24662 This is an English Text.
24663 This is an English Text.
24664 This is an English Text.
24665 This is an English Text.
24666 This is an English Text.
24667 This is an English Text.
24668 This is an English Text.
24669 This is an English Text.
24670 This is an English Text.
24671 This is an English Text.
24672 This is an English Text.
24676 \begin_layout Standard
24677 This is an English footnote.
24682 This is an English Text.
24691 \begin_layout Standard
24692 \begin_inset VSpace bigskip
24695 Another application for minipages are footnotes within tables.
24696 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24697 bottom of the current page.
24698 But when you put the table with the footnote to a minipage, the footnote
24699 will appear at its bottom, numbered with Latin letters.
24700 The footnote number is reset to 1 in every minipage but not outside the
24704 \begin_layout Standard
24705 The footnote of this table doesn't appear:
24706 \begin_inset Tabular
24707 <lyxtabular version="3" rows="3" columns="4">
24709 <column alignment="center" valignment="top" leftline="true" width="0pt">
24710 <column alignment="center" valignment="top" leftline="true" width="0pt">
24711 <column alignment="center" valignment="top" leftline="true" width="0pt">
24712 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24713 <row topline="true">
24714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24717 \begin_layout Standard
24723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24726 \begin_layout Standard
24732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24735 \begin_layout Standard
24740 \begin_layout Standard
24741 This is a footnote within a table.
24751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24754 \begin_layout Standard
24761 <row topline="true">
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
24780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24783 \begin_layout Standard
24789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24792 \begin_layout Standard
24799 <row topline="true" bottomline="true">
24800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24803 \begin_layout Standard
24809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24812 \begin_layout Standard
24818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24821 \begin_layout Standard
24827 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24830 \begin_layout Standard
24844 \begin_layout Standard
24846 \begin_inset Box Frameless
24855 height_special "totalheight"
24858 \begin_layout Standard
24860 \begin_inset Tabular
24861 <lyxtabular version="3" rows="3" columns="4">
24863 <column alignment="center" valignment="top" leftline="true" width="0pt">
24864 <column alignment="center" valignment="top" leftline="true" width="0pt">
24865 <column alignment="center" valignment="top" leftline="true" width="0pt">
24866 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24867 <row topline="true">
24868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24871 \begin_layout Standard
24877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24880 \begin_layout Standard
24886 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24889 \begin_layout Standard
24894 \begin_layout Standard
24895 This is a footnote within a table.
24905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24908 \begin_layout Standard
24915 <row topline="true">
24916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24919 \begin_layout Standard
24925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24928 \begin_layout Standard
24934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24937 \begin_layout Standard
24943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24946 \begin_layout Standard
24953 <row topline="true" bottomline="true">
24954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24957 \begin_layout Standard
24963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24966 \begin_layout Standard
24972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24975 \begin_layout Standard
24981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24984 \begin_layout Standard
25003 \begin_layout Standard
25004 \begin_inset VSpace bigskip
25007 The document-wide paragraph settings are ignored within minipages.
25008 That means that there will be no space between paragraphs in minipages
25009 although you set it to e.\InsetSpace \thinspace{}
25015 in the document settings.
25018 \begin_layout Standard
25019 Minipages can also be used to set a background color for text parts, see
25020 section\InsetSpace ~
25022 \begin_inset LatexCommand ref
25023 reference "sub:Color-for-Paragraphs"
25030 \begin_layout Standard
25031 \begin_inset Note Greyedout
25034 \begin_layout Standard
25039 You cannot have floats or margin notes inside minipages but minipages can
25040 be used inside tables, floats, and other boxes.
25048 \begin_layout Section
25050 \begin_inset LatexCommand label
25051 name "sec:Parboxes"
25056 \begin_inset LatexCommand index
25057 name "Boxes ! Parboxes"
25064 \begin_layout Standard
25065 Parboxes are very similar to minipages with the difference that they cannot
25067 The main difference to minipages is that minipages are in contrary to parboxes
25068 no real boxes but LaTeX-environments.
25071 \begin_layout Standard
25073 \begin_inset Box Frameless
25082 height_special "totalheight"
25085 \begin_layout Standard
25086 This a text within a parbox.
25087 This a text within a parbox.
25090 \begin_layout Standard
25091 This footnote won't appear:
25095 \begin_layout Standard
25096 This footnote is inside a parbox and will therefore not appear.
25109 \begin_layout Section
25110 Boxes for Words and Characters
25111 \begin_inset LatexCommand index
25112 name "Boxes ! for Characters"
25119 \begin_layout Subsection
25120 Prevent Hyphenation
25121 \begin_inset LatexCommand label
25122 name "sec:Prevent-Hyphenation"
25127 \begin_inset LatexCommand index
25128 name "Boxes ! to Prevent Hyphenation"
25135 \begin_layout Standard
25136 You can use a special kind of boxes to prevent words or text to be hyphenated.
25139 e is an example text:
25142 \begin_layout Standard
25143 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25149 \begin_layout Standard
25150 To prevent the hyphenation of the word
25151 \begin_inset Quotes eld
25155 \begin_inset Quotes erd
25161 \begin_layout Standard
25169 \begin_layout Standard
25170 in ERT before the word.
25171 Behind the word insert a closing brace
25172 \begin_inset Quotes eld
25180 \begin_inset Quotes erd
25187 \begin_layout Standard
25199 \begin_layout Standard
25200 This is the result:
25203 \begin_layout Standard
25204 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25210 \begin_layout Standard
25223 \begin_layout Standard
25233 \begin_layout Standard
25234 Of course the word now protrudes over the side margin.
25235 To avoid this, add via the menu
25237 Insert\SpecialChar \menuseparator
25238 Special\InsetSpace ~
25239 Formatting\SpecialChar \menuseparator
25247 ) a line break before the word:
25250 \begin_layout Standard
25251 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25259 \begin_layout Standard
25272 \begin_layout Standard
25282 \begin_layout Subsection
25284 \begin_inset LatexCommand label
25285 name "sub:Vertical-Alignment"
25290 \begin_inset LatexCommand index
25291 name "Boxes ! for Vertical Alignment"
25296 \begin_inset LatexCommand index
25297 name "Boxes ! Raiseboxes"
25304 \begin_layout Standard
25305 With the help of the command
25311 you can align words, characters or other boxes vertically to the surrounding
25319 is used with the following scheme:
25322 \begin_layout Standard
25327 raisebox{lift}[height][depth]{box content}
25330 \begin_layout Standard
25331 The lift can be a positive value to raise the box or a negative value to
25335 \begin_layout Standard
25336 To align for example the word
25337 \begin_inset Quotes eld
25341 \begin_inset Quotes erd
25344 so that the bottom of the
25345 \begin_inset Quotes eld
25349 \begin_inset Quotes erd
25353 \begin_inset Quotes eld
25357 \begin_inset Quotes erd
25360 is at the baseline, insert the command
25363 \begin_layout Standard
25373 \begin_layout Standard
25374 in ERT before the word.
25375 Behind the word insert a closing brace
25376 \begin_inset Quotes eld
25384 \begin_inset Quotes erd
25389 This is the result:
25392 \begin_layout Standard
25393 This is a text line with the word
25397 \begin_layout Standard
25409 \begin_inset Quotes eld
25413 \begin_inset Quotes erd
25420 \begin_layout Standard
25430 \begin_layout Standard
25431 \begin_inset VSpace bigskip
25434 When you raise or lower characters in a line, the line distance will be
25438 \begin_layout Standard
25439 This is a text line with the word
25443 \begin_layout Standard
25455 \begin_inset Quotes eld
25459 \begin_inset Quotes erd
25466 \begin_layout Standard
25475 This is a text line with the word
25479 \begin_layout Standard
25489 \begin_inset Quotes eld
25493 \begin_inset Quotes erd
25500 \begin_layout Standard
25510 \begin_layout Standard
25511 If you want to prevent this for a certain reason, set the box height to
25516 \begin_layout Standard
25526 \begin_layout Standard
25527 This is a text line with the word
25531 \begin_layout Standard
25543 \begin_inset Quotes eld
25547 \begin_inset Quotes erd
25554 \begin_layout Standard
25563 This is a text line with the word
25567 \begin_layout Standard
25571 raisebox{0.5cm}[0pt]{
25577 \begin_inset Quotes eld
25581 \begin_inset Quotes erd
25588 \begin_layout Standard
25598 \begin_layout Section
25600 \begin_inset LatexCommand label
25601 name "sec:Colored-Boxes"
25606 \begin_inset LatexCommand index
25607 name "Boxes ! Color"
25614 \begin_layout Subsection
25616 \begin_inset LatexCommand index
25617 name "Color ! for Text"
25624 \begin_layout Standard
25625 To color the background of text the text must be put into a so called colorbox.
25626 This requires that the LaTeX-package
25631 \begin_inset LatexCommand index
25632 name "LaTeX-packages ! color"
25636 is loaded in the document preamble with the command
25639 \begin_layout Standard
25644 @ifundef\SpecialChar \textcompwordmark{}
25651 \begin_layout Standard
25662 usepackage{color}}{}
25665 \begin_layout Standard
25670 will be loaded automatically by LyX when you color text
25674 \begin_layout Standard
25675 To avoid that it is loaded twice the command
25679 @ifundef\SpecialChar \textcompwordmark{}
25690 \begin_layout Standard
25691 \begin_inset VSpace medskip
25694 Colorboxes are created with the command
25701 This will be used with the following scheme:
25704 \begin_layout Standard
25709 colorbox{color}{box content}
25712 \begin_layout Standard
25713 The box content can also be a box and colorboxes can also be within other
25717 \begin_layout Standard
25718 The following colors are predefined:
25756 You can also define your own color as described in section\InsetSpace ~
25758 \begin_inset LatexCommand ref
25759 reference "sec:Colored-Tables"
25766 \begin_layout Standard
25767 To have e.\InsetSpace \thinspace{}
25769 a red background for a word, insert the command
25772 \begin_layout Standard
25780 \begin_layout Standard
25781 before the word in ERT.
25782 Behind the word insert a closing brace
25783 \begin_inset Quotes eld
25791 \begin_inset Quotes erd
25796 This is the result:
25799 \begin_layout Standard
25800 This is a line where the word
25804 \begin_layout Standard
25814 \begin_inset Quotes eld
25818 \begin_inset Quotes erd
25825 \begin_layout Standard
25832 has a red background.
25835 \begin_layout Standard
25836 \begin_inset VSpace bigskip
25839 If you would have the box frame in a different color, you can use the command
25846 with the following scheme:
25849 \begin_layout Standard
25854 fcolorbox{frame color}{box color}{box content}
25857 \begin_layout Standard
25871 The frame thickness and the space between the frame and the box content
25872 can be adjusted with the lengths
25884 , respectively, as described in section\InsetSpace ~
25886 \begin_inset LatexCommand ref
25887 reference "sec:Framed-Boxes"
25894 \begin_layout Standard
25895 For the following example the command
25898 \begin_layout Standard
25903 fcolorbox{cyan}{magenta}{
25906 \begin_layout Standard
25910 \begin_layout Standard
25911 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25918 \begin_layout Standard
25933 \begin_layout Standard
25937 fcolorbox{cyan}{magenta}{
25942 This is text within a colored, framed box.
25946 \begin_layout Standard
25956 \begin_layout Standard
25957 \begin_inset VSpace bigskip
25960 Of course you can also have colored text inside a colorbox:
25966 \begin_layout Standard
25970 fcolorbox{cyan}{magenta}{
25977 This is colored text within a colored, framed box.
25983 \begin_layout Standard
25994 \begin_layout Standard
26008 \begin_layout Standard
26011 \begin_inset VSpace medskip
26017 \begin_layout Standard
26018 \begin_inset Note Greyedout
26021 \begin_layout Standard
26026 Text in colorboxes cannot have line breaks.
26027 To color multiple text lines or paragraphs, use a box inside a colorbox
26028 as described in the following.
26036 \begin_layout Subsection
26037 Color for Paragraphs
26038 \begin_inset LatexCommand label
26039 name "sub:Color-for-Paragraphs"
26044 \begin_inset LatexCommand index
26045 name "Color ! for Paragraphs"
26052 \begin_layout Standard
26053 To set the background color for more than one text line, put the text into
26055 Before the minipage insert the
26064 \begin_layout Standard
26072 \begin_layout Standard
26074 Behind the minipage insert a closing brace
26075 \begin_inset Quotes eld
26083 \begin_inset Quotes erd
26089 \begin_layout Standard
26093 \begin_layout Standard
26097 colorbox{lightgrey}{
26103 \begin_inset Box Frameless
26112 height_special "totalheight"
26115 \begin_layout Standard
26116 This is text with background color.
26117 This is text with background color.
26120 \begin_layout Standard
26121 \begin_inset VSpace defskip
26124 The text can have footnotes
26128 \begin_layout Standard
26129 Another example footnote
26134 and can include tables and figures.
26137 \begin_layout Standard
26139 \begin_inset Tabular
26140 <lyxtabular version="3" rows="3" columns="3">
26142 <column alignment="center" valignment="top" leftline="true" width="0">
26143 <column alignment="center" valignment="top" leftline="true" width="0">
26144 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26145 <row topline="true">
26146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26149 \begin_layout Standard
26155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26158 \begin_layout Standard
26164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26167 \begin_layout Standard
26174 <row topline="true">
26175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26178 \begin_layout Standard
26184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26187 \begin_layout Standard
26189 \begin_inset Quotes erd
26197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26200 \begin_layout Standard
26207 <row topline="true" bottomline="true">
26208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26211 \begin_layout Standard
26217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26220 \begin_layout Standard
26226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26229 \begin_layout Standard
26249 \begin_layout Standard
26259 \begin_layout Section
26260 URLs (Uniform Resource Locators)
26261 \begin_inset LatexCommand index
26269 \begin_layout Standard
26270 Links to web pages or email addresses can be inserted via the menu
26272 Insert\SpecialChar \menuseparator
26276 The appearing URL dialog has two fields; the
26284 field for the URL description, which will be typeset as plain text immediately
26288 \begin_layout Standard
26289 Here is an example URL:
26290 \begin_inset LatexCommand url
26291 name "LyX's homepage"
26292 target "http://www.lyx.org"
26299 \begin_layout Standard
26302 Generate\InsetSpace ~
26305 in the URL dialog has only an affect when you export your document to the
26307 \begin_inset Quotes eld
26315 \begin_inset Quotes erd
26321 \begin_layout Standard
26322 You cannot change the style of the link text.
26327 field will have the default text style of the document while the text of
26332 field will have the style
26333 \begin_inset Quotes eld
26341 \begin_inset Quotes erd
26347 \begin_layout Standard
26348 When you use the LaTeX-package
26353 \begin_inset LatexCommand index
26354 name "LaTeX-packages ! hyperref"
26358 to link cross-references in the output, URLs will automatically become
26359 clickable hyperlinks in DVI and PDF-output.
26362 \begin_layout Standard
26363 \begin_inset Note Greyedout
26366 \begin_layout Standard
26371 When you use the following characters: "%", "#", "^", you have to write
26372 them with a preceding backslash, e.\InsetSpace \thinspace{}
26375 \begin_inset Quotes eld
26381 \begin_inset Quotes erd
26385 URLs must not end with a backslash.
26393 \begin_layout Standard
26394 \begin_inset VSpace bigskip
26397 To create real hyperlinks without the force to write the link location to
26398 the text, you can use the command
26401 \begin_layout Standard
26406 href{link location}{link text}
26409 \begin_layout Standard
26411 To get for example a link to LyX's web page, write the command
26414 \begin_layout Standard
26419 href{http://www.lyx.org}{
26422 \begin_layout Standard
26424 Insert after the command the link text
26425 \begin_inset Quotes eld
26429 \begin_inset Quotes erd
26432 as normal text followed by a closing brace
26433 \begin_inset Quotes eld
26441 \begin_inset Quotes erd
26445 This is the result:
26449 \begin_layout Standard
26453 href{http://www.lyx.org}{
26462 \begin_layout Standard
26472 \begin_layout Standard
26473 To link to email addresses, add the prefix
26474 \begin_inset Quotes eld
26482 \begin_inset Quotes erd
26485 to the link location:
26491 \begin_layout Standard
26495 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26500 lyx-docs mailing list
26504 \begin_layout Standard
26514 \begin_layout Standard
26521 instead of LyX's URL box has the advantage that you can specify the text
26522 style of the link text like for all other text parts.
26523 You can therefore set hyphenation points and forced linebreaks to have
26524 long link text broken at the page margin.
26525 You are furthermore able to change the text style for all URLs in your
26526 document with an option in
26530 's load command and the restrictions mentioned above doesn't apply for
26539 \begin_layout Standard
26545 \begin_layout Chapter
26551 \begin_layout Standard
26564 \begin_layout Standard
26572 \begin_inset LatexCommand index
26578 \begin_inset LatexCommand label
26579 name "cha:Units-available-in"
26584 \begin_inset Note Note
26587 \begin_layout Standard
26590 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26591 are displayed wrongly in PDF-bookmarks.
26592 For more information about this, have a look at
26593 \begin_inset LatexCommand cite
26606 \begin_layout Standard
26607 To understand the units described in this documentation, Table\InsetSpace ~
26609 \begin_inset LatexCommand ref
26610 reference "tab:Units"
26614 explains all units available in LyX.
26617 \begin_layout Standard
26618 \begin_inset Float table
26624 \begin_layout Standard
26625 \begin_inset Caption
26627 \begin_layout Standard
26628 \begin_inset LatexCommand label
26641 \begin_layout Standard
26642 \begin_inset VSpace medskip
26648 \begin_layout Standard
26650 \begin_inset Tabular
26651 <lyxtabular version="3" rows="20" columns="2">
26653 <column alignment="center" valignment="top" leftline="true" width="0">
26654 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26655 <row topline="true" bottomline="true">
26656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26659 \begin_layout Standard
26665 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26668 \begin_layout Standard
26675 <row topline="true">
26676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26679 \begin_layout Standard
26685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26688 \begin_layout Standard
26695 <row topline="true">
26696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26699 \begin_layout Standard
26705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26708 \begin_layout Standard
26715 <row topline="true">
26716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26719 \begin_layout Standard
26725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26728 \begin_layout Standard
26735 <row topline="true">
26736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26739 \begin_layout Standard
26745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26748 \begin_layout Standard
26749 point (72.27\InsetSpace \thinspace{}
26750 pt = 1\InsetSpace \thinspace{}
26757 <row topline="true">
26758 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26761 \begin_layout Standard
26767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26770 \begin_layout Standard
26771 pica (1\InsetSpace \thinspace{}
26772 pc = 12\InsetSpace \thinspace{}
26779 <row topline="true">
26780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26783 \begin_layout Standard
26789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26792 \begin_layout Standard
26793 scaled point (65536\InsetSpace \thinspace{}
26794 sp = 1\InsetSpace \thinspace{}
26801 <row topline="true">
26802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26805 \begin_layout Standard
26811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26814 \begin_layout Standard
26815 big point (72\InsetSpace \thinspace{}
26816 bp = 1\InsetSpace \thinspace{}
26823 <row topline="true">
26824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26827 \begin_layout Standard
26833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26836 \begin_layout Standard
26837 didot (72\InsetSpace \thinspace{}
26839 \begin_inset Formula $\approx$
26842 37.6\InsetSpace \thinspace{}
26849 <row topline="true">
26850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26853 \begin_layout Standard
26859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26862 \begin_layout Standard
26863 cicero (1\InsetSpace \thinspace{}
26864 cc = 12\InsetSpace \thinspace{}
26871 <row topline="true">
26872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26875 \begin_layout Standard
26881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26884 \begin_layout Standard
26885 % of original image width
26891 <row topline="true">
26892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26895 \begin_layout Standard
26901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26904 \begin_layout Standard
26911 <row topline="true">
26912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26915 \begin_layout Standard
26921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26924 \begin_layout Standard
26931 <row topline="true">
26932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26935 \begin_layout Standard
26941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26944 \begin_layout Standard
26951 <row topline="true">
26952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26955 \begin_layout Standard
26961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26964 \begin_layout Standard
26971 <row topline="true">
26972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26975 \begin_layout Standard
26981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26984 \begin_layout Standard
26991 <row topline="true">
26992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26995 \begin_layout Standard
27001 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27004 \begin_layout Standard
27011 <row topline="true">
27012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27015 \begin_layout Standard
27021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27024 \begin_layout Standard
27035 <row topline="true">
27036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27039 \begin_layout Standard
27045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27048 \begin_layout Standard
27059 <row topline="true" bottomline="true">
27060 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27063 \begin_layout Standard
27069 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27072 \begin_layout Standard
27073 math unit (1\InsetSpace \thinspace{}
27074 mu = 1/18\InsetSpace \thinspace{}
27093 \begin_layout Chapter
27094 Output File Formats with Graphics
27095 \begin_inset LatexCommand label
27096 name "cha:Output-File-Formats"
27103 \begin_layout Section
27105 \begin_inset LatexCommand index
27106 name "File Formats ! DVI"
27111 \begin_inset LatexCommand index
27112 name "DVI|see{File Formats}"
27119 \begin_layout Standard
27120 This file type has the extension
27121 \begin_inset Quotes eld
27129 \begin_inset Quotes erd
27134 \begin_inset Quotes eld
27138 \begin_inset Quotes erd
27141 (DVI), because it is completely portable; you can move them from one machine
27142 to another without needing to do any sort of conversion.
27143 At the time when this file-format was developed, this was no matter of
27145 DVIs are used for quick previews and as pre-stage for other output formats,
27149 \begin_layout Standard
27150 \begin_inset Note Greyedout
27153 \begin_layout Standard
27158 DVI-files doesn't contain images, they will only be a linked.
27163 So don't forget this, if you move your
27167 file to another computer.
27168 This property can also slow down your computer when you view the DVI.
27169 Because the DVI-viewer has to convert the image in the background to make
27170 it visible when you scroll in the DVI.
27171 So we recommend to use PDF for files with many images.
27174 \begin_layout Standard
27175 You can export your document to DVI by using the menu
27177 File\SpecialChar \menuseparator
27178 Export\SpecialChar \menuseparator
27182 You can view your document as PostScript via the
27186 menu or by using the toolbar button
27187 \begin_inset Graphics
27188 filename ../images/buffer-view_dvi.xpm
27196 \begin_layout Section
27198 \begin_inset LatexCommand label
27199 name "sec:PostScript"
27204 \begin_inset LatexCommand index
27205 name "File Formats ! PostScript\\protect\\pagebreak"
27210 \begin_inset LatexCommand index
27211 name "PostScript|see{File Formats}"
27218 \begin_layout Standard
27219 This file type has the extension
27220 \begin_inset Quotes eld
27228 \begin_inset Quotes erd
27232 PostScript was developed by the company
27236 as printer language.
27237 The file contains therefore commands that the printer uses to print the
27239 PostScript can be seen as
27240 \begin_inset Quotes eld
27243 programming language
27244 \begin_inset Quotes erd
27247 ; you can calculate with it and draw diagrams and images
27251 \begin_layout Standard
27252 If you are interested to learn more about this, have a look at the LaTeX-package
27258 \begin_inset LatexCommand cite
27269 Due to this ability, the files are often bigger than PDFs.
27272 \begin_layout Standard
27273 PostScript can only contain images in the format
27274 \begin_inset Quotes eld
27277 Encapsulated PostScript
27278 \begin_inset Quotes erd
27281 (EPS, file extension
27282 \begin_inset Quotes eld
27290 \begin_inset Quotes erd
27294 As LyX allows you to use any known image format in your document, it has
27295 to convert images in the background to EPS.
27296 If you have e.g 50 images in your document, LyX has to do 50 conversions
27297 whenever you view or export your document.
27298 This will slow down your work flow with LyX drastically.
27299 So if you plan to use PostScript, you can insert your images directly as
27300 EPS to avoid this problem.
27303 \begin_layout Standard
27304 You can export your document to PostScript using the menu
27306 File\SpecialChar \menuseparator
27307 Export\SpecialChar \menuseparator
27311 You can view your document as PostScript via the
27315 menu or by using the toolbar button
27316 \begin_inset Graphics
27317 filename ../images/buffer-view_ps.xpm
27325 \begin_layout Section
27327 \begin_inset LatexCommand label
27333 \begin_inset LatexCommand index
27334 name "File Formats ! PDF"
27339 \begin_inset LatexCommand index
27347 \begin_layout Standard
27348 This file type has the extension
27349 \begin_inset Quotes eld
27357 \begin_inset Quotes erd
27362 \begin_inset Quotes eld
27365 Portable Document Format
27366 \begin_inset Quotes erd
27369 (PDF) is developed by
27373 as derivative from PostScript.
27374 It is more compressed and it uses much less commands than PostScript.
27376 \begin_inset Quotes eld
27380 \begin_inset Quotes erd
27383 implies, it can be processed at any computer system and the printed output
27384 looks exactly the same.
27387 \begin_layout Standard
27388 PDF can contain images in its own PDF format, in the format
27389 \begin_inset Quotes eld
27392 Joint Photographic Experts Group
27393 \begin_inset Quotes erd
27396 (JPG, file extension
27397 \begin_inset Quotes eld
27405 \begin_inset Quotes erd
27409 \begin_inset Quotes eld
27417 \begin_inset Quotes erd
27420 ), and in the format
27421 \begin_inset Quotes eld
27424 Portable Network Graphics
27425 \begin_inset Quotes erd
27428 (PNG, file extension
27429 \begin_inset Quotes eld
27437 \begin_inset Quotes erd
27441 You can although use any other image format, because LyX converts them
27442 in the background to one of these formats.
27443 But as described in the section about PostScript, the image conversion
27444 will slow down your work flow.
27445 So it is recommended to use images in one of the three mentioned formats.
27448 \begin_layout Standard
27449 You can export your document to PDF via the menu
27451 File\SpecialChar \menuseparator
27454 in three different ways:
27457 \begin_layout Description
27458 PDF This uses the program
27462 that creates a PDF from a PostScript-version of your file.
27463 The PostScript-version is produced by the program
27467 which uses a DVI-version as intermediate step.
27468 So this export variant consist of three conversions.
27471 \begin_layout Description
27473 (dvipdfm) This uses the program
27477 that converts your file in the background to DVI and in a second step to
27481 \begin_layout Description
27483 (pdflatex) This uses the program
27487 that converts your file directly to PDF.
27490 \begin_layout Standard
27491 It is recommended to use
27500 supports all features of actual PDF-versions, is quick and works stable
27506 is not under development and therefore a bit outdated.
27509 \begin_layout Standard
27510 You can view your document as PDF via the
27514 menu or by using the toolbar button
27515 \begin_inset Graphics
27516 filename ../images/buffer-view_pdf2.xpm
27533 \begin_layout Chapter
27534 Explanation of Equation\InsetSpace ~
27536 \begin_inset LatexCommand eqref
27542 \begin_inset LatexCommand label
27543 name "cha:Explanation-of-Equation"
27550 \begin_layout Standard
27556 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27559 can be calculated to
27562 \begin_layout Standard
27563 \begin_inset Formula \begin{equation}
27564 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27571 \begin_layout Standard
27573 \begin_inset Formula $W_{g\, n}$
27576 is the given width of all cells.
27583 is the LaTeX-length between the cell text and the cell border, its default
27584 value is 6\InsetSpace \thinspace{}
27592 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27596 \begin_layout Standard
27597 Following equation\InsetSpace ~
27599 \begin_inset LatexCommand eqref
27600 reference "eq:Wtot_n"
27604 , the total width of a multicolumn
27605 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27611 \begin_layout Standard
27612 \begin_inset Formula \begin{equation}
27613 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27620 \begin_layout Standard
27621 By setting equation\InsetSpace ~
27623 \begin_inset LatexCommand eqref
27624 reference "eq:Wtot_n"
27629 \begin_inset LatexCommand eqref
27630 reference "eq:Wtot_mult"
27634 equal we can calculate the needed given width
27635 \begin_inset Formula $W_{g\, n}$
27642 columns are spanned, so that each column has a total width of
27643 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27649 \begin_layout Standard
27650 \begin_inset Formula \begin{equation}
27651 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27658 \begin_layout Bibliography
27659 \begin_inset LatexCommand bibitem
27660 key "latexcompanion"
27664 Frank Mittelbach and Michel Goossens:
27666 The LaTeX Companion Second Edition.
27669 Addison-Wesley, 2004
27672 \begin_layout Bibliography
27673 \begin_inset LatexCommand bibitem
27678 Helmut Kopka and Patrick W.
27681 A Guide to LaTeX Fourth Edition.
27684 Addison-Wesley, 2003
27687 \begin_layout Bibliography
27688 \begin_inset LatexCommand bibitem
27695 LaTeX: A Document Preparation System.
27698 Addison-Wesley, second edition, 1994
27701 \begin_layout Bibliography
27702 \begin_inset LatexCommand bibitem
27711 \begin_layout Standard
27715 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27725 \begin_layout Standard
27732 of the LaTeX-package
27737 \begin_inset LatexCommand index
27738 name "LaTeX-packages ! booktabs"
27745 \begin_layout Bibliography
27746 \begin_inset LatexCommand bibitem
27755 \begin_layout Standard
27759 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27768 \begin_layout Standard
27775 of the LaTeX-package
27780 \begin_inset LatexCommand index
27781 name "LaTeX-packages ! caption"
27788 \begin_layout Bibliography
27789 \begin_inset LatexCommand bibitem
27798 \begin_layout Standard
27802 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27812 \begin_layout Standard
27819 of the LaTeX-package
27824 \begin_layout Bibliography
27825 \begin_inset LatexCommand bibitem
27834 \begin_layout Standard
27838 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27848 \begin_layout Standard
27855 of the LaTeX-package
27857 endf\SpecialChar \textcompwordmark{}
27861 \begin_inset LatexCommand index
27862 name "LaTeX-packages ! endfloat"
27869 \begin_layout Bibliography
27870 \begin_inset LatexCommand bibitem
27879 \begin_layout Standard
27883 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27893 \begin_layout Standard
27900 of the LaTeX-package
27902 floatf\SpecialChar \textcompwordmark{}
27906 \begin_inset LatexCommand index
27907 name "LaTeX-packages ! floatflt"
27914 \begin_layout Bibliography
27915 \begin_inset LatexCommand bibitem
27924 \begin_layout Standard
27928 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27938 \begin_layout Standard
27945 of the LaTeX-package
27950 \begin_inset LatexCommand index
27951 name "LaTeX-packages ! footmisc"
27958 \begin_layout Bibliography
27959 \begin_inset LatexCommand bibitem
27968 \begin_layout Standard
27972 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27981 \begin_layout Standard
27988 of the LaTeX-package
27993 \begin_inset LatexCommand index
27994 name "LaTeX-packages ! hyperref"
28001 \begin_layout Bibliography
28002 \begin_inset LatexCommand bibitem
28011 \begin_layout Standard
28015 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28025 \begin_layout Standard
28032 of the LaTeX-package
28037 \begin_inset LatexCommand index
28038 name "LaTeX-packages ! hyperref"
28045 \begin_layout Bibliography
28046 \begin_inset LatexCommand bibitem
28055 \begin_layout Standard
28059 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28069 \begin_layout Standard
28076 of the LaTeX-package
28081 \begin_inset LatexCommand index
28082 name "LaTeX-packages ! koma-script"
28089 \begin_layout Bibliography
28090 \begin_inset LatexCommand bibitem
28091 key "koma-script-de"
28099 \begin_layout Standard
28103 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28113 \begin_layout Standard
28120 of the LaTeX-package
28125 \begin_inset LatexCommand index
28126 name "LaTeX-packages ! koma-script"
28133 \begin_layout Bibliography
28134 \begin_inset LatexCommand bibitem
28143 \begin_layout Standard
28147 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28157 \begin_layout Standard
28164 of the LaTeX-package
28169 \begin_inset LatexCommand index
28170 name "LaTeX-packages ! marginnote"
28177 \begin_layout Bibliography
28178 \begin_inset LatexCommand bibitem
28187 \begin_layout Standard
28191 href{http://tug.org/PSTricks/main.cgi/}{
28200 \begin_layout Standard
28207 of the LaTeX-package
28212 \begin_inset LatexCommand index
28213 name "LaTeX-packages ! PSTricks"
28220 \begin_layout Bibliography
28221 \begin_inset LatexCommand bibitem
28230 \begin_layout Standard
28234 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28243 \begin_layout Standard
28250 of the LaTeX-package
28255 \begin_inset LatexCommand index
28256 name "LaTeX-packages ! sidecap"
28263 \begin_layout Bibliography
28264 \begin_inset LatexCommand bibitem
28273 \begin_layout Standard
28277 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28286 \begin_layout Standard
28293 about new LyX-features planned for the release
28300 \begin_layout Standard
28301 \begin_inset LatexCommand printindex
28308 \begin_layout Standard
28309 \begin_inset FloatList figure
28316 \begin_layout Standard
28317 \begin_inset FloatList table