1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % enables calculation of values,
82 % provides special table cell alignments
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
95 % used for colored tables
96 \@ifundefined{textcolor}
97 {\usepackage{color}}{}
99 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
100 \definecolor{lightgrey}{gray}{0.8}
103 \usepackage{multirow}
104 %\renewcommand{\multirowsetup}{\centering}
106 % used for book-style tables
107 \usepackage{booktabs}
109 % used to have extra space in table cells,
110 \setlength{\extrarowheight}{2pt}
112 % used for customized tables
115 {>{\centering\hspace{0pt}}m{#1}}
118 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
121 {>{\columncolor{#1}\hspace{0pt}}c}
123 \newcolumntype{V}{!{\vrule width 1.5pt}}
125 \newcolumntype{W}{!{\color{green}\vline}}
128 % To be able to enter the characters ° and · directly in LyX
129 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
130 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
132 % insert additional vertical space of
133 % 1.5 mm between footnotes
135 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
137 % enable algorithm floats to be referenced
138 \newfloat{Xalgorithm}{tbp}{loa}
139 \floatname{Xalgorithm}{Algorithm}
140 \newcommand{\theHalgorithm}{\theHXalgorithm}
141 \renewenvironment{algorithm}[1][tbp]
142 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
144 % number algorithm floats within chapters
145 \numberwithin{Xalgorithm}{chapter}
147 % redefine the greyed out note
148 \renewenvironment{lyxgreyedout}
149 {\textcolor{blue}\bgroup}{\egroup}
151 % ------------------------------------
152 % used to check for needed LaTeX packages
155 % check for package arydshln
156 % used for tables with dashed lines
157 \newboolean{arydshln}
158 \IfFileExists{arydshln.sty}
159 {\usepackage{arydshln}
160 \setboolean{arydshln}{true}}
161 {\setboolean{arydshln}{false}}
163 % check for package marginnote
164 % used for margin notes
165 \newboolean{marginnote}
166 \IfFileExists{marginnote.sty}
167 {\usepackage{marginnote}
168 \let\marginpar\marginnote
169 \setboolean{marginnote}{true}}
170 {\setboolean{marginnote}{false}}
172 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
177 \font_typewriter default
178 \font_default_family default
192 \paperorientation portrait
195 \paragraph_separation skip
197 \quotes_language english
200 \paperpagestyle default
204 \tracking_changes false
213 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
221 \begin_layout Standard
223 If you have comments or error corrections, please send them to the LyX Documenta
230 \begin_layout Standard
234 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
239 lyx-docs@lists.lyx.org
243 \begin_layout Standard
256 \begin_inset Note Note
259 \begin_layout Standard
260 original author: Uwe Stöhr
276 \begin_layout Standard
277 \begin_inset LatexCommand tableofcontents
284 \begin_layout Standard
285 \begin_inset Note Note
288 \begin_layout Standard
289 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
299 If they are not installed you can export the document anyway but the sections
300 where the packages are required won't appear in the output.
303 \begin_layout Standard
304 The latest PDF-version of this document can be found here:
308 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
316 \begin_layout Chapter
318 \begin_inset LatexCommand label
324 \begin_inset LatexCommand index
332 \begin_layout Section
334 \begin_inset LatexCommand index
335 name "Figure ! Graphics Dialog"
342 \begin_layout Standard
343 To insert an image into your document, place the cursor at the text position
344 you want and click on the toolbar icon
345 \begin_inset Graphics
346 filename ../images/dialog-show-new-inset_graphics.xpm
353 Insert\SpecialChar \menuseparator
357 Then a dialog will appear to choose the file to load.
358 The image will appear in the output exactly at the position where it is
362 \begin_layout Standard
363 The graphics dialog can be called at any time by right-clicking on an image.
364 This dialog has three tabs:
367 \begin_layout Description
372 Here you can choose an image file and adjust its appearance in the output.
373 The available units for the image size are explained in appendix\InsetSpace ~
375 \begin_inset LatexCommand ref
376 reference "cha:Units-available-in"
382 You can rotate images counter-clockwise by setting a rotation angle and
384 The image will also be rotated inside LyX.
386 Images can be opened in a program
387 of your choice when pressing the
392 The program can be set for every image format in the file format settings
393 in LyX's preferences.
396 \begin_layout Description
401 Alternatively to the usage of scaling units it is possible to set image
402 coordinates to adjust the height and width of the image in the output.
403 The coordinates can also be calculated automatically by pressing the button
415 bounding\InsetSpace ~
418 will only print the image region within the given coordinates.
419 Normally you don't need to take care about image coordinates and can ignore
423 \begin_layout Description
429 In this tab you can modify the appearance of the image within LyX and set
430 the image to be a subfigure of a figure float with an own caption.
431 Subfigures are explained in section\InsetSpace ~
433 \begin_inset LatexCommand ref
434 reference "sec:Figure-Floats"
440 LaTeX experts can also specify on this tab additional LaTeX options.
448 makes the image appear in the output only as a frame with the size of the
458 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
465 When the option is used the images will not be unzipped on export, since
466 LaTeX can handle them as they are.
468 Zipped EPS-graphics are useful to save
469 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
471 \begin_inset LatexCommand ref
472 reference "sec:PostScript"
477 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
488 zgrep %%Bounding x.eps.gz > x.eps.bb
492 The second command creates the bounding box file
493 \begin_inset Quotes eld
497 \begin_inset Quotes erd
500 that is needed by LaTeX for zipped graphics.
503 \begin_layout Standard
504 \begin_inset VSpace bigskip
510 \begin_layout Standard
511 This is an example image in EPS format
515 \begin_layout Standard
516 Image formats are explained in section\InsetSpace ~
518 \begin_inset LatexCommand ref
519 reference "sec:Image-Formats"
528 within a separate, horizontally centered paragraph:
531 \begin_layout Standard
533 \begin_inset Graphics
544 \begin_layout Standard
545 This is the same image like the one above but in draft mode:
548 \begin_layout Standard
550 \begin_inset Graphics
562 \begin_layout Section
564 \begin_inset LatexCommand label
565 name "sec:Figure-Floats"
570 \begin_inset LatexCommand index
571 name "Floats ! Figure Floats"
576 \begin_inset LatexCommand index
577 name "Figure ! Floats"
584 \begin_layout Standard
585 For general explanations about floats, have a look at section\InsetSpace ~
587 \begin_inset LatexCommand ref
588 reference "sec:FloatIntroduction"
595 \begin_layout Standard
597 \begin_inset Graphics
598 filename ../images/float-insert_figure.xpm
605 Insert\SpecialChar \menuseparator
606 Float\SpecialChar \menuseparator
609 inserts a float with a caption that has the label
610 \begin_inset Quotes eld
615 \begin_inset Quotes erd
618 (# is the actual number).
619 You can insert the image above the caption, like in Figure\InsetSpace ~
621 \begin_inset LatexCommand ref
622 reference "fig:kill-plat"
626 or below the caption, like in Figure\InsetSpace ~
628 \begin_inset LatexCommand ref
629 reference "fig:escher"
634 More about the caption placement is described in section\InsetSpace ~
636 \begin_inset LatexCommand ref
637 reference "sec:Caption-Placement"
644 \begin_layout Standard
645 \begin_inset Float figure
650 \begin_layout Standard
652 \begin_inset Graphics
653 filename platypus.eps
663 \begin_layout Standard
666 \begin_layout Standard
667 \begin_inset LatexCommand label
672 A severely distorted platypus in a float.
685 \begin_layout Standard
686 \begin_inset Float figure
691 \begin_layout Standard
694 \begin_layout Standard
695 \begin_inset LatexCommand label
709 \begin_layout Standard
711 \begin_inset Graphics
712 filename escher-lsd.eps
727 \begin_layout Standard
728 \begin_inset LatexCommand index
729 name "References ! to Figures"
735 \begin_inset LatexCommand ref
736 reference "fig:kill-plat"
741 \begin_inset LatexCommand ref
742 reference "fig:escher"
746 are examples of referenced figures.
747 Figures can be referenced in the text by referencing their label.
748 To do this insert a label in the caption using the menu
750 Insert\SpecialChar \menuseparator
753 or the toolbar button
754 \begin_inset Graphics
755 filename ../images/label-insert.xpm
761 You can now refer to the label using the menu
763 Insert\SpecialChar \menuseparator
767 or the toolbar button
768 \begin_inset Graphics
769 filename ../images/dialog-show-new-inset_ref.xpm
775 It is important to use references to floats, rather than using vague references
777 \begin_inset Quotes eld
781 \begin_inset Quotes erd
784 , because as LaTeX will reposition the floats in the final document, it
786 \begin_inset Quotes eld
790 \begin_inset Quotes erd
795 Referencing is explained in detail in section\InsetSpace ~
797 \begin_inset LatexCommand ref
798 reference "sec:Referencing-Floats"
805 \begin_layout Standard
806 Normally only one image is inserted to a figure float, but sometimes you
807 might want to use two images with separate subcaptions.
808 This can be set in the tab
813 of the graphics dialog.
814 Choose there the option
818 and enter the subcaption for the image in the caption field.
819 Note that only the main caption of the float is added to the List of Figures.
822 erencing subfigures is explained in section\InsetSpace ~
824 \begin_inset LatexCommand ref
825 reference "sub:Referencing-Subfigures"
832 \begin_layout Standard
835 \begin_inset LatexCommand ref
836 reference "fig:Two-distorted-images"
840 is an example of a figure float with two images set side by side.
841 You can also set the images one below the other.
844 \begin_layout Standard
845 \begin_inset Float figure
850 \begin_layout Standard
854 \begin_inset Graphics
855 filename escher-lsd.eps
858 subcaptionText "Undefinable structure"
865 \begin_inset Graphics
866 filename platypus.eps
870 subcaptionText "\label{fig: Platypus} Platypus"
879 \begin_layout Standard
882 \begin_layout Standard
883 \begin_inset LatexCommand label
884 name "fig:Two-distorted-images"
888 Two distorted images.
901 \begin_layout Section
903 \begin_inset LatexCommand label
904 name "sec:Image-Formats"
909 \begin_inset LatexCommand index
915 \begin_inset LatexCommand index
916 name "Figure ! Image Formats"
923 \begin_layout Standard
924 You can insert images in any known file format.
925 But as explained in appendix\InsetSpace ~
927 \begin_inset LatexCommand ref
928 reference "cha:Output-File-Formats"
932 , every output document format allows only a few image formats.
933 LyX uses therefore the program
937 in the background to convert the images to the right format.
938 To increase your work flow by avoiding these conversions in the background,
939 you can use only the image formats that can directly be embedded in the
941 The output file formats are explained in appendix\InsetSpace ~
943 \begin_inset LatexCommand ref
944 reference "cha:Output-File-Formats"
951 \begin_layout Standard
952 Similar to fonts there are two types of image formats:
955 \begin_layout Description
957 images consist of pixel values, often in a compressed form.
958 They are therefore not fully scalable and look pixeled in large zooms.
959 Well-known bitmap image formats are
960 \begin_inset Quotes eld
963 Graphics Interchange Format
964 \begin_inset Quotes erd
968 \begin_inset Quotes eld
976 \begin_inset Quotes erd
980 \begin_inset LatexCommand index
981 name "GIF|see{Image formats}"
986 \begin_inset Quotes eld
989 Portable Network Graphics
990 \begin_inset Quotes erd
994 \begin_inset Quotes eld
1002 \begin_inset Quotes erd
1006 \begin_inset LatexCommand index
1007 name "PNG|see{Image formats}"
1012 \begin_inset Quotes eld
1015 Joint Photographic Experts Group
1016 \begin_inset Quotes erd
1019 (JPG, file extension
1020 \begin_inset Quotes eld
1028 \begin_inset Quotes erd
1032 \begin_inset Quotes eld
1040 \begin_inset Quotes erd
1044 \begin_inset LatexCommand index
1045 name "JPG|see{Image formats}"
1052 \begin_layout Description
1054 images consist of vectors and can therefore be scaled to any size
1056 The scaling ability is necessary if you want to create presentations, because
1057 presentations are always scaled by the video projector.
1058 Scaling is also useful for online documents to let the user zoom into diagrams.
1061 ell-known scalable image formats are
1062 \begin_inset Quotes eld
1065 Scalable Vector Graphics
1066 \begin_inset Quotes erd
1069 (SVG, file extension
1070 \begin_inset Quotes eld
1078 \begin_inset Quotes erd
1082 \begin_inset LatexCommand index
1083 name "SVG|see{Image formats}"
1088 \begin_inset Quotes eld
1091 Encapsulated PostScript
1092 \begin_inset Quotes erd
1095 (EPS, file extension
1096 \begin_inset Quotes eld
1104 \begin_inset Quotes erd
1108 \begin_inset LatexCommand index
1109 name "EPS|see{Image formats}"
1114 \begin_inset Quotes eld
1117 Portable Document Format
1118 \begin_inset Quotes erd
1121 (PDF, file extension
1122 \begin_inset Quotes eld
1130 \begin_inset Quotes erd
1134 \begin_inset LatexCommand index
1140 \begin_inset Quotes eld
1144 \begin_inset Quotes erd
1147 (WMF, file extension
1148 \begin_inset Quotes eld
1156 \begin_inset Quotes erd
1160 \begin_inset LatexCommand index
1161 name "SVG|see{Image formats}"
1167 \begin_inset Quotes eld
1171 \begin_inset Quotes erd
1174 , because you can convert any bitmap image to a PDF or EPS-image and the
1175 result will still be a bitmap image.
1176 In this cases only a header with the image properties is added to the original
1181 \begin_layout Standard
1182 In the case of PDF, the original image is additionally compressed.
1188 The PDF-files generated by
1192 are for example bitmap images.
1195 \begin_layout Standard
1196 Normally it is not possible to convert a bitmap image into a scalable one,
1198 Only the image formats PDF and EPS can directly be embedded to PDF and
1199 PostScript output files, respectively.
1200 SVG and WMF-images are currently recalculated to bitmaps when the output
1201 file is generated because there is currently no adequate WMF/SVG
1202 \begin_inset Formula $\to$
1205 PDF/EPS converter available.
1208 \begin_layout Chapter
1210 \begin_inset LatexCommand label
1216 \begin_inset LatexCommand index
1224 \begin_layout Section
1226 \begin_inset LatexCommand index
1227 name "Table ! Introduction"
1234 \begin_layout Standard
1235 You can insert a table using either the toolbar button
1236 \begin_inset Graphics
1237 filename ../images/tabular-insert.xpm
1244 Insert\SpecialChar \menuseparator
1248 The toolbar button offers you a graphical selection: Move the mouse to
1249 set the column/row number of the table that should be created and then
1250 press a mouse button.
1251 When you use the menu to create a table, a dialog will appear, asking you
1252 for the number of rows and columns.
1254 The default table has lines around any
1255 cell and the first row appears separated from the rest of the table.
1256 This separation occurs due to a double line: The cells of the first row
1257 have a line below them and the cells of the second row have a line above
1259 Here is an example table:
1262 \begin_layout Standard
1264 \begin_inset Tabular
1265 <lyxtabular version="3" rows="4" columns="4">
1267 <column alignment="center" valignment="top" leftline="true" width="0">
1268 <column alignment="center" valignment="top" leftline="true" width="0">
1269 <column alignment="center" valignment="top" leftline="true" width="0">
1270 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1271 <row topline="true" bottomline="true">
1272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1275 \begin_layout Standard
1281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1284 \begin_layout Standard
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1302 \begin_layout Standard
1308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1311 \begin_layout Standard
1318 <row topline="true">
1319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1322 \begin_layout Standard
1337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1340 \begin_layout Standard
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1349 \begin_layout Standard
1355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1358 \begin_layout Standard
1365 <row topline="true">
1366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1369 \begin_layout Standard
1384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1387 \begin_layout Standard
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1396 \begin_layout Standard
1402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1405 \begin_layout Standard
1412 <row topline="true" bottomline="true">
1413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1416 \begin_layout Standard
1431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1434 \begin_layout Standard
1440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1443 \begin_layout Standard
1449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1452 \begin_layout Standard
1466 \begin_layout Section
1468 \begin_inset LatexCommand index
1469 name "Table ! Dialog"
1476 \begin_layout Standard
1477 You can alter a table by clicking on it with the right mouse button, which
1478 brings up the table dialog.
1479 Here you can adjust the settings of that cell and row/column respectively
1480 where the cursor is currently placed.
1481 Most of the dialog options also work on selections.
1482 This means if you select more cells, columns or rows, the action is done
1483 for the whole selection.
1484 Note that there is a difference between selecting the
1488 of the cell, and the cell itself.
1489 You can alter tables with the following tabs of the table dialog:
1492 \begin_layout Description
1498 Here you can set the horizontal alignment for the current row and the width
1499 of the current column.
1500 When you have set a width you can also adjust the vertical alignment of
1502 A given width will allow the cell to have line breaks and multiple paragraphs
1503 of text, see section\InsetSpace ~
1505 \begin_inset LatexCommand ref
1506 reference "sub:Multiple-Lines-in"
1511 If you set no width, the column is as wide as their widest cell content
1514 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1515 cell, see section\InsetSpace ~
1517 \begin_inset LatexCommand ref
1518 reference "sub:Multicolumns"
1524 The rotate check boxes rotates the current cell, a selection, or the whole
1525 table counter-clockwise by 90°.
1526 The rotation is not shown within LyX, only in the output.
1529 \begin_inset Note Greyedout
1532 \begin_layout Standard
1537 Not all DVI-viewers are able to display rotations.
1544 It is also possible to enter a LaTeX-argument which is needed for special
1545 table formattings, see section\InsetSpace ~
1547 \begin_inset LatexCommand ref
1548 reference "sub:Multicolumn-Calculations"
1553 \begin_inset LatexCommand ref
1554 reference "sec:Colored-Tables"
1561 \begin_layout Description
1566 In this tab you can add and delete border lines for the current row/column.
1573 will convert the table to a formal table as described in section\InsetSpace ~
1575 \begin_inset LatexCommand ref
1576 reference "sec:Formal-Tables"
1582 You can also add here space to table rows as decribed in section\InsetSpace ~
1584 \begin_inset LatexCommand ref
1585 reference "sub:Row-Spacing"
1592 \begin_layout Description
1597 This tab is to make a table a so called
1598 \begin_inset Quotes eld
1606 \begin_inset Quotes erd
1609 that can run over several pages.
1610 Section\InsetSpace ~
1612 \begin_inset LatexCommand ref
1613 reference "sec:Longtables"
1618 \begin_inset LatexCommand ref
1619 reference "sec:Special-Longtable-Issues"
1623 describe the longtable features in detail.
1626 \begin_layout Standard
1627 When the table toolbar is opened, you can move the cursor with the arrow
1628 keys from cell to cell and the property of the current cell will immediately
1629 be displayed in the dialog.
1632 \begin_layout Section
1634 \begin_inset LatexCommand index
1635 name "Table ! Toolbar"
1642 \begin_layout Standard
1643 The table toolbar is an alternative to the table dialog to be able to alter
1645 It should normally appear at the bottom of LyX's main window when the cursor
1647 You can alternatively switch it on to appear always, by right-clicking
1648 in LyX's main menu bar.
1651 \begin_layout Standard
1652 The toolbar has the following icons:
1655 \begin_layout Labeling
1656 \labelwidthstring 00.00.0000
1657 \begin_inset Graphics
1658 filename ../images/tabular-feature_append-row.xpm
1662 adds a row below the current cell or selection
1665 \begin_layout Labeling
1666 \labelwidthstring 00.00.0000
1667 \begin_inset Graphics
1668 filename ../images/tabular-feature_append-column.xpm
1672 adds a column right beside the current cell or selection
1675 \begin_layout Labeling
1676 \labelwidthstring 00.00.0000
1677 \begin_inset Graphics
1678 filename ../images/tabular-feature_delete-row.xpm
1682 deletes the current row or selection
1685 \begin_layout Labeling
1686 \labelwidthstring 00.00.0000
1687 \begin_inset Graphics
1688 filename ../images/tabular-feature_delete-column.xpm
1692 deletes the current column or selection
1695 \begin_layout Labeling
1696 \labelwidthstring 00.00.0000
1697 \begin_inset Graphics
1698 filename ../images/tabular-feature_toggle-line-top.xpm
1702 adds a line at the top of the current cell / row or of a selection
1705 \begin_layout Labeling
1706 \labelwidthstring 00.00.0000
1707 \begin_inset Graphics
1708 filename ../images/tabular-feature_toggle-line-bottom.xpm
1712 adds a line at the bottom of the current cell / row or of a selection
1715 \begin_layout Labeling
1716 \labelwidthstring 00.00.0000
1717 \begin_inset Graphics
1718 filename ../images/tabular-feature_toggle-line-left.xpm
1722 adds a line at the left side of the current cell / row or of a selection
1725 \begin_layout Labeling
1726 \labelwidthstring 00.00.0000
1727 \begin_inset Graphics
1728 filename ../images/tabular-feature_toggle-line-right.xpm
1732 adds a line at the right side of the current cell / row or of a selection
1735 \begin_layout Labeling
1736 \labelwidthstring 00.00.0000
1737 \begin_inset Graphics
1738 filename ../images/tabular-feature_set-all-lines.xpm
1742 adds lines around the current or selected cells - if the current cell no
1743 multicolumn this also affects the current row and column
1746 \begin_layout Labeling
1747 \labelwidthstring 00.00.0000
1748 \begin_inset Graphics
1749 filename ../images/tabular-feature_unset-all-lines.xpm
1753 deletes all lines of the current or selected cells - if the current cell
1754 no multicolumn this also affects the current row and column
1757 \begin_layout Labeling
1758 \labelwidthstring 00.00.0000
1759 \begin_inset Graphics
1760 filename ../images/tabular-feature_align-left.xpm
1764 left-aligns the content of the current cell / column
1767 \begin_layout Labeling
1768 \labelwidthstring 00.00.0000
1769 \begin_inset Graphics
1770 filename ../images/tabular-feature_align-center.xpm
1774 centers the content of the current cell / column horizontally
1777 \begin_layout Labeling
1778 \labelwidthstring 00.00.0000
1779 \begin_inset Graphics
1780 filename ../images/tabular-feature_align-right.xpm
1784 right-aligns the content of the current cell / column
1787 \begin_layout Labeling
1788 \labelwidthstring 00.00.0000
1789 \begin_inset Graphics
1790 filename ../images/tabular-feature_valign-top.xpm
1794 aligns the content of the current cell vertically to the top
1797 \begin_layout Labeling
1798 \labelwidthstring 00.00.0000
1799 \begin_inset Graphics
1800 filename ../images/tabular-feature_valign-middle.xpm
1804 centers the content of the current cell vertically
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Graphics
1810 filename ../images/tabular-feature_valign-bottom.xpm
1814 aligns the content of the current cell vertically to the bottom
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820 filename ../images/tabular-feature_set-rotate-cell.xpm
1824 rotates the current cell or selection counter-clockwise by 90°
1827 \begin_layout Labeling
1828 \labelwidthstring 00.00.0000
1829 \begin_inset Graphics
1830 filename ../images/tabular-feature_set-rotate-tabular.xpm
1834 rotates the whole table counter-clockwise by 90°
1837 \begin_layout Labeling
1838 \labelwidthstring 00.00.0000
1839 \begin_inset Graphics
1840 filename ../images/tabular-feature_multicolumn.xpm
1844 sets the current cell or selection as a multicolumn
1847 \begin_layout Section
1849 \begin_inset LatexCommand index
1850 name "Table ! Edit Menu"
1857 \begin_layout Standard
1858 Additionally to the table dialog and toolbar, the menu
1860 Edit\SpecialChar \menuseparator
1863 allows you to add and delete border lines for the current row/column and
1864 to set the current selection as multicolumn.
1865 The menu is only available when the cursor is inside a table.
1868 \begin_layout Section
1870 \begin_inset LatexCommand label
1871 name "sec:Table-Floats"
1876 \begin_inset LatexCommand index
1877 name "Floats ! Tables"
1882 \begin_inset LatexCommand index
1883 name "Table ! Floats"
1890 \begin_layout Standard
1891 For general explanations about floats, have a look at section\InsetSpace ~
1893 \begin_inset LatexCommand ref
1894 reference "sec:FloatIntroduction"
1901 \begin_layout Standard
1902 \begin_inset Float table
1908 \begin_layout Standard
1909 \begin_inset Caption
1911 \begin_layout Standard
1912 \begin_inset LatexCommand label
1913 name "tab:a table float"
1925 \begin_layout Standard
1927 \begin_inset Tabular
1928 <lyxtabular version="3" rows="3" columns="3">
1930 <column alignment="center" valignment="top" leftline="true" width="0pt">
1931 <column alignment="center" valignment="top" leftline="true" width="0pt">
1932 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1933 <row topline="true" bottomline="true">
1934 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1937 \begin_layout Standard
1952 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1955 \begin_layout Standard
1970 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1973 \begin_layout Standard
1989 <row topline="true">
1990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1993 \begin_layout Standard
2008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2011 \begin_layout Standard
2026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2029 \begin_layout Standard
2045 <row topline="true" bottomline="true">
2046 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2049 \begin_layout Standard
2059 \begin_inset Formula $\int x^{2}dx$
2067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2070 \begin_layout Standard
2080 \begin_inset Formula $\left[\begin{array}{cc}
2082 c & d\end{array}\right]$
2090 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2093 \begin_layout Standard
2103 \begin_inset Formula $1+1=2$
2124 \begin_layout Standard
2125 Table floats can be inserted using the menu
2127 Insert\SpecialChar \menuseparator
2128 Float\SpecialChar \menuseparator
2131 or the toolbar button
2132 \begin_inset Graphics
2133 filename ../images/float-insert_table.xpm
2141 \begin_layout Standard
2142 The float appears as a collapsible box with a caption that has the label
2144 \begin_inset Quotes eld
2149 \begin_inset Quotes erd
2152 (# is the actual table number).
2153 You can insert tables to the float above or below the caption.
2156 \begin_layout Standard
2159 \begin_inset LatexCommand ref
2160 reference "tab:a table float"
2164 is an example table within a table float.
2167 \begin_layout Standard
2168 Having the caption above the table is the common rule that is unfortunately
2169 not supported in LaTeX's standard classes.
2170 That means if you are using the document classes
2186 there will be no space between the caption and the table.
2187 To insert the needed space, add the following option to the load command
2188 of the LaTeX-package
2193 \begin_inset LatexCommand index
2194 name "LaTeX-packages ! caption"
2198 in your document preamble
2202 \begin_layout Standard
2203 For more information have a look at section\InsetSpace ~
2205 \begin_inset LatexCommand ref
2206 reference "sec:Caption-Placement"
2218 \begin_layout Standard
2224 \begin_layout Standard
2229 , which is described in section\InsetSpace ~
2231 \begin_inset LatexCommand ref
2232 reference "sec:Caption-Formatting"
2236 , is used to adjust the caption format.
2239 \begin_layout Standard
2240 \begin_inset LatexCommand index
2241 name "References ! to Tables"
2245 Tables can be cross-referenced in the text by referencing their label.
2246 To do this insert a label in the caption using the menu
2248 Insert\SpecialChar \menuseparator
2251 or the toolbar button
2252 \begin_inset Graphics
2253 filename ../images/label-insert.xpm
2259 You can now refer to the label using the menu
2261 Insert\SpecialChar \menuseparator
2265 or the toolbar button
2266 \begin_inset Graphics
2267 filename ../images/dialog-show-new-inset_ref.xpm
2274 Referencing is explained in detail in section\InsetSpace ~
2276 \begin_inset LatexCommand ref
2277 reference "sec:Referencing-Floats"
2284 \begin_layout Section
2286 \begin_inset LatexCommand label
2287 name "sec:Longtables"
2292 \begin_inset LatexCommand index
2298 \begin_inset LatexCommand index
2299 name "Table ! Longtables"
2306 \begin_layout Standard
2307 If the table is too long to fit on one page, you can use the option
2317 of the table dialog to split the table automatically over more pages.
2318 Doing this enables some check boxes and you can now define:
2321 \begin_layout Description
2326 : The current row and all rows above, that don't have any special options
2327 defined, are defined to be the header rows of all pages of the longtable;
2328 except for the first page, if
2334 This therefore called the main header.
2337 \begin_layout Description
2343 : The current row and all rows above, that don't have any special options
2344 defined, are defined to be the header rows of the first page of the longtable.
2347 \begin_layout Description
2352 : The current row and all rows below, that don't have any special options
2353 defined, are defined to be the footer rows of all pages of the longtable;
2354 except for the last page, if
2362 \begin_layout Description
2368 : The current row and all rows below, that don't have any special options
2369 defined, are defined to be the footer rows of the last page of the longtable.
2372 \begin_layout Standard
2373 You can also specify a row where the table is splitted.
2374 If you set more than one option in the same table row, you should be aware
2375 of the fact that only the first one is used in the given table row.
2376 The others will then be defined as
2381 In this context, first means first in this order:
2383 Footer, Last\InsetSpace ~
2399 See the following longtable to see how it works:
2402 \begin_layout Standard
2404 \begin_inset Tabular
2405 <lyxtabular version="3" rows="69" columns="3">
2406 <features islongtable="true">
2407 <column alignment="left" valignment="top" leftline="true" width="0cm">
2408 <column alignment="left" valignment="top" width="0pt">
2409 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2410 <row topline="true" bottomline="true" endfirsthead="true">
2411 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2414 \begin_layout Standard
2417 Example Phone List (ignore the names)
2422 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2425 \begin_layout Standard
2431 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2434 \begin_layout Standard
2441 <row topline="true" bottomline="true" endfirsthead="true">
2442 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="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="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2465 \begin_layout Standard
2474 <row topline="true" bottomline="true" endhead="true">
2475 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2478 \begin_layout Standard
2486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2489 \begin_layout Standard
2495 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2498 \begin_layout Standard
2505 <row topline="true" bottomline="true" endhead="true">
2506 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2509 \begin_layout Standard
2517 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2520 \begin_layout Standard
2526 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2529 \begin_layout Standard
2538 <row topline="true" bottomline="true" endfoot="true">
2539 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2542 \begin_layout Standard
2543 continued on next page
2548 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2551 \begin_layout Standard
2557 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2560 \begin_layout Standard
2568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2571 \begin_layout Standard
2579 <cell alignment="center" valignment="top" topline="true" usebox="none">
2582 \begin_layout Standard
2588 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2591 \begin_layout Standard
2599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2602 \begin_layout Standard
2610 <cell alignment="center" valignment="top" topline="true" usebox="none">
2613 \begin_layout Standard
2619 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2622 \begin_layout Standard
2630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2633 \begin_layout Standard
2641 <cell alignment="center" valignment="top" topline="true" usebox="none">
2644 \begin_layout Standard
2650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2653 \begin_layout Standard
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2664 \begin_layout Standard
2672 <cell alignment="center" valignment="top" topline="true" usebox="none">
2675 \begin_layout Standard
2681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2684 \begin_layout Standard
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2695 \begin_layout Standard
2703 <cell alignment="center" valignment="top" topline="true" usebox="none">
2706 \begin_layout Standard
2712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2715 \begin_layout Standard
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2726 \begin_layout Standard
2734 <cell alignment="center" valignment="top" topline="true" usebox="none">
2737 \begin_layout Standard
2743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2746 \begin_layout Standard
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2757 \begin_layout Standard
2765 <cell alignment="center" valignment="top" topline="true" usebox="none">
2768 \begin_layout Standard
2774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2777 \begin_layout Standard
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2788 \begin_layout Standard
2796 <cell alignment="center" valignment="top" topline="true" usebox="none">
2799 \begin_layout Standard
2805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2808 \begin_layout Standard
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2819 \begin_layout Standard
2827 <cell alignment="center" valignment="top" topline="true" usebox="none">
2830 \begin_layout Standard
2836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2839 \begin_layout Standard
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2850 \begin_layout Standard
2858 <cell alignment="center" valignment="top" topline="true" usebox="none">
2861 \begin_layout Standard
2867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2870 \begin_layout Standard
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2881 \begin_layout Standard
2889 <cell alignment="center" valignment="top" topline="true" usebox="none">
2892 \begin_layout Standard
2898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2901 \begin_layout Standard
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2912 \begin_layout Standard
2920 <cell alignment="center" valignment="top" topline="true" usebox="none">
2923 \begin_layout Standard
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2932 \begin_layout Standard
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2943 \begin_layout Standard
2951 <cell alignment="center" valignment="top" topline="true" usebox="none">
2954 \begin_layout Standard
2960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2963 \begin_layout Standard
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2974 \begin_layout Standard
2982 <cell alignment="center" valignment="top" topline="true" usebox="none">
2985 \begin_layout Standard
2991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2994 \begin_layout Standard
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3005 \begin_layout Standard
3013 <cell alignment="center" valignment="top" topline="true" usebox="none">
3016 \begin_layout Standard
3022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3025 \begin_layout Standard
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3036 \begin_layout Standard
3044 <cell alignment="center" valignment="top" topline="true" usebox="none">
3047 \begin_layout Standard
3053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3056 \begin_layout Standard
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3067 \begin_layout Standard
3075 <cell alignment="center" valignment="top" topline="true" usebox="none">
3078 \begin_layout Standard
3084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3087 \begin_layout Standard
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3098 \begin_layout Standard
3106 <cell alignment="center" valignment="top" topline="true" usebox="none">
3109 \begin_layout Standard
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3118 \begin_layout Standard
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3129 \begin_layout Standard
3137 <cell alignment="center" valignment="top" topline="true" usebox="none">
3140 \begin_layout Standard
3146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3149 \begin_layout Standard
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3160 \begin_layout Standard
3168 <cell alignment="center" valignment="top" topline="true" usebox="none">
3171 \begin_layout Standard
3177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3180 \begin_layout Standard
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3191 \begin_layout Standard
3199 <cell alignment="center" valignment="top" topline="true" usebox="none">
3202 \begin_layout Standard
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3211 \begin_layout Standard
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3222 \begin_layout Standard
3230 <cell alignment="center" valignment="top" topline="true" usebox="none">
3233 \begin_layout Standard
3239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3242 \begin_layout Standard
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3253 \begin_layout Standard
3261 <cell alignment="center" valignment="top" topline="true" usebox="none">
3264 \begin_layout Standard
3270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3273 \begin_layout Standard
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3284 \begin_layout Standard
3292 <cell alignment="center" valignment="top" topline="true" usebox="none">
3295 \begin_layout Standard
3301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3304 \begin_layout Standard
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3315 \begin_layout Standard
3323 <cell alignment="center" valignment="top" topline="true" usebox="none">
3326 \begin_layout Standard
3332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3335 \begin_layout Standard
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3346 \begin_layout Standard
3354 <cell alignment="center" valignment="top" topline="true" usebox="none">
3357 \begin_layout Standard
3363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3366 \begin_layout Standard
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3377 \begin_layout Standard
3385 <cell alignment="center" valignment="top" topline="true" usebox="none">
3388 \begin_layout Standard
3394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3397 \begin_layout Standard
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3408 \begin_layout Standard
3416 <cell alignment="center" valignment="top" topline="true" usebox="none">
3419 \begin_layout Standard
3425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3428 \begin_layout Standard
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3439 \begin_layout Standard
3447 <cell alignment="center" valignment="top" topline="true" usebox="none">
3450 \begin_layout Standard
3456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3459 \begin_layout Standard
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3470 \begin_layout Standard
3478 <cell alignment="center" valignment="top" topline="true" usebox="none">
3481 \begin_layout Standard
3487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3490 \begin_layout Standard
3497 <row bottomline="true">
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3501 \begin_layout Standard
3509 <cell alignment="center" valignment="top" topline="true" usebox="none">
3512 \begin_layout Standard
3518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3521 \begin_layout Standard
3528 <row bottomline="true">
3529 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3532 \begin_layout Standard
3538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3541 \begin_layout Standard
3547 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3550 \begin_layout Standard
3558 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3561 \begin_layout Standard
3569 <cell alignment="center" valignment="top" topline="true" usebox="none">
3572 \begin_layout Standard
3578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3581 \begin_layout Standard
3589 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3592 \begin_layout Standard
3600 <cell alignment="center" valignment="top" topline="true" usebox="none">
3603 \begin_layout Standard
3609 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3612 \begin_layout Standard
3620 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3623 \begin_layout Standard
3631 <cell alignment="center" valignment="top" topline="true" usebox="none">
3634 \begin_layout Standard
3640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3643 \begin_layout Standard
3651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3654 \begin_layout Standard
3662 <cell alignment="center" valignment="top" topline="true" usebox="none">
3665 \begin_layout Standard
3671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3674 \begin_layout Standard
3682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3685 \begin_layout Standard
3693 <cell alignment="center" valignment="top" topline="true" usebox="none">
3696 \begin_layout Standard
3702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3705 \begin_layout Standard
3713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3716 \begin_layout Standard
3724 <cell alignment="center" valignment="top" topline="true" usebox="none">
3727 \begin_layout Standard
3733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3736 \begin_layout Standard
3744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3747 \begin_layout Standard
3755 <cell alignment="center" valignment="top" topline="true" usebox="none">
3758 \begin_layout Standard
3764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3767 \begin_layout Standard
3775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3778 \begin_layout Standard
3786 <cell alignment="center" valignment="top" topline="true" usebox="none">
3789 \begin_layout Standard
3795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3798 \begin_layout Standard
3806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3809 \begin_layout Standard
3817 <cell alignment="center" valignment="top" topline="true" usebox="none">
3820 \begin_layout Standard
3826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3829 \begin_layout Standard
3837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3840 \begin_layout Standard
3848 <cell alignment="center" valignment="top" topline="true" usebox="none">
3851 \begin_layout Standard
3857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3860 \begin_layout Standard
3868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3871 \begin_layout Standard
3879 <cell alignment="center" valignment="top" topline="true" usebox="none">
3882 \begin_layout Standard
3888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3891 \begin_layout Standard
3899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3902 \begin_layout Standard
3910 <cell alignment="center" valignment="top" topline="true" usebox="none">
3913 \begin_layout Standard
3919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3922 \begin_layout Standard
3930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3933 \begin_layout Standard
3941 <cell alignment="center" valignment="top" topline="true" usebox="none">
3944 \begin_layout Standard
3950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3953 \begin_layout Standard
3961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3964 \begin_layout Standard
3972 <cell alignment="center" valignment="top" topline="true" usebox="none">
3975 \begin_layout Standard
3981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3984 \begin_layout Standard
3992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3995 \begin_layout Standard
4003 <cell alignment="center" valignment="top" topline="true" usebox="none">
4006 \begin_layout Standard
4012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4015 \begin_layout Standard
4023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4026 \begin_layout Standard
4034 <cell alignment="center" valignment="top" topline="true" usebox="none">
4037 \begin_layout Standard
4043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4046 \begin_layout Standard
4054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4057 \begin_layout Standard
4065 <cell alignment="center" valignment="top" topline="true" usebox="none">
4068 \begin_layout Standard
4074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4077 \begin_layout Standard
4085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4088 \begin_layout Standard
4096 <cell alignment="center" valignment="top" topline="true" usebox="none">
4099 \begin_layout Standard
4105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4108 \begin_layout Standard
4116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4119 \begin_layout Standard
4127 <cell alignment="center" valignment="top" topline="true" usebox="none">
4130 \begin_layout Standard
4136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4139 \begin_layout Standard
4147 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4150 \begin_layout Standard
4158 <cell alignment="center" valignment="top" topline="true" usebox="none">
4161 \begin_layout Standard
4167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4170 \begin_layout Standard
4178 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4181 \begin_layout Standard
4189 <cell alignment="center" valignment="top" topline="true" usebox="none">
4192 \begin_layout Standard
4198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4201 \begin_layout Standard
4209 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4212 \begin_layout Standard
4220 <cell alignment="center" valignment="top" topline="true" usebox="none">
4223 \begin_layout Standard
4229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4232 \begin_layout Standard
4240 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4243 \begin_layout Standard
4251 <cell alignment="center" valignment="top" topline="true" usebox="none">
4254 \begin_layout Standard
4260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4263 \begin_layout Standard
4271 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4274 \begin_layout Standard
4282 <cell alignment="center" valignment="top" topline="true" usebox="none">
4285 \begin_layout Standard
4291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4294 \begin_layout Standard
4302 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4305 \begin_layout Standard
4313 <cell alignment="center" valignment="top" topline="true" usebox="none">
4316 \begin_layout Standard
4322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4325 \begin_layout Standard
4333 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4336 \begin_layout Standard
4344 <cell alignment="center" valignment="top" topline="true" usebox="none">
4347 \begin_layout Standard
4353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4356 \begin_layout Standard
4364 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4367 \begin_layout Standard
4375 <cell alignment="center" valignment="top" topline="true" usebox="none">
4378 \begin_layout Standard
4384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4387 \begin_layout Standard
4395 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4398 \begin_layout Standard
4406 <cell alignment="center" valignment="top" topline="true" usebox="none">
4409 \begin_layout Standard
4415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4418 \begin_layout Standard
4426 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4429 \begin_layout Standard
4437 <cell alignment="center" valignment="top" topline="true" usebox="none">
4440 \begin_layout Standard
4446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4449 \begin_layout Standard
4457 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4460 \begin_layout Standard
4468 <cell alignment="center" valignment="top" topline="true" usebox="none">
4471 \begin_layout Standard
4477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4480 \begin_layout Standard
4487 <row bottomline="true">
4488 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4491 \begin_layout Standard
4499 <cell alignment="center" valignment="top" topline="true" usebox="none">
4502 \begin_layout Standard
4508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4511 \begin_layout Standard
4518 <row bottomline="true" endlastfoot="true">
4519 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4522 \begin_layout Standard
4528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4531 \begin_layout Standard
4537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4540 \begin_layout Standard
4555 \begin_layout Standard
4559 addtocounter{table}{-1}
4565 \begin_inset Note Note
4568 \begin_layout Standard
4569 See greyed-out note in section 2.6.2 for an explanation of this command.
4577 \begin_layout Subsection
4578 Footnotes in Longtables
4579 \begin_inset LatexCommand label
4580 name "sub:Footnotes-in-Longtables"
4585 \begin_inset LatexCommand index
4586 name "Longtables ! Footnotes"
4593 \begin_layout Standard
4594 Footnotes can be inserted to every longtable cell.
4595 They appear at the bottom of the page where the table cell with the footnote
4599 \begin_inset LatexCommand ref
4600 reference "tab:DiffCaptions"
4604 has for example a footnote.
4607 \begin_layout Subsection
4609 \begin_inset LatexCommand index
4610 name "Longtables ! Captions"
4617 \begin_layout Standard
4618 A longtable cannot be put into a table float because floats can only be
4619 on one page but the caption environment of floats can also be used for
4623 \begin_layout Standard
4624 As LyX does not yet fully support captions in longtables, a hack is needed
4628 \begin_layout Enumerate
4634 \begin_layout Enumerate
4635 Mark the first row an disable its upper line.
4638 \begin_layout Enumerate
4639 Insert a caption via the menu
4641 Insert\SpecialChar \menuseparator
4647 into the first table cell.
4649 You can also add a short title for the caption.
4652 \begin_layout Enumerate
4654 \begin_inset Quotes eld
4666 \begin_inset Quotes erd
4669 as ERT behind the caption.
4672 \begin_layout Standard
4673 A short title that will appear in the LOT instead of the full title.
4682 behind the caption omits the vertical lines between the following cells
4684 The first table row is now only a dummy row for the caption, the actual
4685 table starts with the second row.
4688 \begin_layout Standard
4689 Here is a short longtable to see how it works:
4692 \begin_layout Standard
4693 \begin_inset Tabular
4694 <lyxtabular version="3" rows="6" columns="5">
4695 <features islongtable="true">
4696 <column alignment="center" valignment="top" leftline="true" width="0">
4697 <column alignment="center" valignment="top" leftline="true" width="0">
4698 <column alignment="center" valignment="top" leftline="true" width="0">
4699 <column alignment="center" valignment="top" leftline="true" width="0">
4700 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4705 \begin_layout Standard
4706 \begin_inset Caption
4708 \begin_layout Standard
4709 Longtable with caption
4713 \begin_layout Standard
4728 \begin_layout Standard
4744 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4747 \begin_layout Standard
4753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4756 \begin_layout Standard
4762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4765 \begin_layout Standard
4771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4774 \begin_layout Standard
4781 <row topline="true">
4782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4785 \begin_layout Standard
4791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4794 \begin_layout Standard
4800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4803 \begin_layout Standard
4809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4812 \begin_layout Standard
4818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4821 \begin_layout Standard
4828 <row topline="true">
4829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4832 \begin_layout Standard
4838 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4841 \begin_layout Standard
4847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4850 \begin_layout Standard
4856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4859 \begin_layout Standard
4865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4868 \begin_layout Standard
4875 <row topline="true">
4876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4879 \begin_layout Standard
4885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4888 \begin_layout Standard
4894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4897 \begin_layout Standard
4903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4906 \begin_layout Standard
4912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4915 \begin_layout Standard
4922 <row topline="true">
4923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4926 \begin_layout Standard
4932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4935 \begin_layout Standard
4941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4944 \begin_layout Standard
4950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4953 \begin_layout Standard
4959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4962 \begin_layout Standard
4969 <row topline="true" bottomline="true">
4970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4973 \begin_layout Standard
4979 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4982 \begin_layout Standard
4988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4991 \begin_layout Standard
4997 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5000 \begin_layout Standard
5006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5009 \begin_layout Standard
5023 \begin_layout Standard
5024 \begin_inset VSpace medskip
5028 \begin_inset Note Greyedout
5031 \begin_layout Standard
5036 The table number is increased for every longtable, also if you didn't set
5038 For this reason you could have the case that e.g.
5040 2.4 follows on Table\InsetSpace ~
5041 2.1 in the list of tables if there are two longtables
5043 To avoid this you can add the following command in ERT behind every longtable
5047 \begin_layout Standard
5052 addtocounter{table}{-1}
5060 \begin_layout Standard
5061 \begin_inset Note Greyedout
5064 \begin_layout Standard
5069 If you are using the LaTeX-package
5074 \begin_inset LatexCommand index
5075 name "LaTeX-packages ! hyperref"
5079 to link cross-references, the link to a longtable caption will always point
5080 to the beginning of the document.
5088 \begin_layout Subsubsection
5089 References to Longtables
5090 \begin_inset LatexCommand index
5091 name "Longtables ! References"
5098 \begin_layout Standard
5099 \begin_inset Tabular
5100 <lyxtabular version="3" rows="6" columns="5">
5101 <features islongtable="true">
5102 <column alignment="center" valignment="top" leftline="true" width="0">
5103 <column alignment="center" valignment="top" leftline="true" width="0">
5104 <column alignment="center" valignment="top" leftline="true" width="0">
5105 <column alignment="center" valignment="top" leftline="true" width="0">
5106 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5111 \begin_layout Standard
5112 \begin_inset Caption
5114 \begin_layout Standard
5115 Referenced longtable
5116 \begin_inset LatexCommand label
5117 name "tab:RefExample"
5130 \begin_layout Standard
5146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5149 \begin_layout Standard
5155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5158 \begin_layout Standard
5164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5167 \begin_layout Standard
5173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5176 \begin_layout Standard
5183 <row topline="true">
5184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5187 \begin_layout Standard
5193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5196 \begin_layout Standard
5202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5205 \begin_layout Standard
5211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5214 \begin_layout Standard
5220 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5223 \begin_layout Standard
5230 <row topline="true">
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
5258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5261 \begin_layout Standard
5267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5270 \begin_layout Standard
5277 <row topline="true">
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" usebox="none">
5299 \begin_layout Standard
5305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5308 \begin_layout Standard
5314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5317 \begin_layout Standard
5324 <row topline="true">
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" usebox="none">
5346 \begin_layout Standard
5352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_layout Standard
5361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5364 \begin_layout Standard
5371 <row topline="true" bottomline="true">
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" usebox="none">
5393 \begin_layout Standard
5399 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_layout Standard
5408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5411 \begin_layout Standard
5425 \begin_layout Standard
5426 To reference a longtable, insert a label into the caption.
5427 Note that you have to add the label prefix
5428 \begin_inset Quotes eld
5436 \begin_inset Quotes eld
5439 manually in the label field.
5442 \begin_layout Standard
5443 This is a reference to Table\InsetSpace ~
5445 \begin_inset LatexCommand ref
5446 reference "tab:RefExample"
5453 \begin_layout Standard
5454 The caption layout can be set together with all other caption of your document
5455 using the LaTeX-package
5460 \begin_inset LatexCommand index
5461 name "LaTeX-packages ! caption"
5465 , see section\InsetSpace ~
5467 \begin_inset LatexCommand ref
5468 reference "sec:Caption-Formatting"
5475 \begin_layout Subsubsection
5477 \begin_inset LatexCommand index
5478 name "Longtables ! Caption Width"
5485 \begin_layout Standard
5486 The maximal width of of caption lines is defined by the length
5493 Its default value is 4\InsetSpace \thinspace{}
5495 To change it add the following command to your document preamble or as
5496 ERT into your document before the longtable that should be affected
5499 \begin_layout Standard
5509 \begin_layout Standard
5510 where the width could have one of the units listed in appendix\InsetSpace ~
5512 \begin_inset LatexCommand ref
5513 reference "cha:Units-available-in"
5520 \begin_layout Standard
5521 The following tables show the difference:
5524 \begin_layout Standard
5525 \begin_inset Tabular
5526 <lyxtabular version="3" rows="6" columns="5">
5527 <features islongtable="true">
5528 <column alignment="center" valignment="top" leftline="true" width="0">
5529 <column alignment="center" valignment="top" leftline="true" width="0">
5530 <column alignment="center" valignment="top" leftline="true" width="0">
5531 <column alignment="center" valignment="top" leftline="true" width="0">
5532 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5537 \begin_layout Standard
5538 \begin_inset Caption
5540 \begin_layout Standard
5541 long full title with default width long full title with default width long
5542 full title with default width
5546 \begin_layout Standard
5547 caption with default width
5561 \begin_layout Standard
5577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5580 \begin_layout Standard
5586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5589 \begin_layout Standard
5595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5598 \begin_layout Standard
5604 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5607 \begin_layout Standard
5614 <row topline="true">
5615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5618 \begin_layout Standard
5624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5627 \begin_layout Standard
5633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5636 \begin_layout Standard
5642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5645 \begin_layout Standard
5651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5654 \begin_layout Standard
5661 <row topline="true">
5662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5665 \begin_layout Standard
5671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5674 \begin_layout Standard
5680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5683 \begin_layout Standard
5689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5692 \begin_layout Standard
5698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5701 \begin_layout Standard
5708 <row topline="true">
5709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5712 \begin_layout Standard
5718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5721 \begin_layout Standard
5727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5730 \begin_layout Standard
5736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5739 \begin_layout Standard
5745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5748 \begin_layout Standard
5755 <row topline="true">
5756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5759 \begin_layout Standard
5765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5768 \begin_layout Standard
5774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5777 \begin_layout Standard
5783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5786 \begin_layout Standard
5792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5795 \begin_layout Standard
5802 <row topline="true" bottomline="true">
5803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5806 \begin_layout Standard
5812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5815 \begin_layout Standard
5821 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5824 \begin_layout Standard
5830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5833 \begin_layout Standard
5839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5842 \begin_layout Standard
5856 \begin_layout Standard
5860 \begin_layout Standard
5872 \begin_inset Tabular
5873 <lyxtabular version="3" rows="6" columns="5">
5874 <features islongtable="true">
5875 <column alignment="center" valignment="top" leftline="true" width="0">
5876 <column alignment="center" valignment="top" leftline="true" width="0">
5877 <column alignment="center" valignment="top" leftline="true" width="0">
5878 <column alignment="center" valignment="top" leftline="true" width="0">
5879 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5884 \begin_layout Standard
5885 \begin_inset Caption
5887 \begin_layout Standard
5888 long full title with width set to 5\InsetSpace \thinspace{}
5889 cm long full title with width set to
5890 5\InsetSpace \thinspace{}
5891 cm long full title with width set to 5\InsetSpace \thinspace{}
5896 \begin_layout Standard
5897 caption with width\InsetSpace \thinspace{}
5898 =\InsetSpace \thinspace{}
5899 5\InsetSpace \thinspace{}
5914 \begin_layout Standard
5930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5933 \begin_layout Standard
5939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5942 \begin_layout Standard
5948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5951 \begin_layout Standard
5957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5960 \begin_layout Standard
5967 <row topline="true">
5968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5971 \begin_layout Standard
5977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5980 \begin_layout Standard
5986 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5989 \begin_layout Standard
5995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5998 \begin_layout Standard
6004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6007 \begin_layout Standard
6014 <row topline="true">
6015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6018 \begin_layout Standard
6024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6027 \begin_layout Standard
6033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6036 \begin_layout Standard
6042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6045 \begin_layout Standard
6051 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6054 \begin_layout Standard
6061 <row topline="true">
6062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6065 \begin_layout Standard
6071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6074 \begin_layout Standard
6080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6083 \begin_layout Standard
6089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6092 \begin_layout Standard
6098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6101 \begin_layout Standard
6108 <row topline="true">
6109 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6112 \begin_layout Standard
6118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6121 \begin_layout Standard
6127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6130 \begin_layout Standard
6136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6139 \begin_layout Standard
6145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6148 \begin_layout Standard
6155 <row topline="true" bottomline="true">
6156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6159 \begin_layout Standard
6165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6168 \begin_layout Standard
6174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6177 \begin_layout Standard
6183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6186 \begin_layout Standard
6192 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6195 \begin_layout Standard
6210 \begin_layout Standard
6224 \begin_layout Standard
6228 \begin_layout Subsubsection
6229 Different Captions for Table Pages
6230 \begin_inset LatexCommand index
6231 name "Longtables ! Different Captions for Pages"
6238 \begin_layout Standard
6239 When the other captions should differ from the one of the first table page,
6240 insert a caption with a non-empty short title in a dummy caption row marked
6242 The caption used for the other table pages is inserted as caption without
6243 a short title in a dummy caption row that is marked as main header.
6244 When this caption shouldn't include the table number, use the command
6247 \begin_layout Standard
6252 caption*{caption text}
6255 \begin_layout Standard
6256 instead of LyX's caption box.
6257 The label to reference the table is inserted into the caption of the first
6261 \begin_inset LatexCommand ref
6262 reference "tab:DiffCaptions"
6266 is an example for a longtable with different heading where the second caption
6267 doesn't include the table number.
6270 \begin_layout Standard
6272 \begin_inset Tabular
6273 <lyxtabular version="3" rows="60" columns="3">
6274 <features islongtable="true">
6275 <column alignment="left" valignment="top" leftline="true" width="0cm">
6276 <column alignment="left" valignment="top" rightline="true" width="0pt">
6277 <column alignment="right" valignment="top" rightline="true" width="0pt">
6278 <row endfirsthead="true">
6279 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6282 \begin_layout Standard
6283 \begin_inset Caption
6285 \begin_layout Standard
6287 \begin_inset LatexCommand label
6288 name "tab:DiffCaptions"
6296 \begin_layout Standard
6311 \begin_layout Standard
6327 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6330 \begin_layout Standard
6336 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6339 \begin_layout Standard
6346 <row topline="true" bottomline="true" endfirsthead="true">
6347 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6350 \begin_layout Standard
6353 Example Phone List (ignore the names)
6358 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6361 \begin_layout Standard
6367 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6370 \begin_layout Standard
6377 <row topline="true" bottomline="true" endfirsthead="true">
6378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6381 \begin_layout Standard
6389 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6392 \begin_layout Standard
6398 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6401 \begin_layout Standard
6410 <row bottomline="true" endhead="true">
6411 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6414 \begin_layout Standard
6418 \begin_layout Standard
6422 caption*{Continued Example Phone List}
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6439 \begin_layout Standard
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6448 \begin_layout Standard
6455 <row topline="true" bottomline="true" endhead="true">
6456 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6459 \begin_layout Standard
6467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6470 \begin_layout Standard
6476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6479 \begin_layout Standard
6486 <row topline="true" bottomline="true" endhead="true">
6487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6490 \begin_layout Standard
6498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6501 \begin_layout Standard
6507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6510 \begin_layout Standard
6519 <row topline="true" bottomline="true" endfoot="true">
6520 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6523 \begin_layout Standard
6524 continued on next page
6529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6532 \begin_layout Standard
6538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6541 \begin_layout Standard
6549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6552 \begin_layout Standard
6560 <cell alignment="center" valignment="top" topline="true" usebox="none">
6563 \begin_layout Standard
6569 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6572 \begin_layout Standard
6580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6583 \begin_layout Standard
6591 <cell alignment="center" valignment="top" topline="true" usebox="none">
6594 \begin_layout Standard
6600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6603 \begin_layout Standard
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6614 \begin_layout Standard
6622 <cell alignment="center" valignment="top" topline="true" usebox="none">
6625 \begin_layout Standard
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6634 \begin_layout Standard
6642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_layout Standard
6653 <cell alignment="center" valignment="top" topline="true" usebox="none">
6656 \begin_layout Standard
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6665 \begin_layout Standard
6673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6676 \begin_layout Standard
6684 <cell alignment="center" valignment="top" topline="true" usebox="none">
6687 \begin_layout Standard
6693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6696 \begin_layout Standard
6704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6707 \begin_layout Standard
6715 <cell alignment="center" valignment="top" topline="true" usebox="none">
6718 \begin_layout Standard
6724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6727 \begin_layout Standard
6735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6738 \begin_layout Standard
6746 <cell alignment="center" valignment="top" topline="true" usebox="none">
6749 \begin_layout Standard
6755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6758 \begin_layout Standard
6766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6769 \begin_layout Standard
6777 <cell alignment="center" valignment="top" topline="true" usebox="none">
6780 \begin_layout Standard
6786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6789 \begin_layout Standard
6797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6800 \begin_layout Standard
6808 <cell alignment="center" valignment="top" topline="true" usebox="none">
6811 \begin_layout Standard
6817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6820 \begin_layout Standard
6828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6831 \begin_layout Standard
6839 <cell alignment="center" valignment="top" topline="true" usebox="none">
6842 \begin_layout Standard
6848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6851 \begin_layout Standard
6859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6862 \begin_layout Standard
6870 <cell alignment="center" valignment="top" topline="true" usebox="none">
6873 \begin_layout Standard
6879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6882 \begin_layout Standard
6890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6893 \begin_layout Standard
6901 <cell alignment="center" valignment="top" topline="true" usebox="none">
6904 \begin_layout Standard
6910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6913 \begin_layout Standard
6921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6924 \begin_layout Standard
6932 <cell alignment="center" valignment="top" topline="true" usebox="none">
6935 \begin_layout Standard
6941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6944 \begin_layout Standard
6952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6955 \begin_layout Standard
6963 <cell alignment="center" valignment="top" topline="true" usebox="none">
6966 \begin_layout Standard
6972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6975 \begin_layout Standard
6983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6986 \begin_layout Standard
6995 \begin_layout Standard
7006 <cell alignment="center" valignment="top" topline="true" usebox="none">
7009 \begin_layout Standard
7015 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7018 \begin_layout Standard
7026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7029 \begin_layout Standard
7037 <cell alignment="center" valignment="top" topline="true" usebox="none">
7040 \begin_layout Standard
7046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7049 \begin_layout Standard
7057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7060 \begin_layout Standard
7068 <cell alignment="center" valignment="top" topline="true" usebox="none">
7071 \begin_layout Standard
7077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7080 \begin_layout Standard
7088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7091 \begin_layout Standard
7099 <cell alignment="center" valignment="top" topline="true" usebox="none">
7102 \begin_layout Standard
7108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7111 \begin_layout Standard
7119 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7122 \begin_layout Standard
7130 <cell alignment="center" valignment="top" topline="true" usebox="none">
7133 \begin_layout Standard
7139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7142 \begin_layout Standard
7150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7153 \begin_layout Standard
7161 <cell alignment="center" valignment="top" topline="true" usebox="none">
7164 \begin_layout Standard
7170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7173 \begin_layout Standard
7181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7184 \begin_layout Standard
7192 <cell alignment="center" valignment="top" topline="true" usebox="none">
7195 \begin_layout Standard
7201 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7204 \begin_layout Standard
7212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7215 \begin_layout Standard
7223 <cell alignment="center" valignment="top" topline="true" usebox="none">
7226 \begin_layout Standard
7232 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7235 \begin_layout Standard
7243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7246 \begin_layout Standard
7254 <cell alignment="center" valignment="top" topline="true" usebox="none">
7257 \begin_layout Standard
7263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7266 \begin_layout Standard
7274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7277 \begin_layout Standard
7285 <cell alignment="center" valignment="top" topline="true" usebox="none">
7288 \begin_layout Standard
7294 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7297 \begin_layout Standard
7305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7308 \begin_layout Standard
7316 <cell alignment="center" valignment="top" topline="true" usebox="none">
7319 \begin_layout Standard
7325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7328 \begin_layout Standard
7336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7339 \begin_layout Standard
7347 <cell alignment="center" valignment="top" topline="true" usebox="none">
7350 \begin_layout Standard
7356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7359 \begin_layout Standard
7367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7370 \begin_layout Standard
7378 <cell alignment="center" valignment="top" topline="true" usebox="none">
7381 \begin_layout Standard
7387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7390 \begin_layout Standard
7398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7401 \begin_layout Standard
7409 <cell alignment="center" valignment="top" topline="true" usebox="none">
7412 \begin_layout Standard
7418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7421 \begin_layout Standard
7429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7432 \begin_layout Standard
7440 <cell alignment="center" valignment="top" topline="true" usebox="none">
7443 \begin_layout Standard
7449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7452 \begin_layout Standard
7460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7463 \begin_layout Standard
7471 <cell alignment="center" valignment="top" topline="true" usebox="none">
7474 \begin_layout Standard
7480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7483 \begin_layout Standard
7490 <row bottomline="true">
7491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7494 \begin_layout Standard
7502 <cell alignment="center" valignment="top" topline="true" usebox="none">
7505 \begin_layout Standard
7511 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7514 \begin_layout Standard
7521 <row bottomline="true">
7522 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7525 \begin_layout Standard
7531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7534 \begin_layout Standard
7540 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7543 \begin_layout Standard
7551 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7554 \begin_layout Standard
7562 <cell alignment="center" valignment="top" topline="true" usebox="none">
7565 \begin_layout Standard
7571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7574 \begin_layout Standard
7582 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7585 \begin_layout Standard
7593 <cell alignment="center" valignment="top" topline="true" usebox="none">
7596 \begin_layout Standard
7602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7605 \begin_layout Standard
7613 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7616 \begin_layout Standard
7624 <cell alignment="center" valignment="top" topline="true" usebox="none">
7627 \begin_layout Standard
7633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7636 \begin_layout Standard
7644 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7647 \begin_layout Standard
7655 <cell alignment="center" valignment="top" topline="true" usebox="none">
7658 \begin_layout Standard
7664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7667 \begin_layout Standard
7675 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7678 \begin_layout Standard
7686 <cell alignment="center" valignment="top" topline="true" usebox="none">
7689 \begin_layout Standard
7695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7698 \begin_layout Standard
7706 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7709 \begin_layout Standard
7717 <cell alignment="center" valignment="top" topline="true" usebox="none">
7720 \begin_layout Standard
7726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7729 \begin_layout Standard
7737 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7740 \begin_layout Standard
7748 <cell alignment="center" valignment="top" topline="true" usebox="none">
7751 \begin_layout Standard
7757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7760 \begin_layout Standard
7768 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7771 \begin_layout Standard
7779 <cell alignment="center" valignment="top" topline="true" usebox="none">
7782 \begin_layout Standard
7788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7791 \begin_layout Standard
7799 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7802 \begin_layout Standard
7810 <cell alignment="center" valignment="top" topline="true" usebox="none">
7813 \begin_layout Standard
7819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7822 \begin_layout Standard
7830 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7833 \begin_layout Standard
7841 <cell alignment="center" valignment="top" topline="true" usebox="none">
7844 \begin_layout Standard
7850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7853 \begin_layout Standard
7861 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7864 \begin_layout Standard
7872 <cell alignment="center" valignment="top" topline="true" usebox="none">
7875 \begin_layout Standard
7881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7884 \begin_layout Standard
7892 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7895 \begin_layout Standard
7903 <cell alignment="center" valignment="top" topline="true" usebox="none">
7906 \begin_layout Standard
7912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7915 \begin_layout Standard
7923 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7926 \begin_layout Standard
7934 <cell alignment="center" valignment="top" topline="true" usebox="none">
7937 \begin_layout Standard
7943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7946 \begin_layout Standard
7954 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7957 \begin_layout Standard
7965 <cell alignment="center" valignment="top" topline="true" usebox="none">
7968 \begin_layout Standard
7974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7977 \begin_layout Standard
7985 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7988 \begin_layout Standard
7996 <cell alignment="center" valignment="top" topline="true" usebox="none">
7999 \begin_layout Standard
8005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8008 \begin_layout Standard
8016 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8019 \begin_layout Standard
8027 <cell alignment="center" valignment="top" topline="true" usebox="none">
8030 \begin_layout Standard
8036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8039 \begin_layout Standard
8047 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8050 \begin_layout Standard
8058 <cell alignment="center" valignment="top" topline="true" usebox="none">
8061 \begin_layout Standard
8067 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8070 \begin_layout Standard
8078 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8081 \begin_layout Standard
8089 <cell alignment="center" valignment="top" topline="true" usebox="none">
8092 \begin_layout Standard
8098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8101 \begin_layout Standard
8109 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8112 \begin_layout Standard
8120 <cell alignment="center" valignment="top" topline="true" usebox="none">
8123 \begin_layout Standard
8129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8132 \begin_layout Standard
8139 <row bottomline="true">
8140 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8143 \begin_layout Standard
8151 <cell alignment="center" valignment="top" topline="true" usebox="none">
8154 \begin_layout Standard
8160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8163 \begin_layout Standard
8170 <row bottomline="true" endlastfoot="true">
8171 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8174 \begin_layout Standard
8180 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8183 \begin_layout Standard
8189 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8192 \begin_layout Standard
8206 \begin_layout Section
8207 Special Longtable Issues
8208 \begin_inset LatexCommand label
8209 name "sec:Special-Longtable-Issues"
8216 \begin_layout Subsection
8217 Longtable Calculation
8218 \begin_inset LatexCommand index
8219 name "Longtables ! Calculation"
8226 \begin_layout Standard
8227 LaTeX calculates the height of table pages and their page breaks using so
8229 Chunks are pieces of the tables that are at once in LaTeX's memory.
8230 The default value is historically set to only 20 table rows.
8231 If you are using longtables with many pages this may slow down the creation
8233 You can safely increase the chunk size to values of 100-1000 by adding
8234 this command line to your document preamble:
8237 \begin_layout Standard
8242 setcounter{LTchunksize}{100}
8245 \begin_layout Subsection
8246 Floats and Longtables
8247 \begin_inset LatexCommand index
8248 name "Longtables ! Floats"
8255 \begin_layout Standard
8256 There might be problems when a float appears on the same page where a longtable
8258 To avoid such situation, add the command
8264 as ERT before your longtable.
8267 \begin_layout Subsection
8269 \begin_inset LatexCommand index
8270 name "Longtables ! Forced Page Breaks"
8277 \begin_layout Standard
8278 By default tables are only broken between rows.
8279 If you have a cell with multiples lines and want to have a page break within
8280 the cell, insert the new line command
8281 \begin_inset Quotes eld
8293 \begin_inset Quotes erd
8296 as ERT at this point of the cell where it should be broken.
8305 command you have to insert in ERT so many
8306 \begin_inset Quotes eld
8314 \begin_inset Quotes erd
8317 characters like the number of the following table columns.
8322 is the character to separate table cells.
8323 Write in ERT after each
8327 the content of the corresponding following cell and delete the content
8338 command, insert so many
8342 characters like the number of table columns before the current column.
8343 In Table\InsetSpace ~
8345 \begin_inset LatexCommand ref
8346 reference "tab:ForcedPagebreak"
8350 the cell that should be broken is in the second column followed by another
8352 Therefore the following command was inserted in the cell as ERT behind
8354 \begin_inset Quotes eld
8362 \begin_inset Quotes erd
8368 \begin_layout Standard
8380 \begin_layout Standard
8382 \begin_inset Quotes eld
8386 \begin_inset Quotes erd
8389 in the third columns of the row was deleted.
8390 If your footer row of the longtable has for a certain reason no upper line
8391 but you would have a horizontal line where the cell is broken, use this
8395 \begin_layout Standard
8409 \begin_layout Standard
8410 When the cell to be broken is in the last column, the command
8413 \begin_layout Standard
8420 parf\SpecialChar \textcompwordmark{}
8424 \begin_layout Standard
8425 must be inserted as ERT at the beginning of the cell.
8426 This assures that the part of the cell that will be displayed on the new
8427 page appears with the full width.
8431 \begin_layout Standard
8433 \begin_inset Tabular
8434 <lyxtabular version="3" rows="39" columns="3">
8435 <features islongtable="true">
8436 <column alignment="left" valignment="top" leftline="true" width="0cm">
8437 <column alignment="left" valignment="top" rightline="true" width="3cm">
8438 <column alignment="right" valignment="top" rightline="true" width="0pt">
8439 <row endfirsthead="true">
8440 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8443 \begin_layout Standard
8444 \begin_inset Caption
8446 \begin_layout Standard
8447 Table with forced page break in table cell
8448 \begin_inset LatexCommand label
8449 name "tab:ForcedPagebreak"
8457 \begin_layout Standard
8458 Table with forced page break in table cell
8472 \begin_layout Standard
8488 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8491 \begin_layout Standard
8497 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8500 \begin_layout Standard
8507 <row topline="true" bottomline="true" endfirsthead="true">
8508 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8511 \begin_layout Standard
8514 Example Phone List (ignore the names)
8519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8522 \begin_layout Standard
8528 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8531 \begin_layout Standard
8538 <row topline="true" bottomline="true" endfirsthead="true">
8539 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8542 \begin_layout Standard
8550 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8553 \begin_layout Standard
8559 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8562 \begin_layout Standard
8571 <row bottomline="true" endhead="true">
8572 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8575 \begin_layout Standard
8579 \begin_layout Standard
8583 caption*{Continued table with forced page break in table cell}
8597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8600 \begin_layout Standard
8606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8609 \begin_layout Standard
8616 <row topline="true" bottomline="true" endhead="true">
8617 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8620 \begin_layout Standard
8628 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8631 \begin_layout Standard
8637 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8640 \begin_layout Standard
8647 <row topline="true" bottomline="true" endhead="true">
8648 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8651 \begin_layout Standard
8659 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8662 \begin_layout Standard
8668 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8671 \begin_layout Standard
8680 <row topline="true" bottomline="true" endfoot="true">
8681 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8684 \begin_layout Standard
8685 continued on next page
8690 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8693 \begin_layout Standard
8699 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8702 \begin_layout Standard
8710 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8713 \begin_layout Standard
8721 <cell alignment="center" valignment="top" topline="true" usebox="none">
8724 \begin_layout Standard
8730 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8733 \begin_layout Standard
8741 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8744 \begin_layout Standard
8752 <cell alignment="center" valignment="top" topline="true" usebox="none">
8755 \begin_layout Standard
8761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8764 \begin_layout Standard
8772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8775 \begin_layout Standard
8783 <cell alignment="center" valignment="top" topline="true" usebox="none">
8786 \begin_layout Standard
8792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8795 \begin_layout Standard
8803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8806 \begin_layout Standard
8814 <cell alignment="center" valignment="top" topline="true" usebox="none">
8817 \begin_layout Standard
8823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8826 \begin_layout Standard
8834 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8837 \begin_layout Standard
8845 <cell alignment="center" valignment="top" topline="true" usebox="none">
8848 \begin_layout Standard
8854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8857 \begin_layout Standard
8865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8868 \begin_layout Standard
8876 <cell alignment="center" valignment="top" topline="true" usebox="none">
8879 \begin_layout Standard
8885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8888 \begin_layout Standard
8896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8899 \begin_layout Standard
8907 <cell alignment="center" valignment="top" topline="true" usebox="none">
8910 \begin_layout Standard
8916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8919 \begin_layout Standard
8927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8930 \begin_layout Standard
8938 <cell alignment="center" valignment="top" topline="true" usebox="none">
8941 \begin_layout Standard
8947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8950 \begin_layout Standard
8958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8961 \begin_layout Standard
8969 <cell alignment="center" valignment="top" topline="true" usebox="none">
8972 \begin_layout Standard
8978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8981 \begin_layout Standard
8989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8992 \begin_layout Standard
9000 <cell alignment="center" valignment="top" topline="true" usebox="none">
9003 \begin_layout Standard
9009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9012 \begin_layout Standard
9020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9023 \begin_layout Standard
9031 <cell alignment="center" valignment="top" topline="true" usebox="none">
9034 \begin_layout Standard
9040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9043 \begin_layout Standard
9051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9054 \begin_layout Standard
9062 <cell alignment="center" valignment="top" topline="true" usebox="none">
9065 \begin_layout Standard
9071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9074 \begin_layout Standard
9082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9085 \begin_layout Standard
9093 <cell alignment="center" valignment="top" topline="true" usebox="none">
9096 \begin_layout Standard
9102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9105 \begin_layout Standard
9113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9116 \begin_layout Standard
9124 <cell alignment="center" valignment="top" topline="true" usebox="none">
9127 \begin_layout Standard
9133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9136 \begin_layout Standard
9144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9147 \begin_layout Standard
9155 <cell alignment="center" valignment="top" topline="true" usebox="none">
9158 \begin_layout Standard
9164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9167 \begin_layout Standard
9175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9178 \begin_layout Standard
9186 <cell alignment="center" valignment="top" topline="true" usebox="none">
9189 \begin_layout Standard
9195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9198 \begin_layout Standard
9206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9209 \begin_layout Standard
9217 <cell alignment="center" valignment="top" topline="true" usebox="none">
9220 \begin_layout Standard
9226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9229 \begin_layout Standard
9237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9240 \begin_layout Standard
9248 <cell alignment="center" valignment="top" topline="true" usebox="none">
9251 \begin_layout Standard
9257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9260 \begin_layout Standard
9268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9271 \begin_layout Standard
9279 <cell alignment="center" valignment="top" topline="true" usebox="none">
9282 \begin_layout Standard
9288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9291 \begin_layout Standard
9299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9302 \begin_layout Standard
9310 <cell alignment="center" valignment="top" topline="true" usebox="none">
9313 \begin_layout Standard
9319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9322 \begin_layout Standard
9330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9333 \begin_layout Standard
9341 <cell alignment="center" valignment="top" topline="true" usebox="none">
9344 \begin_layout Standard
9350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9353 \begin_layout Standard
9361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9364 \begin_layout Standard
9372 <cell alignment="center" valignment="top" topline="true" usebox="none">
9375 \begin_layout Standard
9381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9384 \begin_layout Standard
9392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9395 \begin_layout Standard
9403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9406 \begin_layout Standard
9408 Fürst von Montecompatri, 11.
9409 Fürst von Sulmona und Vivaro, 10.
9410 Fürst von Rossano, 5.
9411 Herzog von Canemorte, 11.
9412 Herzog von Palombara, 5.
9413 Herzog von Castelchiodato,
9417 \begin_layout Standard
9426 \begin_layout Standard
9434 Herzog von Poggionativo, 11.
9435 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9436 Graf von Valinfreda, 11.
9437 Baron von Cropalati, 11.
9438 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9446 \begin_layout Standard
9454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9457 \begin_layout Standard
9465 <cell alignment="center" valignment="top" topline="true" usebox="none">
9468 \begin_layout Standard
9474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9477 \begin_layout Standard
9485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9488 \begin_layout Standard
9496 <cell alignment="center" valignment="top" topline="true" usebox="none">
9499 \begin_layout Standard
9505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9508 \begin_layout Standard
9516 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9519 \begin_layout Standard
9527 <cell alignment="center" valignment="top" topline="true" usebox="none">
9530 \begin_layout Standard
9536 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9539 \begin_layout Standard
9547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9550 \begin_layout Standard
9558 <cell alignment="center" valignment="top" topline="true" usebox="none">
9561 \begin_layout Standard
9567 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9570 \begin_layout Standard
9578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9581 \begin_layout Standard
9589 <cell alignment="center" valignment="top" topline="true" usebox="none">
9592 \begin_layout Standard
9598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9601 \begin_layout Standard
9609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9612 \begin_layout Standard
9620 <cell alignment="center" valignment="top" topline="true" usebox="none">
9623 \begin_layout Standard
9629 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9632 \begin_layout Standard
9640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9643 \begin_layout Standard
9651 <cell alignment="center" valignment="top" topline="true" usebox="none">
9654 \begin_layout Standard
9660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9663 \begin_layout Standard
9670 <row bottomline="true">
9671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9674 \begin_layout Standard
9682 <cell alignment="center" valignment="top" topline="true" usebox="none">
9685 \begin_layout Standard
9691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9694 \begin_layout Standard
9701 <row endlastfoot="true">
9702 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9705 \begin_layout Standard
9711 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9714 \begin_layout Standard
9720 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9723 \begin_layout Standard
9737 \begin_layout Section
9738 Multiple Lines Columns and Rows
9741 \begin_layout Subsection
9742 Multiple Lines in Table Cells
9743 \begin_inset LatexCommand label
9744 name "sub:Multiple-Lines-in"
9749 \begin_inset LatexCommand index
9750 name "Multiple Lines in Table Cells"
9755 \begin_inset LatexCommand index
9756 name "Table ! Linebreaks"
9763 \begin_layout Standard
9765 \begin_inset Float table
9771 \begin_layout Standard
9772 \begin_inset Caption
9774 \begin_layout Standard
9775 \begin_inset LatexCommand label
9776 name "tab:Table-with-multiple"
9780 Table with multiple lines in cells
9788 \begin_layout Standard
9790 \begin_inset Tabular
9791 <lyxtabular version="3" rows="3" columns="3">
9793 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9794 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9795 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9796 <row topline="true">
9797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9800 \begin_layout Standard
9805 \begin_layout Standard
9819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9822 \begin_layout Standard
9828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9831 \begin_layout Standard
9838 <row topline="true">
9839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9842 \begin_layout Standard
9848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9851 \begin_layout Standard
9857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9860 \begin_layout Standard
9867 <row topline="true" bottomline="true">
9868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9871 \begin_layout Standard
9877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9880 \begin_layout Standard
9886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9889 \begin_layout Standard
9908 \begin_layout Standard
9909 Adjusting a fixed width for a column, enables to enter text as a paragraph
9910 with multiple lines and hyphenations.
9913 \begin_layout Standard
9914 To produce Table\InsetSpace ~
9916 \begin_inset LatexCommand ref
9917 reference "tab:Table-with-multiple"
9921 , create a 3×3 table, mark the first cell and right-click on it.
9922 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9923 cm and choose centered
9924 for the vertical and horizontal alignment.
9925 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9926 cm, only one line will appear.
9927 To get two lines, we add a line break with the command
9930 \begin_layout Standard
9938 \begin_layout Standard
9940 If the text is wider than the set cell width it will automatically be broken
9944 \begin_layout Standard
9945 To center the text inside the two other cells of the first row vertically,
9946 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9948 centered alignments.
9949 Then do the same for the third cell of the row.
9952 \begin_layout Standard
9953 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9954 by LaTeX if it is the first entry.
9955 Therefore you need to insert something, to make the word not being the
9956 first entry: Add the command
9959 \begin_layout Standard
9967 \begin_layout Standard
9968 in ERT before the word.
9969 As the space is zero, it doesn't change the output.
9972 \begin_inset LatexCommand ref
9973 reference "tab:Table-with-and"
9980 \begin_layout Standard
9981 \begin_inset Float table
9986 \begin_layout Standard
9987 \begin_inset Caption
9989 \begin_layout Standard
9990 \begin_inset LatexCommand label
9991 name "tab:Table-with-and"
9995 Table with and without hyphenation
10003 \begin_layout Standard
10007 \begin_inset Tabular
10008 <lyxtabular version="3" rows="3" columns="3">
10010 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10011 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10012 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10013 <row topline="true">
10014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10017 \begin_layout Standard
10018 verylongtablecellword
10023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10026 \begin_layout Standard
10032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10035 \begin_layout Standard
10042 <row topline="true">
10043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10046 \begin_layout Standard
10052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10055 \begin_layout Standard
10061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10064 \begin_layout Standard
10071 <row topline="true" bottomline="true">
10072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10075 \begin_layout Standard
10081 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10084 \begin_layout Standard
10090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10093 \begin_layout Standard
10107 \begin_inset Tabular
10108 <lyxtabular version="3" rows="3" columns="3">
10110 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10111 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10112 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10113 <row topline="true">
10114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10117 \begin_layout Standard
10121 \begin_layout Standard
10130 verylongtablecellword
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10138 \begin_layout Standard
10144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10147 \begin_layout Standard
10154 <row topline="true">
10155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10158 \begin_layout Standard
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10167 \begin_layout Standard
10173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10176 \begin_layout Standard
10183 <row topline="true" bottomline="true">
10184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10187 \begin_layout Standard
10193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10196 \begin_layout Standard
10202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10205 \begin_layout Standard
10226 \begin_layout Standard
10232 \begin_layout Subsection
10234 \begin_inset LatexCommand label
10235 name "sub:Multicolumns"
10240 \begin_inset LatexCommand index
10241 name "Multicolumns"
10246 \begin_inset LatexCommand index
10247 name "Table ! Multicolumns"
10254 \begin_layout Subsubsection
10258 \begin_layout Standard
10259 To span a cell over multiple columns, mark as much cells within a line that
10260 should be one spanned cell and use either the table-toolbar button
10261 \begin_inset Graphics
10262 filename ../images/tabular-feature_multicolumn.xpm
10269 Edit\SpecialChar \menuseparator
10270 Table\SpecialChar \menuseparator
10273 , or right click on the marked cells and choose multicolumn in the appearing
10274 table dialog under the tab
10281 \begin_layout Standard
10282 Multicolumns have there own cell settings.
10283 That means changing cell borders, cell alignment, and the width only affects
10285 Here is an example table with a multicolumn cell in the first row and one
10286 in the last row without the upper border:
10289 \begin_layout Standard
10291 \begin_inset Tabular
10292 <lyxtabular version="3" rows="3" columns="4">
10293 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10294 <column alignment="center" valignment="top" leftline="true" width="0pt">
10295 <column alignment="center" valignment="middle" leftline="true" width="0">
10296 <column alignment="center" valignment="top" leftline="true" width="0in">
10297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10298 <row topline="true" bottomline="true">
10299 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10302 \begin_layout Standard
10308 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10311 \begin_layout Standard
10321 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10324 \begin_layout Standard
10330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10333 \begin_layout Standard
10340 <row topline="true">
10341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10344 \begin_layout Standard
10359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10362 \begin_layout Standard
10368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10371 \begin_layout Standard
10377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10380 \begin_layout Standard
10387 <row topline="true" bottomline="true">
10388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10391 \begin_layout Standard
10397 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10400 \begin_layout Standard
10406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10409 \begin_layout Standard
10415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10418 \begin_layout Standard
10432 \begin_layout Subsubsection
10433 Multicolumn Calculations
10434 \begin_inset LatexCommand label
10435 name "sub:Multicolumn-Calculations"
10440 \begin_inset LatexCommand index
10441 name "Multicolumns ! Calculations"
10448 \begin_layout Standard
10449 LyX supports multicolumns directly, but we have to take notice of the cell
10450 width of the columns spanned by the multicolumn cell.
10453 \begin_layout Standard
10454 \begin_inset Float table
10459 \begin_layout Standard
10460 \begin_inset Caption
10462 \begin_layout Standard
10463 \begin_inset LatexCommand label
10464 name "tab:Table-with-centered"
10468 Table with centered multicolumn text above two columns that have exactly
10469 half the width of the multicolumn cell
10470 \begin_inset OptArg
10473 \begin_layout Standard
10474 Perfect multicolumn table
10487 \begin_layout Standard
10489 \begin_inset Tabular
10490 <lyxtabular version="3" rows="3" columns="3">
10492 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10493 <column alignment="center" valignment="middle" leftline="true" width="0">
10494 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10495 <row topline="true">
10496 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10499 \begin_layout Standard
10500 multiple lines multicolumn
10505 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10508 \begin_layout Standard
10514 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10517 \begin_layout Standard
10524 <row topline="true">
10525 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10528 \begin_layout Standard
10534 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10537 \begin_layout Standard
10543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10546 \begin_layout Standard
10553 <row topline="true" bottomline="true">
10554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10557 \begin_layout Standard
10563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10566 \begin_layout Standard
10572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10575 \begin_layout Standard
10594 \begin_layout Standard
10595 To create for example Table\InsetSpace ~
10597 \begin_inset LatexCommand ref
10598 reference "tab:Table-with-centered"
10602 , mark the first two cells in the first row a 3×3 table and right-click
10604 Now choose for this cell
10612 and a width of 2.5\InsetSpace \thinspace{}
10613 cm in the table dialog.
10614 The spanned columns should have exactly half the width of the multicolumn
10615 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10616 cm for the first column.
10617 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10619 width - width of first column).
10620 This was done for Table\InsetSpace ~
10622 \begin_inset LatexCommand ref
10623 reference "tab:Table-without-half"
10630 \begin_layout Standard
10631 \begin_inset Float table
10636 \begin_layout Standard
10637 \begin_inset Caption
10639 \begin_layout Standard
10640 \begin_inset LatexCommand label
10641 name "tab:Table-without-half"
10645 Table where the spanned table columns have not exactly half the width of
10646 the multicolumn cell
10647 \begin_inset OptArg
10650 \begin_layout Standard
10651 Imperfect multicolumn table
10664 \begin_layout Standard
10666 \begin_inset Tabular
10667 <lyxtabular version="3" rows="3" columns="3">
10669 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10670 <column alignment="center" valignment="top" leftline="true" width="0">
10671 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10672 <row topline="true" bottomline="true">
10673 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10676 \begin_layout Standard
10677 multiple lines multicolumn
10682 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10685 \begin_layout Standard
10691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10694 \begin_layout Standard
10701 <row topline="true">
10702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10705 \begin_layout Standard
10711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10714 \begin_layout Standard
10720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10723 \begin_layout Standard
10730 <row topline="true" bottomline="true">
10731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10734 \begin_layout Standard
10740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10743 \begin_layout Standard
10749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10752 \begin_layout Standard
10771 \begin_layout Standard
10772 You can see that the first column has not the half width of the multicolumn
10773 cell, it is a bit bigger.
10774 The reason is that the given width of a cell
10775 \begin_inset Formula $W_{g}$
10778 is not its total width
10779 \begin_inset Formula $W_{\mathrm{tot}}$
10782 because a cell is always a bit larger than its given width.
10783 Appendix\InsetSpace ~
10785 \begin_inset LatexCommand eqref
10786 reference "cha:Explanation-of-Equation"
10790 explains it in detail.
10793 \begin_layout Standard
10794 The needed given width
10795 \begin_inset Formula $W_{g\, n}$
10802 columns are spanned columns can be calculated, so that each column has
10804 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10808 \begin_inset Formula \begin{equation}
10809 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10816 \begin_layout Standard
10817 In our case we have
10818 \begin_inset Formula $n=2$
10822 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10825 cm and the default values for the lengths, so that equation
10826 \begin_inset LatexCommand ref
10832 \begin_inset Formula \begin{equation}
10833 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10840 \begin_layout Standard
10841 To enable calculations in LaTeX, the LaTeX-package
10845 must be loaded with the document preamble line
10846 \begin_inset LatexCommand index
10847 name "LaTeX-packages ! calc"
10854 \begin_layout Standard
10862 \begin_layout Standard
10863 LyX does not allow to calculate lengths in the width-field of the table
10865 Therefore you have to format the column by inserting a LaTeX-argument in
10867 Here is an overview about the arguments:
10870 \begin_layout Itemize
10875 creates cell with a fixed width, its text is vertically top-aligned
10878 \begin_layout Itemize
10883 creates cell with a fixed width, its text is vertically centered
10886 \begin_layout Itemize
10891 creates cell with a fixed width, its text is vertically bottom-aligned
10894 \begin_layout Standard
10895 By entering a LaTeX-argument, all cell properties set in the table dialog
10898 \begin_inset Note Greyedout
10901 \begin_layout Standard
10906 Due to a bug, LyX shows the overwritten properties anyway.
10911 As the text should be horizontally centered, the command
10918 You can now enter the following LaTeX-argument for the first spanned column:
10921 \begin_layout Standard
10926 centering}m{1.25cm-6.2pt}
10929 \begin_layout Standard
10931 \begin_inset Quotes eld
10939 \begin_inset Quotes erd
10942 at the beginning draws the border line and the command
10946 means, that the commands inside the braces are applied before the cell
10950 \begin_layout Standard
10951 Although we have chosen centered alignment for the text of the multicolumn
10952 cell, it is still left aligned.
10953 This is because LyX only applies the alignment to single columns.
10954 So we have to use for the multicolumn the LaTeX-argument
10957 \begin_layout Standard
10962 centering}m{2.5cm}|
10965 \begin_layout Subsection
10967 \begin_inset LatexCommand index
10973 \begin_inset LatexCommand index
10974 name "Table ! Multirows"
10979 \begin_inset LatexCommand index
10980 name "LaTeX-packages ! multirow"
10987 \begin_layout Standard
10988 In contrary to multicolumns multirows are not yet supported by LyX so a
10989 bit of ERT needs to be used.
10990 To use multirows load the LaTeX-package
10994 in your document preamble with the command
10997 \begin_layout Standard
11002 usepackage{multirow}
11005 \begin_layout Standard
11006 Multirows are created with the command
11009 \begin_layout Standard
11014 multirow{number of rows}{cell width}{cell entry}
11017 \begin_layout Standard
11018 To create the following table:
11021 \begin_layout Standard
11026 \begin_layout Standard
11040 \begin_inset Tabular
11041 <lyxtabular version="3" rows="3" columns="3">
11043 <column alignment="center" valignment="top" leftline="true" width="0">
11044 <column alignment="center" valignment="top" leftline="true" width="0">
11045 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11046 <row topline="true">
11047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11050 \begin_layout Standard
11056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11059 \begin_layout Standard
11065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11068 \begin_layout Standard
11075 <row topline="true">
11076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11079 \begin_layout Standard
11083 \begin_layout Standard
11087 multirow{2}{2.5cm}{
11096 \begin_layout Standard
11108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11111 \begin_layout Standard
11117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11120 \begin_layout Standard
11127 <row topline="true" bottomline="true">
11128 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11131 \begin_layout Standard
11137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11140 \begin_layout Standard
11146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11149 \begin_layout Standard
11164 \begin_layout Standard
11180 \begin_layout Standard
11181 create a 3×3 table.
11182 To get rid of the line above the last cell in the first column, the cell
11183 is marked as multicolumn and the upper border is unset.
11184 The multirow is now created in the second row of the first column by inserting
11188 \begin_layout Standard
11193 multirow{2}{2.5cm}{
11196 \begin_layout Standard
11198 According to the command parameters the multirow spans now two rows and
11199 has a width of 2.5\InsetSpace \thinspace{}
11201 The content of the multirow cell follows outside the ERT box and the command
11202 is finished with a right brace
11206 in another ERT-box behind the text.
11209 \begin_layout Standard
11216 left-aligns its content by default.
11217 To override the default, renew the command
11226 \begin_layout Standard
11238 \begin_layout Standard
11239 in ERT in the document preamble.
11240 Then all entries of multirow cells in the document are centered.
11241 If centering is only needed for several tables, you can renew the command
11242 in an ERT box just before the table instead of the preamble.
11243 If the text should be right-aligned, replace
11256 To return to left-alignment
11265 \begin_layout Section
11267 \begin_inset LatexCommand label
11268 name "sec:Formal-Tables"
11273 \begin_inset LatexCommand index
11274 name "Table ! Formal"
11281 \begin_layout Standard
11282 Tables are often typeset in books similar to Table\InsetSpace ~
11284 \begin_inset LatexCommand ref
11285 reference "tab:Example-booktabs-table"
11290 This kind of tables is called
11291 \begin_inset Quotes eld
11299 \begin_inset Quotes erd
11303 To make a table a formal table use the option
11311 tab of the table dialog.
11314 \begin_layout Standard
11315 \begin_inset Float table
11321 \begin_layout Standard
11322 \begin_inset Caption
11324 \begin_layout Standard
11325 \begin_inset LatexCommand label
11326 name "tab:Example-booktabs-table"
11330 Example booktabs-table
11338 \begin_layout Standard
11340 \begin_inset Tabular
11341 <lyxtabular version="3" rows="8" columns="4">
11342 <features booktabs="true">
11343 <column alignment="center" valignment="top" rightline="true" width="0">
11344 <column alignment="center" valignment="top" width="0">
11345 <column alignment="center" valignment="top" width="0">
11346 <column alignment="center" valignment="top" width="0">
11347 <row topline="true">
11348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11351 \begin_layout Standard
11357 <cell alignment="center" valignment="top" topline="true" usebox="none">
11360 \begin_layout Standard
11362 \begin_inset Formula $\,$
11370 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11373 \begin_layout Standard
11375 \begin_inset Formula $\,$
11383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11386 \begin_layout Standard
11394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11397 \begin_layout Standard
11401 \begin_layout Standard
11414 \begin_layout Standard
11423 Detector thickness [µm]
11428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11431 \begin_layout Standard
11437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11440 \begin_layout Standard
11446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11449 \begin_layout Standard
11456 <row topline="true">
11457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11460 \begin_layout Standard
11466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11469 \begin_layout Standard
11475 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11478 \begin_layout Standard
11484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11487 \begin_layout Standard
11494 <row topspace="default">
11495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11498 \begin_layout Standard
11499 Spatial resolution [µm]
11504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11507 \begin_layout Standard
11513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11516 \begin_layout Standard
11522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11525 \begin_layout Standard
11532 <row topspace="default">
11533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11536 \begin_layout Standard
11538 \begin_inset Formula $f_{\mathrm{max}}$
11546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11549 \begin_layout Standard
11555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11558 \begin_layout Standard
11564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11567 \begin_layout Standard
11574 <row topspace="default">
11575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11578 \begin_layout Standard
11582 \begin_layout Standard
11586 cmidrule(l{10pt}){1-1}
11591 LSF-spatial resolution
11596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11599 \begin_layout Standard
11605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11608 \begin_layout Standard
11614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11617 \begin_layout Standard
11625 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11628 \begin_layout Standard
11634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11637 \begin_layout Standard
11643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11646 \begin_layout Standard
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11655 \begin_layout Standard
11662 <row bottomline="true">
11663 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11666 \begin_layout Standard
11672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11675 \begin_layout Standard
11681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11684 \begin_layout Standard
11690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11693 \begin_layout Standard
11712 \begin_layout Standard
11713 Spaces to table rows can be added using the
11717 tab of the table dialog as described in section\InsetSpace ~
11719 \begin_inset LatexCommand ref
11720 reference "sub:Row-Spacing"
11727 \begin_layout Standard
11728 In contrary to normal tables, formal tables have no vertical table lines.
11729 The horizontal table lines can be set like for normal tables but they appear
11730 with different width in the output:
11732 The first and the last table line have
11733 a default width of 0.08\InsetSpace \thinspace{}
11734 em while the other lines have a default width of
11735 0.05\InsetSpace \thinspace{}
11739 \begin_layout Standard
11740 The default widths can be changed with the following preamble lines
11743 \begin_layout Standard
11763 \begin_layout Standard
11764 This example is for the first line, the so called toprule.
11765 If you want to change the width for the last line, replace
11774 To change the width for the other lines replace
11783 You can use all units listed in appendix\InsetSpace ~
11785 \begin_inset LatexCommand ref
11786 reference "cha:Units-available-in"
11793 \begin_layout Standard
11794 Lines that don't span over all table columns can be created by setting a
11795 table line for multicolumn cells.
11796 LyX will then internally use the command
11802 to create this line.
11806 \begin_layout Standard
11811 cmidrule[width](trim){startcol-endcol}
11814 \begin_layout Standard
11821 are are currently not supported by LyX so you have to use ERT to be able
11829 s can manually be created by inserting the command as ERT as first cell
11830 entry of the first cell of a row.
11831 The line is then drawn in the output above the current row.
11834 \begin_layout Standard
11835 The default for the width is 0.03\InsetSpace \thinspace{}
11837 Startcol is the number of the column where the line starts and endcol the
11838 column number where the line ends.
11839 The endcol always needs to be specified, also when the line should span
11841 The optional parameter trim could be either
11849 where the trimwidth is also optional.
11850 Using for example the parameter
11854 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11856 If you don't specify the trimwidth the lines are trimmed by the default
11857 of 0.5\InsetSpace \thinspace{}
11861 \begin_layout Standard
11862 \begin_inset VSpace bigskip
11867 \begin_inset LatexCommand ref
11868 reference "tab:Example-booktabs-table"
11872 was created using the commands
11875 \begin_layout Standard
11885 \begin_layout Standard
11886 at the beginning of the in the second row and
11889 \begin_layout Standard
11894 cmidrule(l{10pt}){1-1}
11897 \begin_layout Standard
11901 \begin_layout Standard
11905 \begin_layout Standard
11906 \begin_inset VSpace bigskip
11912 \begin_layout Standard
11913 You might want to have overlapping
11919 s like in Table\InsetSpace ~
11921 \begin_inset LatexCommand ref
11922 reference "tab:Special-booktabs-table"
11927 This can be achieved with the ERT command
11930 \begin_layout Standard
11938 \begin_layout Standard
11939 The command that was used for the second row of Table\InsetSpace ~
11941 \begin_inset LatexCommand ref
11942 reference "tab:Special-booktabs-table"
11949 \begin_layout Standard
11963 \begin_layout Standard
11964 The command for the sixth row is
11967 \begin_layout Standard
11979 \begin_layout Standard
11980 \begin_inset VSpace bigskip
11986 \begin_layout Standard
11987 If you are anyway not satisfied with the border line spacing, you can use
11988 the following command to produce lines that span over all table columns
11993 \begin_layout Standard
11998 specialrule{width}{space above}{space below}
12001 \begin_layout Standard
12002 For more informations about these specialties, we refer to the manual of
12008 \begin_inset LatexCommand cite
12014 \begin_inset LatexCommand index
12015 name "LaTeX-packages ! booktabs"
12022 \begin_layout Standard
12023 \begin_inset Float table
12029 \begin_layout Standard
12030 \begin_inset Caption
12032 \begin_layout Standard
12033 \begin_inset LatexCommand label
12034 name "tab:Special-booktabs-table"
12038 Special booktabs-table
12046 \begin_layout Standard
12048 \begin_inset Tabular
12049 <lyxtabular version="3" rows="8" columns="4">
12050 <features booktabs="true">
12051 <column alignment="center" valignment="top" width="0">
12052 <column alignment="center" valignment="top" width="0">
12053 <column alignment="center" valignment="top" width="0">
12054 <column alignment="center" valignment="top" width="0">
12055 <row topline="true">
12056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12059 \begin_layout Standard
12065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12068 \begin_layout Standard
12069 Medipix\InsetSpace \thinspace{}
12075 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12078 \begin_layout Standard
12079 Medipix\InsetSpace \thinspace{}
12085 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12088 \begin_layout Standard
12096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12099 \begin_layout Standard
12103 \begin_layout Standard
12116 \begin_layout Standard
12129 \begin_layout Standard
12142 \begin_layout Standard
12151 Detector thickness [µm]
12156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12159 \begin_layout Standard
12165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12168 \begin_layout Standard
12174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12177 \begin_layout Standard
12184 <row topline="true">
12185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12188 \begin_layout Standard
12194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12197 \begin_layout Standard
12203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12206 \begin_layout Standard
12212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12215 \begin_layout Standard
12222 <row topspace="default">
12223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12226 \begin_layout Standard
12227 Spatial resolution [µm]
12232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12235 \begin_layout Standard
12241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12244 \begin_layout Standard
12250 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12253 \begin_layout Standard
12260 <row topspace="default">
12261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12264 \begin_layout Standard
12266 \begin_inset Formula $f_{\mathrm{max}}$
12274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12277 \begin_layout Standard
12283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12286 \begin_layout Standard
12292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12295 \begin_layout Standard
12302 <row topline="true">
12303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12306 \begin_layout Standard
12310 \begin_layout Standard
12323 \begin_layout Standard
12332 LSF-spatial resolution
12337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12340 \begin_layout Standard
12346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12349 \begin_layout Standard
12355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12358 \begin_layout Standard
12366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12369 \begin_layout Standard
12375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12378 \begin_layout Standard
12384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12387 \begin_layout Standard
12393 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12396 \begin_layout Standard
12403 <row bottomline="true">
12404 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12407 \begin_layout Standard
12413 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12416 \begin_layout Standard
12422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12425 \begin_layout Standard
12431 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12434 \begin_layout Standard
12453 \begin_layout Section
12454 Vertical Table Alignment
12455 \begin_inset LatexCommand index
12456 name "Table ! Alignment"
12463 \begin_layout Standard
12464 To align tables vertically in a text line the table must be inside a box.
12465 The box can then be vertically aligned as described in section\InsetSpace ~
12467 \begin_inset LatexCommand ref
12468 reference "sec:Box-Dialog"
12475 \begin_layout Standard
12476 In the following example the tables are inside a minipage
12480 \begin_layout Standard
12481 Minipages are described in section\InsetSpace ~
12483 \begin_inset LatexCommand ref
12484 reference "sec:Minipages"
12493 box that has a width of 15\InsetSpace \thinspace{}
12497 \begin_layout Itemize
12499 \begin_inset Box Frameless
12508 height_special "totalheight"
12511 \begin_layout Standard
12512 \begin_inset Tabular
12513 <lyxtabular version="3" rows="3" columns="3">
12515 <column alignment="center" valignment="top" leftline="true" width="0">
12516 <column alignment="center" valignment="top" leftline="true" width="0">
12517 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12518 <row topline="true">
12519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12522 \begin_layout Standard
12528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12531 \begin_layout Standard
12537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12540 \begin_layout Standard
12547 <row topline="true">
12548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12551 \begin_layout Standard
12557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12560 \begin_layout Standard
12566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12569 \begin_layout Standard
12576 <row topline="true" bottomline="true">
12577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12580 \begin_layout Standard
12586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12589 \begin_layout Standard
12595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12598 \begin_layout Standard
12618 \begin_layout Standard
12630 \begin_inset Box Frameless
12639 height_special "totalheight"
12642 \begin_layout Standard
12643 \begin_inset Tabular
12644 <lyxtabular version="3" rows="3" columns="3">
12646 <column alignment="center" valignment="top" leftline="true" width="0">
12647 <column alignment="center" valignment="top" leftline="true" width="0">
12648 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12649 <row topline="true">
12650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12653 \begin_layout Standard
12659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12662 \begin_layout Standard
12668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12671 \begin_layout Standard
12678 <row topline="true">
12679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12682 \begin_layout Standard
12688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12691 \begin_layout Standard
12697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12700 \begin_layout Standard
12707 <row topline="true" bottomline="true">
12708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12711 \begin_layout Standard
12717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12720 \begin_layout Standard
12726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12729 \begin_layout Standard
12749 \begin_layout Standard
12759 \begin_layout Itemize
12761 \begin_inset Box Frameless
12770 height_special "totalheight"
12773 \begin_layout Standard
12774 \begin_inset Tabular
12775 <lyxtabular version="3" rows="3" columns="3">
12777 <column alignment="center" valignment="top" leftline="true" width="0">
12778 <column alignment="center" valignment="top" leftline="true" width="0">
12779 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12780 <row topline="true">
12781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12784 \begin_layout Standard
12790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12793 \begin_layout Standard
12799 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12802 \begin_layout Standard
12809 <row topline="true">
12810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12813 \begin_layout Standard
12819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12822 \begin_layout Standard
12828 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12831 \begin_layout Standard
12838 <row topline="true" bottomline="true">
12839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12842 \begin_layout Standard
12848 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12851 \begin_layout Standard
12857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12860 \begin_layout Standard
12879 \begin_layout Itemize
12881 \begin_inset Box Frameless
12890 height_special "totalheight"
12893 \begin_layout Standard
12894 \begin_inset Tabular
12895 <lyxtabular version="3" rows="3" columns="3">
12897 <column alignment="center" valignment="top" leftline="true" width="0">
12898 <column alignment="center" valignment="top" leftline="true" width="0">
12899 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12900 <row topline="true">
12901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12904 \begin_layout Standard
12910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12913 \begin_layout Standard
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12922 \begin_layout Standard
12929 <row topline="true">
12930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12933 \begin_layout Standard
12939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12942 \begin_layout Standard
12948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12951 \begin_layout Standard
12958 <row topline="true" bottomline="true">
12959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12962 \begin_layout Standard
12968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12971 \begin_layout Standard
12977 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12980 \begin_layout Standard
13000 \begin_layout Standard
13012 \begin_inset Box Frameless
13021 height_special "totalheight"
13024 \begin_layout Standard
13025 \begin_inset Tabular
13026 <lyxtabular version="3" rows="3" columns="3">
13028 <column alignment="center" valignment="top" leftline="true" width="0">
13029 <column alignment="center" valignment="top" leftline="true" width="0">
13030 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13031 <row topline="true">
13032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13035 \begin_layout Standard
13041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13044 \begin_layout Standard
13050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13053 \begin_layout Standard
13060 <row topline="true">
13061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13064 \begin_layout Standard
13070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13073 \begin_layout Standard
13079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13082 \begin_layout Standard
13089 <row topline="true" bottomline="true">
13090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13093 \begin_layout Standard
13099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13102 \begin_layout Standard
13108 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13111 \begin_layout Standard
13131 \begin_layout Standard
13141 \begin_layout Standard
13142 As you can see, the content of the first and last table row is not correctly
13143 aligned with the text line where the table is in.
13144 To get this alignment, the minipage box must be set into a raisebox
13148 \begin_layout Standard
13149 Raiseboxes are described in section\InsetSpace ~
13151 \begin_inset LatexCommand ref
13152 reference "sub:Vertical-Alignment"
13162 In the example above the second table in the first item is aligned using
13166 \begin_layout Standard
13176 \begin_layout Standard
13178 Behind the box the closing brace
13182 is inserted as ERT.
13183 For the second table in the last item the command
13186 \begin_layout Standard
13196 \begin_layout Standard
13200 \begin_layout Standard
13201 \begin_inset Note Greyedout
13204 \begin_layout Standard
13209 The alignment of the table row content to the surrounding text line is not
13211 The needed factor of the
13217 command for this alignment depends on the document font, the font size,
13218 and the table line thickness.
13226 \begin_layout Section
13228 \begin_inset LatexCommand label
13229 name "sec:Colored-Tables"
13234 \begin_inset LatexCommand index
13235 name "Table ! Color"
13242 \begin_layout Subsection
13244 \begin_inset LatexCommand index
13245 name "Table Color ! for Cells"
13250 \begin_inset LatexCommand index
13251 name "Color ! for Table Cells"
13258 \begin_layout Standard
13259 \begin_inset Float table
13265 \begin_layout Standard
13266 \begin_inset Caption
13268 \begin_layout Standard
13269 \begin_inset LatexCommand label
13270 name "tab:Table-colored-without"
13274 Table colored without using the package
13279 \begin_inset OptArg
13282 \begin_layout Standard
13283 Table without colortbl
13296 \begin_layout Standard
13298 \begin_inset Tabular
13299 <lyxtabular version="3" rows="3" columns="3">
13301 <column alignment="center" valignment="top" leftline="true" width="0">
13302 <column alignment="center" valignment="top" leftline="true" width="0">
13303 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13304 <row topline="true">
13305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13308 \begin_layout Standard
13316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13319 \begin_layout Standard
13327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13330 \begin_layout Standard
13339 <row topline="true">
13340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13343 \begin_layout Standard
13351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13354 \begin_layout Standard
13362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13365 \begin_layout Standard
13374 <row topline="true" bottomline="true">
13375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13378 \begin_layout Standard
13386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13389 \begin_layout Standard
13397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13400 \begin_layout Standard
13421 \begin_layout Standard
13422 If you only need colored text, mark the cells and choose a color in the
13425 Edit\SpecialChar \menuseparator
13430 This was used to create Table\InsetSpace ~
13432 \begin_inset LatexCommand ref
13433 reference "tab:Table-colored-without"
13438 In any other case you have to use the LaTeX-package
13443 \begin_inset LatexCommand index
13444 name "LaTeX-packages ! colortbl"
13451 \begin_layout Standard
13452 To create colored tables,
13456 must be loaded in the preamble with the line
13459 \begin_layout Standard
13464 usepackage{colortbl}
13467 \begin_layout Standard
13468 The color of a column is adjusted with the command
13471 \begin_layout Standard
13476 columncolor{name of color}
13479 \begin_layout Standard
13485 More about the command
13489 is described in section\InsetSpace ~
13491 \begin_inset LatexCommand ref
13492 reference "sub:Multicolumn-Calculations"
13499 \begin_layout Standard
13500 The following color names are predefined:
13503 \begin_layout Standard
13537 \begin_layout Standard
13538 \begin_inset VSpace medskip
13544 \begin_layout Standard
13545 You can also define your own color with the command
13548 \begin_layout Standard
13553 def\SpecialChar \textcompwordmark{}
13554 inecolor{color name}{color model}{color values}
13557 \begin_layout Standard
13558 The color model can be
13561 \begin_layout Labeling
13562 \labelwidthstring 00.00.0000
13563 cmyk: cyan, magenta, yellow, black
13566 \begin_layout Labeling
13567 \labelwidthstring 00.00.0000
13568 rgb: red, green blue
13571 \begin_layout Labeling
13572 \labelwidthstring 00.00.0000
13576 \begin_layout Standard
13577 and the color values are comma separated numbers between 0 and 1 describing
13578 the factor for the corresponding color of the color model.
13581 \begin_layout Standard
13582 You can e.\InsetSpace \thinspace{}
13588 " in the preamble with
13591 \begin_layout Standard
13596 def\SpecialChar \textcompwordmark{}
13597 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13600 \begin_layout Standard
13608 \begin_layout Standard
13613 def\SpecialChar \textcompwordmark{}
13614 inecolor{lightgray}{gray}{0.8}
13617 \begin_layout Standard
13618 \begin_inset VSpace medskip
13624 \begin_layout Standard
13625 Lines are colored with the command
13628 \begin_layout Standard
13633 rowcolor{name of color}
13636 \begin_layout Standard
13637 and cells are colored with the command
13640 \begin_layout Standard
13645 cellcolor{name of color}
13648 \begin_layout Standard
13649 Both commands are inserted at the beginning of a cell as ERT.
13652 \begin_layout Standard
13653 To color characters in the table, mark the cells and use the LyX menu
13655 Edit\SpecialChar \menuseparator
13660 If a cell contains ERT mark only the characters, otherwise the colored
13661 ERT will cause LaTeX-errors.
13664 \begin_layout Standard
13665 \begin_inset VSpace bigskip
13671 \begin_layout Standard
13672 To create Table\InsetSpace ~
13674 \begin_inset LatexCommand ref
13675 reference "tab:Table-colored-using"
13679 do the following: The color of the first column should be
13687 \begin_layout Standard
13692 columncolor{darkgreen}
13697 \begin_layout Standard
13698 as LaTeX-argument for this column.
13699 The first row should be blue, therefore the ERT command
13702 \begin_layout Standard
13710 \begin_layout Standard
13711 is inserted to the first cell of this row.
13712 Note that this overwrites the column color for the first cell.
13713 The last cell of the last row is colored magenta by inserting the ERT command
13716 \begin_layout Standard
13724 \begin_layout Standard
13725 The characters could now be colored using the menu
13727 Edit\SpecialChar \menuseparator
13734 \begin_layout Standard
13735 \begin_inset Float table
13741 \begin_layout Standard
13742 \begin_inset Caption
13744 \begin_layout Standard
13745 \begin_inset LatexCommand label
13746 name "tab:Table-colored-using"
13750 Table colored using the package
13755 \begin_inset OptArg
13758 \begin_layout Standard
13759 Table with colortbl
13772 \begin_layout Standard
13774 \begin_inset Tabular
13775 <lyxtabular version="3" rows="3" columns="3">
13777 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13778 <column alignment="center" valignment="top" width="0">
13779 <column alignment="center" valignment="top" width="0">
13781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13784 \begin_layout Standard
13788 \begin_layout Standard
13804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13807 \begin_layout Standard
13815 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13818 \begin_layout Standard
13828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13831 \begin_layout Standard
13839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13842 \begin_layout Standard
13850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13853 \begin_layout Standard
13863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13866 \begin_layout Standard
13874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13877 \begin_layout Standard
13885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13888 \begin_layout Standard
13892 \begin_layout Standard
13921 \begin_layout Subsection
13923 \begin_inset LatexCommand index
13924 name "Table Color ! for Lines"
13929 \begin_inset LatexCommand index
13930 name "Color ! for Table Lines"
13937 \begin_layout Standard
13938 As described in section\InsetSpace ~
13940 \begin_inset LatexCommand ref
13941 reference "sub:Line-Thickness"
13945 , the line thickness for all lines in a table can be adjusted with the length
13953 It is set to 1.5\InsetSpace \thinspace{}
13954 pt for all tables of this section.
13958 \begin_layout Standard
13964 arrayrulewidth}{1.5pt}
13972 \begin_layout Standard
13973 To color vertical lines for example with green, create the following column
13974 format in the document preamble, according to the description in section\InsetSpace ~
13976 \begin_inset LatexCommand ref
13977 reference "sub:Customized-Format"
13984 \begin_layout Standard
13989 newcolumntype{W}{!{
13996 \begin_layout Standard
13997 For Table\InsetSpace ~
13999 \begin_inset LatexCommand ref
14000 reference "tab:Table-with-vertical-colored"
14007 \begin_layout Standard
14013 \begin_layout Standard
14014 was used for the last column and
14017 \begin_layout Standard
14023 \begin_layout Standard
14024 for the other columns.
14027 \begin_layout Standard
14028 If you want to have several colors, define more column formats.
14031 \begin_layout Standard
14032 \begin_inset Float table
14037 \begin_layout Standard
14038 \begin_inset Caption
14040 \begin_layout Standard
14041 \begin_inset LatexCommand label
14042 name "tab:Table-with-vertical-colored"
14046 Table with colored vertical lines
14054 \begin_layout Standard
14056 \begin_inset Tabular
14057 <lyxtabular version="3" rows="3" columns="3">
14059 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14060 <column alignment="center" valignment="top" width="0" special="Wc">
14061 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14062 <row topline="true">
14063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14066 \begin_layout Standard
14072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14075 \begin_layout Standard
14081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14084 \begin_layout Standard
14091 <row topline="true">
14092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14095 \begin_layout Standard
14101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14104 \begin_layout Standard
14110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14113 \begin_layout Standard
14120 <row topline="true" bottomline="true">
14121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14124 \begin_layout Standard
14130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14133 \begin_layout Standard
14139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14142 \begin_layout Standard
14161 \begin_layout Standard
14162 \begin_inset VSpace bigskip
14165 To color horizontal lines for example with red, like in Table\InsetSpace ~
14167 \begin_inset LatexCommand ref
14168 reference "tab:Table-with-horizontal-colored"
14172 , insert these commands in ERT before the table or table float:
14175 \begin_layout Standard
14192 arrayrulecolor{red}
14196 arrayrulecolor{black}}
14199 \begin_layout Standard
14203 \begin_layout Standard
14214 \begin_layout Standard
14222 arrayrulecolor{red}
14226 arrayrulecolor{black}}
14232 \begin_inset Float table
14237 \begin_layout Standard
14238 \begin_inset Caption
14240 \begin_layout Standard
14241 \begin_inset LatexCommand label
14242 name "tab:Table-with-horizontal-colored"
14246 Table with colored horizontal lines
14254 \begin_layout Standard
14256 \begin_inset Tabular
14257 <lyxtabular version="3" rows="3" columns="3">
14259 <column alignment="center" valignment="top" leftline="true" width="0">
14260 <column alignment="center" valignment="top" leftline="true" width="0">
14261 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14262 <row topline="true">
14263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14266 \begin_layout Standard
14272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14275 \begin_layout Standard
14281 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14284 \begin_layout Standard
14291 <row topline="true">
14292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14295 \begin_layout Standard
14301 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14304 \begin_layout Standard
14310 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14313 \begin_layout Standard
14320 <row topline="true" bottomline="true">
14321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14324 \begin_layout Standard
14330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14333 \begin_layout Standard
14339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14342 \begin_layout Standard
14361 \begin_layout Standard
14365 \begin_layout Standard
14377 \begin_layout Standard
14378 To return to the default line color black, insert this command in ERT behind
14379 the table or table float:
14382 \begin_layout Standard
14394 \begin_layout Standard
14397 \begin_inset LatexCommand ref
14398 reference "tab:Table-with-colored"
14402 is an example with colored vertical and horizontal lines.
14405 \begin_layout Standard
14406 \begin_inset Float table
14411 \begin_layout Standard
14412 \begin_inset Caption
14414 \begin_layout Standard
14415 \begin_inset LatexCommand label
14416 name "tab:Table-with-colored"
14420 Table with colored lines
14428 \begin_layout Standard
14430 \begin_inset Tabular
14431 <lyxtabular version="3" rows="3" columns="3">
14433 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14434 <column alignment="center" valignment="top" width="0" special="Wc">
14435 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14436 <row topline="true">
14437 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14440 \begin_layout Standard
14446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14449 \begin_layout Standard
14455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14458 \begin_layout Standard
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" bottomline="true" topspace="default">
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
14535 \begin_layout Standard
14539 \begin_layout Standard
14555 \begin_layout Standard
14559 \begin_layout Standard
14565 arrayrulewidth}{0.4pt}
14573 \begin_layout Section
14574 Table Customization
14575 \begin_inset LatexCommand index
14576 name "Table Customization"
14581 \begin_inset LatexCommand index
14582 name "Table ! Customization"
14589 \begin_layout Subsection
14591 \begin_inset LatexCommand label
14592 name "sub:Row-Spacing"
14597 \begin_inset LatexCommand index
14598 name "Table Customization ! Row Spacing"
14605 \begin_layout Standard
14606 You can add vertical space to table rows in the
14610 tab of the table dialog.
14611 You find there three possibilities:
14614 \begin_layout Description
14617 row will add space above the characters of the table row.
14618 If the table is a formal table
14622 \begin_layout Standard
14623 Formal tables are explained in section\InsetSpace ~
14625 \begin_inset LatexCommand ref
14626 reference "sec:Formal-Tables"
14635 LyX will insert as default 0.5\InsetSpace \thinspace{}
14637 For normal tables the inserted space will unfortunately destroy the vertical
14638 table lines as in the following table:
14639 \begin_inset Tabular
14640 <lyxtabular version="3" rows="3" columns="1">
14642 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14643 <row topline="true">
14644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14647 \begin_layout Standard
14654 <row topline="true" topspace="3mm">
14655 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14658 \begin_layout Standard
14659 3\InsetSpace \thinspace{}
14660 mm space top of row
14666 <row topline="true" bottomline="true">
14667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14670 \begin_layout Standard
14683 So inserting space to the top of row for normal tables is only useful when
14684 you don't have vertical lines.
14687 \begin_layout Description
14688 Bottom\InsetSpace ~
14690 row will add space below the characters of the table row.
14691 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14693 normal tables the default size is 2\InsetSpace \thinspace{}
14697 \begin_layout Description
14698 Between\InsetSpace ~
14699 rows only has an effect when you have selected the whole table row
14701 The space is added between the current and the following row.
14702 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14704 For normal tables the inserted space will unfortunately destroy the vertical
14705 table lines as in the following table:
14706 \begin_inset Tabular
14707 <lyxtabular version="3" rows="3" columns="1">
14709 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14710 <row topline="true">
14711 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14714 \begin_layout Standard
14721 <row topline="true" interlinespace="3mm">
14722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14725 \begin_layout Standard
14726 \begin_inset Formula $\downarrow$
14729 3\InsetSpace \thinspace{}
14730 mm space between row
14731 \begin_inset Formula $\downarrow$
14740 <row topline="true" bottomline="true">
14741 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14744 \begin_layout Standard
14745 \begin_inset Formula $\uparrow$
14748 3\InsetSpace \thinspace{}
14749 mm space between row
14750 \begin_inset Formula $\uparrow$
14765 So inserting space to the top of row for normal tables is only useful when
14766 you don't have vertical lines.
14769 \begin_layout Standard
14770 When you want to add extra height to all cells of all tables, you can do
14771 this with the following preamble line:
14774 \begin_layout Standard
14781 extrarowheight}{height}
14784 \begin_layout Standard
14785 But this has the disadvantage that the cell texts are no longer exactly
14786 vertically centered.
14789 \begin_layout Subsection
14790 Special Cell Alignment
14791 \begin_inset LatexCommand index
14792 name "Table Customization ! Special Cell Alignment"
14799 \begin_layout Standard
14800 Sometimes it looks better when the cell entries of a column are aligned
14801 with a special character, e.\InsetSpace \thinspace{}
14803 with the decimal separator as in Table\InsetSpace ~
14805 \begin_inset LatexCommand ref
14806 reference "tab:Table-cells-of"
14813 \begin_layout Standard
14814 \begin_inset Float table
14820 \begin_layout Standard
14821 \begin_inset Caption
14823 \begin_layout Standard
14824 \begin_inset LatexCommand label
14825 name "tab:Table-cells-of"
14829 Table cells of a column aligned with the decimal separator.
14837 \begin_layout Standard
14839 \begin_inset Tabular
14840 <lyxtabular version="3" rows="4" columns="2">
14842 <column alignment="right" valignment="top" width="0">
14843 <column alignment="left" valignment="top" width="0" special="@{}l">
14844 <row bottomline="true">
14845 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14848 \begin_layout Standard
14854 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14857 \begin_layout Standard
14865 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14868 \begin_layout Standard
14874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14877 \begin_layout Standard
14885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14888 \begin_layout Standard
14894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14897 \begin_layout Standard
14905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14908 \begin_layout Standard
14914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14917 \begin_layout Standard
14936 \begin_layout Standard
14937 This table was created with a 4×2 table.
14938 The heading is a centered multicolumn.
14939 The first column is right-aligned and contains the digits before the decimal
14940 point and the decimal point.
14941 The second column is left aligned and contains the digits after the decimal
14943 To omit the space that is normally between two table columns, use the following
14944 LaTeX-argument for the second column:
14947 \begin_layout Standard
14953 \begin_layout Standard
14954 If you need a vertical line right beside the second column, use this LaTeX-argum
14960 \begin_layout Standard
14963 \begin_inset LatexCommand ref
14964 reference "tab:Several-table-cell"
14968 shows some example alignments.
14969 For the alignment with the relation sign, you must add the second smallest
14970 math-space at the beginning of the last column to get the correct space
14971 surrounding the relation sign.
14974 \begin_layout Standard
14975 \begin_inset Float table
14980 \begin_layout Standard
14981 \begin_inset Caption
14983 \begin_layout Standard
14984 \begin_inset LatexCommand label
14985 name "tab:Several-table-cell"
14989 Several table cell alignments.
14997 \begin_layout Standard
14999 \begin_inset Tabular
15000 <lyxtabular version="3" rows="4" columns="6">
15002 <column alignment="right" valignment="top" width="0">
15003 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15004 <column alignment="right" valignment="top" width="0">
15005 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15006 <column alignment="right" valignment="top" width="0">
15007 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15008 <row bottomline="true">
15009 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15012 \begin_layout Standard
15018 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15021 \begin_layout Standard
15027 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15030 \begin_layout Standard
15036 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15039 \begin_layout Standard
15045 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15048 \begin_layout Standard
15054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15057 \begin_layout Standard
15065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15068 \begin_layout Standard
15074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15077 \begin_layout Standard
15078 24\InsetSpace \thinspace{}
15084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15087 \begin_layout Standard
15088 \begin_inset Formula $10\cdot$
15096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15099 \begin_layout Standard
15100 \begin_inset Formula $10^{\mbox{-}17}$
15108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15111 \begin_layout Standard
15112 \begin_inset Formula $\Gamma(t)\propto$
15120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15123 \begin_layout Standard
15124 \begin_inset Formula $\:\Upsilon(t)$
15134 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15137 \begin_layout Standard
15143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15146 \begin_layout Standard
15147 768\InsetSpace \thinspace{}
15153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15156 \begin_layout Standard
15157 \begin_inset Formula $5.78\cdot$
15165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15168 \begin_layout Standard
15169 \begin_inset Formula $10^{7}$
15177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15180 \begin_layout Standard
15181 \begin_inset Formula $A\ne$
15189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15192 \begin_layout Standard
15193 \begin_inset Formula $\: B_{\mathrm{red}}$
15203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15206 \begin_layout Standard
15212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15215 \begin_layout Standard
15216 6\InsetSpace \thinspace{}
15222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15225 \begin_layout Standard
15227 \begin_inset Formula $33.5\cdot$
15235 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15238 \begin_layout Standard
15239 \begin_inset Formula $10^{4}$
15247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15250 \begin_layout Standard
15251 \begin_inset Formula $\sin(\alpha)\ge$
15259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15262 \begin_layout Standard
15263 \begin_inset Formula $\:\sin(\beta)$
15284 \begin_layout Standard
15285 \begin_inset VSpace bigskip
15288 There is also the LaTeX-package
15293 \begin_inset LatexCommand index
15294 name "LaTeX-packages ! dcolumn"
15298 that provides table cell alignments.
15299 But this unfortunately treats the cell entries as math and doesn't allow
15300 formulas in table cells: The first column of Table\InsetSpace ~
15302 \begin_inset LatexCommand ref
15303 reference "tab:Several-table-cell"
15311 like the first column in Table\InsetSpace ~
15313 \begin_inset LatexCommand ref
15314 reference "tab:Alignments-when"
15318 and only with some tricks like the expected.
15319 The alignment of the second and third column of Table\InsetSpace ~
15321 \begin_inset LatexCommand ref
15322 reference "tab:Several-table-cell"
15326 is not possible with
15333 \begin_layout Standard
15334 \begin_inset Float table
15340 \begin_layout Standard
15341 \begin_inset Caption
15343 \begin_layout Standard
15344 \begin_inset LatexCommand label
15345 name "tab:Alignments-when"
15349 Alignments when LaTeX-package dcolumn is used.
15350 For the second and third alignment some tricks were used.
15358 \begin_layout Standard
15360 \begin_inset Tabular
15361 <lyxtabular version="3" rows="4" columns="3">
15363 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15364 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15365 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15366 <row bottomline="true">
15367 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15370 \begin_layout Standard
15376 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15379 \begin_layout Standard
15385 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15388 \begin_layout Standard
15396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15399 \begin_layout Standard
15400 12×24\InsetSpace \thinspace{}
15406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15409 \begin_layout Standard
15410 12×24\InsetSpace \thinspace{}
15412 \begin_inset Formula $\mbox{bottles}$
15420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15423 \begin_layout Standard
15425 \begin_inset Formula $\mbox{bottles}$
15435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15438 \begin_layout Standard
15439 1024×768\InsetSpace \thinspace{}
15445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15448 \begin_layout Standard
15449 1024×768\InsetSpace \thinspace{}
15451 \begin_inset Formula $\mbox{Pixels}$
15459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15462 \begin_layout Standard
15464 \begin_inset Formula $\mbox{Pixels}$
15474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15477 \begin_layout Standard
15478 32×6\InsetSpace \thinspace{}
15484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15487 \begin_layout Standard
15488 32×6\InsetSpace \thinspace{}
15490 \begin_inset Formula $\mbox{cm}$
15498 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15501 \begin_layout Standard
15503 \begin_inset Formula $\mbox{cm}$
15524 \begin_layout Subsection
15525 Customized Cell/Column Format
15526 \begin_inset LatexCommand label
15527 name "sub:Customized-Format"
15532 \begin_inset LatexCommand index
15533 name "Table Customization ! Cell/Column Format"
15540 \begin_layout Standard
15541 Calculating the needed width for spanned columns like in section\InsetSpace ~
15543 \begin_inset LatexCommand ref
15544 reference "sub:Multicolumn-Calculations"
15548 is very annoying if you have several tables with multicolumn cells.
15549 To make life easier, you can define a cell/column format in the preamble,
15550 so that it can be used in all tables of the document.
15551 The format is defined with the command
15554 \begin_layout Standard
15559 newcolumntype{name of format}[number of arguments]{commands}
15562 \begin_layout Standard
15563 The format name may only consist of one letter.
15588 are predefined and cannot be used.
15589 But all letters are allowed as capitals.
15592 \begin_layout Standard
15593 \begin_inset VSpace medskip
15599 \begin_layout Standard
15600 For vertically and horizontally centered multicolumn cells with a fixed
15601 width you can define the cell format
15604 \begin_layout Standard
15609 newcolumntype{M}[1]{>{
15616 \begin_layout Standard
15623 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15625 \begin_inset LatexCommand ref
15626 reference "sub:Multiple-Lines-in"
15631 Now you can simply enter
15634 \begin_layout Standard
15640 \begin_layout Standard
15641 as LaTeX-argument in the table dialog to create a multicolumn.
15644 \begin_layout Standard
15645 \begin_inset VSpace bigskip
15651 \begin_layout Standard
15652 For cells spanned by a multicolumn cell, you can define the format
15655 \begin_layout Standard
15660 newcolumntype{S}[2]{>{
15670 \begin_layout Standard
15681 newcolumntype{S}[2]
15685 \begin_layout Standard
15696 arrayrulewidth)*(1-#2))/#2}}
15699 \begin_layout Standard
15700 This format uses equation
15701 \begin_inset LatexCommand eqref
15706 to calculate the needed width so that each spanned cell has the same width.
15709 \begin_layout Standard
15713 \begin_layout Standard
15716 |S{width of multicolumn cell}{number of spanned columns}
15719 \begin_layout Standard
15720 as LaTeX-argument of the column.
15723 \begin_layout Standard
15724 \begin_inset VSpace bigskip
15730 \begin_layout Standard
15731 For colored columns, you can define
15734 \begin_layout Standard
15739 newcolumntype{K}[1]{>{
15746 \begin_layout Standard
15748 \begin_inset Quotes eld
15752 \begin_inset Quotes erd
15755 at the end creates a column with a flexible width whose text is horizontally
15760 \begin_layout Standard
15766 \begin_layout Standard
15770 \begin_layout Standard
15771 \begin_inset VSpace bigskip
15777 \begin_layout Standard
15778 To create Table\InsetSpace ~
15780 \begin_inset LatexCommand ref
15781 reference "tab:Table-using-user-defined"
15785 use the LaTeX-arguments
15788 \begin_layout Standard
15794 \begin_layout Standard
15795 for the first column and the multicolumn,
15798 \begin_layout Standard
15804 \begin_layout Standard
15805 for the the last column, and
15808 \begin_layout Standard
15814 \begin_layout Standard
15815 for the cells in the second column.
15818 \begin_layout Standard
15819 \begin_inset Float table
15825 \begin_layout Standard
15826 \begin_inset Caption
15828 \begin_layout Standard
15829 \begin_inset LatexCommand label
15830 name "tab:Table-using-user-defined"
15834 Table using user-defined table formats
15842 \begin_layout Standard
15844 \begin_inset Tabular
15845 <lyxtabular version="3" rows="3" columns="4">
15847 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15848 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15849 <column alignment="center" valignment="middle" leftline="true" width="0">
15850 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15851 <row topline="true">
15852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15855 \begin_layout Standard
15856 verylongtablecellword
15861 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15864 \begin_layout Standard
15865 multiple lines multicolumn
15870 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15873 \begin_layout Standard
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15882 \begin_layout Standard
15889 <row topline="true">
15890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15893 \begin_layout Standard
15899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15902 \begin_layout Standard
15908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15911 \begin_layout Standard
15917 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15920 \begin_layout Standard
15927 <row topline="true" bottomline="true">
15928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15931 \begin_layout Standard
15937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15940 \begin_layout Standard
15946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15949 \begin_layout Standard
15955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15958 \begin_layout Standard
15977 \begin_layout Subsection
15979 \begin_inset LatexCommand label
15980 name "sub:Line-Thickness"
15985 \begin_inset LatexCommand index
15986 name "Table Customization ! Line Thickness"
15993 \begin_layout Standard
15994 The line thickness for all lines in a table can be adjusted with the length
16002 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16003 pt, like in Table\InsetSpace ~
16005 \begin_inset LatexCommand ref
16006 reference "tab:Table-with-1.5"
16010 , insert the command
16013 \begin_layout Standard
16020 arrayrulewidth}{1.5pt}
16023 \begin_layout Standard
16024 in ERT before the table or table float.
16025 The changed thickness is valid for all following tables.
16026 To use the default value again, set
16032 to 0.4\InsetSpace \thinspace{}
16033 pt in ERT behind the table or table float.
16036 \begin_layout Standard
16040 \begin_layout Standard
16046 arrayrulewidth}{1.5pt}
16052 \begin_inset Float table
16057 \begin_layout Standard
16058 \begin_inset Caption
16060 \begin_layout Standard
16061 \begin_inset LatexCommand label
16062 name "tab:Table-with-1.5"
16066 Table with 1.5\InsetSpace \thinspace{}
16075 \begin_layout Standard
16077 \begin_inset Tabular
16078 <lyxtabular version="3" rows="3" columns="3">
16080 <column alignment="center" valignment="top" leftline="true" width="0">
16081 <column alignment="center" valignment="top" leftline="true" width="0">
16082 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16083 <row topline="true">
16084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16087 \begin_layout Standard
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" rightline="true" usebox="none">
16105 \begin_layout Standard
16112 <row topline="true">
16113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16116 \begin_layout Standard
16122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16125 \begin_layout Standard
16131 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16134 \begin_layout Standard
16141 <row topline="true" bottomline="true">
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16145 \begin_layout Standard
16151 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16154 \begin_layout Standard
16160 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16163 \begin_layout Standard
16183 \begin_layout Standard
16189 arrayrulewidth}{0.4pt}
16197 \begin_layout Standard
16198 \begin_inset VSpace bigskip
16201 To set the line thickness to 1.5\InsetSpace \thinspace{}
16202 pt only for horizontal lines, like in Table\InsetSpace ~
16204 \begin_inset LatexCommand ref
16205 reference "tab:Table-with-horizontal"
16209 , insert these commands in ERT before the table or table float:
16212 \begin_layout Standard
16235 arrayrulewidth 1.5pt}
16245 arrayrulewidth 0.4pt}}
16248 \begin_layout Standard
16249 To return to the default line thickness, insert this command in ERT behind
16250 the table or table float:
16253 \begin_layout Standard
16265 \begin_layout Standard
16269 \begin_layout Standard
16280 \begin_layout Standard
16289 \begin_layout Standard
16297 arrayrulewidth 1.5pt}
16300 \begin_layout Standard
16310 arrayrulewidth 0.4pt}}
16316 \begin_inset Float table
16321 \begin_layout Standard
16322 \begin_inset Caption
16324 \begin_layout Standard
16325 \begin_inset LatexCommand label
16326 name "tab:Table-with-horizontal"
16330 Table with 1.5\InsetSpace \thinspace{}
16331 pt thick horizontal lines
16339 \begin_layout Standard
16341 \begin_inset Tabular
16342 <lyxtabular version="3" rows="3" columns="3">
16344 <column alignment="center" valignment="top" leftline="true" width="0">
16345 <column alignment="center" valignment="top" leftline="true" width="0">
16346 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16347 <row topline="true">
16348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16351 \begin_layout Standard
16357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16360 \begin_layout Standard
16366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16369 \begin_layout Standard
16376 <row topline="true">
16377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16380 \begin_layout Standard
16386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16389 \begin_layout Standard
16395 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16398 \begin_layout Standard
16405 <row topline="true" bottomline="true">
16406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16409 \begin_layout Standard
16415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16418 \begin_layout Standard
16424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16427 \begin_layout Standard
16447 \begin_layout Standard
16463 \begin_layout Standard
16464 \begin_inset VSpace bigskip
16467 To set the line thickness to 1.5\InsetSpace \thinspace{}
16468 pt only for vertical lines, create the following
16469 column format in the document preamble, according to the description in
16470 section\InsetSpace ~
16472 \begin_inset LatexCommand ref
16473 reference "sub:Customized-Format"
16480 \begin_layout Standard
16485 newcolumntype{V}{!{
16487 vrule width 1.5pt}}
16490 \begin_layout Standard
16491 For Table\InsetSpace ~
16493 \begin_inset LatexCommand ref
16494 reference "tab:Table-with-vertical"
16501 \begin_layout Standard
16507 \begin_layout Standard
16508 was used for the last column and
16511 \begin_layout Standard
16517 \begin_layout Standard
16518 for the other columns.
16521 \begin_layout Standard
16522 \begin_inset Float table
16527 \begin_layout Standard
16528 \begin_inset Caption
16530 \begin_layout Standard
16531 \begin_inset LatexCommand label
16532 name "tab:Table-with-vertical"
16536 Table with 1.5\InsetSpace \thinspace{}
16537 pt thick vertical lines
16545 \begin_layout Standard
16547 \begin_inset Tabular
16548 <lyxtabular version="3" rows="3" columns="3">
16550 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16551 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16552 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16553 <row topline="true">
16554 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16557 \begin_layout Standard
16563 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16566 \begin_layout Standard
16572 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16575 \begin_layout Standard
16582 <row topline="true">
16583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16586 \begin_layout Standard
16592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16595 \begin_layout Standard
16601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16604 \begin_layout Standard
16611 <row topline="true" bottomline="true">
16612 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16615 \begin_layout Standard
16621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16624 \begin_layout Standard
16630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16633 \begin_layout Standard
16652 \begin_layout Subsection
16654 \begin_inset LatexCommand index
16655 name "Table Customization ! Dashed Lines"
16662 \begin_layout Standard
16666 \begin_layout Standard
16676 \begin_inset Note Note
16679 \begin_layout Standard
16680 The following section will only be displayed when you have the LaTeX-package
16693 \begin_layout Standard
16694 \begin_inset Float table
16700 \begin_layout Standard
16701 \begin_inset Caption
16703 \begin_layout Standard
16704 \begin_inset LatexCommand label
16705 name "tab:Table-with-dashed"
16709 Table with dashed lines
16717 \begin_layout Standard
16719 \begin_inset Tabular
16720 <lyxtabular version="3" rows="5" columns="5">
16722 <column alignment="center" valignment="top" leftline="true" width="0">
16723 <column alignment="center" valignment="top" leftline="true" width="0">
16724 <column alignment="center" valignment="top" width="0" special=":c">
16725 <column alignment="center" valignment="top" leftline="true" width="0">
16726 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16727 <row topline="true" bottomline="true">
16728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16731 \begin_layout Standard
16737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16740 \begin_layout Standard
16746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16749 \begin_layout Standard
16755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16758 \begin_layout Standard
16764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16767 \begin_layout Standard
16774 <row topline="true">
16775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16778 \begin_layout Standard
16784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16787 \begin_layout Standard
16793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16796 \begin_layout Standard
16802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16805 \begin_layout Standard
16811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16814 \begin_layout Standard
16822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16825 \begin_layout Standard
16829 \begin_layout Standard
16843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16846 \begin_layout Standard
16852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16855 \begin_layout Standard
16861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16864 \begin_layout Standard
16870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16873 \begin_layout Standard
16880 <row topline="true">
16881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16884 \begin_layout Standard
16888 \begin_layout Standard
16902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16905 \begin_layout Standard
16911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16914 \begin_layout Standard
16920 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16923 \begin_layout Standard
16929 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16932 \begin_layout Standard
16939 <row topline="true" bottomline="true">
16940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16943 \begin_layout Standard
16949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16952 \begin_layout Standard
16958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16961 \begin_layout Standard
16967 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16970 \begin_layout Standard
16976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16979 \begin_layout Standard
16998 \begin_layout Standard
16999 LyX doesn't natively support dashed lines, so you have to use ERT.
17000 As prerequisite the LaTeX-package
17005 \begin_inset LatexCommand index
17006 name "LaTeX-packages ! arydshln"
17010 must be loaded in the document preamble with the command
17013 \begin_layout Standard
17018 usepackage{arydshln}
17021 \begin_layout Standard
17022 To make a vertical line dashed, enter the colon
17023 \begin_inset Quotes eld
17027 \begin_inset Quotes erd
17030 together with the character for the horizontal alignment as LaTeX-argument
17031 in the table cell dialog.
17034 \begin_layout Standard
17035 For a horizontal dashed line add the command
17038 \begin_layout Standard
17046 \begin_layout Standard
17047 in ERT as first element of the first cell in the table row.
17050 \begin_layout Standard
17051 For dashed multicolumn lines use the command
17054 \begin_layout Standard
17059 cdashline{line number
17064 \begin_layout Standard
17065 in ERT as first element of the first cell in the table row.
17066 If you have for example a multicolumn spanning over columns 2 to 4 and
17067 you want to have a dashed line above, add the command
17070 \begin_layout Standard
17078 \begin_layout Standard
17079 as first element of the first cell in the row of the multicolumn.
17082 \begin_layout Standard
17083 \begin_inset VSpace bigskip
17089 \begin_layout Standard
17092 \begin_inset LatexCommand ref
17093 reference "tab:Table-with-dashed"
17098 \begin_inset Quotes eld
17106 \begin_inset Quotes erd
17109 as LaTeX-argument of the third column.
17116 was inserted to the first cell of the third row and the the ERT command
17125 was inserted to the first cell of the fourth row.
17128 \begin_layout Standard
17129 \begin_inset Note Greyedout
17132 \begin_layout Standard
17137 The used LaTeX-package
17141 is apparently not compatible with the LaTeX-package
17146 \begin_inset LatexCommand index
17147 name "LaTeX-packages ! colortbl"
17151 that is used for colored tables in section\InsetSpace ~
17153 \begin_inset LatexCommand ref
17154 reference "sec:Colored-Tables"
17159 That means colored tables cannot have dashed lines.
17167 \begin_layout Standard
17171 \begin_layout Standard
17181 \begin_inset Note Note
17184 \begin_layout Standard
17185 The following will be displayed when the LaTeX-package
17197 \begin_layout Standard
17198 You need to install the package
17202 to see the contents of this section in the output.
17205 \begin_layout Standard
17209 \begin_layout Standard
17221 \begin_layout Chapter
17223 \begin_inset LatexCommand index
17229 \begin_inset LatexCommand label
17237 \begin_layout Section
17239 \begin_inset LatexCommand label
17240 name "sec:FloatIntroduction"
17245 \begin_inset LatexCommand index
17246 name "Floats ! Introduction"
17253 \begin_layout Standard
17254 A float is a block of text associated with some sort of label, which doesn't
17255 have a fixed location.
17257 \begin_inset Quotes eld
17261 \begin_inset Quotes erd
17264 forward or backward a page or two, to wherever it fits best.
17271 Margin\InsetSpace ~
17274 are also floats, because they can float to the next page when there are
17275 too many notes at the page.
17278 \begin_layout Standard
17279 Floats allow a high quality layout.
17280 Images and tables can evenly be spread to the pages to avoid white space
17281 and pages without text.
17282 As the floating often destroys the context between the text and the image/table
17283 , every float can be referenced in the text.
17284 Floats are therefore numbered.
17285 Referencing is described in section\InsetSpace ~
17287 \begin_inset LatexCommand ref
17288 reference "sec:Referencing-Floats"
17295 \begin_layout Standard
17296 To insert a float, use the menu
17298 Insert\SpecialChar \menuseparator
17302 This inserts a box with a label in the
17310 \begin_layout Standard
17315 environment is described in LyX's
17324 into your document.
17325 Every label ends with the character
17326 \begin_inset Quotes eld
17330 \begin_inset Quotes erd
17333 as placeholder for the float number in the output.
17334 The label will automatically be translated to the document language in
17336 Behind the label you can insert the caption text.
17337 The image or table is inserted above or below the caption in a separate
17338 paragraph within the float.
17339 More about the caption placement is described in section\InsetSpace ~
17341 \begin_inset LatexCommand ref
17342 reference "sec:Caption-Placement"
17347 To keep your LyX-document readable, you can open and close the float box
17348 by left-clicking on the box label.
17349 A closed float box looks like this:
17350 \begin_inset Graphics
17351 filename ../clipart/floatQt4.png
17356 -- a gray button with a red label.
17359 \begin_layout Standard
17360 It is recommended to insert floats as a separate paragraph to avoid possible
17361 LaTeX-errors that can occur when the surrounding text is specially formatted.
17364 \begin_layout Standard
17365 Existing figures or tables can be put into a float by marking them and then
17366 pressing the corresponding toolbar button for a new float.
17369 \begin_layout Section
17373 \begin_layout Standard
17374 Besides figure and table floats that are described in section\InsetSpace ~
17376 \begin_inset LatexCommand ref
17377 reference "sec:Figure-Floats"
17382 \begin_inset LatexCommand ref
17383 reference "sec:Table-Floats"
17387 , respectively, LyX offers the float types
17400 \begin_layout Subsection
17402 \begin_inset LatexCommand index
17403 name "Floats ! Algorithm Floats"
17410 \begin_layout Standard
17411 \begin_inset Float algorithm
17417 \begin_layout Standard
17418 \begin_inset Caption
17420 \begin_layout Standard
17421 \begin_inset LatexCommand label
17422 name "alg:Example-Algorithm-float"
17426 Example Algorithm float
17434 \begin_layout LyX-Code
17437 Sum:= Sum + A(I); /*senseless comment*/
17440 \begin_inset VSpace -4mm
17451 \begin_layout Standard
17452 This float type is inserted with the menu
17454 Insert\SpecialChar \menuseparator
17455 Floats\SpecialChar \menuseparator
17459 It is used for program codes and descriptions of algorithms.
17460 A possible environment for algorithms is the
17464 , described in LyX's
17469 Algorithm\InsetSpace ~
17471 \begin_inset LatexCommand ref
17472 reference "alg:Example-Algorithm-float"
17476 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17477 mm vertical space was added
17478 at the end of the float to have the bottom rule exactly below the last
17482 \begin_layout Standard
17483 The float label is not automatically translated into the document language.
17484 If your document is not in English, you have to do this manually by adding
17489 to the document preamble
17494 \begin_layout Standard
17499 floatname{algorithm}{your\InsetSpace ~
17503 \begin_layout Standard
17510 \begin_inset Quotes eld
17518 \begin_inset Quotes erd
17524 \begin_layout Description
17529 When the LaTeX-package
17534 \begin_inset LatexCommand index
17535 name "LaTeX-packages ! hyperref"
17539 is used to link cross-references to floats in the PDF-output, it must be
17540 loaded in the document preamble before the definition of floats to be able
17541 to reference floats.
17542 As LyX sets the float definition for algorithm floats automatically before
17543 the user editable part of the document preamble, you need to insert the
17544 following preamble lines
17548 the loading command of
17555 \begin_inset VSpace defskip
17562 newfloat{Xalgorithm}{tbp}{loa}
17566 floatname{Xalgorithm}{your\InsetSpace ~
17579 renewenvironment{algorithm}[1][tbp]
17585 \begin_layout Standard
17596 begin{Xalgorithm}[#1]}{
17599 \begin_inset VSpace defskip
17612 \begin_inset Quotes eld
17620 \begin_inset Quotes erd
17626 \begin_layout Standard
17627 Algorithm floats are not by default numbered in the scheme
17628 \begin_inset Quotes eld
17632 \begin_inset Quotes erd
17635 like it is the case for table and figure floats in many document-classes.
17636 To number algorithm floats in the same scheme, add this command to your
17640 \begin_layout Standard
17645 numberwithin{algorithm}{chapter}
17648 \begin_layout Standard
17649 If you use the LaTeX-package
17653 , add this line instead
17661 (the commands from above) to the preamble:
17664 \begin_layout Standard
17669 numberwithin{Xalgorithm}{chapter}
17672 \begin_layout Standard
17673 To be able to use the command
17684 in the document settings the option
17694 \begin_layout Subsection
17696 \begin_inset LatexCommand index
17697 name "Floats ! Text Wrap Floats"
17702 \begin_inset LatexCommand label
17703 name "sub:floatflt-wrap-float"
17710 \begin_layout Standard
17711 This float type is used if you want to
17712 \begin_inset Quotes eld
17716 \begin_inset Quotes erd
17719 text around a figure so that it only occupies some fraction of the column
17721 It can be inserted using the menu
17722 \begin_inset Wrap figure
17727 \begin_layout Standard
17728 \begin_inset Graphics
17729 filename mobius.eps
17732 rotateOrigin center
17739 \begin_layout Standard
17740 \begin_inset Caption
17742 \begin_layout Standard
17743 \begin_inset LatexCommand label
17744 name "fig:This-is-a"
17748 This is a wrapped figure, and this is the brilliant caption that describes
17750 \begin_inset VSpace medskip
17765 Insert\SpecialChar \menuseparator
17766 Floats\SpecialChar \menuseparator
17771 if the LaTeX-package
17776 \begin_inset LatexCommand index
17777 name "LaTeX-packages ! floatflt"
17785 \begin_layout Standard
17786 Installing a LaTeX-package is explained it in the
17796 The width and placement of the float is adjusted by right-clicking on the
17798 Figure\InsetSpace ~
17800 \begin_inset LatexCommand ref
17801 reference "fig:This-is-a"
17805 is an example text wrap float with a width of 40
17806 \begin_inset Formula $\,$
17813 \begin_layout Standard
17814 Available units are explained in
17815 \begin_inset LatexCommand ref
17816 reference "cha:Units-available-in"
17825 Some space was added under the caption to separate it better from the surroundi
17829 \begin_layout Standard
17834 also supports table wrap floats, but they are not yet supported by LyX.
17835 If you need this, read the documentation of
17840 \begin_inset LatexCommand cite
17848 \begin_layout Standard
17849 \begin_inset Note Greyedout
17852 \begin_layout Standard
17858 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17860 having a figure too close to the bottom
17861 of the page can mess things up in the way that the float doesn't appear
17862 in the output or that it is placed over some other text.
17866 \begin_layout Standard
17867 The better solution is to use the LaTeX-package
17869 wrapf\SpecialChar \textcompwordmark{}
17873 \begin_inset LatexCommand index
17874 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17880 floatf\SpecialChar \textcompwordmark{}
17883 , but it is currently not supported by LyX.
17896 \begin_layout Standard
17900 \begin_layout Itemize
17901 Wrap floats should not be placed in paragraphs that run over a page break.
17902 That means that wrap floats should better be inserted to the exact place
17903 when the document is nearly ready and you are able to estimate where page
17904 breaks will appear.
17907 \begin_layout Itemize
17908 Wrap floats should either be placed in an own paragraph before the paragraph
17909 where they should wrap into or within a paragraph.
17912 \begin_layout Itemize
17913 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17914 there is a text paragraph between them as separator.
17917 \begin_layout Itemize
17918 Wrap floats are not allowed in section headings or tables.
17921 \begin_layout Section
17923 \begin_inset LatexCommand label
17924 name "sec:Referencing-Floats"
17929 \begin_inset LatexCommand index
17930 name "Floats ! References"
17935 \begin_inset LatexCommand index
17943 \begin_layout Standard
17944 To reference a float, insert a label into its caption using the menu
17946 Insert\SpecialChar \menuseparator
17949 or the toolbar button
17950 \begin_inset Graphics
17951 filename ../images/label-insert.xpm
17957 A grey label box like this one:
17958 \begin_inset Graphics
17959 filename ../clipart/labelQt4.png
17964 will be inserted and the label window pops up asking for the label text.
17965 LyX offers as text the first words of the caption with a prefix.
17966 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17968 for figure floats the prefix will
17976 \begin_layout Standard
17977 The label is used as anchor and name for the reference.
17978 You can refer to the label using the menu
17980 Insert\SpecialChar \menuseparator
17983 or the toolbar button
17984 \begin_inset Graphics
17985 filename ../images/dialog-show-new-inset_ref.xpm
17991 A grey cross-reference box like this one:
17992 \begin_inset Graphics
17993 filename ../clipart/referenceQt4.png
17998 will be inserted and the cross-reference window appear showing all labels
18000 If you have multiple LyX-documents opened, choose the one you are working
18001 on from the drop-list at the top of the dialog.
18002 You can now sort the labels alphabetically and then choose one.
18003 At the position of the cross-reference box the float number will appear
18007 \begin_layout Standard
18008 It is recommended to use a protected space between the cross-reference name
18009 and its number to avoid line breaks between them.
18010 If a cross-reference refers to a non-existing label, you will see two question
18011 marks in the output instead of the reference.
18014 \begin_layout Standard
18015 You can change labels at any time by clicking on the label box.
18016 References to the changed label will automatically change its link to the
18017 new label text, so that you don't need to take care about this.
18020 \begin_layout Standard
18027 in the cross-reference window sets the cursor before the referred label.
18028 The button text changes then to Go\InsetSpace ~
18029 Back and you can use it to set the cursor
18030 back to the cross-reference.
18031 Right-clicking on a cross-reference box also sets the cursor before the
18032 referenced label but without a possibility to go back.
18035 \begin_layout Subsection
18036 Cross-Reference Formats
18037 \begin_inset LatexCommand label
18038 name "sub:Cross-Reference-Formats"
18043 \begin_inset LatexCommand index
18044 name "References ! Formats"
18051 \begin_layout Standard
18052 There are six varieties of cross-references:
18055 \begin_layout Description
18056 <reference>: prints the float number, this is the default:
18057 \begin_inset LatexCommand ref
18058 reference "fig:Two-distorted-images"
18065 \begin_layout Description
18066 (<reference>): prints the float number within two parentheses, this is the
18067 style normally used to reference formulas, especially when the reference
18069 \begin_inset Quotes eld
18073 \begin_inset Quotes erd
18077 \begin_inset LatexCommand eqref
18085 \begin_layout Description
18086 <page>: prints the page number: Page\InsetSpace ~
18088 \begin_inset LatexCommand pageref
18089 reference "fig:Two-distorted-images"
18096 \begin_layout Description
18099 <page>: prints the text "on page" and the page number:
18100 \begin_inset LatexCommand vpageref
18101 reference "fig:Two-distorted-images"
18108 \begin_layout Description
18109 <reference>\InsetSpace ~
18112 <page>: prints the float number, the text "on page", and
18114 \begin_inset LatexCommand vref
18115 reference "fig:Two-distorted-images"
18122 \begin_layout Description
18123 Formatted\InsetSpace ~
18124 reference: prints a self defined cross-reference format.
18126 \begin_inset Note Greyedout
18129 \begin_layout Standard
18134 This feature is only available when you have the LaTeX-package
18146 \begin_layout Standard
18147 Note that the style <page> won't print the page number if the label is on
18148 the previous, the same, or the next page.
18149 You will e.\InsetSpace \thinspace{}
18152 \begin_inset Quotes eld
18160 \begin_inset Quotes erd
18166 \begin_layout Standard
18167 The number and current page of the referred document part in the output,
18168 is automatically calculated by LaTeX.
18169 The varieties are adjusted in the field
18173 of the cross-reference window, that appear when you click on the cross-referenc
18177 \begin_layout Subsection
18178 Referencing Subfigures
18179 \begin_inset LatexCommand label
18180 name "sub:Referencing-Subfigures"
18185 \begin_inset LatexCommand index
18186 name "References ! to Subfigures"
18193 \begin_layout Standard
18194 Currently referencing subfigures is not supported by LyX, so you have to
18195 use LaTeX-commands.
18196 The label is the created
18203 \begin_layout Standard
18208 label{fig: YourLabelName}
18211 \begin_layout Standard
18212 that is directly inserted into the subfigure caption field.
18213 To reference the label add this command in ERT
18216 \begin_layout Standard
18221 ref{fig: YourLabelName}
18224 \begin_layout Standard
18225 to the position in your document where the reference should be placed.
18226 Here is a reference to a subfigure: Subfigure\InsetSpace ~
18231 \begin_layout Standard
18243 \begin_layout Subsection
18244 Automatic Reference Naming
18245 \begin_inset LatexCommand index
18246 name "References ! Automatic Reference Naming"
18253 \begin_layout Standard
18258 provides a very useful feature that cross-references automatically include
18259 the name of the referenced floats (or text parts like sections).
18260 You save to write e.\InsetSpace \thinspace{}
18263 \begin_inset Quotes eld
18267 \begin_inset Quotes erd
18270 before every reference box.
18271 To get this automatic reference naming, you have to load the LaTeX-package
18277 \begin_inset LatexCommand index
18278 name "LaTeX-packages ! hyperref"
18282 in the document preamble with
18285 \begin_layout Standard
18290 usepackage[pdfborder={0 0 0}]{hyperref}
18305 \begin_layout Standard
18310 is used to link cross-references in the DVI- and PDF-output, this means
18311 that the reader of your document will be able to click on a table of content
18312 (TOC) entry or on a reference and he will be shown the referenced document
18318 also creates PDF-bookmarks for every section of your document to make it
18319 easier for readers to navigate through the document.
18320 This is also used in this document but when you have a look in the document
18321 preamble you will find various options in the load command of
18326 To learn more about the
18330 package, we refer to its documentation
18331 \begin_inset LatexCommand cite
18339 \begin_layout Standard
18340 \begin_inset Note Greyedout
18343 \begin_layout Standard
18348 Automatic reference naming cannot be used when you use cross-references
18351 Formatted\InsetSpace ~
18354 style, described in section\InsetSpace ~
18356 \begin_inset LatexCommand ref
18357 reference "sub:Cross-Reference-Formats"
18369 \begin_layout Subsection
18371 \begin_inset LatexCommand label
18372 name "sub:Reference-Position"
18377 \begin_inset LatexCommand index
18378 name "References ! Reference Position"
18385 \begin_layout Standard
18391 \begin_inset LatexCommand index
18392 name "LaTeX-packages ! hyperref"
18396 to link cross-references in the output, you will see that clicking on an
18397 image float reference jumps to the image label.
18398 The caption will be the first text part on the screen, so that you cannot
18399 see the image without scrolling.
18400 This is because the reference link anchor is placed at the position of
18402 With the use of the package
18407 \begin_inset LatexCommand index
18408 name "LaTeX-packages ! hypcap"
18412 , which is part of the LaTeX-package
18417 \begin_inset LatexCommand index
18418 name "LaTeX-packages ! oberdiek"
18422 , the link anchor is placed at the beginning of a float.
18423 To use this feature for figure floats, load
18427 in the document preamble with the line
18430 \begin_layout Standard
18435 usepackage[f\SpecialChar \textcompwordmark{}
18439 \begin_layout Standard
18444 for all floats but this isn't recommended for stability reasons.
18445 For more informations, have a look at
18450 \begin_inset LatexCommand cite
18458 \begin_layout Standard
18459 \begin_inset Note Greyedout
18462 \begin_layout Standard
18471 must be loaded after
18475 in the document preamble.
18483 \begin_layout Standard
18484 \begin_inset Note Greyedout
18487 \begin_layout Standard
18492 The set reference position has no effect for references to subfigures.
18500 \begin_layout Section
18502 \begin_inset LatexCommand label
18503 name "sec:Float-Placement"
18508 \begin_inset LatexCommand index
18509 name "Floats ! Placement"
18516 \begin_layout Standard
18517 Right-clicking on a float-box opens a dialog where you can alter the placement
18518 options that LaTeX uses for positioning the float.
18525 is only useful for two-column documents: If you select it, the float will
18526 span across both columns on the page instead of being confined to just
18531 Rotate\InsetSpace ~
18534 is used to rotate floats, see section
18535 \begin_inset LatexCommand ref
18536 reference "sec:Rotated-Floats"
18543 \begin_layout Standard
18544 You can use one ore more of the following options in the float dialog to
18545 set the placement for a particular float when you uncheck the option
18548 default\InsetSpace ~
18554 \begin_layout Description
18557 possible: try to place the float on the position where it is inserted
18560 \begin_layout Description
18563 page: try to place the float on the top of the current page
18566 \begin_layout Description
18567 Bottom\InsetSpace ~
18569 page: try to place the float on the bottom of the current page
18572 \begin_layout Description
18575 floats: try to place the float on an own page
18578 \begin_layout Standard
18579 The order of the above option is
18584 That means, if you use the default placement, LaTeX will first try out
18597 , and then the others.
18598 If you don't use the default, LaTeX will try only the checked options but
18600 If none of the 4 placements are possible the procedure is internally repeated
18601 but it is tried to put the float on the following page.
18604 \begin_layout Standard
18605 By default, each options has its own rules:
18608 \begin_layout Labeling
18609 \labelwidthstring 00.00.0000
18616 only floats occupying less than 70\InsetSpace \thinspace{}
18617 % of the page can be placed at the top
18627 \begin_layout Labeling
18628 \labelwidthstring 00.00.0000
18631 Bottom\InsetSpace ~
18635 : only floats occupying less than 30\InsetSpace \thinspace{}
18636 % of the page can be placed at the bottom
18647 \begin_layout Labeling
18648 \labelwidthstring 00.00.0000
18655 : only if more than 50\InsetSpace \thinspace{}
18656 % of the page are occupied by floats, several floats
18657 can be set together on a page.
18667 \begin_layout Standard
18668 If you don't like these rules, you can ignore them by using the additional
18671 Ignore\InsetSpace ~
18677 You can also redefine the rules with LaTeX-commands that are given in parenthese
18678 s behind the rules description above.
18679 To increase for example the often too small default of the bottom-rule
18680 to 50\InsetSpace \thinspace{}
18681 % of the page, add this line to your document preamble:
18684 \begin_layout Standard
18691 bottomfraction}{0.5}
18694 \begin_layout Standard
18695 Sometimes you might need, under all circumstances, a float to be placed
18696 exactly at the position where it is inserted.
18697 For this case you can use the option
18703 Use this option very rarely and only if the document is nearly ready to
18705 Because the float is then no longer able to
18706 \begin_inset Quotes eld
18710 \begin_inset Quotes erd
18713 when you change your document and this will often destroy the page layout.
18716 \begin_layout Standard
18717 There are no placement options for text wrap floats, because they are always
18718 surrounded by the text of a certain paragraph.
18719 \begin_inset VSpace bigskip
18725 \begin_layout Standard
18726 Sometimes you have the problem that a float is placed at the top of a page
18727 while its corresponding section starts at the middle of the page, so that
18728 the reader could think the float is part of the previous section.
18729 To avoid this the LaTeX-command
18733 suppressf\SpecialChar \textcompwordmark{}
18737 It suppresses a given float placement for the page where it is inserted
18738 and can therefore be used to avoid that floats could be set before a section
18740 To get this, add these commands to your document preamble:
18743 \begin_layout Standard
18760 suppressf\SpecialChar \textcompwordmark{}
18766 \begin_layout Standard
18767 You can define the same for all section headings, like chapters and subsections.
18768 This definition is not recommended to be used for small text parts like
18769 subsubsections because LaTeX may then have problems to find a suitable
18773 \begin_layout Standard
18774 \begin_inset VSpace bigskip
18777 In some cases it is required to have all figures/tables at the end of the
18779 For this purpose the LaTeX-package
18781 endf\SpecialChar \textcompwordmark{}
18785 \begin_inset LatexCommand index
18786 name "LaTeX-packages ! endfloat"
18791 It puts all figure and table floats at the end of the document into own
18793 At the original float position a text hint like
18794 \begin_inset Quotes eld
18799 [Figure\InsetSpace ~
18803 \begin_inset Quotes erd
18807 The endfloat-package is loaded in the preamble with the line
18810 \begin_layout Standard
18815 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18819 \begin_layout Standard
18820 There are various package options to format the created figure/table sections.
18821 For more information we refer to the
18823 endf\SpecialChar \textcompwordmark{}
18827 \begin_inset LatexCommand cite
18835 \begin_inset Note Greyedout
18838 \begin_layout Standard
18841 Note: endf\SpecialChar \textcompwordmark{}
18844 doesn't provide an automatic translation for the text hint, you have to
18845 do this manually, see section\InsetSpace ~
18847 \begin_inset LatexCommand cite
18860 \begin_inset Note Greyedout
18863 \begin_layout Standard
18868 There is currently a bug in
18870 endf\SpecialChar \textcompwordmark{}
18873 when the caption contains a German
18874 \begin_inset Quotes eld
18878 \begin_inset Quotes erd
18882 Use in this case the command
18883 \begin_inset Quotes eld
18893 \begin_inset Quotes erd
18897 \begin_inset Quotes eld
18901 \begin_inset Quotes erd
18912 \begin_layout Standard
18913 \begin_inset VSpace bigskip
18916 For more details about float placements, have a look at LaTeX books,
18917 \begin_inset LatexCommand cite
18918 key "latexcompanion,latexguide,latexbook"
18925 \begin_layout Section
18927 \begin_inset LatexCommand label
18928 name "sec:Rotated-Floats"
18933 \begin_inset LatexCommand index
18934 name "Floats ! Rotating"
18941 \begin_layout Standard
18942 Especially for wide tables you might have floats rotated.
18943 To rotate a whole float including the caption, right-click on the float-box
18946 Rotate\InsetSpace ~
18952 \begin_layout Standard
18953 Rotated floats are always placed on its own page (or column, when you have
18954 a two-column document).
18955 They are normally rotated so that you can read them from the outside margin
18956 -- to the left on even pages, to the right on odd pages.
18959 \begin_layout Standard
18960 Referencing rotated floats is the same like for normal floats, the caption
18961 format is also the same: Table\InsetSpace ~
18963 \begin_inset LatexCommand ref
18964 reference "tab:Rotated-table"
18968 is an example of a rotated table float.
18971 \begin_layout Standard
18972 \begin_inset Note Greyedout
18975 \begin_layout Standard
18980 Not all DVI-viewers are able to display rotated floats.
18988 \begin_layout Standard
18989 \begin_inset Float table
18994 \begin_layout Standard
18995 \begin_inset Caption
18997 \begin_layout Standard
18998 \begin_inset LatexCommand label
18999 name "tab:Rotated-table"
19011 \begin_layout Standard
19013 \begin_inset Tabular
19014 <lyxtabular version="3" rows="1" columns="5">
19016 <column alignment="center" valignment="top" leftline="true" width="0">
19017 <column alignment="center" valignment="top" leftline="true" width="0">
19018 <column alignment="center" valignment="top" leftline="true" width="0">
19019 <column alignment="center" valignment="top" leftline="true" width="0">
19020 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19021 <row topline="true" bottomline="true">
19022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19025 \begin_layout Standard
19031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19034 \begin_layout Standard
19040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19043 \begin_layout Standard
19049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19052 \begin_layout Standard
19058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19061 \begin_layout Standard
19080 \begin_layout Section
19082 \begin_inset LatexCommand index
19083 name "Caption ! Formatting"
19088 \begin_inset LatexCommand index
19089 name "Floats ! Caption Formatting"
19094 \begin_inset LatexCommand index
19095 name "LaTeX-packages ! caption"
19100 \begin_inset LatexCommand label
19101 name "sec:Caption-Formatting"
19108 \begin_layout Standard
19113 environment is the default paragraph environment for
19118 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19121 \begin_inset Quotes eld
19129 \begin_inset Quotes erd
19132 followed by the caption text.
19134 \begin_inset Quotes eld
19138 \begin_inset Quotes erd
19141 is substituted in the printed output by the actual reference number.
19142 By default the label and the number are in the same font as the caption
19143 text and a colon follows the number to divide then label from the text.
19144 This caption format is not suitable for all document formats.
19148 \begin_layout Standard
19149 To change the default caption format, load the LaTeX-package
19154 \begin_inset LatexCommand index
19155 name "LaTeX-packages ! caption"
19159 in the document preamble with this line:
19162 \begin_layout Standard
19167 usepackage[format definition]{caption}
19170 \begin_layout Standard
19171 To have for example the label and the number in sans-serif bold font and
19172 the table captions always above the table like in this document, use the
19176 \begin_layout Standard
19181 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19184 \begin_layout Standard
19185 You can also define different caption formats for the different float types.
19186 In this case load the
19190 package without format specific options and define the different formats
19191 with the help of the command
19194 \begin_layout Standard
19199 captionsetup[float type]{format definition}
19202 \begin_layout Standard
19203 in the document preamble.
19204 For example the caption formats of Figure\InsetSpace ~
19206 \begin_inset LatexCommand ref
19207 reference "fig:This-is-an-fig"
19211 and Table\InsetSpace ~
19213 \begin_inset LatexCommand ref
19214 reference "tab:This-is-an-tab"
19218 can be created using these commands in the document preamble:
19221 \begin_layout Standard
19226 usepackage[tableposition=top]{caption}
19234 captionsetup[f\SpecialChar \textcompwordmark{}
19235 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19241 \begin_layout Standard
19249 captionsetup[figure]
19260 captionsetup[table]{labelfont={bf,sf}}
19263 \begin_layout Standard
19264 For more information about the package
19268 we refer to its documentation
19269 \begin_inset LatexCommand cite
19270 key "caption,caption-de"
19277 \begin_layout Standard
19278 \begin_inset VSpace bigskip
19286 \begin_inset LatexCommand index
19287 name "LaTeX-packages ! koma-script"
19293 article (koma-script)
19301 letter (koma-script)
19305 report (koma-script)
19307 \InsetSpace \thinspace{}
19308 ), you can alternatively to the
19316 's built-in command
19323 For example, to have the caption label in bold, add this command to your
19327 \begin_layout Standard
19332 setkomafont{captionlabel}{
19337 \begin_layout Standard
19338 For more information about
19349 \begin_inset LatexCommand cite
19350 key "koma-script,koma-script-de"
19357 \begin_layout Standard
19361 \begin_layout Standard
19365 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19372 \begin_inset Note Note
19375 \begin_layout Standard
19376 The caption format is changed only for this example.
19384 \begin_layout Standard
19385 \begin_inset Float figure
19391 \begin_layout Standard
19393 \begin_inset Graphics
19394 filename mobius.eps
19403 \begin_layout Standard
19404 \begin_inset Caption
19406 \begin_layout Standard
19407 \begin_inset LatexCommand label
19408 name "fig:This-is-an-fig"
19412 This is an example figure caption that is longer than one line to show the
19413 different caption format.
19414 Here a self-defined caption format is used.
19427 \begin_layout Standard
19431 \begin_layout Standard
19435 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19444 \begin_layout Standard
19445 \begin_inset Float table
19451 \begin_layout Standard
19452 \begin_inset Caption
19454 \begin_layout Standard
19455 \begin_inset LatexCommand label
19456 name "tab:This-is-an-tab"
19460 This is an example table caption that is longer than one line to show the
19461 different caption format.
19462 Here the standard caption format for tables in this document is used.
19470 \begin_layout Standard
19472 \begin_inset Tabular
19473 <lyxtabular version="3" rows="1" columns="5">
19475 <column alignment="center" valignment="top" leftline="true" width="0">
19476 <column alignment="center" valignment="top" leftline="true" width="0">
19477 <column alignment="center" valignment="top" leftline="true" width="0">
19478 <column alignment="center" valignment="top" leftline="true" width="0">
19479 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19480 <row topline="true" bottomline="true">
19481 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19484 \begin_layout Standard
19490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19493 \begin_layout Standard
19499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19502 \begin_layout Standard
19508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19511 \begin_layout Standard
19517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19520 \begin_layout Standard
19539 \begin_layout Section
19541 \begin_inset LatexCommand index
19542 name "Caption ! Placement"
19547 \begin_inset LatexCommand index
19548 name "Floats ! Caption Placement"
19553 \begin_inset LatexCommand label
19554 name "sec:Caption-Placement"
19561 \begin_layout Standard
19562 The common caption placement rule is:
19565 \begin_layout Description
19566 Figure: Caption is set below the figure
19569 \begin_layout Description
19570 Table: Caption is set above the table
19573 \begin_layout Standard
19574 Having the caption above the table is unfortunately not supported in LaTeX's
19576 That means if you are using the document classes
19592 there will be no space between the caption and the table.
19593 To insert the needed space, add the following option to the load command
19594 of the LaTeX-package
19598 in your document preamble
19602 \begin_layout Standard
19603 See section\InsetSpace ~
19605 \begin_inset LatexCommand ref
19606 reference "sec:Caption-Formatting"
19610 for more information of the package
19622 \begin_layout Standard
19628 \begin_layout Standard
19634 \begin_inset LatexCommand index
19635 name "LaTeX-packages ! koma-script"
19641 article (koma-script)
19649 letter (koma-script)
19653 report (koma-script)
19655 \InsetSpace \thinspace{}
19656 ), you can alternatively to the
19660 package set the document class option
19664 , or you can use the environment
19666 caption\InsetSpace ~
19676 \begin_layout Standard
19677 \begin_inset VSpace bigskip
19680 It is also possible to set the caption beside a figure or table.
19681 To get this the LaTeX-package
19686 \begin_inset LatexCommand index
19687 name "LaTeX-packages ! sidecap"
19691 has to be loaded in the document preamble with the line
19694 \begin_layout Standard
19699 usepackage[option]{sidecap}
19702 \begin_layout Standard
19703 If you set no option, the caption is placed on the side of the outer page
19704 margin -- to the right on odd pages, to the left on even pages.
19705 You can change the placement to inner margin with the option
19710 To force the placement always to the right or left, use the option
19721 \begin_layout Standard
19722 To place in LyX the caption of a float on the side, it is necessary to add
19723 these commands to the document preamble:
19726 \begin_layout Standard
19732 \begin_layout Standard
19745 \begin_layout Standard
19766 \begin_layout Standard
19787 \begin_layout Standard
19798 renewenvironment{table}{
19805 \begin_layout Standard
19818 \begin_layout Standard
19839 \begin_layout Standard
19857 \begin_layout Standard
19870 \begin_layout Standard
19885 f\SpecialChar \textcompwordmark{}
19892 \begin_layout Standard
19905 MyEndf\SpecialChar \textcompwordmark{}
19908 endf\SpecialChar \textcompwordmark{}
19915 \begin_layout Standard
19926 renewenvironment{f\SpecialChar \textcompwordmark{}
19929 begin{SCf\SpecialChar \textcompwordmark{}
19932 end{SCf\SpecialChar \textcompwordmark{}
19936 \begin_layout Standard
19949 \begin_layout Standard
19962 f\SpecialChar \textcompwordmark{}
19971 \begin_layout Standard
19984 endf\SpecialChar \textcompwordmark{}
19987 MyEndf\SpecialChar \textcompwordmark{}
19991 \begin_layout Standard
19997 \begin_layout Standard
19998 The commands allow you to redefine the floats so that the caption is set
20000 For figure floats use the command
20003 \begin_layout Standard
20011 \begin_layout Standard
20012 in ERT before the float.
20013 Behind the float insert the command
20016 \begin_layout Standard
20024 \begin_layout Standard
20025 in ERT to get back to the original float definition.
20028 \begin_layout Standard
20029 For table floats use the corresponding commands
20032 \begin_layout Standard
20046 \begin_layout Standard
20047 Figure\InsetSpace ~
20049 \begin_inset LatexCommand ref
20050 reference "fig:cap-beside-fig"
20054 and Table\InsetSpace ~
20056 \begin_inset LatexCommand ref
20057 reference "tab:cap-beside-tab"
20061 are examples where the caption is set beside.
20064 \begin_layout Standard
20065 You can see in the examples that the caption text appears at the top of
20066 the floats for table floats and at the bottom for figure floats.
20067 To change this, you can use the command
20070 \begin_layout Standard
20075 sidecaptionvpos{float type}{placement}
20078 \begin_layout Standard
20079 in the document preamble or in ERT before the float.
20080 The float type is either
20088 , the placement can be
20089 \begin_inset Quotes eld
20097 \begin_inset Quotes erd
20101 \begin_inset Quotes eld
20109 \begin_inset Quotes erd
20113 \begin_inset Quotes eld
20121 \begin_inset Quotes erd
20125 To have for example the caption of figure floats vertically centered, use
20129 \begin_layout Standard
20134 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20138 \begin_layout Standard
20139 This was used for Figure\InsetSpace ~
20141 \begin_inset LatexCommand ref
20142 reference "fig:cap-beside-fig-2"
20149 \begin_layout Standard
20150 \begin_inset VSpace defskip
20153 For more information about the package
20157 we refer to its documentation
20158 \begin_inset LatexCommand cite
20166 \begin_layout Standard
20167 \begin_inset Note Greyedout
20170 \begin_layout Standard
20180 \begin_inset LatexCommand index
20181 name "LaTeX-packages ! hypcap"
20185 , described in section\InsetSpace ~
20187 \begin_inset LatexCommand ref
20188 reference "sub:Reference-Position"
20192 , has no effect on floats with the caption set beside.
20200 \begin_layout Standard
20204 \begin_layout Standard
20216 \begin_layout Standard
20217 \begin_inset Float figure
20222 \begin_layout Standard
20223 \begin_inset Graphics
20224 filename escher-lsd.eps
20232 \begin_layout Standard
20233 \begin_inset Caption
20235 \begin_layout Standard
20236 \begin_inset LatexCommand label
20237 name "fig:cap-beside-fig"
20241 This is a caption beside a figure.
20254 \begin_layout Standard
20258 \begin_layout Standard
20270 \begin_layout Standard
20271 \begin_inset Float table
20276 \begin_layout Standard
20277 \begin_inset Caption
20279 \begin_layout Standard
20280 \begin_inset LatexCommand label
20281 name "tab:cap-beside-tab"
20285 This is a caption beside a table.
20293 \begin_layout Standard
20294 \begin_inset Tabular
20295 <lyxtabular version="3" rows="4" columns="5">
20297 <column alignment="center" valignment="top" leftline="true" width="0">
20298 <column alignment="center" valignment="top" leftline="true" width="0">
20299 <column alignment="center" valignment="top" leftline="true" width="0">
20300 <column alignment="center" valignment="top" leftline="true" width="0">
20301 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20302 <row topline="true">
20303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20306 \begin_layout Standard
20312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20315 \begin_layout Standard
20321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20324 \begin_layout Standard
20330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20333 \begin_layout Standard
20339 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20342 \begin_layout Standard
20349 <row topline="true">
20350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20353 \begin_layout Standard
20359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20362 \begin_layout Standard
20368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20371 \begin_layout Standard
20377 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20380 \begin_layout Standard
20386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20389 \begin_layout Standard
20396 <row topline="true">
20397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20400 \begin_layout Standard
20406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20409 \begin_layout Standard
20415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20418 \begin_layout Standard
20424 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20427 \begin_layout Standard
20433 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20436 \begin_layout Standard
20443 <row topline="true" bottomline="true">
20444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20447 \begin_layout Standard
20453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20456 \begin_layout Standard
20462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20465 \begin_layout Standard
20471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20474 \begin_layout Standard
20480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20483 \begin_layout Standard
20502 \begin_layout Standard
20506 \begin_layout Standard
20518 \begin_layout Standard
20522 \begin_layout Standard
20526 sidecaptionvpos{figure}{c}
20532 \begin_inset Float figure
20537 \begin_layout Standard
20538 \begin_inset Graphics
20539 filename escher-lsd.eps
20547 \begin_layout Standard
20548 \begin_inset Caption
20550 \begin_layout Standard
20551 \begin_inset LatexCommand label
20552 name "fig:cap-beside-fig-2"
20556 This is a vertically centered caption beside a figure.
20569 \begin_layout Standard
20573 \begin_layout Standard
20585 \begin_layout Section
20587 \begin_inset LatexCommand label
20588 name "sec:Listings-of-Floats"
20593 \begin_inset LatexCommand index
20594 name "Floats ! Listings"
20601 \begin_layout Standard
20602 Similar to the the table of contents where the sections of the document
20603 are listed, there are listings for all float types, like the figures of
20605 You can insert them via the
20607 Insert\SpecialChar \menuseparator
20615 \begin_layout Standard
20616 The list entries are the float captions or its short title, the float number,
20617 and the page number where they appear in the document.
20620 \begin_layout Standard
20621 You can find the list of figures and tables at the end of this document.
20624 \begin_layout Chapter
20628 \begin_layout Section
20632 \begin_layout Standard
20645 \begin_layout Standard
20653 \begin_inset LatexCommand label
20654 name "sec:LyX-Notes"
20659 \begin_inset LatexCommand index
20660 name "Notes ! LyX Notes"
20665 \begin_inset Note Note
20668 \begin_layout Standard
20671 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20672 are displayed wrongly in PDF-bookmarks.
20673 For more information about this, have a look at
20674 \begin_inset LatexCommand cite
20687 \begin_layout Standard
20688 Notes are inserted with the toolbar button
20689 \begin_inset Graphics
20690 filename ../images/note-insert.xpm
20697 Insert\SpecialChar \menuseparator
20701 There are three types of notes:
20704 \begin_layout Description
20706 Note This note type is for internal notes that won't appear in the output.
20707 Its note-box looks like this:
20712 \begin_inset Graphics
20713 filename ../clipart/LyXNoteImageQt4.png
20720 \begin_inset Note Note
20723 \begin_layout Standard
20724 This is text in a note box that doesn't appear in the output.
20732 \begin_layout Description
20733 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20734 ent, when you export the document to LaTeX via the menu
20736 File\SpecialChar \menuseparator
20737 Export\SpecialChar \menuseparator
20738 LaTeX (pdflatex) / LaTeX (plain)
20741 Its note-box looks like this:
20746 \begin_inset Graphics
20747 filename ../clipart/CommentNoteImageQt4.png
20754 \begin_inset Note Comment
20757 \begin_layout Standard
20758 This is text in a note box that only appears as comment in LaTeX-files.
20766 \begin_layout Description
20767 Greyed\InsetSpace ~
20768 Out This note will appear in the output as grey text.
20769 Its note-box looks like this:
20774 \begin_inset Graphics
20775 filename ../clipart/GreyedOutNoteImageQt4.png
20787 \begin_layout Standard
20791 renewenvironment{lyxgreyedout}
20794 \begin_layout Standard
20798 textcolor[gray]{0.8}
20808 \begin_inset Note Greyedout
20811 \begin_layout Standard
20816 \begin_layout Standard
20817 This is an example footnote within a greyed out note.
20822 of a comment that appears in the output as grey text.
20831 \begin_layout Standard
20835 renewenvironment{lyxgreyedout}
20838 \begin_layout Standard
20852 \begin_inset Note Note
20855 \begin_layout Standard
20856 The greyed out note is here redefined to show it with the original LyX definitio
20857 n because greyed out notes are redefined in the preamble of this document,
20858 as described below, to have blue text.
20867 As you can see in the example, the first line of greyed out notes is a bit
20868 indented and greyed out notes can have footnotes.
20871 \begin_layout Description
20872 Framed This note will appear in the output as framed text.
20873 Its note-box looks like this:
20878 \begin_inset Graphics
20879 filename ../clipart/FramedNoteImageQt4.png
20886 \begin_inset Note Framed
20889 \begin_layout Standard
20890 This is text in a note box that appears framed in the output.
20895 In contrary to framed boxes
20899 \begin_layout Standard
20900 Framed boxes are described in section\InsetSpace ~
20902 \begin_inset LatexCommand ref
20903 reference "sec:Framed-Boxes"
20912 the frame uses always the whole text width and the note is set into its
20916 \begin_layout Description
20917 Shaded This note will appear in the output with red background color.
20918 Its note box looks like this:
20923 \begin_inset Graphics
20924 filename ../clipart/ShadedNoteImageQt4.png
20931 \begin_inset Note Shaded
20934 \begin_layout Standard
20935 This text in a note box appears in the output with red background.
20940 In contrary to colored boxes
20944 \begin_layout Standard
20945 Colored boxes are described in section\InsetSpace ~
20947 \begin_inset LatexCommand ref
20948 reference "sec:Colored-Boxes"
20957 the note uses always the whole text width and the note is set into its
20961 \begin_layout Standard
20962 \begin_inset VSpace bigskip
20965 When you use the toolbar button to insert notes, a
20971 You can switch between the three note types by right-clicking on the note-box.
20976 If you want to turn existing text into a note, mark it and click on the
20992 \begin_layout Standard
20993 \begin_inset VSpace bigskip
20996 You can change the text color of the greyed out notes in the preamble with
20997 the following command:
21000 \begin_layout Standard
21005 renewenvironment{lyxgreyedout}
21011 \begin_layout Standard
21029 \begin_layout Standard
21030 The available colors and the method to define own colors is explained in
21031 section\InsetSpace ~
21033 \begin_inset LatexCommand ref
21034 reference "sec:Colored-Tables"
21041 \begin_layout Standard
21042 Notes that appear in blue in this document are set using greyed out notes
21046 \begin_layout Standard
21047 \begin_inset VSpace bigskip
21053 \begin_layout Standard
21062 notes can be set in the
21069 \begin_layout Standard
21070 The default frame width for
21074 notes is 0.4\InsetSpace \thinspace{}
21075 pt; it can be changed by changing the size
21082 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21084 be changed by changing the size
21091 For example the frame appearance of the following
21095 note is set with the ERT commands
21098 \begin_layout Standard
21108 \begin_layout Standard
21112 \begin_layout Standard
21124 \begin_inset Note Framed
21127 \begin_layout Standard
21141 \begin_layout Standard
21155 \begin_layout Standard
21156 \begin_inset VSpace bigskip
21162 \begin_layout Standard
21167 notes the default space between the note content and the note border is
21168 3\InsetSpace \thinspace{}
21169 pt; it can be changed by changing the size
21177 The default background color red can be changed with the command
21181 def\SpecialChar \textcompwordmark{}
21189 def\SpecialChar \textcompwordmark{}
21192 command is explained in section\InsetSpace ~
21194 \begin_inset LatexCommand ref
21195 reference "sec:Colored-Tables"
21203 \begin_layout Standard
21210 \SpecialChar \textcompwordmark{}
21215 requires the LaTeX-package
21219 in the preamble, see section\InsetSpace ~
21221 \begin_inset LatexCommand ref
21222 reference "sec:Colored-Boxes"
21234 \begin_layout Standard
21235 For example the appearance of the following
21239 note is set with the ERT commands
21242 \begin_layout Standard
21255 def\SpecialChar \textcompwordmark{}
21256 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21259 \begin_layout Standard
21263 \begin_layout Standard
21276 \begin_layout Standard
21280 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21286 \begin_inset Note Shaded
21289 \begin_layout Standard
21292 This is yellow text in a
21296 note with darkgreen background.
21305 \begin_layout Standard
21318 \begin_layout Standard
21322 definecolor{shadecolor}{rgb}{1,0,0}
21330 \begin_layout Section
21332 \begin_inset LatexCommand label
21333 name "sec:Footnotes"
21338 \begin_inset LatexCommand index
21339 name "Notes ! Footnotes"
21344 \begin_inset LatexCommand index
21352 \begin_layout Standard
21353 Footnotes can be inserted using the toolbar button
21354 \begin_inset Graphics
21355 filename ../images/footnote-insert.xpm
21362 Insert\SpecialChar \menuseparator
21374 then the following footnote-box:
21375 \begin_inset Graphics
21376 filename ../clipart/footnoteQt4.png
21385 where you can enter the footnote text.
21386 If you want to turn existing text into a footnote, mark it and click on
21402 \begin_layout Standard
21403 Here is an example footnote:
21411 \begin_layout Standard
21412 \begin_inset LatexCommand label
21413 name "foot:This-is-an"
21417 This is an example footnote.
21430 \begin_layout Standard
21434 newcounter{MyRepeatFoot}
21437 \begin_layout Standard
21441 setcounter{MyRepeatFoot}{
21451 \begin_layout Standard
21452 The footnote will appear in the output as a superscript number at the text
21453 position where the footnote box is placed.
21454 The footnote text is placed at the bottom of the current page.
21455 The footnote number is calculated by LaTeX, the numbers are consecutive.
21456 It depends on your document-class, if the footnote number is reset for
21460 \begin_layout Standard
21461 Footnotes can be referenced like floats: Insert a label into the footnote
21462 and cross-reference this label in the text as described in section\InsetSpace ~
21464 \begin_inset LatexCommand ref
21465 reference "sec:Referencing-Floats"
21471 This is a cross-reference of Footnote\InsetSpace ~
21473 \begin_inset LatexCommand ref
21474 reference "foot:This-is-an"
21481 \begin_inset Note Greyedout
21484 \begin_layout Standard
21489 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21490 e.\InsetSpace \thinspace{}
21495 \begin_inset Quotes eld
21501 \begin_inset Quotes erd
21504 manually when you want to use the reference style
21506 Formatted\InsetSpace ~
21517 \begin_layout Standard
21518 \begin_inset VSpace defskip
21521 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21523 \begin_inset LatexCommand ref
21524 reference "sec:Minipages"
21529 Footnotes within longtables are described in section\InsetSpace ~
21531 \begin_inset LatexCommand ref
21532 reference "sub:Footnotes-in-Longtables"
21539 \begin_layout Standard
21540 \begin_inset VSpace defskip
21543 To create only a mark for a footnote, use the command
21547 footnotemark[number]
21550 This is used when you have the same annotation several times in a text
21551 but doesn't want to print the footnote text every time.
21554 the number of the repeating footnote while you are writing the text, you
21555 have to store its number.
21556 For the following footnote mark example, these commands were inserted in
21557 ERT behind Footnote\InsetSpace ~
21559 \begin_inset LatexCommand ref
21560 reference "foot:This-is-an"
21564 to store the footnote number:
21567 \begin_layout Standard
21572 newcounter{MyRepeatFoot}
21576 setcounter{MyRepeatFoot}{
21581 \begin_layout Standard
21582 The footnote mark was then created with this command:
21585 \begin_layout Standard
21595 \begin_layout Standard
21596 Here is an example footnote mark:
21604 \begin_layout Standard
21618 \begin_layout Subsection
21620 \begin_inset LatexCommand label
21621 name "sub:Footnote-Numbering"
21626 \begin_inset LatexCommand index
21627 name "Footnotes ! Numbering"
21634 \begin_layout Standard
21635 If you want to have footnotes numbered in the scheme
21636 \begin_inset Quotes eld
21640 \begin_inset Quotes erd
21643 , add the following command to your document preamble:
21646 \begin_layout Standard
21651 numberwithin{footnote}{chapter}
21654 \begin_layout Standard
21655 To be able to use the command
21666 in the document settings the option
21676 \begin_layout Standard
21680 \begin_layout Standard
21684 numberwithin{footnote}{chapter}
21689 This is another example footnote:
21695 \begin_layout Standard
21696 This is a footnote numbered in the scheme
21697 \begin_inset Quotes eld
21701 \begin_inset Quotes erd
21715 \begin_layout Standard
21719 numberwithin{footnote}{part}
21727 \begin_layout Standard
21728 \begin_inset VSpace bigskip
21734 \begin_layout Standard
21735 To reset the footnote number back to 1 after each section
21737 , add this command to your document preamble:
21740 \begin_layout Standard
21745 @addtoreset{footnote}{section}
21748 \begin_layout Standard
21749 \begin_inset VSpace bigskip
21752 The following preamble command changes the footnote numbering style to small
21756 \begin_layout Standard
21768 \begin_layout Standard
21772 \begin_layout Standard
21785 This is a footnote with roman numbering:
21789 \begin_layout Standard
21790 This is an example footnote with roman numbering.
21799 \begin_layout Standard
21815 \begin_layout Standard
21816 To change the numbering style to capital roman numerals replace in the command
21831 \begin_inset Quotes eld
21835 \begin_inset Quotes erd
21838 footnotes with capital or small Latin letters use
21852 \begin_inset Quotes eld
21856 \begin_inset Quotes erd
21859 footnotes with symbols use
21868 \begin_layout Standard
21869 \begin_inset Note Greyedout
21872 \begin_layout Standard
21879 You can only number 26 footnotes with Latin letters, because this numbering
21880 is limited to single letters.
21888 \begin_inset Note Greyedout
21891 \begin_layout Standard
21896 You can only number 9 footnotes with symbols.
21904 \begin_layout Standard
21905 To return to the default numbering style when you changed to another one,
21918 in the command above.
21921 \begin_layout Subsection
21923 \begin_inset LatexCommand index
21924 name "Footnotes ! Placement"
21931 \begin_layout Standard
21932 If you have several footnotes in one page, they appear without vertical
21933 space between them at the bottom of the page.
21934 To make them better readable you can e.\InsetSpace \thinspace{}
21936 add 1.5\InsetSpace \thinspace{}
21937 mm space with the following
21941 \begin_layout Standard
21963 \begin_layout Standard
21964 \begin_inset VSpace bigskip
21967 In a two-column document the footnotes appear at the bottom of every column,
21968 see Figure\InsetSpace ~
21970 \begin_inset LatexCommand ref
21971 reference "fig:Standard-footnote-placement"
21976 If the footnotes should only appear at the bottom of the right column,
21977 as in Figure\InsetSpace ~
21979 \begin_inset LatexCommand ref
21980 reference "fig:Footnote-placement-in"
21984 , use the LaTeX-package
21989 \begin_inset LatexCommand index
21990 name "LaTeX-packages ! ftnright"
21994 with this command in the document preamble:
21997 \begin_layout Standard
22002 usepackage{ftnright}
22005 \begin_layout Standard
22006 \begin_inset Float figure
22012 \begin_layout Standard
22016 \begin_layout Standard
22026 \begin_inset Graphics
22027 filename ../clipart/without_fntright.pdf
22036 \begin_layout Standard
22046 \begin_layout Standard
22047 \begin_inset Caption
22049 \begin_layout Standard
22050 \begin_inset LatexCommand label
22051 name "fig:Standard-footnote-placement"
22055 Standard footnote placement in two-column documents.
22068 \begin_layout Standard
22069 \begin_inset Float figure
22075 \begin_layout Standard
22079 \begin_layout Standard
22089 \begin_inset Graphics
22090 filename ../clipart/with_fntright.pdf
22099 \begin_layout Standard
22109 \begin_layout Standard
22110 \begin_inset Caption
22112 \begin_layout Standard
22113 \begin_inset LatexCommand label
22114 name "fig:Footnote-placement-in"
22118 Footnote placement in two-column documents when the LaTeX-package
22135 \begin_layout Standard
22136 \begin_inset VSpace bigskip
22139 In some scientific literature it is usual to collect the footnotes and print
22140 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22142 \begin_inset LatexCommand ref
22143 reference "fig:Endnotes----footnotes"
22148 They are then so called
22149 \begin_inset Quotes eld
22153 \begin_inset Quotes erd
22157 To use endnotes instead of footnotes in your document, load the LaTeX-package
22163 \begin_inset LatexCommand index
22164 name "LaTeX-packages ! endnotes"
22168 with the document preamble lines
22171 \begin_layout Standard
22176 usepackage{endnotes}
22187 \begin_layout Standard
22188 To insert the collected footnotes, insert the command
22191 \begin_layout Standard
22199 \begin_layout Standard
22200 in ERT at the the end of a section or chapter.
22203 \begin_layout Standard
22204 \begin_inset Float figure
22209 \begin_layout Standard
22214 \begin_layout Standard
22224 \begin_inset Graphics
22225 filename ../clipart/endnotes.pdf
22233 \begin_layout Standard
22243 \begin_layout Standard
22244 \begin_inset Caption
22246 \begin_layout Standard
22247 \begin_inset LatexCommand label
22248 name "fig:Endnotes----footnotes"
22252 Endnotes -- footnotes are printed in a separate paragraph at the end of
22253 sections or chapters.
22266 \begin_layout Standard
22267 \begin_inset VSpace defskip
22270 The paragraph heading for the endnotes isn't automatically translated into
22271 the document language, this must be done manually.
22272 The following preamble command translate the default English name
22273 \begin_inset Quotes eld
22277 \begin_inset Quotes erd
22280 to the German translation
22281 \begin_inset Quotes eld
22285 \begin_inset Quotes erd
22291 \begin_layout Standard
22298 notesname}{Anmerkungen}
22301 \begin_layout Standard
22302 \begin_inset VSpace defskip
22305 The numbering of endnotes can be changed like the footnote numbering as
22306 described in section\InsetSpace ~
22308 \begin_inset LatexCommand ref
22309 reference "sub:Footnote-Numbering"
22313 ; just replace the command
22326 To reset the endnote number use the command
22332 as described in section\InsetSpace ~
22334 \begin_inset LatexCommand ref
22335 reference "sub:Footnote-Numbering"
22339 and replace the command parameter
22350 \begin_layout Standard
22351 To create only a mark for an endnote, use the command
22355 endnotemark[number]
22357 similar to the command
22363 , described in section\InsetSpace ~
22365 \begin_inset LatexCommand ref
22366 reference "sec:Footnotes"
22373 \begin_layout Standard
22374 \begin_inset VSpace bigskip
22377 Footnotes can also be placed in the page margin and the footnote text alignment
22378 can be changed, see the LaTeX-package
22383 \begin_inset LatexCommand index
22384 name "LaTeX-packages ! footmisc"
22389 \begin_inset LatexCommand cite
22394 for more information about this.
22397 \begin_layout Standard
22398 For various further footnote formatting issues have a look at LaTeX-books,
22400 \begin_inset LatexCommand cite
22401 key "latexcompanion,latexguide,latexbook"
22408 \begin_layout Section
22410 \begin_inset LatexCommand index
22411 name "Notes ! Margin Notes"
22418 \begin_layout Standard
22419 Margin notes look and behave in LyX like footnotes.
22420 They are inserted via the menu
22422 Insert\SpecialChar \menuseparator
22423 Marginal\InsetSpace ~
22426 or the toolbar button
22427 \begin_inset Graphics
22428 filename ../images/marginalnote-insert.xpm
22450 \begin_inset Quotes eld
22454 \begin_inset Quotes erd
22457 appears where you can enter the text of the margin note.
22460 \begin_layout Standard
22461 At the side is an example margin note.
22465 \begin_inset Marginal
22468 \begin_layout Standard
22469 This is a margin note.
22477 \begin_layout Standard
22478 Margin notes appear at the right side in single-sided documents.
22479 In double-sided documents they appear in the outer margin -- left on even
22480 pages, right on odd pages.
22481 The text of margin notes is aligned opposite to the outer margin -- right-align
22482 ed when the note appears in the left margin.
22483 The first line of the margin note is placed at the position of the text
22484 line where it is inserted in the document.
22487 \begin_layout Standard
22488 \begin_inset VSpace bigskip
22491 To place the margin note in the inner margin, add the command
22494 \begin_layout Standard
22502 \begin_layout Standard
22503 in ERT before a margin note.
22504 The new placement is valid for all following margin notes.
22508 \begin_layout Standard
22518 \begin_inset Marginal
22521 \begin_layout Standard
22522 This is a margin note in the inner margin.
22534 \begin_inset Note Greyedout
22537 \begin_layout Standard
22542 There is often not enough space in the inner margin so that the notes are
22543 not correctly displayed in the output.
22551 \begin_layout Standard
22555 \begin_layout Standard
22564 To return to the default placement insert the command
22567 \begin_layout Standard
22575 \begin_layout Standard
22578 \begin_inset Note Greyedout
22581 \begin_layout Standard
22586 The command is ignored when it is within a paragraph where also the command
22601 \begin_layout Standard
22602 \begin_inset VSpace bigskip
22609 \begin_inset Marginal
22612 \begin_layout Standard
22613 AVeryLongMarginParWord that isn't hyphenated.
22621 Similar to the case described in section\InsetSpace ~
22623 \begin_inset LatexCommand ref
22624 reference "sub:Multiple-Lines-in"
22628 , long words cannot be hyphenated when they are the first word in a margin
22630 To avoid this, insert the command
22633 \begin_layout Standard
22641 \begin_layout Standard
22642 in ERT before the word
22646 \begin_inset Marginal
22649 \begin_layout Standard
22653 \begin_layout Standard
22662 AVeryLongMarginParWord that is hyphenated.
22670 \begin_layout Standard
22671 \begin_inset VSpace bigskip
22677 \begin_layout Standard
22678 \begin_inset Note Greyedout
22681 \begin_layout Standard
22686 Margin notes can normally not be used inside tables, floats, and footnotes.
22694 \begin_layout Standard
22695 \begin_inset VSpace bigskip
22701 \begin_layout Standard
22705 \begin_layout Standard
22715 \begin_inset Note Note
22718 \begin_layout Standard
22719 The following section will only be displayed when you have the LaTeX-package
22732 \begin_layout Standard
22733 This restriction can be evaded by using the LaTeX-package
22738 \begin_inset LatexCommand index
22739 name "LaTeX-packages ! marginnote"
22744 By adding these two lines to your document preamble, the command used by
22745 LyX for margin notes is redefined to use the command provided by the
22752 \begin_layout Standard
22757 usepackage{marginnote}
22768 \begin_layout Standard
22769 This is also used in this document because
22773 has another useful feature: You can set a vertical offset for the note.
22774 This is often needed when too many margin notes are too close together
22775 or for a better page layout.
22776 The offset is set in LyX as ERT directly behind the margin note in the
22780 \begin_layout Standard
22786 \begin_layout Standard
22787 where the offset is a length with one of the units listed in Table\InsetSpace ~
22789 \begin_inset LatexCommand ref
22790 reference "tab:Units"
22795 A negative value shifts the note up, a positive value shifts it down.
22799 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22802 \begin_inset Quotes eld
22812 \begin_inset Quotes erd
22816 \begin_inset Marginal
22819 \begin_layout Standard
22820 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22821 cm from its original position.
22833 \begin_layout Standard
22843 \begin_layout Standard
22844 \begin_inset VSpace defskip
22851 you can also change the alignment of the text in the margin note.
22852 For example the commands
22855 \begin_layout Standard
22862 raggedleftmarginnote}{
22870 raggedrightmarginnote}{
22875 \begin_layout Standard
22876 set the alignment to centered.
22881 raggedleftmarginnote
22883 denotes margin notes that appear at the left side.
22890 \begin_layout Standard
22896 raggedleftmarginnote}{
22901 \begin_layout Standard
22907 raggedrightmarginnote}{
22915 \begin_inset Marginal
22918 \begin_layout Standard
22919 The text of this margin note is centered.
22930 \begin_layout Standard
22937 raggedleftmarginnote}{
22945 raggedrightmarginnote}{
22954 \begin_layout Standard
22960 raggedleftmarginnote}{
22965 \begin_layout Standard
22971 raggedrightmarginnote}{
22981 \begin_layout Standard
22982 \begin_inset VSpace defskip
22985 For the other features of
22989 we refer to its documentation
22990 \begin_inset LatexCommand cite
22998 \begin_layout Standard
22999 \begin_inset VSpace bigskip
23002 You can change the layout of margin notes by redefining its definition.
23003 To create for example a header for all margin notes with the underlined,
23004 sans-serif, and bold header text
23005 \begin_inset Quotes eld
23017 \begin_inset Quotes erd
23020 , add this to your document preamble:
23023 \begin_layout Standard
23046 \begin_layout Standard
23063 underbar{Attention!}}}%
23069 \begin_layout Standard
23087 \begin_layout Standard
23094 \begin_layout Standard
23105 \begin_layout Standard
23116 \begin_layout Standard
23124 underbar{Attention!}}}%
23127 \begin_layout Standard
23141 \begin_inset Marginal
23144 \begin_layout Standard
23145 This is a margin note with a defined heading.
23157 \begin_layout Standard
23171 \begin_layout Standard
23188 \begin_inset Note Note
23191 \begin_layout Standard
23192 The margin note format is changed only for this example.
23200 \begin_layout Standard
23204 \begin_layout Standard
23214 \begin_inset Note Note
23217 \begin_layout Standard
23218 The following will be displayed when the LaTeX-package
23230 \begin_layout Standard
23231 You need to install the LaTeX-package
23235 to see the following part of this section in the output.
23238 \begin_layout Standard
23242 \begin_layout Standard
23254 \begin_layout Chapter
23258 \begin_layout Section
23260 \begin_inset LatexCommand index
23261 name "Boxes ! Introduction"
23268 \begin_layout Standard
23269 Boxes are used to format a block of text.
23270 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23272 \begin_inset LatexCommand ref
23273 reference "sec:Minipages"
23277 , to frame texts, see section\InsetSpace ~
23279 \begin_inset LatexCommand ref
23280 reference "sec:Framed-Boxes"
23284 , to prevent words to be hyphenated, see section\InsetSpace ~
23286 \begin_inset LatexCommand ref
23287 reference "sec:Prevent-Hyphenation"
23291 , to align text, see section\InsetSpace ~
23293 \begin_inset LatexCommand ref
23294 reference "sub:Vertical-Alignment"
23298 , or to set the background color of texts, see section\InsetSpace ~
23300 \begin_inset LatexCommand ref
23301 reference "sec:Colored-Boxes"
23308 \begin_layout Standard
23309 Boxes can be inserted with the menu
23311 Insert\SpecialChar \menuseparator
23315 A grey box with the label
23320 \begin_inset Graphics
23321 filename ../clipart/BoxInsetDefaultQt4.png
23326 , will be inserted.
23327 The box type can be specified by right-clicking on the box.
23328 The appearing box dialog offers the
23346 is the default for new boxes and is explained in section\InsetSpace ~
23348 \begin_inset LatexCommand ref
23349 reference "sec:Minipages"
23357 is described in section\InsetSpace ~
23359 \begin_inset LatexCommand ref
23360 reference "sec:Parboxes"
23367 \begin_layout Standard
23368 Boxes aren't numbered and can therefore not be referenced like floats or
23372 \begin_layout Standard
23373 \begin_inset Note Greyedout
23376 \begin_layout Standard
23381 Due to a bug in LyX you have to insert a protected space behind a box when
23382 you want to separate in a line the box from the following text with a space.
23390 \begin_layout Standard
23391 \begin_inset Note Greyedout
23394 \begin_layout Standard
23399 Boxes must not be the item in an
23415 \begin_layout Standard
23416 \begin_inset Note Greyedout
23419 \begin_layout Standard
23424 For an unknown reason you can only set the
23433 when you use a framed box.
23439 type and without frames are explained in section\InsetSpace ~
23441 \begin_inset LatexCommand ref
23442 reference "sec:Prevent-Hyphenation"
23454 \begin_layout Section
23456 \begin_inset LatexCommand label
23457 name "sec:Box-Dialog"
23462 \begin_inset LatexCommand index
23463 name "Boxes ! Box Dialog"
23468 \begin_inset LatexCommand index
23469 name "Boxes ! Alignment"
23476 \begin_layout Standard
23477 In the box dialog you can adjust the box geometry in the fields
23486 The available units for the geometry are explained in Table\InsetSpace ~
23488 \begin_inset LatexCommand ref
23489 reference "tab:Units"
23498 offers the following additional sizes:
23501 \begin_layout Description
23502 Depth This is the plain text
23503 \begin_inset Quotes eld
23507 \begin_inset Quotes erd
23511 It ignores the total depth when there are multiple text lines in the box:
23518 \begin_inset Box Boxed
23527 height_special "depth"
23530 \begin_layout Standard
23532 Box height set to 1\InsetSpace \thinspace{}
23545 \begin_layout Description
23546 Height This is the heigth of the text that is inside the box.
23547 A value of e.\InsetSpace \thinspace{}
23549 2 for this size will set the box heigth to 2 times the text
23551 \begin_inset Box Boxed
23560 height_special "height"
23563 \begin_layout Standard
23565 Box height set to 2\InsetSpace \thinspace{}
23574 \begin_layout Description
23576 Height This is the Height\InsetSpace \thinspace{}
23577 +\InsetSpace \thinspace{}
23579 \begin_inset Box Boxed
23588 height_special "totalheight"
23591 \begin_layout Standard
23593 Box height set to 1\InsetSpace \thinspace{}
23603 \begin_layout Description
23604 Width This set the width of the box as heigth:
23605 \begin_inset Box Boxed
23614 height_special "width"
23617 \begin_layout Standard
23619 Box height set to 1\InsetSpace \thinspace{}
23628 \begin_layout Standard
23629 \begin_inset VSpace bigskip
23632 When you have chosen an
23637 , the vertical box alignment can be:
23640 \begin_layout Description
23641 Top This is an example text line.
23643 \begin_inset Box Boxed
23652 height_special "totalheight"
23655 \begin_layout Standard
23657 This box is top-aligned.
23663 This is an example text line.
23666 \begin_layout Description
23667 Middle This is an example text line.
23669 \begin_inset Box Boxed
23678 height_special "totalheight"
23681 \begin_layout Standard
23683 This box is middle-aligned.
23689 This is an example text line.
23692 \begin_layout Description
23693 Bottom This is an example text line.
23695 \begin_inset Box Boxed
23704 height_special "totalheight"
23707 \begin_layout Standard
23709 This box is bottom-aligned.
23715 This is an example text line.
23718 \begin_layout Standard
23719 The horizontal box alignment can be set via LyX's paragraph dialog when
23720 you set the box into its own paragraph.
23723 \begin_layout Standard
23724 \begin_inset VSpace bigskip
23727 When you have chosen an
23732 , the box content can be vertical aligned to:
23735 \begin_layout Description
23736 top This is an example text line.
23738 \begin_inset Box Boxed
23747 height_special "totalheight"
23750 \begin_layout Standard
23752 This box text is top-aligned.
23758 This is an example text line.
23761 \begin_layout Description
23762 middle This is an example text line.
23764 \begin_inset Box Boxed
23773 height_special "totalheight"
23776 \begin_layout Standard
23778 This box text is middle-aligned.
23784 This is an example text line.
23787 \begin_layout Description
23788 bottom This is an example text line.
23790 \begin_inset Box Boxed
23799 height_special "totalheight"
23802 \begin_layout Standard
23804 This box text is bottom-aligned.
23810 This is an example text line.
23813 \begin_layout Description
23814 stretch This is an example text line.
23816 \begin_inset Box Boxed
23825 height_special "totalheight"
23828 \begin_layout Standard
23833 \begin_layout Standard
23838 \begin_layout Standard
23846 This is an example text line.
23849 \begin_layout Standard
23850 To stretch the box content, it must consist of more than one paragraph.
23851 In the example above every text line is in an own paragraph.
23854 \begin_layout Standard
23855 \begin_inset VSpace bigskip
23858 To align the box content horizontally you can use LyX's paragraph dialog
23859 when you have chosen an
23867 \begin_layout Standard
23869 \begin_inset Box Boxed
23878 height_special "totalheight"
23881 \begin_layout Standard
23886 \begin_layout Standard
23891 \begin_layout Standard
23901 \begin_layout Standard
23902 If you haven't set an
23907 , you can align the box content horizontally in the box dialog.
23910 \begin_layout Standard
23912 \begin_inset Box Boxed
23921 height_special "totalheight"
23924 \begin_layout Standard
23926 This box text is horizontally stretched.
23934 \begin_layout Section
23936 \begin_inset LatexCommand label
23937 name "sec:Framed-Boxes"
23942 \begin_inset LatexCommand index
23943 name "Boxes ! Frames"
23950 \begin_layout Standard
23951 The frame style of the box can be specified in the box-dialog in the drop-down
23957 The following frame types are possible:
23960 \begin_layout Description
23961 Rectangular\InsetSpace ~
23962 box This draws a rectangle frame around the box.
23963 The frame line thickness has the size of
23971 \begin_inset Box Boxed
23980 height_special "totalheight"
23983 \begin_layout Standard
23993 \begin_layout Description
23996 thin This draws an oval frame around the box.
23997 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
24000 \begin_inset Box ovalbox
24009 height_special "totalheight"
24012 \begin_layout Standard
24022 \begin_layout Description
24025 thick This draws an oval frame around the box.
24026 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24029 \begin_inset Box Ovalbox
24038 height_special "totalheight"
24041 \begin_layout Standard
24051 \begin_layout Description
24052 Shadow\InsetSpace ~
24053 box This draws a rectangle frame with a shadow around the box.
24054 The frame line thickness has the size of
24060 , the shadow has a width of 4\InsetSpace \thinspace{}
24063 \begin_inset Box Shadowbox
24072 height_special "totalheight"
24075 \begin_layout Standard
24085 \begin_layout Description
24086 Double\InsetSpace ~
24087 box This draws a double-line rectangle frame around the box.
24088 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24095 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24103 The distance between the lines is 1.5\InsetSpace \thinspace{}
24110 \InsetSpace \thinspace{}
24111 +\InsetSpace \thinspace{}
24112 0.5\InsetSpace \thinspace{}
24115 \begin_inset Box Doublebox
24124 height_special "totalheight"
24127 \begin_layout Standard
24137 \begin_layout Standard
24138 \begin_inset VSpace bigskip
24141 LyX's box label will change to the used frame style when you set a frame.
24142 To be able to use the different frame styles, the LaTeX-package
24147 \begin_inset LatexCommand index
24148 name "LaTeX-packages ! fancybox"
24155 \begin_layout Standard
24156 \begin_inset VSpace bigskip
24159 The default value for the size
24165 is 0.4\InsetSpace \thinspace{}
24167 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24169 2\InsetSpace \thinspace{}
24173 \begin_layout Standard
24183 \begin_layout Standard
24187 \begin_layout Standard
24199 \begin_inset Box Boxed
24208 height_special "totalheight"
24211 \begin_layout Standard
24213 Rectangular box with
24219 \InsetSpace \thinspace{}
24220 =\InsetSpace \thinspace{}
24221 2\InsetSpace \thinspace{}
24231 \begin_layout Standard
24245 \begin_layout Standard
24246 \begin_inset VSpace bigskip
24249 The space between the frame and the box content is for all frame styles
24250 by default 3\InsetSpace \thinspace{}
24252 You can change it by setting the length
24259 For example the command
24262 \begin_layout Standard
24272 \begin_layout Standard
24273 sets the value to 10\InsetSpace \thinspace{}
24274 pt, like for the following box:
24277 \begin_layout Standard
24281 \begin_layout Standard
24293 \begin_inset Box Boxed
24302 height_special "totalheight"
24305 \begin_layout Standard
24307 Rectangular box with
24313 \InsetSpace \thinspace{}
24314 =\InsetSpace \thinspace{}
24315 10\InsetSpace \thinspace{}
24325 \begin_layout Standard
24339 \begin_layout Standard
24340 \begin_inset VSpace bigskip
24343 The diameter of the round corners of the oval boxes can be set with the
24354 \begin_layout Standard
24362 \begin_layout Standard
24363 sets the diameter to 1\InsetSpace \thinspace{}
24368 \begin_layout Standard
24376 \begin_layout Standard
24377 sets the diameter to
24379 num\InsetSpace \thinspace{}
24380 ×\InsetSpace \thinspace{}
24381 minimum(width and heigth of box)
24393 \begin_layout Standard
24397 \begin_layout Standard
24407 \begin_inset Box Ovalbox
24416 height_special "totalheight"
24419 \begin_layout Standard
24427 \InsetSpace \thinspace{}
24428 =\InsetSpace \thinspace{}
24429 1.5\InsetSpace \thinspace{}
24439 \begin_layout Standard
24451 \begin_layout Standard
24452 \begin_inset VSpace bigskip
24455 The size of the shadow can be adjusted by changing the length
24462 It it set to 2\InsetSpace \thinspace{}
24463 pt for the following box by this command:
24466 \begin_layout Standard
24476 \begin_layout Standard
24480 \begin_layout Standard
24492 \begin_inset Box Shadowbox
24501 height_special "totalheight"
24504 \begin_layout Standard
24512 \InsetSpace \thinspace{}
24513 =\InsetSpace \thinspace{}
24514 2\InsetSpace \thinspace{}
24524 \begin_layout Standard
24538 \begin_layout Standard
24539 \begin_inset VSpace bigskip
24542 Changed lengths and widths are valid for all boxes following the commands
24546 \begin_layout Section
24548 \begin_inset LatexCommand label
24549 name "sec:Minipages"
24554 \begin_inset LatexCommand index
24555 name "Boxes ! Minipages"
24562 \begin_layout Standard
24563 Minipages are treated by LaTeX as pages within pages and can therefore for
24564 example have their own footnotes.
24567 \begin_layout Standard
24568 Minipages are useful when you write documents with different languages.
24571 \begin_layout Standard
24572 Below are two example minipages side by side.
24573 Their width is set to 45\InsetSpace \thinspace{}
24574 col% and they are separated by a horizontal fill,
24575 that was inserted via the menu
24577 Insert\SpecialChar \menuseparator
24578 Special\InsetSpace ~
24579 Formatting\SpecialChar \menuseparator
24580 Horizontal\InsetSpace ~
24586 \begin_layout Standard
24587 \begin_inset Box Frameless
24596 height_special "totalheight"
24599 \begin_layout Standard
24602 Dies ist ein deutscher Text.
24603 Dies ist ein deutscher Text.
24604 Dies ist ein deutscher Text.
24605 Dies ist ein deutscher Text.
24606 Dies ist ein deutscher Text.
24607 Dies ist ein deutscher Text.
24608 Dies ist ein deutscher Text.
24609 Dies ist ein deutscher Text.
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
24618 \begin_layout Standard
24621 Dies ist eine deutsche Fußnote.
24627 Dies ist ein deutscher Text.
24628 Dies ist ein deutscher Text.
24636 \begin_inset Box Frameless
24645 height_special "totalheight"
24648 \begin_layout Standard
24649 This is an English Text.
24650 This is an English Text.
24651 This is an English Text.
24652 This is an English Text.
24653 This is an English Text.
24654 This is an English Text.
24655 This is an English Text.
24656 This is an English Text.
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.
24668 \begin_layout Standard
24669 This is an English footnote.
24674 This is an English Text.
24683 \begin_layout Standard
24684 \begin_inset VSpace bigskip
24687 Another application for minipages are footnotes within tables.
24688 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24689 bottom of the current page.
24690 But when you put the table with the footnote to a minipage, the footnote
24691 will appear at its bottom, numbered with Latin letters.
24692 The footnote number is reset to 1 in every minipage but not outside the
24696 \begin_layout Standard
24697 The footnote of this table doesn't appear:
24698 \begin_inset Tabular
24699 <lyxtabular version="3" rows="3" columns="4">
24701 <column alignment="center" valignment="top" leftline="true" width="0pt">
24702 <column alignment="center" valignment="top" leftline="true" width="0pt">
24703 <column alignment="center" valignment="top" leftline="true" width="0pt">
24704 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24705 <row topline="true">
24706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24709 \begin_layout Standard
24715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24718 \begin_layout Standard
24724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24727 \begin_layout Standard
24732 \begin_layout Standard
24733 This is a footnote within a table.
24743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24746 \begin_layout Standard
24753 <row topline="true">
24754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24757 \begin_layout Standard
24763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24766 \begin_layout Standard
24772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24775 \begin_layout Standard
24781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24784 \begin_layout Standard
24791 <row topline="true" bottomline="true">
24792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24795 \begin_layout Standard
24801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24804 \begin_layout Standard
24810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24813 \begin_layout Standard
24819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24822 \begin_layout Standard
24836 \begin_layout Standard
24838 \begin_inset Box Frameless
24847 height_special "totalheight"
24850 \begin_layout Standard
24852 \begin_inset Tabular
24853 <lyxtabular version="3" rows="3" columns="4">
24855 <column alignment="center" valignment="top" leftline="true" width="0pt">
24856 <column alignment="center" valignment="top" leftline="true" width="0pt">
24857 <column alignment="center" valignment="top" leftline="true" width="0pt">
24858 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24859 <row topline="true">
24860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24863 \begin_layout Standard
24869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24872 \begin_layout Standard
24878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24881 \begin_layout Standard
24886 \begin_layout Standard
24887 This is a footnote within a table.
24897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24900 \begin_layout Standard
24907 <row topline="true">
24908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24911 \begin_layout Standard
24917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24920 \begin_layout Standard
24926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24929 \begin_layout Standard
24935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24938 \begin_layout Standard
24945 <row topline="true" bottomline="true">
24946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24949 \begin_layout Standard
24955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24958 \begin_layout Standard
24964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24967 \begin_layout Standard
24973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24976 \begin_layout Standard
24995 \begin_layout Standard
24996 \begin_inset VSpace bigskip
24999 The document-wide paragraph settings are ignored within minipages.
25000 That means that there will be no space between paragraphs in minipages
25001 although you set it to e.\InsetSpace \thinspace{}
25007 in the document settings.
25010 \begin_layout Standard
25011 Minipages can also be used to set a background color for text parts, see
25012 section\InsetSpace ~
25014 \begin_inset LatexCommand ref
25015 reference "sub:Color-for-Paragraphs"
25022 \begin_layout Standard
25023 \begin_inset Note Greyedout
25026 \begin_layout Standard
25031 You cannot have floats or margin notes inside minipages but minipages can
25032 be used inside tables, floats, and other boxes.
25040 \begin_layout Section
25042 \begin_inset LatexCommand label
25043 name "sec:Parboxes"
25048 \begin_inset LatexCommand index
25049 name "Boxes ! Parboxes"
25056 \begin_layout Standard
25057 Parboxes are very similar to minipages with the difference that they cannot
25059 The main difference to minipages is that minipages are in contrary to parboxes
25060 no real boxes but LaTeX-environments.
25063 \begin_layout Standard
25065 \begin_inset Box Frameless
25074 height_special "totalheight"
25077 \begin_layout Standard
25078 This a text within a parbox.
25079 This a text within a parbox.
25082 \begin_layout Standard
25083 This footnote won't appear:
25087 \begin_layout Standard
25088 This footnote is inside a parbox and will therefore not appear.
25101 \begin_layout Section
25102 Boxes for Words and Characters
25103 \begin_inset LatexCommand index
25104 name "Boxes ! for Characters"
25111 \begin_layout Subsection
25112 Prevent Hyphenation
25113 \begin_inset LatexCommand label
25114 name "sec:Prevent-Hyphenation"
25119 \begin_inset LatexCommand index
25120 name "Boxes ! to Prevent Hyphenation"
25127 \begin_layout Standard
25128 You can use a special kind of boxes to prevent words or text to be hyphenated.
25131 e is an example text:
25134 \begin_layout Standard
25135 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25141 \begin_layout Standard
25142 To prevent the hyphenation of the word
25143 \begin_inset Quotes eld
25147 \begin_inset Quotes erd
25153 \begin_layout Standard
25161 \begin_layout Standard
25162 in ERT before the word.
25163 Behind the word insert a closing brace
25164 \begin_inset Quotes eld
25172 \begin_inset Quotes erd
25179 \begin_layout Standard
25191 \begin_layout Standard
25192 This is the result:
25195 \begin_layout Standard
25196 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25202 \begin_layout Standard
25215 \begin_layout Standard
25225 \begin_layout Standard
25226 Of course the word now protrudes over the side margin.
25227 To avoid this, add via the menu
25229 Insert\SpecialChar \menuseparator
25230 Special\InsetSpace ~
25231 Formatting\SpecialChar \menuseparator
25239 ) a line break before the word:
25242 \begin_layout Standard
25243 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25251 \begin_layout Standard
25264 \begin_layout Standard
25274 \begin_layout Subsection
25276 \begin_inset LatexCommand label
25277 name "sub:Vertical-Alignment"
25282 \begin_inset LatexCommand index
25283 name "Boxes ! for Vertical Alignment"
25288 \begin_inset LatexCommand index
25289 name "Boxes ! Raiseboxes"
25296 \begin_layout Standard
25297 With the help of the command
25303 you can align words, characters or other boxes vertically to the surrounding
25311 is used with the following scheme:
25314 \begin_layout Standard
25319 raisebox{lift}[height][depth]{box content}
25322 \begin_layout Standard
25323 The lift can be a positive value to raise the box or a negative value to
25327 \begin_layout Standard
25328 To align for example the word
25329 \begin_inset Quotes eld
25333 \begin_inset Quotes erd
25336 so that the bottom of the
25337 \begin_inset Quotes eld
25341 \begin_inset Quotes erd
25345 \begin_inset Quotes eld
25349 \begin_inset Quotes erd
25352 is at the baseline, insert the command
25355 \begin_layout Standard
25365 \begin_layout Standard
25366 in ERT before the word.
25367 Behind the word insert a closing brace
25368 \begin_inset Quotes eld
25376 \begin_inset Quotes erd
25381 This is the result:
25384 \begin_layout Standard
25385 This is a text line with the word
25389 \begin_layout Standard
25401 \begin_inset Quotes eld
25405 \begin_inset Quotes erd
25412 \begin_layout Standard
25422 \begin_layout Standard
25423 \begin_inset VSpace bigskip
25426 When you raise or lower characters in a line, the line distance will be
25430 \begin_layout Standard
25431 This is a text line with the word
25435 \begin_layout Standard
25447 \begin_inset Quotes eld
25451 \begin_inset Quotes erd
25458 \begin_layout Standard
25467 This is a text line with the word
25471 \begin_layout Standard
25481 \begin_inset Quotes eld
25485 \begin_inset Quotes erd
25492 \begin_layout Standard
25502 \begin_layout Standard
25503 If you want to prevent this for a certain reason, set the box height to
25508 \begin_layout Standard
25518 \begin_layout Standard
25519 This is a text line with the word
25523 \begin_layout Standard
25535 \begin_inset Quotes eld
25539 \begin_inset Quotes erd
25546 \begin_layout Standard
25555 This is a text line with the word
25559 \begin_layout Standard
25563 raisebox{0.5cm}[0pt]{
25569 \begin_inset Quotes eld
25573 \begin_inset Quotes erd
25580 \begin_layout Standard
25590 \begin_layout Section
25592 \begin_inset LatexCommand label
25593 name "sec:Colored-Boxes"
25598 \begin_inset LatexCommand index
25599 name "Boxes ! Color"
25606 \begin_layout Subsection
25608 \begin_inset LatexCommand index
25609 name "Color ! for Text"
25616 \begin_layout Standard
25617 To color the background of text the text must be put into a so called colorbox.
25618 This requires that the LaTeX-package
25623 \begin_inset LatexCommand index
25624 name "LaTeX-packages ! color"
25628 is loaded in the document preamble with the command
25631 \begin_layout Standard
25636 @ifundef\SpecialChar \textcompwordmark{}
25643 \begin_layout Standard
25654 usepackage{color}}{}
25657 \begin_layout Standard
25662 will be loaded automatically by LyX when you color text
25666 \begin_layout Standard
25667 To avoid that it is loaded twice the command
25671 @ifundef\SpecialChar \textcompwordmark{}
25682 \begin_layout Standard
25683 \begin_inset VSpace medskip
25686 Colorboxes are created with the command
25693 This will be used with the following scheme:
25696 \begin_layout Standard
25701 colorbox{color}{box content}
25704 \begin_layout Standard
25705 The box content can also be a box and colorboxes can also be within other
25709 \begin_layout Standard
25710 The following colors are predefined:
25748 You can also define your own color as described in section\InsetSpace ~
25750 \begin_inset LatexCommand ref
25751 reference "sec:Colored-Tables"
25758 \begin_layout Standard
25759 To have e.\InsetSpace \thinspace{}
25761 a red background for a word, insert the command
25764 \begin_layout Standard
25772 \begin_layout Standard
25773 before the word in ERT.
25774 Behind the word insert a closing brace
25775 \begin_inset Quotes eld
25783 \begin_inset Quotes erd
25788 This is the result:
25791 \begin_layout Standard
25792 This is a line where the word
25796 \begin_layout Standard
25806 \begin_inset Quotes eld
25810 \begin_inset Quotes erd
25817 \begin_layout Standard
25824 has a red background.
25827 \begin_layout Standard
25828 \begin_inset VSpace bigskip
25831 If you would have the box frame in a different color, you can use the command
25838 with the following scheme:
25841 \begin_layout Standard
25846 fcolorbox{frame color}{box color}{box content}
25849 \begin_layout Standard
25863 The frame thickness and the space between the frame and the box content
25864 can be adjusted with the lengths
25876 , respectively, as described in section\InsetSpace ~
25878 \begin_inset LatexCommand ref
25879 reference "sec:Framed-Boxes"
25886 \begin_layout Standard
25887 For the following example the command
25890 \begin_layout Standard
25895 fcolorbox{cyan}{magenta}{
25898 \begin_layout Standard
25902 \begin_layout Standard
25903 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25910 \begin_layout Standard
25925 \begin_layout Standard
25929 fcolorbox{cyan}{magenta}{
25934 This is text within a colored, framed box.
25938 \begin_layout Standard
25948 \begin_layout Standard
25949 \begin_inset VSpace bigskip
25952 Of course you can also have colored text inside a colorbox:
25958 \begin_layout Standard
25962 fcolorbox{cyan}{magenta}{
25969 This is colored text within a colored, framed box.
25975 \begin_layout Standard
25986 \begin_layout Standard
26000 \begin_layout Standard
26003 \begin_inset VSpace medskip
26009 \begin_layout Standard
26010 \begin_inset Note Greyedout
26013 \begin_layout Standard
26018 Text in colorboxes cannot have line breaks.
26019 To color multiple text lines or paragraphs, use a box inside a colorbox
26020 as described in the following.
26028 \begin_layout Subsection
26029 Color for Paragraphs
26030 \begin_inset LatexCommand label
26031 name "sub:Color-for-Paragraphs"
26036 \begin_inset LatexCommand index
26037 name "Color ! for Paragraphs"
26044 \begin_layout Standard
26045 To set the background color for more than one text line, put the text into
26047 Before the minipage insert the
26056 \begin_layout Standard
26064 \begin_layout Standard
26066 Behind the minipage insert a closing brace
26067 \begin_inset Quotes eld
26075 \begin_inset Quotes erd
26081 \begin_layout Standard
26085 \begin_layout Standard
26089 colorbox{lightgrey}{
26095 \begin_inset Box Frameless
26104 height_special "totalheight"
26107 \begin_layout Standard
26108 This is text with background color.
26109 This is text with background color.
26112 \begin_layout Standard
26113 \begin_inset VSpace defskip
26116 The text can have footnotes
26120 \begin_layout Standard
26121 Another example footnote
26126 and can include tables and figures.
26129 \begin_layout Standard
26131 \begin_inset Tabular
26132 <lyxtabular version="3" rows="3" columns="3">
26134 <column alignment="center" valignment="top" leftline="true" width="0">
26135 <column alignment="center" valignment="top" leftline="true" width="0">
26136 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26137 <row topline="true">
26138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26141 \begin_layout Standard
26147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26150 \begin_layout Standard
26156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26159 \begin_layout Standard
26166 <row topline="true">
26167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26170 \begin_layout Standard
26176 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26179 \begin_layout Standard
26181 \begin_inset Quotes erd
26189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26192 \begin_layout Standard
26199 <row topline="true" bottomline="true">
26200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26203 \begin_layout Standard
26209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26212 \begin_layout Standard
26218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26221 \begin_layout Standard
26241 \begin_layout Standard
26251 \begin_layout Section
26252 URLs (Uniform Resource Locators)
26253 \begin_inset LatexCommand index
26261 \begin_layout Standard
26262 Links to web pages or email addresses can be inserted via the menu
26264 Insert\SpecialChar \menuseparator
26268 The appearing URL dialog has two fields; the
26276 field for the URL description, which will be typeset as plain text immediately
26280 \begin_layout Standard
26281 Here is an example URL:
26282 \begin_inset LatexCommand url
26283 name "LyX's homepage"
26284 target "http://www.lyx.org"
26291 \begin_layout Standard
26294 Generate\InsetSpace ~
26297 in the URL dialog has only an affect when you export your document to the
26299 \begin_inset Quotes eld
26307 \begin_inset Quotes erd
26313 \begin_layout Standard
26314 You cannot change the style of the link text.
26319 field will have the default text style of the document while the text of
26324 field will have the style
26325 \begin_inset Quotes eld
26333 \begin_inset Quotes erd
26339 \begin_layout Standard
26340 When you use the LaTeX-package
26345 \begin_inset LatexCommand index
26346 name "LaTeX-packages ! hyperref"
26350 to link cross-references in the output, URLs will automatically become
26351 clickable hyperlinks in DVI and PDF-output.
26354 \begin_layout Standard
26355 \begin_inset Note Greyedout
26358 \begin_layout Standard
26363 When you use the following characters: "%", "#", "^", you have to write
26364 them with a preceding backslash, e.\InsetSpace \thinspace{}
26367 \begin_inset Quotes eld
26373 \begin_inset Quotes erd
26377 URLs must not end with a backslash.
26385 \begin_layout Standard
26386 \begin_inset VSpace bigskip
26389 To create real hyperlinks without the force to write the link location to
26390 the text, you can use the command
26393 \begin_layout Standard
26398 href{link location}{link text}
26401 \begin_layout Standard
26403 To get for example a link to LyX's web page, write the command
26406 \begin_layout Standard
26411 href{http://www.lyx.org}{
26414 \begin_layout Standard
26416 Insert after the command the link text
26417 \begin_inset Quotes eld
26421 \begin_inset Quotes erd
26424 as normal text followed by a closing brace
26425 \begin_inset Quotes eld
26433 \begin_inset Quotes erd
26437 This is the result:
26441 \begin_layout Standard
26445 href{http://www.lyx.org}{
26454 \begin_layout Standard
26464 \begin_layout Standard
26465 To link to email addresses, add the prefix
26466 \begin_inset Quotes eld
26474 \begin_inset Quotes erd
26477 to the link location:
26483 \begin_layout Standard
26487 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26492 lyx-docs mailing list
26496 \begin_layout Standard
26506 \begin_layout Standard
26513 instead of LyX's URL box has the advantage that you can specify the text
26514 style of the link text like for all other text parts.
26515 You can therefore set hyphenation points and forced linebreaks to have
26516 long link text broken at the page margin.
26517 You are furthermore able to change the text style for all URLs in your
26518 document with an option in
26522 's load command and the restrictions mentioned above doesn't apply for
26531 \begin_layout Standard
26537 \begin_layout Chapter
26543 \begin_layout Standard
26556 \begin_layout Standard
26564 \begin_inset LatexCommand index
26570 \begin_inset LatexCommand label
26571 name "cha:Units-available-in"
26576 \begin_inset Note Note
26579 \begin_layout Standard
26582 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26583 are displayed wrongly in PDF-bookmarks.
26584 For more information about this, have a look at
26585 \begin_inset LatexCommand cite
26598 \begin_layout Standard
26599 To understand the units described in this documentation, Table\InsetSpace ~
26601 \begin_inset LatexCommand ref
26602 reference "tab:Units"
26606 explains all units available in LyX.
26609 \begin_layout Standard
26610 \begin_inset Float table
26616 \begin_layout Standard
26617 \begin_inset Caption
26619 \begin_layout Standard
26620 \begin_inset LatexCommand label
26633 \begin_layout Standard
26634 \begin_inset VSpace medskip
26640 \begin_layout Standard
26642 \begin_inset Tabular
26643 <lyxtabular version="3" rows="20" columns="2">
26645 <column alignment="center" valignment="top" leftline="true" width="0">
26646 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26647 <row topline="true" bottomline="true">
26648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26651 \begin_layout Standard
26657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26660 \begin_layout Standard
26667 <row topline="true">
26668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26671 \begin_layout Standard
26677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26680 \begin_layout Standard
26687 <row topline="true">
26688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26691 \begin_layout Standard
26697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26700 \begin_layout Standard
26707 <row topline="true">
26708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26711 \begin_layout Standard
26717 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26720 \begin_layout Standard
26727 <row topline="true">
26728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26731 \begin_layout Standard
26737 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26740 \begin_layout Standard
26741 point (72.27\InsetSpace \thinspace{}
26742 pt = 1\InsetSpace \thinspace{}
26749 <row topline="true">
26750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26753 \begin_layout Standard
26759 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26762 \begin_layout Standard
26763 pica (1\InsetSpace \thinspace{}
26764 pc = 12\InsetSpace \thinspace{}
26771 <row topline="true">
26772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26775 \begin_layout Standard
26781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26784 \begin_layout Standard
26785 scaled point (65536\InsetSpace \thinspace{}
26786 sp = 1\InsetSpace \thinspace{}
26793 <row topline="true">
26794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26797 \begin_layout Standard
26803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26806 \begin_layout Standard
26807 big point (72\InsetSpace \thinspace{}
26808 bp = 1\InsetSpace \thinspace{}
26815 <row topline="true">
26816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26819 \begin_layout Standard
26825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26828 \begin_layout Standard
26829 didot (72\InsetSpace \thinspace{}
26831 \begin_inset Formula $\approx$
26834 37.6\InsetSpace \thinspace{}
26841 <row topline="true">
26842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26845 \begin_layout Standard
26851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26854 \begin_layout Standard
26855 cicero (1\InsetSpace \thinspace{}
26856 cc = 12\InsetSpace \thinspace{}
26863 <row topline="true">
26864 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26867 \begin_layout Standard
26873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26876 \begin_layout Standard
26877 % of original image width
26883 <row topline="true">
26884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26887 \begin_layout Standard
26893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26896 \begin_layout Standard
26903 <row topline="true">
26904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26907 \begin_layout Standard
26913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26916 \begin_layout Standard
26923 <row topline="true">
26924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26927 \begin_layout Standard
26933 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26936 \begin_layout Standard
26943 <row topline="true">
26944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26947 \begin_layout Standard
26953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26956 \begin_layout Standard
26963 <row topline="true">
26964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26967 \begin_layout Standard
26973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26976 \begin_layout Standard
26983 <row topline="true">
26984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26987 \begin_layout Standard
26993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26996 \begin_layout Standard
27003 <row topline="true">
27004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27007 \begin_layout Standard
27013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27016 \begin_layout Standard
27027 <row topline="true">
27028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27031 \begin_layout Standard
27037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27040 \begin_layout Standard
27051 <row topline="true" bottomline="true">
27052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27055 \begin_layout Standard
27061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27064 \begin_layout Standard
27065 math unit (1\InsetSpace \thinspace{}
27066 mu = 1/18\InsetSpace \thinspace{}
27085 \begin_layout Chapter
27086 Output File Formats with Graphics
27087 \begin_inset LatexCommand label
27088 name "cha:Output-File-Formats"
27095 \begin_layout Section
27097 \begin_inset LatexCommand index
27098 name "File Formats ! DVI"
27103 \begin_inset LatexCommand index
27104 name "DVI|see{File Formats}"
27111 \begin_layout Standard
27112 This file type has the extension
27113 \begin_inset Quotes eld
27121 \begin_inset Quotes erd
27126 \begin_inset Quotes eld
27130 \begin_inset Quotes erd
27133 (DVI), because it is completely portable; you can move them from one machine
27134 to another without needing to do any sort of conversion.
27135 At the time when this file-format was developed, this was no matter of
27137 DVIs are used for quick previews and as pre-stage for other output formats,
27141 \begin_layout Standard
27142 \begin_inset Note Greyedout
27145 \begin_layout Standard
27150 DVI-files doesn't contain images, they will only be a linked.
27155 So don't forget this, if you move your
27159 file to another computer.
27160 This property can also slow down your computer when you view the DVI.
27161 Because the DVI-viewer has to convert the image in the background to make
27162 it visible when you scroll in the DVI.
27163 So we recommend to use PDF for files with many images.
27166 \begin_layout Standard
27167 You can export your document to DVI by using the menu
27169 File\SpecialChar \menuseparator
27170 Export\SpecialChar \menuseparator
27174 You can view your document as PostScript via the
27178 menu or by using the toolbar button
27179 \begin_inset Graphics
27180 filename ../images/buffer-view_dvi.xpm
27188 \begin_layout Section
27190 \begin_inset LatexCommand label
27191 name "sec:PostScript"
27196 \begin_inset LatexCommand index
27197 name "File Formats ! PostScript\\protect\\pagebreak"
27202 \begin_inset LatexCommand index
27203 name "PostScript|see{File Formats}"
27210 \begin_layout Standard
27211 This file type has the extension
27212 \begin_inset Quotes eld
27220 \begin_inset Quotes erd
27224 PostScript was developed by the company
27228 as printer language.
27229 The file contains therefore commands that the printer uses to print the
27231 PostScript can be seen as
27232 \begin_inset Quotes eld
27235 programming language
27236 \begin_inset Quotes erd
27239 ; you can calculate with it and draw diagrams and images
27243 \begin_layout Standard
27244 If you are interested to learn more about this, have a look at the LaTeX-package
27250 \begin_inset LatexCommand cite
27261 Due to this ability, the files are often bigger than PDFs.
27264 \begin_layout Standard
27265 PostScript can only contain images in the format
27266 \begin_inset Quotes eld
27269 Encapsulated PostScript
27270 \begin_inset Quotes erd
27273 (EPS, file extension
27274 \begin_inset Quotes eld
27282 \begin_inset Quotes erd
27286 As LyX allows you to use any known image format in your document, it has
27287 to convert images in the background to EPS.
27288 If you have e.g 50 images in your document, LyX has to do 50 conversions
27289 whenever you view or export your document.
27290 This will slow down your work flow with LyX drastically.
27291 So if you plan to use PostScript, you can insert your images directly as
27292 EPS to avoid this problem.
27295 \begin_layout Standard
27296 You can export your document to PostScript using the menu
27298 File\SpecialChar \menuseparator
27299 Export\SpecialChar \menuseparator
27303 You can view your document as PostScript via the
27307 menu or by using the toolbar button
27308 \begin_inset Graphics
27309 filename ../images/buffer-view_ps.xpm
27317 \begin_layout Section
27319 \begin_inset LatexCommand label
27325 \begin_inset LatexCommand index
27326 name "File Formats ! PDF"
27331 \begin_inset LatexCommand index
27339 \begin_layout Standard
27340 This file type has the extension
27341 \begin_inset Quotes eld
27349 \begin_inset Quotes erd
27354 \begin_inset Quotes eld
27357 Portable Document Format
27358 \begin_inset Quotes erd
27361 (PDF) is developed by
27365 as derivative from PostScript.
27366 It is more compressed and it uses much less commands than PostScript.
27368 \begin_inset Quotes eld
27372 \begin_inset Quotes erd
27375 implies, it can be processed at any computer system and the printed output
27376 looks exactly the same.
27379 \begin_layout Standard
27380 PDF can contain images in its own PDF format, in the format
27381 \begin_inset Quotes eld
27384 Joint Photographic Experts Group
27385 \begin_inset Quotes erd
27388 (JPG, file extension
27389 \begin_inset Quotes eld
27397 \begin_inset Quotes erd
27401 \begin_inset Quotes eld
27409 \begin_inset Quotes erd
27412 ), and in the format
27413 \begin_inset Quotes eld
27416 Portable Network Graphics
27417 \begin_inset Quotes erd
27420 (PNG, file extension
27421 \begin_inset Quotes eld
27429 \begin_inset Quotes erd
27433 You can although use any other image format, because LyX converts them
27434 in the background to one of these formats.
27435 But as described in the section about PostScript, the image conversion
27436 will slow down your work flow.
27437 So it is recommended to use images in one of the three mentioned formats.
27440 \begin_layout Standard
27441 You can export your document to PDF via the menu
27443 File\SpecialChar \menuseparator
27446 in three different ways:
27449 \begin_layout Description
27450 PDF This uses the program
27454 that creates a PDF from a PostScript-version of your file.
27455 The PostScript-version is produced by the program
27459 which uses a DVI-version as intermediate step.
27460 So this export variant consist of three conversions.
27463 \begin_layout Description
27465 (dvipdfm) This uses the program
27469 that converts your file in the background to DVI and in a second step to
27473 \begin_layout Description
27475 (pdflatex) This uses the program
27479 that converts your file directly to PDF.
27482 \begin_layout Standard
27483 It is recommended to use
27492 supports all features of actual PDF-versions, is quick and works stable
27498 is not under development and therefore a bit outdated.
27501 \begin_layout Standard
27502 You can view your document as PDF via the
27506 menu or by using the toolbar button
27507 \begin_inset Graphics
27508 filename ../images/buffer-view_pdf2.xpm
27525 \begin_layout Chapter
27526 Explanation of Equation\InsetSpace ~
27528 \begin_inset LatexCommand eqref
27534 \begin_inset LatexCommand label
27535 name "cha:Explanation-of-Equation"
27542 \begin_layout Standard
27548 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27551 can be calculated to
27554 \begin_layout Standard
27555 \begin_inset Formula \begin{equation}
27556 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27563 \begin_layout Standard
27565 \begin_inset Formula $W_{g\, n}$
27568 is the given width of all cells.
27575 is the LaTeX-length between the cell text and the cell border, its default
27576 value is 6\InsetSpace \thinspace{}
27584 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27588 \begin_layout Standard
27589 Following equation\InsetSpace ~
27591 \begin_inset LatexCommand eqref
27592 reference "eq:Wtot_n"
27596 , the total width of a multicolumn
27597 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27603 \begin_layout Standard
27604 \begin_inset Formula \begin{equation}
27605 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27612 \begin_layout Standard
27613 By setting equation\InsetSpace ~
27615 \begin_inset LatexCommand eqref
27616 reference "eq:Wtot_n"
27621 \begin_inset LatexCommand eqref
27622 reference "eq:Wtot_mult"
27626 equal we can calculate the needed given width
27627 \begin_inset Formula $W_{g\, n}$
27634 columns are spanned, so that each column has a total width of
27635 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27641 \begin_layout Standard
27642 \begin_inset Formula \begin{equation}
27643 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27650 \begin_layout Bibliography
27651 \begin_inset LatexCommand bibitem
27652 key "latexcompanion"
27656 Frank Mittelbach and Michel Goossens:
27658 The LaTeX Companion Second Edition.
27661 Addison-Wesley, 2004
27664 \begin_layout Bibliography
27665 \begin_inset LatexCommand bibitem
27670 Helmut Kopka and Patrick W.
27673 A Guide to LaTeX Fourth Edition.
27676 Addison-Wesley, 2003
27679 \begin_layout Bibliography
27680 \begin_inset LatexCommand bibitem
27687 LaTeX: A Document Preparation System.
27690 Addison-Wesley, second edition, 1994
27693 \begin_layout Bibliography
27694 \begin_inset LatexCommand bibitem
27703 \begin_layout Standard
27707 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27717 \begin_layout Standard
27724 of the LaTeX-package
27729 \begin_inset LatexCommand index
27730 name "LaTeX-packages ! booktabs"
27737 \begin_layout Bibliography
27738 \begin_inset LatexCommand bibitem
27747 \begin_layout Standard
27751 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27760 \begin_layout Standard
27767 of the LaTeX-package
27772 \begin_inset LatexCommand index
27773 name "LaTeX-packages ! caption"
27780 \begin_layout Bibliography
27781 \begin_inset LatexCommand bibitem
27790 \begin_layout Standard
27794 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27804 \begin_layout Standard
27811 of the LaTeX-package
27816 \begin_layout Bibliography
27817 \begin_inset LatexCommand bibitem
27826 \begin_layout Standard
27830 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27840 \begin_layout Standard
27847 of the LaTeX-package
27849 endf\SpecialChar \textcompwordmark{}
27853 \begin_inset LatexCommand index
27854 name "LaTeX-packages ! endfloat"
27861 \begin_layout Bibliography
27862 \begin_inset LatexCommand bibitem
27871 \begin_layout Standard
27875 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27885 \begin_layout Standard
27892 of the LaTeX-package
27894 floatf\SpecialChar \textcompwordmark{}
27898 \begin_inset LatexCommand index
27899 name "LaTeX-packages ! floatflt"
27906 \begin_layout Bibliography
27907 \begin_inset LatexCommand bibitem
27916 \begin_layout Standard
27920 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27930 \begin_layout Standard
27937 of the LaTeX-package
27942 \begin_inset LatexCommand index
27943 name "LaTeX-packages ! footmisc"
27950 \begin_layout Bibliography
27951 \begin_inset LatexCommand bibitem
27960 \begin_layout Standard
27964 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27973 \begin_layout Standard
27980 of the LaTeX-package
27985 \begin_inset LatexCommand index
27986 name "LaTeX-packages ! hyperref"
27993 \begin_layout Bibliography
27994 \begin_inset LatexCommand bibitem
28003 \begin_layout Standard
28007 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28017 \begin_layout Standard
28024 of the LaTeX-package
28029 \begin_inset LatexCommand index
28030 name "LaTeX-packages ! hyperref"
28037 \begin_layout Bibliography
28038 \begin_inset LatexCommand bibitem
28047 \begin_layout Standard
28051 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28061 \begin_layout Standard
28068 of the LaTeX-package
28073 \begin_inset LatexCommand index
28074 name "LaTeX-packages ! koma-script"
28081 \begin_layout Bibliography
28082 \begin_inset LatexCommand bibitem
28083 key "koma-script-de"
28091 \begin_layout Standard
28095 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28105 \begin_layout Standard
28112 of the LaTeX-package
28117 \begin_inset LatexCommand index
28118 name "LaTeX-packages ! koma-script"
28125 \begin_layout Bibliography
28126 \begin_inset LatexCommand bibitem
28135 \begin_layout Standard
28139 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28149 \begin_layout Standard
28156 of the LaTeX-package
28161 \begin_inset LatexCommand index
28162 name "LaTeX-packages ! marginnote"
28169 \begin_layout Bibliography
28170 \begin_inset LatexCommand bibitem
28179 \begin_layout Standard
28183 href{http://tug.org/PSTricks/main.cgi/}{
28192 \begin_layout Standard
28199 of the LaTeX-package
28204 \begin_inset LatexCommand index
28205 name "LaTeX-packages ! PSTricks"
28212 \begin_layout Bibliography
28213 \begin_inset LatexCommand bibitem
28222 \begin_layout Standard
28226 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28235 \begin_layout Standard
28242 of the LaTeX-package
28247 \begin_inset LatexCommand index
28248 name "LaTeX-packages ! sidecap"
28255 \begin_layout Bibliography
28256 \begin_inset LatexCommand bibitem
28265 \begin_layout Standard
28269 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28278 \begin_layout Standard
28285 about new LyX-features planned for the release
28292 \begin_layout Standard
28293 \begin_inset LatexCommand printindex
28300 \begin_layout Standard
28301 \begin_inset FloatList figure
28308 \begin_layout Standard
28309 \begin_inset FloatList table