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 ~
2396 See the following longtable to see how it works:
2399 \begin_layout Standard
2401 \begin_inset Tabular
2402 <lyxtabular version="3" rows="69" columns="3">
2403 <features islongtable="true">
2404 <column alignment="left" valignment="top" leftline="true" width="0cm">
2405 <column alignment="left" valignment="top" width="0pt">
2406 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2407 <row topline="true" bottomline="true" endfirsthead="true">
2408 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2411 \begin_layout Standard
2414 Example Phone List (ignore the names)
2419 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2422 \begin_layout Standard
2428 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2431 \begin_layout Standard
2438 <row topline="true" bottomline="true" endfirsthead="true">
2439 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2442 \begin_layout Standard
2450 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2453 \begin_layout Standard
2459 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2462 \begin_layout Standard
2471 <row topline="true" bottomline="true" endhead="true">
2472 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2475 \begin_layout Standard
2483 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2486 \begin_layout Standard
2492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2495 \begin_layout Standard
2502 <row topline="true" bottomline="true" endhead="true">
2503 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2506 \begin_layout Standard
2514 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2517 \begin_layout Standard
2523 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2526 \begin_layout Standard
2535 <row topline="true" bottomline="true" endfoot="true">
2536 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2539 \begin_layout Standard
2540 continued on next page
2545 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2548 \begin_layout Standard
2554 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2557 \begin_layout Standard
2565 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2568 \begin_layout Standard
2576 <cell alignment="center" valignment="top" topline="true" usebox="none">
2579 \begin_layout Standard
2585 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2588 \begin_layout Standard
2596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2599 \begin_layout Standard
2607 <cell alignment="center" valignment="top" topline="true" usebox="none">
2610 \begin_layout Standard
2616 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2619 \begin_layout Standard
2627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2630 \begin_layout Standard
2638 <cell alignment="center" valignment="top" topline="true" usebox="none">
2641 \begin_layout Standard
2647 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2650 \begin_layout Standard
2658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2661 \begin_layout Standard
2669 <cell alignment="center" valignment="top" topline="true" usebox="none">
2672 \begin_layout Standard
2678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2681 \begin_layout Standard
2689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2692 \begin_layout Standard
2700 <cell alignment="center" valignment="top" topline="true" usebox="none">
2703 \begin_layout Standard
2709 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2712 \begin_layout Standard
2720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2723 \begin_layout Standard
2731 <cell alignment="center" valignment="top" topline="true" usebox="none">
2734 \begin_layout Standard
2740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2743 \begin_layout Standard
2751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2754 \begin_layout Standard
2762 <cell alignment="center" valignment="top" topline="true" usebox="none">
2765 \begin_layout Standard
2771 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2774 \begin_layout Standard
2782 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2785 \begin_layout Standard
2793 <cell alignment="center" valignment="top" topline="true" usebox="none">
2796 \begin_layout Standard
2802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2805 \begin_layout Standard
2813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2816 \begin_layout Standard
2824 <cell alignment="center" valignment="top" topline="true" usebox="none">
2827 \begin_layout Standard
2833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2836 \begin_layout Standard
2844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2847 \begin_layout Standard
2855 <cell alignment="center" valignment="top" topline="true" usebox="none">
2858 \begin_layout Standard
2864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2867 \begin_layout Standard
2875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2878 \begin_layout Standard
2886 <cell alignment="center" valignment="top" topline="true" usebox="none">
2889 \begin_layout Standard
2895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2898 \begin_layout Standard
2906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2909 \begin_layout Standard
2917 <cell alignment="center" valignment="top" topline="true" usebox="none">
2920 \begin_layout Standard
2926 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2929 \begin_layout Standard
2937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2940 \begin_layout Standard
2948 <cell alignment="center" valignment="top" topline="true" usebox="none">
2951 \begin_layout Standard
2957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2960 \begin_layout Standard
2968 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2971 \begin_layout Standard
2979 <cell alignment="center" valignment="top" topline="true" usebox="none">
2982 \begin_layout Standard
2988 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2991 \begin_layout Standard
2999 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3002 \begin_layout Standard
3010 <cell alignment="center" valignment="top" topline="true" usebox="none">
3013 \begin_layout Standard
3019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3022 \begin_layout Standard
3030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3033 \begin_layout Standard
3041 <cell alignment="center" valignment="top" topline="true" usebox="none">
3044 \begin_layout Standard
3050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3053 \begin_layout Standard
3061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3064 \begin_layout Standard
3072 <cell alignment="center" valignment="top" topline="true" usebox="none">
3075 \begin_layout Standard
3081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3084 \begin_layout Standard
3092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3095 \begin_layout Standard
3103 <cell alignment="center" valignment="top" topline="true" usebox="none">
3106 \begin_layout Standard
3112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3115 \begin_layout Standard
3123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3126 \begin_layout Standard
3134 <cell alignment="center" valignment="top" topline="true" usebox="none">
3137 \begin_layout Standard
3143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3146 \begin_layout Standard
3154 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3157 \begin_layout Standard
3165 <cell alignment="center" valignment="top" topline="true" usebox="none">
3168 \begin_layout Standard
3174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3177 \begin_layout Standard
3185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3188 \begin_layout Standard
3196 <cell alignment="center" valignment="top" topline="true" usebox="none">
3199 \begin_layout Standard
3205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3208 \begin_layout Standard
3216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3219 \begin_layout Standard
3227 <cell alignment="center" valignment="top" topline="true" usebox="none">
3230 \begin_layout Standard
3236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3239 \begin_layout Standard
3247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3250 \begin_layout Standard
3258 <cell alignment="center" valignment="top" topline="true" usebox="none">
3261 \begin_layout Standard
3267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3270 \begin_layout Standard
3278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3281 \begin_layout Standard
3289 <cell alignment="center" valignment="top" topline="true" usebox="none">
3292 \begin_layout Standard
3298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3301 \begin_layout Standard
3309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3312 \begin_layout Standard
3320 <cell alignment="center" valignment="top" topline="true" usebox="none">
3323 \begin_layout Standard
3329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3332 \begin_layout Standard
3340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3343 \begin_layout Standard
3351 <cell alignment="center" valignment="top" topline="true" usebox="none">
3354 \begin_layout Standard
3360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3363 \begin_layout Standard
3371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3374 \begin_layout Standard
3382 <cell alignment="center" valignment="top" topline="true" usebox="none">
3385 \begin_layout Standard
3391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3394 \begin_layout Standard
3402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3405 \begin_layout Standard
3413 <cell alignment="center" valignment="top" topline="true" usebox="none">
3416 \begin_layout Standard
3422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3425 \begin_layout Standard
3433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3436 \begin_layout Standard
3444 <cell alignment="center" valignment="top" topline="true" usebox="none">
3447 \begin_layout Standard
3453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3456 \begin_layout Standard
3464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3467 \begin_layout Standard
3475 <cell alignment="center" valignment="top" topline="true" usebox="none">
3478 \begin_layout Standard
3484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3487 \begin_layout Standard
3494 <row bottomline="true">
3495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3498 \begin_layout Standard
3506 <cell alignment="center" valignment="top" topline="true" usebox="none">
3509 \begin_layout Standard
3515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3518 \begin_layout Standard
3525 <row bottomline="true">
3526 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3529 \begin_layout Standard
3535 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3538 \begin_layout Standard
3544 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3547 \begin_layout Standard
3555 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3558 \begin_layout Standard
3566 <cell alignment="center" valignment="top" topline="true" usebox="none">
3569 \begin_layout Standard
3575 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3578 \begin_layout Standard
3586 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3589 \begin_layout Standard
3597 <cell alignment="center" valignment="top" topline="true" usebox="none">
3600 \begin_layout Standard
3606 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3609 \begin_layout Standard
3617 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3620 \begin_layout Standard
3628 <cell alignment="center" valignment="top" topline="true" usebox="none">
3631 \begin_layout Standard
3637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3640 \begin_layout Standard
3648 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3651 \begin_layout Standard
3659 <cell alignment="center" valignment="top" topline="true" usebox="none">
3662 \begin_layout Standard
3668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3671 \begin_layout Standard
3679 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3682 \begin_layout Standard
3690 <cell alignment="center" valignment="top" topline="true" usebox="none">
3693 \begin_layout Standard
3699 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3702 \begin_layout Standard
3710 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3713 \begin_layout Standard
3721 <cell alignment="center" valignment="top" topline="true" usebox="none">
3724 \begin_layout Standard
3730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3733 \begin_layout Standard
3741 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3744 \begin_layout Standard
3752 <cell alignment="center" valignment="top" topline="true" usebox="none">
3755 \begin_layout Standard
3761 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3764 \begin_layout Standard
3772 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3775 \begin_layout Standard
3783 <cell alignment="center" valignment="top" topline="true" usebox="none">
3786 \begin_layout Standard
3792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3795 \begin_layout Standard
3803 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3806 \begin_layout Standard
3814 <cell alignment="center" valignment="top" topline="true" usebox="none">
3817 \begin_layout Standard
3823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3826 \begin_layout Standard
3834 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3837 \begin_layout Standard
3845 <cell alignment="center" valignment="top" topline="true" usebox="none">
3848 \begin_layout Standard
3854 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3857 \begin_layout Standard
3865 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3868 \begin_layout Standard
3876 <cell alignment="center" valignment="top" topline="true" usebox="none">
3879 \begin_layout Standard
3885 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3888 \begin_layout Standard
3896 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3899 \begin_layout Standard
3907 <cell alignment="center" valignment="top" topline="true" usebox="none">
3910 \begin_layout Standard
3916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3919 \begin_layout Standard
3927 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3930 \begin_layout Standard
3938 <cell alignment="center" valignment="top" topline="true" usebox="none">
3941 \begin_layout Standard
3947 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3950 \begin_layout Standard
3958 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3961 \begin_layout Standard
3969 <cell alignment="center" valignment="top" topline="true" usebox="none">
3972 \begin_layout Standard
3978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3981 \begin_layout Standard
3989 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3992 \begin_layout Standard
4000 <cell alignment="center" valignment="top" topline="true" usebox="none">
4003 \begin_layout Standard
4009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4012 \begin_layout Standard
4020 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4023 \begin_layout Standard
4031 <cell alignment="center" valignment="top" topline="true" usebox="none">
4034 \begin_layout Standard
4040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4043 \begin_layout Standard
4051 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4054 \begin_layout Standard
4062 <cell alignment="center" valignment="top" topline="true" usebox="none">
4065 \begin_layout Standard
4071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4074 \begin_layout Standard
4082 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4085 \begin_layout Standard
4093 <cell alignment="center" valignment="top" topline="true" usebox="none">
4096 \begin_layout Standard
4102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4105 \begin_layout Standard
4113 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4116 \begin_layout Standard
4124 <cell alignment="center" valignment="top" topline="true" usebox="none">
4127 \begin_layout Standard
4133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4136 \begin_layout Standard
4144 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4147 \begin_layout Standard
4155 <cell alignment="center" valignment="top" topline="true" usebox="none">
4158 \begin_layout Standard
4164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4167 \begin_layout Standard
4175 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4178 \begin_layout Standard
4186 <cell alignment="center" valignment="top" topline="true" usebox="none">
4189 \begin_layout Standard
4195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4198 \begin_layout Standard
4206 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4209 \begin_layout Standard
4217 <cell alignment="center" valignment="top" topline="true" usebox="none">
4220 \begin_layout Standard
4226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4229 \begin_layout Standard
4237 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4240 \begin_layout Standard
4248 <cell alignment="center" valignment="top" topline="true" usebox="none">
4251 \begin_layout Standard
4257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4260 \begin_layout Standard
4268 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4271 \begin_layout Standard
4279 <cell alignment="center" valignment="top" topline="true" usebox="none">
4282 \begin_layout Standard
4288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4291 \begin_layout Standard
4299 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4302 \begin_layout Standard
4310 <cell alignment="center" valignment="top" topline="true" usebox="none">
4313 \begin_layout Standard
4319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4322 \begin_layout Standard
4330 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4333 \begin_layout Standard
4341 <cell alignment="center" valignment="top" topline="true" usebox="none">
4344 \begin_layout Standard
4350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4353 \begin_layout Standard
4361 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4364 \begin_layout Standard
4372 <cell alignment="center" valignment="top" topline="true" usebox="none">
4375 \begin_layout Standard
4381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4384 \begin_layout Standard
4392 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4395 \begin_layout Standard
4403 <cell alignment="center" valignment="top" topline="true" usebox="none">
4406 \begin_layout Standard
4412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4415 \begin_layout Standard
4423 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4426 \begin_layout Standard
4434 <cell alignment="center" valignment="top" topline="true" usebox="none">
4437 \begin_layout Standard
4443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4446 \begin_layout Standard
4454 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4457 \begin_layout Standard
4465 <cell alignment="center" valignment="top" topline="true" usebox="none">
4468 \begin_layout Standard
4474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4477 \begin_layout Standard
4484 <row bottomline="true">
4485 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4488 \begin_layout Standard
4496 <cell alignment="center" valignment="top" topline="true" usebox="none">
4499 \begin_layout Standard
4505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4508 \begin_layout Standard
4515 <row bottomline="true" endlastfoot="true">
4516 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4519 \begin_layout Standard
4525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4528 \begin_layout Standard
4534 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4537 \begin_layout Standard
4552 \begin_layout Standard
4556 addtocounter{table}{-1}
4562 \begin_inset Note Note
4565 \begin_layout Standard
4566 See greyed-out note in section 2.6.2 for an explanation of this command.
4574 \begin_layout Subsection
4575 Footnotes in Longtables
4576 \begin_inset LatexCommand label
4577 name "sub:Footnotes-in-Longtables"
4582 \begin_inset LatexCommand index
4583 name "Longtables ! Footnotes"
4590 \begin_layout Standard
4591 Footnotes can be inserted to every longtable cell.
4592 They appear at the bottom of the page where the table cell with the footnote
4596 \begin_inset LatexCommand ref
4597 reference "tab:DiffCaptions"
4601 has for example a footnote.
4604 \begin_layout Subsection
4606 \begin_inset LatexCommand index
4607 name "Longtables ! Captions"
4614 \begin_layout Standard
4615 A longtable cannot be put into a table float because floats can only be
4616 on one page but the caption environment of floats can also be used for
4620 \begin_layout Standard
4621 As LyX does not yet fully support captions in longtables, a hack is needed
4625 \begin_layout Enumerate
4631 \begin_layout Enumerate
4632 Mark the first row an disable its upper line.
4635 \begin_layout Enumerate
4636 Insert a caption via the menu
4638 Insert\SpecialChar \menuseparator
4641 into the first table cell.
4643 You can also add a short title for the caption.
4646 \begin_layout Enumerate
4648 \begin_inset Quotes eld
4660 \begin_inset Quotes erd
4663 as ERT behind the caption.
4666 \begin_layout Standard
4667 A short title that will appear in the LOT instead of the full title.
4676 behind the caption omits the vertical lines between the following cells
4678 The first table row is now only a dummy row for the caption, the actual
4679 table starts with the second row.
4682 \begin_layout Standard
4683 Here is a short longtable to see how it works:
4686 \begin_layout Standard
4687 \begin_inset Tabular
4688 <lyxtabular version="3" rows="6" columns="5">
4689 <features islongtable="true">
4690 <column alignment="center" valignment="top" leftline="true" width="0">
4691 <column alignment="center" valignment="top" leftline="true" width="0">
4692 <column alignment="center" valignment="top" leftline="true" width="0">
4693 <column alignment="center" valignment="top" leftline="true" width="0">
4694 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4699 \begin_layout Standard
4700 \begin_inset Caption
4702 \begin_layout Standard
4703 Longtable with caption
4707 \begin_layout Standard
4722 \begin_layout Standard
4738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4741 \begin_layout Standard
4747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4750 \begin_layout Standard
4756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4759 \begin_layout Standard
4765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4768 \begin_layout Standard
4775 <row topline="true">
4776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4779 \begin_layout Standard
4785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4788 \begin_layout Standard
4794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4797 \begin_layout Standard
4803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4806 \begin_layout Standard
4812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4815 \begin_layout Standard
4822 <row topline="true">
4823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4826 \begin_layout Standard
4832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4835 \begin_layout Standard
4841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4844 \begin_layout Standard
4850 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4853 \begin_layout Standard
4859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4862 \begin_layout Standard
4869 <row topline="true">
4870 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4873 \begin_layout Standard
4879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4882 \begin_layout Standard
4888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4891 \begin_layout Standard
4897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4900 \begin_layout Standard
4906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4909 \begin_layout Standard
4916 <row topline="true">
4917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4920 \begin_layout Standard
4926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4929 \begin_layout Standard
4935 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4938 \begin_layout Standard
4944 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4947 \begin_layout Standard
4953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4956 \begin_layout Standard
4963 <row topline="true" bottomline="true">
4964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4967 \begin_layout Standard
4973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4976 \begin_layout Standard
4982 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4985 \begin_layout Standard
4991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4994 \begin_layout Standard
5000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5003 \begin_layout Standard
5017 \begin_layout Standard
5018 \begin_inset VSpace medskip
5022 \begin_inset Note Greyedout
5025 \begin_layout Standard
5030 The table number is increased for every longtable, also if you didn't set
5032 For this reason you could have the case that e.g.
5034 2.4 follows on Table\InsetSpace ~
5035 2.1 in the list of tables if there are two longtables
5037 To avoid this you can add the following command in ERT behind every longtable
5041 \begin_layout Standard
5046 addtocounter{table}{-1}
5054 \begin_layout Standard
5055 \begin_inset Note Greyedout
5058 \begin_layout Standard
5063 If you are using the LaTeX-package
5068 \begin_inset LatexCommand index
5069 name "LaTeX-packages ! hyperref"
5073 to link cross-references, the link to a longtable caption will always point
5074 to the beginning of the document.
5082 \begin_layout Subsubsection
5083 References to Longtables
5084 \begin_inset LatexCommand index
5085 name "Longtables ! References"
5092 \begin_layout Standard
5093 \begin_inset Tabular
5094 <lyxtabular version="3" rows="6" columns="5">
5095 <features islongtable="true">
5096 <column alignment="center" valignment="top" leftline="true" width="0">
5097 <column alignment="center" valignment="top" leftline="true" width="0">
5098 <column alignment="center" valignment="top" leftline="true" width="0">
5099 <column alignment="center" valignment="top" leftline="true" width="0">
5100 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5105 \begin_layout Standard
5106 \begin_inset Caption
5108 \begin_layout Standard
5109 Referenced longtable
5110 \begin_inset LatexCommand label
5111 name "tab:RefExample"
5124 \begin_layout Standard
5140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5143 \begin_layout Standard
5149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5152 \begin_layout Standard
5158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5161 \begin_layout Standard
5167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5170 \begin_layout Standard
5177 <row topline="true">
5178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5181 \begin_layout Standard
5187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5190 \begin_layout Standard
5196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5199 \begin_layout Standard
5205 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5208 \begin_layout Standard
5214 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5217 \begin_layout Standard
5224 <row topline="true">
5225 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5228 \begin_layout Standard
5234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5237 \begin_layout Standard
5243 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5246 \begin_layout Standard
5252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5255 \begin_layout Standard
5261 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5264 \begin_layout Standard
5271 <row topline="true">
5272 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5275 \begin_layout Standard
5281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5284 \begin_layout Standard
5290 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5293 \begin_layout Standard
5299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5302 \begin_layout Standard
5308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5311 \begin_layout Standard
5318 <row topline="true">
5319 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5322 \begin_layout Standard
5328 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5331 \begin_layout Standard
5337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5340 \begin_layout Standard
5346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5349 \begin_layout Standard
5355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5358 \begin_layout Standard
5365 <row topline="true" bottomline="true">
5366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5369 \begin_layout Standard
5375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5378 \begin_layout Standard
5384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5387 \begin_layout Standard
5393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5396 \begin_layout Standard
5402 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5405 \begin_layout Standard
5419 \begin_layout Standard
5420 To reference a longtable, insert a label into the caption.
5421 Note that you have to add the label prefix
5422 \begin_inset Quotes eld
5430 \begin_inset Quotes eld
5433 manually in the label field.
5436 \begin_layout Standard
5437 This is a reference to Table\InsetSpace ~
5439 \begin_inset LatexCommand ref
5440 reference "tab:RefExample"
5447 \begin_layout Standard
5448 The caption layout can be set together with all other caption of your document
5449 using the LaTeX-package
5454 \begin_inset LatexCommand index
5455 name "LaTeX-packages ! caption"
5459 , see section\InsetSpace ~
5461 \begin_inset LatexCommand ref
5462 reference "sec:Caption-Formatting"
5469 \begin_layout Subsubsection
5471 \begin_inset LatexCommand index
5472 name "Longtables ! Caption Width"
5479 \begin_layout Standard
5480 The maximal width of of caption lines is defined by the length
5487 Its default value is 4\InsetSpace \thinspace{}
5489 To change it add the following command to your document preamble or as
5490 ERT into your document before the longtable that should be affected
5493 \begin_layout Standard
5503 \begin_layout Standard
5504 where the width could have one of the units listed in appendix\InsetSpace ~
5506 \begin_inset LatexCommand ref
5507 reference "cha:Units-available-in"
5514 \begin_layout Standard
5515 The following tables show the difference:
5518 \begin_layout Standard
5519 \begin_inset Tabular
5520 <lyxtabular version="3" rows="6" columns="5">
5521 <features islongtable="true">
5522 <column alignment="center" valignment="top" leftline="true" width="0">
5523 <column alignment="center" valignment="top" leftline="true" width="0">
5524 <column alignment="center" valignment="top" leftline="true" width="0">
5525 <column alignment="center" valignment="top" leftline="true" width="0">
5526 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5531 \begin_layout Standard
5532 \begin_inset Caption
5534 \begin_layout Standard
5535 long full title with default width long full title with default width long
5536 full title with default width
5540 \begin_layout Standard
5541 caption with default width
5555 \begin_layout Standard
5571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5574 \begin_layout Standard
5580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5583 \begin_layout Standard
5589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5592 \begin_layout Standard
5598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5601 \begin_layout Standard
5608 <row topline="true">
5609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5612 \begin_layout Standard
5618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5621 \begin_layout Standard
5627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5630 \begin_layout Standard
5636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5639 \begin_layout Standard
5645 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5648 \begin_layout Standard
5655 <row topline="true">
5656 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5659 \begin_layout Standard
5665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5668 \begin_layout Standard
5674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5677 \begin_layout Standard
5683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5686 \begin_layout Standard
5692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5695 \begin_layout Standard
5702 <row topline="true">
5703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5706 \begin_layout Standard
5712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5715 \begin_layout Standard
5721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5724 \begin_layout Standard
5730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5733 \begin_layout Standard
5739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5742 \begin_layout Standard
5749 <row topline="true">
5750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5753 \begin_layout Standard
5759 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5762 \begin_layout Standard
5768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5771 \begin_layout Standard
5777 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5780 \begin_layout Standard
5786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5789 \begin_layout Standard
5796 <row topline="true" bottomline="true">
5797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5800 \begin_layout Standard
5806 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5809 \begin_layout Standard
5815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5818 \begin_layout Standard
5824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5827 \begin_layout Standard
5833 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5836 \begin_layout Standard
5850 \begin_layout Standard
5854 \begin_layout Standard
5866 \begin_inset Tabular
5867 <lyxtabular version="3" rows="6" columns="5">
5868 <features islongtable="true">
5869 <column alignment="center" valignment="top" leftline="true" width="0">
5870 <column alignment="center" valignment="top" leftline="true" width="0">
5871 <column alignment="center" valignment="top" leftline="true" width="0">
5872 <column alignment="center" valignment="top" leftline="true" width="0">
5873 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5878 \begin_layout Standard
5879 \begin_inset Caption
5881 \begin_layout Standard
5882 long full title with width set to 5\InsetSpace \thinspace{}
5883 cm long full title with width set to
5884 5\InsetSpace \thinspace{}
5885 cm long full title with width set to 5\InsetSpace \thinspace{}
5890 \begin_layout Standard
5891 caption with width\InsetSpace \thinspace{}
5892 =\InsetSpace \thinspace{}
5893 5\InsetSpace \thinspace{}
5908 \begin_layout Standard
5924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5927 \begin_layout Standard
5933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5936 \begin_layout Standard
5942 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5945 \begin_layout Standard
5951 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5954 \begin_layout Standard
5961 <row topline="true">
5962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5965 \begin_layout Standard
5971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5974 \begin_layout Standard
5980 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5983 \begin_layout Standard
5989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5992 \begin_layout Standard
5998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6001 \begin_layout Standard
6008 <row topline="true">
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6012 \begin_layout Standard
6018 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6021 \begin_layout Standard
6027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6030 \begin_layout Standard
6036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6039 \begin_layout Standard
6045 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6048 \begin_layout Standard
6055 <row topline="true">
6056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6059 \begin_layout Standard
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6068 \begin_layout Standard
6074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6077 \begin_layout Standard
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6086 \begin_layout Standard
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6095 \begin_layout Standard
6102 <row topline="true">
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6106 \begin_layout Standard
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6115 \begin_layout Standard
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6124 \begin_layout Standard
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6133 \begin_layout Standard
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6142 \begin_layout Standard
6149 <row topline="true" bottomline="true">
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6153 \begin_layout Standard
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6162 \begin_layout Standard
6168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6171 \begin_layout Standard
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6180 \begin_layout Standard
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6189 \begin_layout Standard
6204 \begin_layout Standard
6218 \begin_layout Standard
6222 \begin_layout Subsubsection
6223 Different Captions for Table Pages
6224 \begin_inset LatexCommand index
6225 name "Longtables ! Different Captions for Pages"
6232 \begin_layout Standard
6233 When the other captions should differ from the one of the first table page,
6234 insert a caption with a non-empty short title in a dummy caption row marked
6236 The caption used for the other table pages is inserted as caption without
6237 a short title in a dummy caption row that is marked as main header.
6238 When this caption shouldn't include the table number, use the command
6241 \begin_layout Standard
6246 caption*{caption text}
6249 \begin_layout Standard
6250 instead of LyX's caption box.
6251 The label to reference the table is inserted into the caption of the first
6255 \begin_inset LatexCommand ref
6256 reference "tab:DiffCaptions"
6260 is an example for a longtable with different heading where the second caption
6261 doesn't include the table number.
6264 \begin_layout Standard
6266 \begin_inset Tabular
6267 <lyxtabular version="3" rows="60" columns="3">
6268 <features islongtable="true">
6269 <column alignment="left" valignment="top" leftline="true" width="0cm">
6270 <column alignment="left" valignment="top" rightline="true" width="0pt">
6271 <column alignment="right" valignment="top" rightline="true" width="0pt">
6272 <row endfirsthead="true">
6273 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6276 \begin_layout Standard
6277 \begin_inset Caption
6279 \begin_layout Standard
6281 \begin_inset LatexCommand label
6282 name "tab:DiffCaptions"
6290 \begin_layout Standard
6305 \begin_layout Standard
6321 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6324 \begin_layout Standard
6330 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6333 \begin_layout Standard
6340 <row topline="true" bottomline="true" endfirsthead="true">
6341 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6344 \begin_layout Standard
6347 Example Phone List (ignore the names)
6352 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6355 \begin_layout Standard
6361 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6364 \begin_layout Standard
6371 <row topline="true" bottomline="true" endfirsthead="true">
6372 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6375 \begin_layout Standard
6383 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6386 \begin_layout Standard
6392 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6395 \begin_layout Standard
6404 <row bottomline="true" endhead="true">
6405 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6408 \begin_layout Standard
6412 \begin_layout Standard
6416 caption*{Continued Example Phone List}
6430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6433 \begin_layout Standard
6439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6442 \begin_layout Standard
6449 <row topline="true" bottomline="true" endhead="true">
6450 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6453 \begin_layout Standard
6461 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6464 \begin_layout Standard
6470 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6473 \begin_layout Standard
6480 <row topline="true" bottomline="true" endhead="true">
6481 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6484 \begin_layout Standard
6492 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6495 \begin_layout Standard
6501 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6504 \begin_layout Standard
6513 <row topline="true" bottomline="true" endfoot="true">
6514 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6517 \begin_layout Standard
6518 continued on next page
6523 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6526 \begin_layout Standard
6532 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6535 \begin_layout Standard
6543 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6546 \begin_layout Standard
6554 <cell alignment="center" valignment="top" topline="true" usebox="none">
6557 \begin_layout Standard
6563 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6566 \begin_layout Standard
6574 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6577 \begin_layout Standard
6585 <cell alignment="center" valignment="top" topline="true" usebox="none">
6588 \begin_layout Standard
6594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6597 \begin_layout Standard
6605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6608 \begin_layout Standard
6616 <cell alignment="center" valignment="top" topline="true" usebox="none">
6619 \begin_layout Standard
6625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6628 \begin_layout Standard
6636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6639 \begin_layout Standard
6647 <cell alignment="center" valignment="top" topline="true" usebox="none">
6650 \begin_layout Standard
6656 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6659 \begin_layout Standard
6667 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6670 \begin_layout Standard
6678 <cell alignment="center" valignment="top" topline="true" usebox="none">
6681 \begin_layout Standard
6687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6690 \begin_layout Standard
6698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6701 \begin_layout Standard
6709 <cell alignment="center" valignment="top" topline="true" usebox="none">
6712 \begin_layout Standard
6718 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6721 \begin_layout Standard
6729 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6732 \begin_layout Standard
6740 <cell alignment="center" valignment="top" topline="true" usebox="none">
6743 \begin_layout Standard
6749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6752 \begin_layout Standard
6760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6763 \begin_layout Standard
6771 <cell alignment="center" valignment="top" topline="true" usebox="none">
6774 \begin_layout Standard
6780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6783 \begin_layout Standard
6791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6794 \begin_layout Standard
6802 <cell alignment="center" valignment="top" topline="true" usebox="none">
6805 \begin_layout Standard
6811 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6814 \begin_layout Standard
6822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6825 \begin_layout Standard
6833 <cell alignment="center" valignment="top" topline="true" usebox="none">
6836 \begin_layout Standard
6842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6845 \begin_layout Standard
6853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6856 \begin_layout Standard
6864 <cell alignment="center" valignment="top" topline="true" usebox="none">
6867 \begin_layout Standard
6873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6876 \begin_layout Standard
6884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6887 \begin_layout Standard
6895 <cell alignment="center" valignment="top" topline="true" usebox="none">
6898 \begin_layout Standard
6904 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6907 \begin_layout Standard
6915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6918 \begin_layout Standard
6926 <cell alignment="center" valignment="top" topline="true" usebox="none">
6929 \begin_layout Standard
6935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6938 \begin_layout Standard
6946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6949 \begin_layout Standard
6957 <cell alignment="center" valignment="top" topline="true" usebox="none">
6960 \begin_layout Standard
6966 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6969 \begin_layout Standard
6977 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6980 \begin_layout Standard
6989 \begin_layout Standard
7000 <cell alignment="center" valignment="top" topline="true" usebox="none">
7003 \begin_layout Standard
7009 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7012 \begin_layout Standard
7020 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7023 \begin_layout Standard
7031 <cell alignment="center" valignment="top" topline="true" usebox="none">
7034 \begin_layout Standard
7040 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7043 \begin_layout Standard
7051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7054 \begin_layout Standard
7062 <cell alignment="center" valignment="top" topline="true" usebox="none">
7065 \begin_layout Standard
7071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7074 \begin_layout Standard
7082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7085 \begin_layout Standard
7093 <cell alignment="center" valignment="top" topline="true" usebox="none">
7096 \begin_layout Standard
7102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7105 \begin_layout Standard
7113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7116 \begin_layout Standard
7124 <cell alignment="center" valignment="top" topline="true" usebox="none">
7127 \begin_layout Standard
7133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7136 \begin_layout Standard
7144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7147 \begin_layout Standard
7155 <cell alignment="center" valignment="top" topline="true" usebox="none">
7158 \begin_layout Standard
7164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7167 \begin_layout Standard
7175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7178 \begin_layout Standard
7186 <cell alignment="center" valignment="top" topline="true" usebox="none">
7189 \begin_layout Standard
7195 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7198 \begin_layout Standard
7206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7209 \begin_layout Standard
7217 <cell alignment="center" valignment="top" topline="true" usebox="none">
7220 \begin_layout Standard
7226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7229 \begin_layout Standard
7237 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7240 \begin_layout Standard
7248 <cell alignment="center" valignment="top" topline="true" usebox="none">
7251 \begin_layout Standard
7257 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7260 \begin_layout Standard
7268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7271 \begin_layout Standard
7279 <cell alignment="center" valignment="top" topline="true" usebox="none">
7282 \begin_layout Standard
7288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7291 \begin_layout Standard
7299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7302 \begin_layout Standard
7310 <cell alignment="center" valignment="top" topline="true" usebox="none">
7313 \begin_layout Standard
7319 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7322 \begin_layout Standard
7330 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7333 \begin_layout Standard
7341 <cell alignment="center" valignment="top" topline="true" usebox="none">
7344 \begin_layout Standard
7350 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7353 \begin_layout Standard
7361 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7364 \begin_layout Standard
7372 <cell alignment="center" valignment="top" topline="true" usebox="none">
7375 \begin_layout Standard
7381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7384 \begin_layout Standard
7392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7395 \begin_layout Standard
7403 <cell alignment="center" valignment="top" topline="true" usebox="none">
7406 \begin_layout Standard
7412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7415 \begin_layout Standard
7423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7426 \begin_layout Standard
7434 <cell alignment="center" valignment="top" topline="true" usebox="none">
7437 \begin_layout Standard
7443 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7446 \begin_layout Standard
7454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7457 \begin_layout Standard
7465 <cell alignment="center" valignment="top" topline="true" usebox="none">
7468 \begin_layout Standard
7474 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7477 \begin_layout Standard
7484 <row bottomline="true">
7485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7488 \begin_layout Standard
7496 <cell alignment="center" valignment="top" topline="true" usebox="none">
7499 \begin_layout Standard
7505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7508 \begin_layout Standard
7515 <row bottomline="true">
7516 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7519 \begin_layout Standard
7525 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7528 \begin_layout Standard
7534 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7537 \begin_layout Standard
7545 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7548 \begin_layout Standard
7556 <cell alignment="center" valignment="top" topline="true" usebox="none">
7559 \begin_layout Standard
7565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7568 \begin_layout Standard
7576 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7579 \begin_layout Standard
7587 <cell alignment="center" valignment="top" topline="true" usebox="none">
7590 \begin_layout Standard
7596 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7599 \begin_layout Standard
7607 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7610 \begin_layout Standard
7618 <cell alignment="center" valignment="top" topline="true" usebox="none">
7621 \begin_layout Standard
7627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7630 \begin_layout Standard
7638 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7641 \begin_layout Standard
7649 <cell alignment="center" valignment="top" topline="true" usebox="none">
7652 \begin_layout Standard
7658 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7661 \begin_layout Standard
7669 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7672 \begin_layout Standard
7680 <cell alignment="center" valignment="top" topline="true" usebox="none">
7683 \begin_layout Standard
7689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7692 \begin_layout Standard
7700 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7703 \begin_layout Standard
7711 <cell alignment="center" valignment="top" topline="true" usebox="none">
7714 \begin_layout Standard
7720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7723 \begin_layout Standard
7731 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7734 \begin_layout Standard
7742 <cell alignment="center" valignment="top" topline="true" usebox="none">
7745 \begin_layout Standard
7751 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7754 \begin_layout Standard
7762 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7765 \begin_layout Standard
7773 <cell alignment="center" valignment="top" topline="true" usebox="none">
7776 \begin_layout Standard
7782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7785 \begin_layout Standard
7793 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7796 \begin_layout Standard
7804 <cell alignment="center" valignment="top" topline="true" usebox="none">
7807 \begin_layout Standard
7813 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7816 \begin_layout Standard
7824 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7827 \begin_layout Standard
7835 <cell alignment="center" valignment="top" topline="true" usebox="none">
7838 \begin_layout Standard
7844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7847 \begin_layout Standard
7855 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7858 \begin_layout Standard
7866 <cell alignment="center" valignment="top" topline="true" usebox="none">
7869 \begin_layout Standard
7875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7878 \begin_layout Standard
7886 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7889 \begin_layout Standard
7897 <cell alignment="center" valignment="top" topline="true" usebox="none">
7900 \begin_layout Standard
7906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7909 \begin_layout Standard
7917 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7920 \begin_layout Standard
7928 <cell alignment="center" valignment="top" topline="true" usebox="none">
7931 \begin_layout Standard
7937 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7940 \begin_layout Standard
7948 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7951 \begin_layout Standard
7959 <cell alignment="center" valignment="top" topline="true" usebox="none">
7962 \begin_layout Standard
7968 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7971 \begin_layout Standard
7979 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7982 \begin_layout Standard
7990 <cell alignment="center" valignment="top" topline="true" usebox="none">
7993 \begin_layout Standard
7999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8002 \begin_layout Standard
8010 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8013 \begin_layout Standard
8021 <cell alignment="center" valignment="top" topline="true" usebox="none">
8024 \begin_layout Standard
8030 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8033 \begin_layout Standard
8041 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8044 \begin_layout Standard
8052 <cell alignment="center" valignment="top" topline="true" usebox="none">
8055 \begin_layout Standard
8061 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8064 \begin_layout Standard
8072 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8075 \begin_layout Standard
8083 <cell alignment="center" valignment="top" topline="true" usebox="none">
8086 \begin_layout Standard
8092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8095 \begin_layout Standard
8103 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8106 \begin_layout Standard
8114 <cell alignment="center" valignment="top" topline="true" usebox="none">
8117 \begin_layout Standard
8123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8126 \begin_layout Standard
8133 <row bottomline="true">
8134 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8137 \begin_layout Standard
8145 <cell alignment="center" valignment="top" topline="true" usebox="none">
8148 \begin_layout Standard
8154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8157 \begin_layout Standard
8164 <row bottomline="true" endlastfoot="true">
8165 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8168 \begin_layout Standard
8174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8177 \begin_layout Standard
8183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8186 \begin_layout Standard
8200 \begin_layout Section
8201 Special Longtable Issues
8202 \begin_inset LatexCommand label
8203 name "sec:Special-Longtable-Issues"
8210 \begin_layout Subsection
8211 Longtable Calculation
8212 \begin_inset LatexCommand index
8213 name "Longtables ! Calculation"
8220 \begin_layout Standard
8221 LaTeX calculates the height of table pages and their page breaks using so
8223 Chunks are pieces of the tables that are at once in LaTeX's memory.
8224 The default value is historically set to only 20 table rows.
8225 If you are using longtables with many pages this may slow down the creation
8227 You can safely increase the chunk size to values of 100-1000 by adding
8228 this command line to your document preamble:
8231 \begin_layout Standard
8236 setcounter{LTchunksize}{100}
8239 \begin_layout Subsection
8240 Floats and Longtables
8241 \begin_inset LatexCommand index
8242 name "Longtables ! Floats"
8249 \begin_layout Standard
8250 There might be problems when a float appears on the same page where a longtable
8252 To avoid such situation, add the command
8258 as ERT before your longtable.
8261 \begin_layout Subsection
8263 \begin_inset LatexCommand index
8264 name "Longtables ! Forced Page Breaks"
8271 \begin_layout Standard
8272 By default tables are only broken between rows.
8273 If you have a cell with multiples lines and want to have a page break within
8274 the cell, insert the new line command
8275 \begin_inset Quotes eld
8287 \begin_inset Quotes erd
8290 as ERT at this point of the cell where it should be broken.
8299 command you have to insert in ERT so many
8300 \begin_inset Quotes eld
8308 \begin_inset Quotes erd
8311 characters like the number of the following table columns.
8316 is the character to separate table cells.
8317 Write in ERT after each
8321 the content of the corresponding following cell and delete the content
8332 command, insert so many
8336 characters like the number of table columns before the current column.
8337 In Table\InsetSpace ~
8339 \begin_inset LatexCommand ref
8340 reference "tab:ForcedPagebreak"
8344 the cell that should be broken is in the second column followed by another
8346 Therefore the following command was inserted in the cell as ERT behind
8348 \begin_inset Quotes eld
8356 \begin_inset Quotes erd
8362 \begin_layout Standard
8374 \begin_layout Standard
8376 \begin_inset Quotes eld
8380 \begin_inset Quotes erd
8383 in the third columns of the row was deleted.
8384 If your footer row of the longtable has for a certain reason no upper line
8385 but you would have a horizontal line where the cell is broken, use this
8389 \begin_layout Standard
8403 \begin_layout Standard
8404 When the cell to be broken is in the last column, the command
8407 \begin_layout Standard
8414 parf\SpecialChar \textcompwordmark{}
8418 \begin_layout Standard
8419 must be inserted as ERT at the beginning of the cell.
8420 This assures that the part of the cell that will be displayed on the new
8421 page appears with the full width.
8425 \begin_layout Standard
8427 \begin_inset Tabular
8428 <lyxtabular version="3" rows="39" columns="3">
8429 <features islongtable="true">
8430 <column alignment="left" valignment="top" leftline="true" width="0cm">
8431 <column alignment="left" valignment="top" rightline="true" width="3cm">
8432 <column alignment="right" valignment="top" rightline="true" width="0pt">
8433 <row endfirsthead="true">
8434 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8437 \begin_layout Standard
8438 \begin_inset Caption
8440 \begin_layout Standard
8441 Table with forced page break in table cell
8442 \begin_inset LatexCommand label
8443 name "tab:ForcedPagebreak"
8451 \begin_layout Standard
8452 Table with forced page break in table cell
8466 \begin_layout Standard
8482 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8485 \begin_layout Standard
8491 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8494 \begin_layout Standard
8501 <row topline="true" bottomline="true" endfirsthead="true">
8502 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8505 \begin_layout Standard
8508 Example Phone List (ignore the names)
8513 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8516 \begin_layout Standard
8522 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8525 \begin_layout Standard
8532 <row topline="true" bottomline="true" endfirsthead="true">
8533 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8536 \begin_layout Standard
8544 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8547 \begin_layout Standard
8553 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8556 \begin_layout Standard
8565 <row bottomline="true" endhead="true">
8566 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8569 \begin_layout Standard
8573 \begin_layout Standard
8577 caption*{Continued table with forced page break in table cell}
8591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8594 \begin_layout Standard
8600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8603 \begin_layout Standard
8610 <row topline="true" bottomline="true" endhead="true">
8611 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8614 \begin_layout Standard
8622 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8625 \begin_layout Standard
8631 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8634 \begin_layout Standard
8641 <row topline="true" bottomline="true" endhead="true">
8642 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8645 \begin_layout Standard
8653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8656 \begin_layout Standard
8662 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8665 \begin_layout Standard
8674 <row topline="true" bottomline="true" endfoot="true">
8675 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8678 \begin_layout Standard
8679 continued on next page
8684 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8687 \begin_layout Standard
8693 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8696 \begin_layout Standard
8704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8707 \begin_layout Standard
8715 <cell alignment="center" valignment="top" topline="true" usebox="none">
8718 \begin_layout Standard
8724 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8727 \begin_layout Standard
8735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8738 \begin_layout Standard
8746 <cell alignment="center" valignment="top" topline="true" usebox="none">
8749 \begin_layout Standard
8755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8758 \begin_layout Standard
8766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8769 \begin_layout Standard
8777 <cell alignment="center" valignment="top" topline="true" usebox="none">
8780 \begin_layout Standard
8786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8789 \begin_layout Standard
8797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8800 \begin_layout Standard
8808 <cell alignment="center" valignment="top" topline="true" usebox="none">
8811 \begin_layout Standard
8817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8820 \begin_layout Standard
8828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8831 \begin_layout Standard
8839 <cell alignment="center" valignment="top" topline="true" usebox="none">
8842 \begin_layout Standard
8848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8851 \begin_layout Standard
8859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8862 \begin_layout Standard
8870 <cell alignment="center" valignment="top" topline="true" usebox="none">
8873 \begin_layout Standard
8879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8882 \begin_layout Standard
8890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8893 \begin_layout Standard
8901 <cell alignment="center" valignment="top" topline="true" usebox="none">
8904 \begin_layout Standard
8910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8913 \begin_layout Standard
8921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8924 \begin_layout Standard
8932 <cell alignment="center" valignment="top" topline="true" usebox="none">
8935 \begin_layout Standard
8941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8944 \begin_layout Standard
8952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8955 \begin_layout Standard
8963 <cell alignment="center" valignment="top" topline="true" usebox="none">
8966 \begin_layout Standard
8972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8975 \begin_layout Standard
8983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8986 \begin_layout Standard
8994 <cell alignment="center" valignment="top" topline="true" usebox="none">
8997 \begin_layout Standard
9003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9006 \begin_layout Standard
9014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9017 \begin_layout Standard
9025 <cell alignment="center" valignment="top" topline="true" usebox="none">
9028 \begin_layout Standard
9034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9037 \begin_layout Standard
9045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9048 \begin_layout Standard
9056 <cell alignment="center" valignment="top" topline="true" usebox="none">
9059 \begin_layout Standard
9065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9068 \begin_layout Standard
9076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9079 \begin_layout Standard
9087 <cell alignment="center" valignment="top" topline="true" usebox="none">
9090 \begin_layout Standard
9096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9099 \begin_layout Standard
9107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9110 \begin_layout Standard
9118 <cell alignment="center" valignment="top" topline="true" usebox="none">
9121 \begin_layout Standard
9127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9130 \begin_layout Standard
9138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9141 \begin_layout Standard
9149 <cell alignment="center" valignment="top" topline="true" usebox="none">
9152 \begin_layout Standard
9158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9161 \begin_layout Standard
9169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9172 \begin_layout Standard
9180 <cell alignment="center" valignment="top" topline="true" usebox="none">
9183 \begin_layout Standard
9189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9192 \begin_layout Standard
9200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9203 \begin_layout Standard
9211 <cell alignment="center" valignment="top" topline="true" usebox="none">
9214 \begin_layout Standard
9220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9223 \begin_layout Standard
9231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9234 \begin_layout Standard
9242 <cell alignment="center" valignment="top" topline="true" usebox="none">
9245 \begin_layout Standard
9251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9254 \begin_layout Standard
9262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9265 \begin_layout Standard
9273 <cell alignment="center" valignment="top" topline="true" usebox="none">
9276 \begin_layout Standard
9282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9285 \begin_layout Standard
9293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9296 \begin_layout Standard
9304 <cell alignment="center" valignment="top" topline="true" usebox="none">
9307 \begin_layout Standard
9313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9316 \begin_layout Standard
9324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9327 \begin_layout Standard
9335 <cell alignment="center" valignment="top" topline="true" usebox="none">
9338 \begin_layout Standard
9344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9347 \begin_layout Standard
9355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9358 \begin_layout Standard
9366 <cell alignment="center" valignment="top" topline="true" usebox="none">
9369 \begin_layout Standard
9375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9378 \begin_layout Standard
9386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9389 \begin_layout Standard
9397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9400 \begin_layout Standard
9402 Fürst von Montecompatri, 11.
9403 Fürst von Sulmona und Vivaro, 10.
9404 Fürst von Rossano, 5.
9405 Herzog von Canemorte, 11.
9406 Herzog von Palombara, 5.
9407 Herzog von Castelchiodato,
9411 \begin_layout Standard
9420 \begin_layout Standard
9428 Herzog von Poggionativo, 11.
9429 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9430 Graf von Valinfreda, 11.
9431 Baron von Cropalati, 11.
9432 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9440 \begin_layout Standard
9448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9451 \begin_layout Standard
9459 <cell alignment="center" valignment="top" topline="true" usebox="none">
9462 \begin_layout Standard
9468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9471 \begin_layout Standard
9479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9482 \begin_layout Standard
9490 <cell alignment="center" valignment="top" topline="true" usebox="none">
9493 \begin_layout Standard
9499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9502 \begin_layout Standard
9510 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9513 \begin_layout Standard
9521 <cell alignment="center" valignment="top" topline="true" usebox="none">
9524 \begin_layout Standard
9530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9533 \begin_layout Standard
9541 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9544 \begin_layout Standard
9552 <cell alignment="center" valignment="top" topline="true" usebox="none">
9555 \begin_layout Standard
9561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9564 \begin_layout Standard
9572 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9575 \begin_layout Standard
9583 <cell alignment="center" valignment="top" topline="true" usebox="none">
9586 \begin_layout Standard
9592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9595 \begin_layout Standard
9603 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9606 \begin_layout Standard
9614 <cell alignment="center" valignment="top" topline="true" usebox="none">
9617 \begin_layout Standard
9623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9626 \begin_layout Standard
9634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9637 \begin_layout Standard
9645 <cell alignment="center" valignment="top" topline="true" usebox="none">
9648 \begin_layout Standard
9654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9657 \begin_layout Standard
9664 <row bottomline="true">
9665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9668 \begin_layout Standard
9676 <cell alignment="center" valignment="top" topline="true" usebox="none">
9679 \begin_layout Standard
9685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9688 \begin_layout Standard
9695 <row endlastfoot="true">
9696 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9699 \begin_layout Standard
9705 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9708 \begin_layout Standard
9714 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9717 \begin_layout Standard
9731 \begin_layout Section
9732 Multiple Lines Columns and Rows
9735 \begin_layout Subsection
9736 Multiple Lines in Table Cells
9737 \begin_inset LatexCommand label
9738 name "sub:Multiple-Lines-in"
9743 \begin_inset LatexCommand index
9744 name "Multiple Lines in Table Cells"
9749 \begin_inset LatexCommand index
9750 name "Table ! Linebreaks"
9757 \begin_layout Standard
9759 \begin_inset Float table
9765 \begin_layout Standard
9766 \begin_inset Caption
9768 \begin_layout Standard
9769 \begin_inset LatexCommand label
9770 name "tab:Table-with-multiple"
9774 Table with multiple lines in cells
9782 \begin_layout Standard
9784 \begin_inset Tabular
9785 <lyxtabular version="3" rows="3" columns="3">
9787 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9788 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9789 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9790 <row topline="true">
9791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9794 \begin_layout Standard
9799 \begin_layout Standard
9813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9816 \begin_layout Standard
9822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9825 \begin_layout Standard
9832 <row topline="true">
9833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9836 \begin_layout Standard
9842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9845 \begin_layout Standard
9851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9854 \begin_layout Standard
9861 <row topline="true" bottomline="true">
9862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9865 \begin_layout Standard
9871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9874 \begin_layout Standard
9880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9883 \begin_layout Standard
9902 \begin_layout Standard
9903 Adjusting a fixed width for a column, enables to enter text as a paragraph
9904 with multiple lines and hyphenations.
9907 \begin_layout Standard
9908 To produce Table\InsetSpace ~
9910 \begin_inset LatexCommand ref
9911 reference "tab:Table-with-multiple"
9915 , create a 3×3 table, mark the first cell and right-click on it.
9916 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9917 cm and choose centered
9918 for the vertical and horizontal alignment.
9919 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9920 cm, only one line will appear.
9921 To get two lines, we add a line break with the command
9924 \begin_layout Standard
9932 \begin_layout Standard
9934 If the text is wider than the set cell width it will automatically be broken
9938 \begin_layout Standard
9939 To center the text inside the two other cells of the first row vertically,
9940 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9942 centered alignments.
9943 Then do the same for the third cell of the row.
9946 \begin_layout Standard
9947 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9948 by LaTeX if it is the first entry.
9949 Therefore you need to insert something, to make the word not being the
9950 first entry: Add the command
9953 \begin_layout Standard
9961 \begin_layout Standard
9962 in ERT before the word.
9963 As the space is zero, it doesn't change the output.
9966 \begin_inset LatexCommand ref
9967 reference "tab:Table-with-and"
9974 \begin_layout Standard
9975 \begin_inset Float table
9980 \begin_layout Standard
9981 \begin_inset Caption
9983 \begin_layout Standard
9984 \begin_inset LatexCommand label
9985 name "tab:Table-with-and"
9989 Table with and without hyphenation
9997 \begin_layout Standard
10001 \begin_inset Tabular
10002 <lyxtabular version="3" rows="3" columns="3">
10004 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10005 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10006 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10007 <row topline="true">
10008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10011 \begin_layout Standard
10012 verylongtablecellword
10017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10020 \begin_layout Standard
10026 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10029 \begin_layout Standard
10036 <row topline="true">
10037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10040 \begin_layout Standard
10046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10049 \begin_layout Standard
10055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10058 \begin_layout Standard
10065 <row topline="true" bottomline="true">
10066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10069 \begin_layout Standard
10075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10078 \begin_layout Standard
10084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10087 \begin_layout Standard
10101 \begin_inset Tabular
10102 <lyxtabular version="3" rows="3" columns="3">
10104 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10105 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10106 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10107 <row topline="true">
10108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10111 \begin_layout Standard
10115 \begin_layout Standard
10124 verylongtablecellword
10129 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10132 \begin_layout Standard
10138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10141 \begin_layout Standard
10148 <row topline="true">
10149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10152 \begin_layout Standard
10158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10161 \begin_layout Standard
10167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10170 \begin_layout Standard
10177 <row topline="true" bottomline="true">
10178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10181 \begin_layout Standard
10187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10190 \begin_layout Standard
10196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10199 \begin_layout Standard
10220 \begin_layout Standard
10226 \begin_layout Subsection
10228 \begin_inset LatexCommand label
10229 name "sub:Multicolumns"
10234 \begin_inset LatexCommand index
10235 name "Multicolumns"
10240 \begin_inset LatexCommand index
10241 name "Table ! Multicolumns"
10248 \begin_layout Subsubsection
10252 \begin_layout Standard
10253 To span a cell over multiple columns, mark as much cells within a line that
10254 should be one spanned cell and use either the table-toolbar button
10255 \begin_inset Graphics
10256 filename ../images/tabular-feature_multicolumn.xpm
10263 Edit\SpecialChar \menuseparator
10264 Table\SpecialChar \menuseparator
10267 , or right click on the marked cells and choose multicolumn in the appearing
10268 table dialog under the tab
10275 \begin_layout Standard
10276 Multicolumns have there own cell settings.
10277 That means changing cell borders, cell alignment, and the width only affects
10279 Here is an example table with a multicolumn cell in the first row and one
10280 in the last row without the upper border:
10283 \begin_layout Standard
10285 \begin_inset Tabular
10286 <lyxtabular version="3" rows="3" columns="4">
10287 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10288 <column alignment="center" valignment="top" leftline="true" width="0pt">
10289 <column alignment="center" valignment="middle" leftline="true" width="0">
10290 <column alignment="center" valignment="top" leftline="true" width="0in">
10291 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10292 <row topline="true" bottomline="true">
10293 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10296 \begin_layout Standard
10302 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10305 \begin_layout Standard
10315 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10318 \begin_layout Standard
10324 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10327 \begin_layout Standard
10334 <row topline="true">
10335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10338 \begin_layout Standard
10353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10356 \begin_layout Standard
10362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10365 \begin_layout Standard
10371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10374 \begin_layout Standard
10381 <row topline="true" bottomline="true">
10382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10385 \begin_layout Standard
10391 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10394 \begin_layout Standard
10400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10403 \begin_layout Standard
10409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10412 \begin_layout Standard
10426 \begin_layout Subsubsection
10427 Multicolumn Calculations
10428 \begin_inset LatexCommand label
10429 name "sub:Multicolumn-Calculations"
10434 \begin_inset LatexCommand index
10435 name "Multicolumns ! Calculations"
10442 \begin_layout Standard
10443 LyX supports multicolumns directly, but we have to take notice of the cell
10444 width of the columns spanned by the multicolumn cell.
10447 \begin_layout Standard
10448 \begin_inset Float table
10453 \begin_layout Standard
10454 \begin_inset Caption
10456 \begin_layout Standard
10457 \begin_inset LatexCommand label
10458 name "tab:Table-with-centered"
10462 Table with centered multicolumn text above two columns that have exactly
10463 half the width of the multicolumn cell
10464 \begin_inset OptArg
10467 \begin_layout Standard
10468 Perfect multicolumn table
10481 \begin_layout Standard
10483 \begin_inset Tabular
10484 <lyxtabular version="3" rows="3" columns="3">
10486 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10487 <column alignment="center" valignment="middle" leftline="true" width="0">
10488 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10489 <row topline="true">
10490 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10493 \begin_layout Standard
10494 multiple lines multicolumn
10499 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10502 \begin_layout Standard
10508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10511 \begin_layout Standard
10518 <row topline="true">
10519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10522 \begin_layout Standard
10528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10531 \begin_layout Standard
10537 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10540 \begin_layout Standard
10547 <row topline="true" bottomline="true">
10548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10551 \begin_layout Standard
10557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10560 \begin_layout Standard
10566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10569 \begin_layout Standard
10588 \begin_layout Standard
10589 To create for example Table\InsetSpace ~
10591 \begin_inset LatexCommand ref
10592 reference "tab:Table-with-centered"
10596 , mark the first two cells in the first row a 3×3 table and right-click
10598 Now choose for this cell
10606 and a width of 2.5\InsetSpace \thinspace{}
10607 cm in the table dialog.
10608 The spanned columns should have exactly half the width of the multicolumn
10609 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10610 cm for the first column.
10611 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10613 width - width of first column).
10614 This was done for Table\InsetSpace ~
10616 \begin_inset LatexCommand ref
10617 reference "tab:Table-without-half"
10624 \begin_layout Standard
10625 \begin_inset Float table
10630 \begin_layout Standard
10631 \begin_inset Caption
10633 \begin_layout Standard
10634 \begin_inset LatexCommand label
10635 name "tab:Table-without-half"
10639 Table where the spanned table columns have not exactly half the width of
10640 the multicolumn cell
10641 \begin_inset OptArg
10644 \begin_layout Standard
10645 Imperfect multicolumn table
10658 \begin_layout Standard
10660 \begin_inset Tabular
10661 <lyxtabular version="3" rows="3" columns="3">
10663 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10664 <column alignment="center" valignment="top" leftline="true" width="0">
10665 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10666 <row topline="true" bottomline="true">
10667 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10670 \begin_layout Standard
10671 multiple lines multicolumn
10676 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10679 \begin_layout Standard
10685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10688 \begin_layout Standard
10695 <row topline="true">
10696 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10699 \begin_layout Standard
10705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10708 \begin_layout Standard
10714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10717 \begin_layout Standard
10724 <row topline="true" bottomline="true">
10725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10728 \begin_layout Standard
10734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10737 \begin_layout Standard
10743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10746 \begin_layout Standard
10765 \begin_layout Standard
10766 You can see that the first column has not the half width of the multicolumn
10767 cell, it is a bit bigger.
10768 The reason is that the given width of a cell
10769 \begin_inset Formula $W_{g}$
10772 is not its total width
10773 \begin_inset Formula $W_{\mathrm{tot}}$
10776 because a cell is always a bit larger than its given width.
10777 Appendix\InsetSpace ~
10779 \begin_inset LatexCommand eqref
10780 reference "cha:Explanation-of-Equation"
10784 explains it in detail.
10787 \begin_layout Standard
10788 The needed given width
10789 \begin_inset Formula $W_{g\, n}$
10796 columns are spanned columns can be calculated, so that each column has
10798 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10802 \begin_inset Formula \begin{equation}
10803 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10810 \begin_layout Standard
10811 In our case we have
10812 \begin_inset Formula $n=2$
10816 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10819 cm and the default values for the lengths, so that equation
10820 \begin_inset LatexCommand ref
10826 \begin_inset Formula \begin{equation}
10827 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10834 \begin_layout Standard
10835 To enable calculations in LaTeX, the LaTeX-package
10839 must be loaded with the document preamble line
10840 \begin_inset LatexCommand index
10841 name "LaTeX-packages ! calc"
10848 \begin_layout Standard
10856 \begin_layout Standard
10857 LyX does not allow to calculate lengths in the width-field of the table
10859 Therefore you have to format the column by inserting a LaTeX-argument in
10861 Here is an overview about the arguments:
10864 \begin_layout Itemize
10869 creates cell with a fixed width, its text is vertically top-aligned
10872 \begin_layout Itemize
10877 creates cell with a fixed width, its text is vertically centered
10880 \begin_layout Itemize
10885 creates cell with a fixed width, its text is vertically bottom-aligned
10888 \begin_layout Standard
10889 By entering a LaTeX-argument, all cell properties set in the table dialog
10892 \begin_inset Note Greyedout
10895 \begin_layout Standard
10900 Due to a bug, LyX shows the overwritten properties anyway.
10905 As the text should be horizontally centered, the command
10912 You can now enter the following LaTeX-argument for the first spanned column:
10915 \begin_layout Standard
10920 centering}m{1.25cm-6.2pt}
10923 \begin_layout Standard
10925 \begin_inset Quotes eld
10933 \begin_inset Quotes erd
10936 at the beginning draws the border line and the command
10940 means, that the commands inside the braces are applied before the cell
10944 \begin_layout Standard
10945 Although we have chosen centered alignment for the text of the multicolumn
10946 cell, it is still left aligned.
10947 This is because LyX only applies the alignment to single columns.
10948 So we have to use for the multicolumn the LaTeX-argument
10951 \begin_layout Standard
10956 centering}m{2.5cm}|
10959 \begin_layout Subsection
10961 \begin_inset LatexCommand index
10967 \begin_inset LatexCommand index
10968 name "Table ! Multirows"
10973 \begin_inset LatexCommand index
10974 name "LaTeX-packages ! multirow"
10981 \begin_layout Standard
10982 In contrary to multicolumns multirows are not yet supported by LyX so a
10983 bit of ERT needs to be used.
10984 To use multirows load the LaTeX-package
10988 in your document preamble with the command
10991 \begin_layout Standard
10996 usepackage{multirow}
10999 \begin_layout Standard
11000 Multirows are created with the command
11003 \begin_layout Standard
11008 multirow{number of rows}{cell width}{cell entry}
11011 \begin_layout Standard
11012 To create the following table:
11015 \begin_layout Standard
11020 \begin_layout Standard
11034 \begin_inset Tabular
11035 <lyxtabular version="3" rows="3" columns="3">
11037 <column alignment="center" valignment="top" leftline="true" width="0">
11038 <column alignment="center" valignment="top" leftline="true" width="0">
11039 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11040 <row topline="true">
11041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11044 \begin_layout Standard
11050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11053 \begin_layout Standard
11059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11062 \begin_layout Standard
11069 <row topline="true">
11070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11073 \begin_layout Standard
11077 \begin_layout Standard
11081 multirow{2}{2.5cm}{
11090 \begin_layout Standard
11102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11105 \begin_layout Standard
11111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11114 \begin_layout Standard
11121 <row topline="true" bottomline="true">
11122 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11125 \begin_layout Standard
11131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11134 \begin_layout Standard
11140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11143 \begin_layout Standard
11158 \begin_layout Standard
11174 \begin_layout Standard
11175 create a 3×3 table.
11176 To get rid of the line above the last cell in the first column, the cell
11177 is marked as multicolumn and the upper border is unset.
11178 The multirow is now created in the second row of the first column by inserting
11182 \begin_layout Standard
11187 multirow{2}{2.5cm}{
11190 \begin_layout Standard
11192 According to the command parameters the multirow spans now two rows and
11193 has a width of 2.5\InsetSpace \thinspace{}
11195 The content of the multirow cell follows outside the ERT box and the command
11196 is finished with a right brace
11200 in another ERT-box behind the text.
11203 \begin_layout Standard
11210 left-aligns its content by default.
11211 To override the default, renew the command
11220 \begin_layout Standard
11232 \begin_layout Standard
11233 in ERT in the document preamble.
11234 Then all entries of multirow cells in the document are centered.
11235 If centering is only needed for several tables, you can renew the command
11236 in an ERT box just before the table instead of the preamble.
11237 If the text should be right-aligned, replace
11250 To return to left-alignment
11259 \begin_layout Section
11261 \begin_inset LatexCommand label
11262 name "sec:Formal-Tables"
11267 \begin_inset LatexCommand index
11268 name "Table ! Formal"
11275 \begin_layout Standard
11276 Tables are often typeset in books similar to Table\InsetSpace ~
11278 \begin_inset LatexCommand ref
11279 reference "tab:Example-booktabs-table"
11284 This kind of tables is called
11285 \begin_inset Quotes eld
11293 \begin_inset Quotes erd
11297 To make a table a formal table use the option
11305 tab of the table dialog.
11308 \begin_layout Standard
11309 \begin_inset Float table
11315 \begin_layout Standard
11316 \begin_inset Caption
11318 \begin_layout Standard
11319 \begin_inset LatexCommand label
11320 name "tab:Example-booktabs-table"
11324 Example booktabs-table
11332 \begin_layout Standard
11334 \begin_inset Tabular
11335 <lyxtabular version="3" rows="8" columns="4">
11336 <features booktabs="true">
11337 <column alignment="center" valignment="top" rightline="true" width="0">
11338 <column alignment="center" valignment="top" width="0">
11339 <column alignment="center" valignment="top" width="0">
11340 <column alignment="center" valignment="top" width="0">
11341 <row topline="true">
11342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11345 \begin_layout Standard
11351 <cell alignment="center" valignment="top" topline="true" usebox="none">
11354 \begin_layout Standard
11356 \begin_inset Formula $\,$
11364 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11367 \begin_layout Standard
11369 \begin_inset Formula $\,$
11377 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11380 \begin_layout Standard
11388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11391 \begin_layout Standard
11395 \begin_layout Standard
11408 \begin_layout Standard
11417 Detector thickness [µm]
11422 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11425 \begin_layout Standard
11431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11434 \begin_layout Standard
11440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11443 \begin_layout Standard
11450 <row topline="true">
11451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11454 \begin_layout Standard
11460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11463 \begin_layout Standard
11469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11472 \begin_layout Standard
11478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11481 \begin_layout Standard
11488 <row topspace="default">
11489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11492 \begin_layout Standard
11493 Spatial resolution [µm]
11498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11501 \begin_layout Standard
11507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11510 \begin_layout Standard
11516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11519 \begin_layout Standard
11526 <row topspace="default">
11527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11530 \begin_layout Standard
11532 \begin_inset Formula $f_{\mathrm{max}}$
11540 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11543 \begin_layout Standard
11549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11552 \begin_layout Standard
11558 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11561 \begin_layout Standard
11568 <row topspace="default">
11569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11572 \begin_layout Standard
11576 \begin_layout Standard
11580 cmidrule(l{10pt}){1-1}
11585 LSF-spatial resolution
11590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11593 \begin_layout Standard
11599 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11602 \begin_layout Standard
11608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11611 \begin_layout Standard
11619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11622 \begin_layout Standard
11628 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11631 \begin_layout Standard
11637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11640 \begin_layout Standard
11646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11649 \begin_layout Standard
11656 <row bottomline="true">
11657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11660 \begin_layout Standard
11666 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11669 \begin_layout Standard
11675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11678 \begin_layout Standard
11684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11687 \begin_layout Standard
11706 \begin_layout Standard
11707 Spaces to table rows can be added using the
11711 tab of the table dialog as described in section\InsetSpace ~
11713 \begin_inset LatexCommand ref
11714 reference "sub:Row-Spacing"
11721 \begin_layout Standard
11722 In contrary to normal tables, formal tables have no vertical table lines.
11723 The horizontal table lines can be set like for normal tables but they appear
11724 with different width in the output:
11726 The first and the last table line have
11727 a default width of 0.08\InsetSpace \thinspace{}
11728 em while the other lines have a default width of
11729 0.05\InsetSpace \thinspace{}
11733 \begin_layout Standard
11734 The default widths can be changed with the following preamble lines
11737 \begin_layout Standard
11757 \begin_layout Standard
11758 This example is for the first line, the so called toprule.
11759 If you want to change the width for the last line, replace
11768 To change the width for the other lines replace
11777 You can use all units listed in appendix\InsetSpace ~
11779 \begin_inset LatexCommand ref
11780 reference "cha:Units-available-in"
11787 \begin_layout Standard
11788 Lines that don't span over all table columns can be created by setting a
11789 table line for multicolumn cells.
11790 LyX will then internally use the command
11796 to create this line.
11800 \begin_layout Standard
11805 cmidrule[width](trim){startcol-endcol}
11808 \begin_layout Standard
11815 are are currently not supported by LyX so you have to use ERT to be able
11823 s can manually be created by inserting the command as ERT as first cell
11824 entry of the first cell of a row.
11825 The line is then drawn in the output above the current row.
11828 \begin_layout Standard
11829 The default for the width is 0.03\InsetSpace \thinspace{}
11831 Startcol is the number of the column where the line starts and endcol the
11832 column number where the line ends.
11833 The endcol always needs to be specified, also when the line should span
11835 The optional parameter trim could be either
11843 where the trimwidth is also optional.
11844 Using for example the parameter
11848 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11850 If you don't specify the trimwidth the lines are trimmed by the default
11851 of 0.5\InsetSpace \thinspace{}
11855 \begin_layout Standard
11856 \begin_inset VSpace bigskip
11861 \begin_inset LatexCommand ref
11862 reference "tab:Example-booktabs-table"
11866 was created using the commands
11869 \begin_layout Standard
11879 \begin_layout Standard
11880 at the beginning of the in the second row and
11883 \begin_layout Standard
11888 cmidrule(l{10pt}){1-1}
11891 \begin_layout Standard
11895 \begin_layout Standard
11899 \begin_layout Standard
11900 \begin_inset VSpace bigskip
11906 \begin_layout Standard
11907 You might want to have overlapping
11913 s like in Table\InsetSpace ~
11915 \begin_inset LatexCommand ref
11916 reference "tab:Special-booktabs-table"
11921 This can be achieved with the ERT command
11924 \begin_layout Standard
11932 \begin_layout Standard
11933 The command that was used for the second row of Table\InsetSpace ~
11935 \begin_inset LatexCommand ref
11936 reference "tab:Special-booktabs-table"
11943 \begin_layout Standard
11957 \begin_layout Standard
11958 The command for the sixth row is
11961 \begin_layout Standard
11973 \begin_layout Standard
11974 \begin_inset VSpace bigskip
11980 \begin_layout Standard
11981 If you are anyway not satisfied with the border line spacing, you can use
11982 the following command to produce lines that span over all table columns
11987 \begin_layout Standard
11992 specialrule{width}{space above}{space below}
11995 \begin_layout Standard
11996 For more informations about these specialties, we refer to the manual of
12002 \begin_inset LatexCommand cite
12008 \begin_inset LatexCommand index
12009 name "LaTeX-packages ! booktabs"
12016 \begin_layout Standard
12017 \begin_inset Float table
12023 \begin_layout Standard
12024 \begin_inset Caption
12026 \begin_layout Standard
12027 \begin_inset LatexCommand label
12028 name "tab:Special-booktabs-table"
12032 Special booktabs-table
12040 \begin_layout Standard
12042 \begin_inset Tabular
12043 <lyxtabular version="3" rows="8" columns="4">
12044 <features booktabs="true">
12045 <column alignment="center" valignment="top" width="0">
12046 <column alignment="center" valignment="top" width="0">
12047 <column alignment="center" valignment="top" width="0">
12048 <column alignment="center" valignment="top" width="0">
12049 <row topline="true">
12050 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12053 \begin_layout Standard
12059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12062 \begin_layout Standard
12063 Medipix\InsetSpace \thinspace{}
12069 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12072 \begin_layout Standard
12073 Medipix\InsetSpace \thinspace{}
12079 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12082 \begin_layout Standard
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12093 \begin_layout Standard
12097 \begin_layout Standard
12110 \begin_layout Standard
12123 \begin_layout Standard
12136 \begin_layout Standard
12145 Detector thickness [µm]
12150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12153 \begin_layout Standard
12159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12162 \begin_layout Standard
12168 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12171 \begin_layout Standard
12178 <row topline="true">
12179 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12182 \begin_layout Standard
12188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12191 \begin_layout Standard
12197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12200 \begin_layout Standard
12206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12209 \begin_layout Standard
12216 <row topspace="default">
12217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12220 \begin_layout Standard
12221 Spatial resolution [µm]
12226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12229 \begin_layout Standard
12235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12238 \begin_layout Standard
12244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12247 \begin_layout Standard
12254 <row topspace="default">
12255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12258 \begin_layout Standard
12260 \begin_inset Formula $f_{\mathrm{max}}$
12268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12271 \begin_layout Standard
12277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12280 \begin_layout Standard
12286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12289 \begin_layout Standard
12296 <row topline="true">
12297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12300 \begin_layout Standard
12304 \begin_layout Standard
12317 \begin_layout Standard
12326 LSF-spatial resolution
12331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12334 \begin_layout Standard
12340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12343 \begin_layout Standard
12349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12352 \begin_layout Standard
12360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12363 \begin_layout Standard
12369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12372 \begin_layout Standard
12378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12381 \begin_layout Standard
12387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12390 \begin_layout Standard
12397 <row bottomline="true">
12398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12401 \begin_layout Standard
12407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12410 \begin_layout Standard
12416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12419 \begin_layout Standard
12425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12428 \begin_layout Standard
12447 \begin_layout Section
12448 Vertical Table Alignment
12449 \begin_inset LatexCommand index
12450 name "Table ! Alignment"
12457 \begin_layout Standard
12458 To align tables vertically in a text line the table must be inside a box.
12459 The box can then be vertically aligned as described in section\InsetSpace ~
12461 \begin_inset LatexCommand ref
12462 reference "sec:Box-Dialog"
12469 \begin_layout Standard
12470 In the following example the tables are inside a minipage
12474 \begin_layout Standard
12475 Minipages are described in section\InsetSpace ~
12477 \begin_inset LatexCommand ref
12478 reference "sec:Minipages"
12487 box that has a width of 15\InsetSpace \thinspace{}
12491 \begin_layout Itemize
12493 \begin_inset Box Frameless
12502 height_special "totalheight"
12505 \begin_layout Standard
12506 \begin_inset Tabular
12507 <lyxtabular version="3" rows="3" columns="3">
12509 <column alignment="center" valignment="top" leftline="true" width="0">
12510 <column alignment="center" valignment="top" leftline="true" width="0">
12511 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12512 <row topline="true">
12513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12516 \begin_layout Standard
12522 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12525 \begin_layout Standard
12531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12534 \begin_layout Standard
12541 <row topline="true">
12542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12545 \begin_layout Standard
12551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12554 \begin_layout Standard
12560 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12563 \begin_layout Standard
12570 <row topline="true" bottomline="true">
12571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12574 \begin_layout Standard
12580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12583 \begin_layout Standard
12589 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12592 \begin_layout Standard
12612 \begin_layout Standard
12624 \begin_inset Box Frameless
12633 height_special "totalheight"
12636 \begin_layout Standard
12637 \begin_inset Tabular
12638 <lyxtabular version="3" rows="3" columns="3">
12640 <column alignment="center" valignment="top" leftline="true" width="0">
12641 <column alignment="center" valignment="top" leftline="true" width="0">
12642 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12643 <row topline="true">
12644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12647 \begin_layout Standard
12653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12656 \begin_layout Standard
12662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12665 \begin_layout Standard
12672 <row topline="true">
12673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12676 \begin_layout Standard
12682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12685 \begin_layout Standard
12691 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12694 \begin_layout Standard
12701 <row topline="true" bottomline="true">
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12705 \begin_layout Standard
12711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12714 \begin_layout Standard
12720 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12723 \begin_layout Standard
12743 \begin_layout Standard
12753 \begin_layout Itemize
12755 \begin_inset Box Frameless
12764 height_special "totalheight"
12767 \begin_layout Standard
12768 \begin_inset Tabular
12769 <lyxtabular version="3" rows="3" columns="3">
12771 <column alignment="center" valignment="top" leftline="true" width="0">
12772 <column alignment="center" valignment="top" leftline="true" width="0">
12773 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12774 <row topline="true">
12775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12778 \begin_layout Standard
12784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12787 \begin_layout Standard
12793 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12796 \begin_layout Standard
12803 <row topline="true">
12804 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12807 \begin_layout Standard
12813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12816 \begin_layout Standard
12822 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12825 \begin_layout Standard
12832 <row topline="true" bottomline="true">
12833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12836 \begin_layout Standard
12842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12845 \begin_layout Standard
12851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12854 \begin_layout Standard
12873 \begin_layout Itemize
12875 \begin_inset Box Frameless
12884 height_special "totalheight"
12887 \begin_layout Standard
12888 \begin_inset Tabular
12889 <lyxtabular version="3" rows="3" columns="3">
12891 <column alignment="center" valignment="top" leftline="true" width="0">
12892 <column alignment="center" valignment="top" leftline="true" width="0">
12893 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12894 <row topline="true">
12895 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12898 \begin_layout Standard
12904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12907 \begin_layout Standard
12913 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12916 \begin_layout Standard
12923 <row topline="true">
12924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12927 \begin_layout Standard
12933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12936 \begin_layout Standard
12942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12945 \begin_layout Standard
12952 <row topline="true" bottomline="true">
12953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12956 \begin_layout Standard
12962 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12965 \begin_layout Standard
12971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12974 \begin_layout Standard
12994 \begin_layout Standard
13006 \begin_inset Box Frameless
13015 height_special "totalheight"
13018 \begin_layout Standard
13019 \begin_inset Tabular
13020 <lyxtabular version="3" rows="3" columns="3">
13022 <column alignment="center" valignment="top" leftline="true" width="0">
13023 <column alignment="center" valignment="top" leftline="true" width="0">
13024 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13025 <row topline="true">
13026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13029 \begin_layout Standard
13035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13038 \begin_layout Standard
13044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13047 \begin_layout Standard
13054 <row topline="true">
13055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13058 \begin_layout Standard
13064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13067 \begin_layout Standard
13073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13076 \begin_layout Standard
13083 <row topline="true" bottomline="true">
13084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13087 \begin_layout Standard
13093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13096 \begin_layout Standard
13102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13105 \begin_layout Standard
13125 \begin_layout Standard
13135 \begin_layout Standard
13136 As you can see, the content of the first and last table row is not correctly
13137 aligned with the text line where the table is in.
13138 To get this alignment, the minipage box must be set into a raisebox
13142 \begin_layout Standard
13143 Raiseboxes are described in section\InsetSpace ~
13145 \begin_inset LatexCommand ref
13146 reference "sub:Vertical-Alignment"
13156 In the example above the second table in the first item is aligned using
13160 \begin_layout Standard
13170 \begin_layout Standard
13172 Behind the box the closing brace
13176 is inserted as ERT.
13177 For the second table in the last item the command
13180 \begin_layout Standard
13190 \begin_layout Standard
13194 \begin_layout Standard
13195 \begin_inset Note Greyedout
13198 \begin_layout Standard
13203 The alignment of the table row content to the surrounding text line is
13205 The needed factor of the
13211 command for this alignment depends on the document font, the font size,
13212 and the table line thickness.
13220 \begin_layout Section
13222 \begin_inset LatexCommand label
13223 name "sec:Colored-Tables"
13228 \begin_inset LatexCommand index
13229 name "Table ! Color"
13236 \begin_layout Subsection
13238 \begin_inset LatexCommand index
13239 name "Table Color ! for Cells"
13244 \begin_inset LatexCommand index
13245 name "Color ! for Table Cells"
13252 \begin_layout Standard
13253 \begin_inset Float table
13259 \begin_layout Standard
13260 \begin_inset Caption
13262 \begin_layout Standard
13263 \begin_inset LatexCommand label
13264 name "tab:Table-colored-without"
13268 Table colored without using the package
13273 \begin_inset OptArg
13276 \begin_layout Standard
13277 Table without colortbl
13290 \begin_layout Standard
13292 \begin_inset Tabular
13293 <lyxtabular version="3" rows="3" columns="3">
13295 <column alignment="center" valignment="top" leftline="true" width="0">
13296 <column alignment="center" valignment="top" leftline="true" width="0">
13297 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13298 <row topline="true">
13299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13302 \begin_layout Standard
13310 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13313 \begin_layout Standard
13321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13324 \begin_layout Standard
13333 <row topline="true">
13334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13337 \begin_layout Standard
13345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13348 \begin_layout Standard
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13359 \begin_layout Standard
13368 <row topline="true" bottomline="true">
13369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13372 \begin_layout Standard
13380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13383 \begin_layout Standard
13391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13394 \begin_layout Standard
13415 \begin_layout Standard
13416 If you only need colored text, mark the cells and choose a color in the
13419 Edit\SpecialChar \menuseparator
13424 This was used to create Table\InsetSpace ~
13426 \begin_inset LatexCommand ref
13427 reference "tab:Table-colored-without"
13432 In any other case you have to use the LaTeX-package
13437 \begin_inset LatexCommand index
13438 name "LaTeX-packages ! colortbl"
13445 \begin_layout Standard
13446 To create colored tables,
13450 must be loaded in the preamble with the line
13453 \begin_layout Standard
13458 usepackage{colortbl}
13461 \begin_layout Standard
13462 The color of a column is adjusted with the command
13465 \begin_layout Standard
13470 columncolor{name of color}
13473 \begin_layout Standard
13479 More about the command
13483 is described in section\InsetSpace ~
13485 \begin_inset LatexCommand ref
13486 reference "sub:Multicolumn-Calculations"
13493 \begin_layout Standard
13494 The following color names are predefined:
13497 \begin_layout Standard
13531 \begin_layout Standard
13532 \begin_inset VSpace medskip
13538 \begin_layout Standard
13539 You can also define your own color with the command
13542 \begin_layout Standard
13547 def\SpecialChar \textcompwordmark{}
13548 inecolor{color name}{color model}{color values}
13551 \begin_layout Standard
13552 The color model can be
13555 \begin_layout Labeling
13556 \labelwidthstring 00.00.0000
13557 cmyk: cyan, magenta, yellow, black
13560 \begin_layout Labeling
13561 \labelwidthstring 00.00.0000
13562 rgb: red, green blue
13565 \begin_layout Labeling
13566 \labelwidthstring 00.00.0000
13570 \begin_layout Standard
13571 and the color values are comma separated numbers between 0 and 1 describing
13572 the factor for the corresponding color of the color model.
13575 \begin_layout Standard
13576 You can e.\InsetSpace \thinspace{}
13582 " in the preamble with
13585 \begin_layout Standard
13590 def\SpecialChar \textcompwordmark{}
13591 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13594 \begin_layout Standard
13602 \begin_layout Standard
13607 def\SpecialChar \textcompwordmark{}
13608 inecolor{lightgray}{gray}{0.8}
13611 \begin_layout Standard
13612 \begin_inset VSpace medskip
13618 \begin_layout Standard
13619 Lines are colored with the command
13622 \begin_layout Standard
13627 rowcolor{name of color}
13630 \begin_layout Standard
13631 and cells are colored with the command
13634 \begin_layout Standard
13639 cellcolor{name of color}
13642 \begin_layout Standard
13643 Both commands are inserted at the beginning of a cell as ERT.
13646 \begin_layout Standard
13647 To color characters in the table, mark the cells and use the LyX menu
13649 Edit\SpecialChar \menuseparator
13654 If a cell contains ERT mark only the characters, otherwise the colored
13655 ERT will cause LaTeX-errors.
13658 \begin_layout Standard
13659 \begin_inset VSpace bigskip
13665 \begin_layout Standard
13666 To create Table\InsetSpace ~
13668 \begin_inset LatexCommand ref
13669 reference "tab:Table-colored-using"
13673 do the following: The color of the first column should be
13681 \begin_layout Standard
13686 columncolor{darkgreen}
13691 \begin_layout Standard
13692 as LaTeX-argument for this column.
13693 The first row should be blue, therefore the ERT command
13696 \begin_layout Standard
13704 \begin_layout Standard
13705 is inserted to the first cell of this row.
13706 Note that this overwrites the column color for the first cell.
13707 The last cell of the last row is colored magenta by inserting the ERT command
13710 \begin_layout Standard
13718 \begin_layout Standard
13719 The characters could now be colored using the menu
13721 Edit\SpecialChar \menuseparator
13728 \begin_layout Standard
13729 \begin_inset Float table
13735 \begin_layout Standard
13736 \begin_inset Caption
13738 \begin_layout Standard
13739 \begin_inset LatexCommand label
13740 name "tab:Table-colored-using"
13744 Table colored using the package
13749 \begin_inset OptArg
13752 \begin_layout Standard
13753 Table with colortbl
13766 \begin_layout Standard
13768 \begin_inset Tabular
13769 <lyxtabular version="3" rows="3" columns="3">
13771 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13772 <column alignment="center" valignment="top" width="0">
13773 <column alignment="center" valignment="top" width="0">
13775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13778 \begin_layout Standard
13782 \begin_layout Standard
13798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13801 \begin_layout Standard
13809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13812 \begin_layout Standard
13822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13825 \begin_layout Standard
13833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13836 \begin_layout Standard
13844 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13847 \begin_layout Standard
13857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13860 \begin_layout Standard
13868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13871 \begin_layout Standard
13879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13882 \begin_layout Standard
13886 \begin_layout Standard
13915 \begin_layout Subsection
13917 \begin_inset LatexCommand index
13918 name "Table Color ! for Lines"
13923 \begin_inset LatexCommand index
13924 name "Color ! for Table Lines"
13931 \begin_layout Standard
13932 As described in section\InsetSpace ~
13934 \begin_inset LatexCommand ref
13935 reference "sub:Line-Thickness"
13939 , the line thickness for all lines in a table can be adjusted with the length
13947 It is set to 1.5\InsetSpace \thinspace{}
13948 pt for all tables of this section.
13952 \begin_layout Standard
13958 arrayrulewidth}{1.5pt}
13966 \begin_layout Standard
13967 To color vertical lines for example with green, create the following column
13968 format in the document preamble, according to the description in section\InsetSpace ~
13970 \begin_inset LatexCommand ref
13971 reference "sub:Customized-Format"
13978 \begin_layout Standard
13983 newcolumntype{W}{!{
13990 \begin_layout Standard
13991 For Table\InsetSpace ~
13993 \begin_inset LatexCommand ref
13994 reference "tab:Table-with-vertical-colored"
14001 \begin_layout Standard
14007 \begin_layout Standard
14008 was used for the last column and
14011 \begin_layout Standard
14017 \begin_layout Standard
14018 for the other columns.
14021 \begin_layout Standard
14022 If you want to have several colors, define more column formats.
14025 \begin_layout Standard
14026 \begin_inset Float table
14031 \begin_layout Standard
14032 \begin_inset Caption
14034 \begin_layout Standard
14035 \begin_inset LatexCommand label
14036 name "tab:Table-with-vertical-colored"
14040 Table with colored vertical lines
14048 \begin_layout Standard
14050 \begin_inset Tabular
14051 <lyxtabular version="3" rows="3" columns="3">
14053 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14054 <column alignment="center" valignment="top" width="0" special="Wc">
14055 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14056 <row topline="true">
14057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14060 \begin_layout Standard
14066 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14069 \begin_layout Standard
14075 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14078 \begin_layout Standard
14085 <row topline="true">
14086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14089 \begin_layout Standard
14095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14098 \begin_layout Standard
14104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14107 \begin_layout Standard
14114 <row topline="true" bottomline="true">
14115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14118 \begin_layout Standard
14124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14127 \begin_layout Standard
14133 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14136 \begin_layout Standard
14155 \begin_layout Standard
14156 \begin_inset VSpace bigskip
14159 To color horizontal lines for example with red, like in Table\InsetSpace ~
14161 \begin_inset LatexCommand ref
14162 reference "tab:Table-with-horizontal-colored"
14166 , insert these commands in ERT before the table or table float:
14169 \begin_layout Standard
14186 arrayrulecolor{red}
14190 arrayrulecolor{black}}
14193 \begin_layout Standard
14197 \begin_layout Standard
14208 \begin_layout Standard
14216 arrayrulecolor{red}
14220 arrayrulecolor{black}}
14226 \begin_inset Float table
14231 \begin_layout Standard
14232 \begin_inset Caption
14234 \begin_layout Standard
14235 \begin_inset LatexCommand label
14236 name "tab:Table-with-horizontal-colored"
14240 Table with colored horizontal lines
14248 \begin_layout Standard
14250 \begin_inset Tabular
14251 <lyxtabular version="3" rows="3" columns="3">
14253 <column alignment="center" valignment="top" leftline="true" width="0">
14254 <column alignment="center" valignment="top" leftline="true" width="0">
14255 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14256 <row topline="true">
14257 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14260 \begin_layout Standard
14266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14269 \begin_layout Standard
14275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14278 \begin_layout Standard
14285 <row topline="true">
14286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14289 \begin_layout Standard
14295 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14298 \begin_layout Standard
14304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14307 \begin_layout Standard
14314 <row topline="true" bottomline="true">
14315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14318 \begin_layout Standard
14324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14327 \begin_layout Standard
14333 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14336 \begin_layout Standard
14355 \begin_layout Standard
14359 \begin_layout Standard
14371 \begin_layout Standard
14372 To return to the default line color black, insert this command in ERT behind
14373 the table or table float:
14376 \begin_layout Standard
14388 \begin_layout Standard
14391 \begin_inset LatexCommand ref
14392 reference "tab:Table-with-colored"
14396 is an example with colored vertical and horizontal lines.
14399 \begin_layout Standard
14400 \begin_inset Float table
14405 \begin_layout Standard
14406 \begin_inset Caption
14408 \begin_layout Standard
14409 \begin_inset LatexCommand label
14410 name "tab:Table-with-colored"
14414 Table with colored lines
14422 \begin_layout Standard
14424 \begin_inset Tabular
14425 <lyxtabular version="3" rows="3" columns="3">
14427 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14428 <column alignment="center" valignment="top" width="0" special="Wc">
14429 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14430 <row topline="true">
14431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14434 \begin_layout Standard
14440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14443 \begin_layout Standard
14449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14452 \begin_layout Standard
14459 <row topline="true">
14460 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14463 \begin_layout Standard
14469 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14472 \begin_layout Standard
14478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14481 \begin_layout Standard
14488 <row topline="true" bottomline="true" topspace="default">
14489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14492 \begin_layout Standard
14498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14501 \begin_layout Standard
14507 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14510 \begin_layout Standard
14529 \begin_layout Standard
14533 \begin_layout Standard
14549 \begin_layout Standard
14553 \begin_layout Standard
14559 arrayrulewidth}{0.4pt}
14567 \begin_layout Section
14568 Table Customization
14569 \begin_inset LatexCommand index
14570 name "Table Customization"
14575 \begin_inset LatexCommand index
14576 name "Table ! Customization"
14583 \begin_layout Subsection
14585 \begin_inset LatexCommand label
14586 name "sub:Row-Spacing"
14591 \begin_inset LatexCommand index
14592 name "Table Customization ! Row Spacing"
14599 \begin_layout Standard
14600 You can add vertical space to table rows in the
14604 tab of the table dialog.
14605 You find there three possibilities:
14608 \begin_layout Description
14611 row will add space above the characters of the table row.
14612 If the table is a formal table
14616 \begin_layout Standard
14617 Formal tables are explained in section\InsetSpace ~
14619 \begin_inset LatexCommand ref
14620 reference "sec:Formal-Tables"
14629 LyX will insert as default 0.5\InsetSpace \thinspace{}
14631 For normal tables the inserted space will unfortunately destroy the vertical
14632 table lines as in the following table:
14633 \begin_inset Tabular
14634 <lyxtabular version="3" rows="3" columns="1">
14636 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14637 <row topline="true">
14638 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14641 \begin_layout Standard
14648 <row topline="true" topspace="3mm">
14649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14652 \begin_layout Standard
14653 3\InsetSpace \thinspace{}
14654 mm space top of row
14660 <row topline="true" bottomline="true">
14661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14664 \begin_layout Standard
14677 So inserting space to the top of row for normal tables is only useful when
14678 you don't have vertical lines.
14681 \begin_layout Description
14682 Bottom\InsetSpace ~
14684 row will add space below the characters of the table row.
14685 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14687 normal tables the default size is 2\InsetSpace \thinspace{}
14691 \begin_layout Description
14692 Between\InsetSpace ~
14693 rows only has an effect when you have selected the whole table row
14695 The space is added between the current and the following row.
14696 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14698 For normal tables the inserted space will unfortunately destroy the vertical
14699 table lines as in the following table:
14700 \begin_inset Tabular
14701 <lyxtabular version="3" rows="3" columns="1">
14703 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14704 <row topline="true">
14705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14708 \begin_layout Standard
14715 <row topline="true" interlinespace="3mm">
14716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14719 \begin_layout Standard
14720 \begin_inset Formula $\downarrow$
14723 3\InsetSpace \thinspace{}
14724 mm space between row
14725 \begin_inset Formula $\downarrow$
14734 <row topline="true" bottomline="true">
14735 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14738 \begin_layout Standard
14739 \begin_inset Formula $\uparrow$
14742 3\InsetSpace \thinspace{}
14743 mm space between row
14744 \begin_inset Formula $\uparrow$
14759 So inserting space to the top of row for normal tables is only useful when
14760 you don't have vertical lines.
14763 \begin_layout Standard
14764 When you want to add extra height to all cells of all tables, you can do
14765 this with the following preamble line:
14768 \begin_layout Standard
14775 extrarowheight}{height}
14778 \begin_layout Standard
14779 But this has the disadvantage that the cell texts are no longer exactly
14780 vertically centered.
14783 \begin_layout Subsection
14784 Special Cell Alignment
14785 \begin_inset LatexCommand index
14786 name "Table Customization ! Special Cell Alignment"
14793 \begin_layout Standard
14794 Sometimes it looks better when the cell entries of a column are aligned
14795 with a special character, e.\InsetSpace \thinspace{}
14797 with the decimal separator as in Table\InsetSpace ~
14799 \begin_inset LatexCommand ref
14800 reference "tab:Table-cells-of"
14807 \begin_layout Standard
14808 \begin_inset Float table
14814 \begin_layout Standard
14815 \begin_inset Caption
14817 \begin_layout Standard
14818 \begin_inset LatexCommand label
14819 name "tab:Table-cells-of"
14823 Table cells of a column aligned with the decimal separator.
14831 \begin_layout Standard
14833 \begin_inset Tabular
14834 <lyxtabular version="3" rows="4" columns="2">
14836 <column alignment="right" valignment="top" width="0">
14837 <column alignment="left" valignment="top" width="0" special="@{}l">
14838 <row bottomline="true">
14839 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14842 \begin_layout Standard
14848 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14851 \begin_layout Standard
14859 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14862 \begin_layout Standard
14868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14871 \begin_layout Standard
14879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14882 \begin_layout Standard
14888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14891 \begin_layout Standard
14899 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14902 \begin_layout Standard
14908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14911 \begin_layout Standard
14930 \begin_layout Standard
14931 This table was created with a 4×2 table.
14932 The heading is a centered multicolumn.
14933 The first column is right-aligned and contains the digits before the decimal
14934 point and the decimal point.
14935 The second column is left aligned and contains the digits after the decimal
14937 To omit the space that is normally between two table columns, use the following
14938 LaTeX-argument for the second column:
14941 \begin_layout Standard
14947 \begin_layout Standard
14948 If you need a vertical line right beside the second column, use this LaTeX-argum
14954 \begin_layout Standard
14957 \begin_inset LatexCommand ref
14958 reference "tab:Several-table-cell"
14962 shows some example alignments.
14963 For the alignment with the relation sign, you must add the second smallest
14964 math-space at the beginning of the last column to get the correct space
14965 surrounding the relation sign.
14968 \begin_layout Standard
14969 \begin_inset Float table
14974 \begin_layout Standard
14975 \begin_inset Caption
14977 \begin_layout Standard
14978 \begin_inset LatexCommand label
14979 name "tab:Several-table-cell"
14983 Several table cell alignments.
14991 \begin_layout Standard
14993 \begin_inset Tabular
14994 <lyxtabular version="3" rows="4" columns="6">
14996 <column alignment="right" valignment="top" width="0">
14997 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14998 <column alignment="right" valignment="top" width="0">
14999 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
15000 <column alignment="right" valignment="top" width="0">
15001 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15002 <row bottomline="true">
15003 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15006 \begin_layout Standard
15012 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15015 \begin_layout Standard
15021 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15024 \begin_layout Standard
15030 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15033 \begin_layout Standard
15039 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15042 \begin_layout Standard
15048 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15051 \begin_layout Standard
15059 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15062 \begin_layout Standard
15068 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15071 \begin_layout Standard
15072 24\InsetSpace \thinspace{}
15078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15081 \begin_layout Standard
15082 \begin_inset Formula $10\cdot$
15090 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15093 \begin_layout Standard
15094 \begin_inset Formula $10^{\mbox{-}17}$
15102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15105 \begin_layout Standard
15106 \begin_inset Formula $\Gamma(t)\propto$
15114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15117 \begin_layout Standard
15118 \begin_inset Formula $\:\Upsilon(t)$
15128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15131 \begin_layout Standard
15137 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15140 \begin_layout Standard
15141 768\InsetSpace \thinspace{}
15147 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15150 \begin_layout Standard
15151 \begin_inset Formula $5.78\cdot$
15159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15162 \begin_layout Standard
15163 \begin_inset Formula $10^{7}$
15171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15174 \begin_layout Standard
15175 \begin_inset Formula $A\ne$
15183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15186 \begin_layout Standard
15187 \begin_inset Formula $\: B_{\mathrm{red}}$
15197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15200 \begin_layout Standard
15206 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15209 \begin_layout Standard
15210 6\InsetSpace \thinspace{}
15216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15219 \begin_layout Standard
15221 \begin_inset Formula $33.5\cdot$
15229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15232 \begin_layout Standard
15233 \begin_inset Formula $10^{4}$
15241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15244 \begin_layout Standard
15245 \begin_inset Formula $\sin(\alpha)\ge$
15253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15256 \begin_layout Standard
15257 \begin_inset Formula $\:\sin(\beta)$
15278 \begin_layout Standard
15279 \begin_inset VSpace bigskip
15282 There is also the LaTeX-package
15287 \begin_inset LatexCommand index
15288 name "LaTeX-packages ! dcolumn"
15292 that provides table cell alignments.
15293 But this unfortunately treats the cell entries as math and doesn't allow
15294 formulas in table cells: The first column of Table\InsetSpace ~
15296 \begin_inset LatexCommand ref
15297 reference "tab:Several-table-cell"
15305 like the first column in Table\InsetSpace ~
15307 \begin_inset LatexCommand ref
15308 reference "tab:Alignments-when"
15312 and only with some tricks like the expected.
15313 The alignment of the second and third column of Table\InsetSpace ~
15315 \begin_inset LatexCommand ref
15316 reference "tab:Several-table-cell"
15320 is not possible with
15327 \begin_layout Standard
15328 \begin_inset Float table
15334 \begin_layout Standard
15335 \begin_inset Caption
15337 \begin_layout Standard
15338 \begin_inset LatexCommand label
15339 name "tab:Alignments-when"
15343 Alignments when LaTeX-package dcolumn is used.
15344 For the second and third alignment some tricks were used.
15352 \begin_layout Standard
15354 \begin_inset Tabular
15355 <lyxtabular version="3" rows="4" columns="3">
15357 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15358 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15359 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15360 <row bottomline="true">
15361 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15364 \begin_layout Standard
15370 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15373 \begin_layout Standard
15379 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15382 \begin_layout Standard
15390 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15393 \begin_layout Standard
15394 12×24\InsetSpace \thinspace{}
15400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15403 \begin_layout Standard
15404 12×24\InsetSpace \thinspace{}
15406 \begin_inset Formula $\mbox{bottles}$
15414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15417 \begin_layout Standard
15419 \begin_inset Formula $\mbox{bottles}$
15429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15432 \begin_layout Standard
15433 1024×768\InsetSpace \thinspace{}
15439 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15442 \begin_layout Standard
15443 1024×768\InsetSpace \thinspace{}
15445 \begin_inset Formula $\mbox{Pixels}$
15453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15456 \begin_layout Standard
15458 \begin_inset Formula $\mbox{Pixels}$
15468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15471 \begin_layout Standard
15472 32×6\InsetSpace \thinspace{}
15478 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15481 \begin_layout Standard
15482 32×6\InsetSpace \thinspace{}
15484 \begin_inset Formula $\mbox{cm}$
15492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15495 \begin_layout Standard
15497 \begin_inset Formula $\mbox{cm}$
15518 \begin_layout Subsection
15519 Customized Cell/Column Format
15520 \begin_inset LatexCommand label
15521 name "sub:Customized-Format"
15526 \begin_inset LatexCommand index
15527 name "Table Customization ! Cell/Column Format"
15534 \begin_layout Standard
15535 Calculating the needed width for spanned columns like in section\InsetSpace ~
15537 \begin_inset LatexCommand ref
15538 reference "sub:Multicolumn-Calculations"
15542 is very annoying if you have several tables with multicolumn cells.
15543 To make life easier, you can define a cell/column format in the preamble,
15544 so that it can be used in all tables of the document.
15545 The format is defined with the command
15548 \begin_layout Standard
15553 newcolumntype{name of format}[number of arguments]{commands}
15556 \begin_layout Standard
15557 The format name may only consist of one letter.
15582 are predefined and cannot be used.
15583 But all letters are allowed as capitals.
15586 \begin_layout Standard
15587 \begin_inset VSpace medskip
15593 \begin_layout Standard
15594 For vertically and horizontally centered multicolumn cells with a fixed
15595 width you can define the cell format
15598 \begin_layout Standard
15603 newcolumntype{M}[1]{>{
15610 \begin_layout Standard
15617 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15619 \begin_inset LatexCommand ref
15620 reference "sub:Multiple-Lines-in"
15625 Now you can simply enter
15628 \begin_layout Standard
15634 \begin_layout Standard
15635 as LaTeX-argument in the table dialog to create a multicolumn.
15638 \begin_layout Standard
15639 \begin_inset VSpace bigskip
15645 \begin_layout Standard
15646 For cells spanned by a multicolumn cell, you can define the format
15649 \begin_layout Standard
15654 newcolumntype{S}[2]{>{
15664 \begin_layout Standard
15675 newcolumntype{S}[2]
15679 \begin_layout Standard
15690 arrayrulewidth)*(1-#2))/#2}}
15693 \begin_layout Standard
15694 This format uses equation
15695 \begin_inset LatexCommand eqref
15700 to calculate the needed width so that each spanned cell has the same width.
15703 \begin_layout Standard
15707 \begin_layout Standard
15710 |S{width of multicolumn cell}{number of spanned columns}
15713 \begin_layout Standard
15714 as LaTeX-argument of the column.
15717 \begin_layout Standard
15718 \begin_inset VSpace bigskip
15724 \begin_layout Standard
15725 For colored columns, you can define
15728 \begin_layout Standard
15733 newcolumntype{K}[1]{>{
15740 \begin_layout Standard
15742 \begin_inset Quotes eld
15746 \begin_inset Quotes erd
15749 at the end creates a column with a flexible width whose text is horizontally
15754 \begin_layout Standard
15760 \begin_layout Standard
15764 \begin_layout Standard
15765 \begin_inset VSpace bigskip
15771 \begin_layout Standard
15772 To create Table\InsetSpace ~
15774 \begin_inset LatexCommand ref
15775 reference "tab:Table-using-user-defined"
15779 use the LaTeX-arguments
15782 \begin_layout Standard
15788 \begin_layout Standard
15789 for the first column and the multicolumn,
15792 \begin_layout Standard
15798 \begin_layout Standard
15799 for the the last column, and
15802 \begin_layout Standard
15808 \begin_layout Standard
15809 for the cells in the second column.
15812 \begin_layout Standard
15813 \begin_inset Float table
15819 \begin_layout Standard
15820 \begin_inset Caption
15822 \begin_layout Standard
15823 \begin_inset LatexCommand label
15824 name "tab:Table-using-user-defined"
15828 Table using user-defined table formats
15836 \begin_layout Standard
15838 \begin_inset Tabular
15839 <lyxtabular version="3" rows="3" columns="4">
15841 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15842 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15843 <column alignment="center" valignment="middle" leftline="true" width="0">
15844 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15845 <row topline="true">
15846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15849 \begin_layout Standard
15850 verylongtablecellword
15855 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15858 \begin_layout Standard
15859 multiple lines multicolumn
15864 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15867 \begin_layout Standard
15873 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15876 \begin_layout Standard
15883 <row topline="true">
15884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15887 \begin_layout Standard
15893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15896 \begin_layout Standard
15902 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15905 \begin_layout Standard
15911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15914 \begin_layout Standard
15921 <row topline="true" bottomline="true">
15922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15925 \begin_layout Standard
15931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15934 \begin_layout Standard
15940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15943 \begin_layout Standard
15949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15952 \begin_layout Standard
15971 \begin_layout Subsection
15973 \begin_inset LatexCommand label
15974 name "sub:Line-Thickness"
15979 \begin_inset LatexCommand index
15980 name "Table Customization ! Line Thickness"
15987 \begin_layout Standard
15988 The line thickness for all lines in a table can be adjusted with the length
15996 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15997 pt, like in Table\InsetSpace ~
15999 \begin_inset LatexCommand ref
16000 reference "tab:Table-with-1.5"
16004 , insert the command
16007 \begin_layout Standard
16014 arrayrulewidth}{1.5pt}
16017 \begin_layout Standard
16018 in ERT before the table or table float.
16019 The changed thickness is valid for all following tables.
16020 To use the default value again, set
16026 to 0.4\InsetSpace \thinspace{}
16027 pt in ERT behind the table or table float.
16030 \begin_layout Standard
16034 \begin_layout Standard
16040 arrayrulewidth}{1.5pt}
16046 \begin_inset Float table
16051 \begin_layout Standard
16052 \begin_inset Caption
16054 \begin_layout Standard
16055 \begin_inset LatexCommand label
16056 name "tab:Table-with-1.5"
16060 Table with 1.5\InsetSpace \thinspace{}
16069 \begin_layout Standard
16071 \begin_inset Tabular
16072 <lyxtabular version="3" rows="3" columns="3">
16074 <column alignment="center" valignment="top" leftline="true" width="0">
16075 <column alignment="center" valignment="top" leftline="true" width="0">
16076 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16077 <row topline="true">
16078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16081 \begin_layout Standard
16087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16090 \begin_layout Standard
16096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16099 \begin_layout Standard
16106 <row topline="true">
16107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16110 \begin_layout Standard
16116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16119 \begin_layout Standard
16125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16128 \begin_layout Standard
16135 <row topline="true" bottomline="true">
16136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16139 \begin_layout Standard
16145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16148 \begin_layout Standard
16154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16157 \begin_layout Standard
16177 \begin_layout Standard
16183 arrayrulewidth}{0.4pt}
16191 \begin_layout Standard
16192 \begin_inset VSpace bigskip
16195 To set the line thickness to 1.5\InsetSpace \thinspace{}
16196 pt only for horizontal lines, like in Table\InsetSpace ~
16198 \begin_inset LatexCommand ref
16199 reference "tab:Table-with-horizontal"
16203 , insert these commands in ERT before the table or table float:
16206 \begin_layout Standard
16229 arrayrulewidth 1.5pt}
16239 arrayrulewidth 0.4pt}}
16242 \begin_layout Standard
16243 To return to the default line thickness, insert this command in ERT behind
16244 the table or table float:
16247 \begin_layout Standard
16259 \begin_layout Standard
16263 \begin_layout Standard
16274 \begin_layout Standard
16283 \begin_layout Standard
16291 arrayrulewidth 1.5pt}
16294 \begin_layout Standard
16304 arrayrulewidth 0.4pt}}
16310 \begin_inset Float table
16315 \begin_layout Standard
16316 \begin_inset Caption
16318 \begin_layout Standard
16319 \begin_inset LatexCommand label
16320 name "tab:Table-with-horizontal"
16324 Table with 1.5\InsetSpace \thinspace{}
16325 pt thick horizontal lines
16333 \begin_layout Standard
16335 \begin_inset Tabular
16336 <lyxtabular version="3" rows="3" columns="3">
16338 <column alignment="center" valignment="top" leftline="true" width="0">
16339 <column alignment="center" valignment="top" leftline="true" width="0">
16340 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16341 <row topline="true">
16342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16345 \begin_layout Standard
16351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16354 \begin_layout Standard
16360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16363 \begin_layout Standard
16370 <row topline="true">
16371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16374 \begin_layout Standard
16380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16383 \begin_layout Standard
16389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16392 \begin_layout Standard
16399 <row topline="true" bottomline="true">
16400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16403 \begin_layout Standard
16409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16412 \begin_layout Standard
16418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16421 \begin_layout Standard
16441 \begin_layout Standard
16457 \begin_layout Standard
16458 \begin_inset VSpace bigskip
16461 To set the line thickness to 1.5\InsetSpace \thinspace{}
16462 pt only for vertical lines, create the following
16463 column format in the document preamble, according to the description in
16464 section\InsetSpace ~
16466 \begin_inset LatexCommand ref
16467 reference "sub:Customized-Format"
16474 \begin_layout Standard
16479 newcolumntype{V}{!{
16481 vrule width 1.5pt}}
16484 \begin_layout Standard
16485 For Table\InsetSpace ~
16487 \begin_inset LatexCommand ref
16488 reference "tab:Table-with-vertical"
16495 \begin_layout Standard
16501 \begin_layout Standard
16502 was used for the last column and
16505 \begin_layout Standard
16511 \begin_layout Standard
16512 for the other columns.
16515 \begin_layout Standard
16516 \begin_inset Float table
16521 \begin_layout Standard
16522 \begin_inset Caption
16524 \begin_layout Standard
16525 \begin_inset LatexCommand label
16526 name "tab:Table-with-vertical"
16530 Table with 1.5\InsetSpace \thinspace{}
16531 pt thick vertical lines
16539 \begin_layout Standard
16541 \begin_inset Tabular
16542 <lyxtabular version="3" rows="3" columns="3">
16544 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16545 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16546 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16547 <row topline="true">
16548 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16551 \begin_layout Standard
16557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16560 \begin_layout Standard
16566 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16569 \begin_layout Standard
16576 <row topline="true">
16577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16580 \begin_layout Standard
16586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16589 \begin_layout Standard
16595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16598 \begin_layout Standard
16605 <row topline="true" bottomline="true">
16606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16609 \begin_layout Standard
16615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16618 \begin_layout Standard
16624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16627 \begin_layout Standard
16646 \begin_layout Subsection
16648 \begin_inset LatexCommand index
16649 name "Table Customization ! Dashed Lines"
16656 \begin_layout Standard
16660 \begin_layout Standard
16670 \begin_inset Note Note
16673 \begin_layout Standard
16674 The following section will only be displayed when you have the LaTeX-package
16687 \begin_layout Standard
16688 \begin_inset Float table
16694 \begin_layout Standard
16695 \begin_inset Caption
16697 \begin_layout Standard
16698 \begin_inset LatexCommand label
16699 name "tab:Table-with-dashed"
16703 Table with dashed lines
16711 \begin_layout Standard
16713 \begin_inset Tabular
16714 <lyxtabular version="3" rows="5" columns="5">
16716 <column alignment="center" valignment="top" leftline="true" width="0">
16717 <column alignment="center" valignment="top" leftline="true" width="0">
16718 <column alignment="center" valignment="top" width="0" special=":c">
16719 <column alignment="center" valignment="top" leftline="true" width="0">
16720 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16721 <row topline="true" bottomline="true">
16722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16725 \begin_layout Standard
16731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16734 \begin_layout Standard
16740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16743 \begin_layout Standard
16749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16752 \begin_layout Standard
16758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16761 \begin_layout Standard
16768 <row topline="true">
16769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16772 \begin_layout Standard
16778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16781 \begin_layout Standard
16787 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16790 \begin_layout Standard
16796 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16799 \begin_layout Standard
16805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16808 \begin_layout Standard
16816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16819 \begin_layout Standard
16823 \begin_layout Standard
16837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16840 \begin_layout Standard
16846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16849 \begin_layout Standard
16855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16858 \begin_layout Standard
16864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16867 \begin_layout Standard
16874 <row topline="true">
16875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16878 \begin_layout Standard
16882 \begin_layout Standard
16896 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16899 \begin_layout Standard
16905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16908 \begin_layout Standard
16914 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16917 \begin_layout Standard
16923 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16926 \begin_layout Standard
16933 <row topline="true" bottomline="true">
16934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16937 \begin_layout Standard
16943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16946 \begin_layout Standard
16952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16955 \begin_layout Standard
16961 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16964 \begin_layout Standard
16970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16973 \begin_layout Standard
16992 \begin_layout Standard
16993 LyX doesn't natively support dashed lines, so you have to use ERT.
16994 As prerequisite the LaTeX-package
16999 \begin_inset LatexCommand index
17000 name "LaTeX-packages ! arydshln"
17004 must be loaded in the document preamble with the command
17007 \begin_layout Standard
17012 usepackage{arydshln}
17015 \begin_layout Standard
17016 To make a vertical line dashed, enter the colon
17017 \begin_inset Quotes eld
17021 \begin_inset Quotes erd
17024 together with the character for the horizontal alignment as LaTeX-argument
17025 in the table cell dialog.
17028 \begin_layout Standard
17029 For a horizontal dashed line add the command
17032 \begin_layout Standard
17040 \begin_layout Standard
17041 in ERT as first element of the first cell in the table row.
17044 \begin_layout Standard
17045 For dashed multicolumn lines use the command
17048 \begin_layout Standard
17053 cdashline{line number
17058 \begin_layout Standard
17059 in ERT as first element of the first cell in the table row.
17060 If you have for example a multicolumn spanning over columns 2 to 4 and
17061 you want to have a dashed line above, add the command
17064 \begin_layout Standard
17072 \begin_layout Standard
17073 as first element of the first cell in the row of the multicolumn.
17076 \begin_layout Standard
17077 \begin_inset VSpace bigskip
17083 \begin_layout Standard
17086 \begin_inset LatexCommand ref
17087 reference "tab:Table-with-dashed"
17092 \begin_inset Quotes eld
17100 \begin_inset Quotes erd
17103 as LaTeX-argument of the third column.
17110 was inserted to the first cell of the third row and the the ERT command
17119 was inserted to the first cell of the fourth row.
17122 \begin_layout Standard
17123 \begin_inset Note Greyedout
17126 \begin_layout Standard
17131 The used LaTeX-package
17135 is apparently not compatible with the LaTeX-package
17140 \begin_inset LatexCommand index
17141 name "LaTeX-packages ! colortbl"
17145 that is used for colored tables in section\InsetSpace ~
17147 \begin_inset LatexCommand ref
17148 reference "sec:Colored-Tables"
17153 That means colored tables cannot have dashed lines.
17161 \begin_layout Standard
17165 \begin_layout Standard
17175 \begin_inset Note Note
17178 \begin_layout Standard
17179 The following will be displayed when the LaTeX-package
17191 \begin_layout Standard
17192 You need to install the package
17196 to see the contents of this section in the output.
17199 \begin_layout Standard
17203 \begin_layout Standard
17215 \begin_layout Chapter
17217 \begin_inset LatexCommand index
17223 \begin_inset LatexCommand label
17231 \begin_layout Section
17233 \begin_inset LatexCommand label
17234 name "sec:FloatIntroduction"
17239 \begin_inset LatexCommand index
17240 name "Floats ! Introduction"
17247 \begin_layout Standard
17248 A float is a block of text associated with some sort of label, which doesn't
17249 have a fixed location.
17251 \begin_inset Quotes eld
17255 \begin_inset Quotes erd
17258 forward or backward a page or two, to wherever it fits best.
17265 Margin\InsetSpace ~
17268 are also floats, because they can float to the next page when there are
17269 too many notes at the page.
17272 \begin_layout Standard
17273 Floats allow a high quality layout.
17274 Images and tables can evenly be spread to the pages to avoid white space
17275 and pages without text.
17276 As the floating often destroys the context between the text and the image/table
17277 , every float can be referenced in the text.
17278 Floats are therefore numbered.
17279 Referencing is described in section\InsetSpace ~
17281 \begin_inset LatexCommand ref
17282 reference "sec:Referencing-Floats"
17289 \begin_layout Standard
17290 To insert a float, use the menu
17292 Insert\SpecialChar \menuseparator
17296 This inserts a box with a label in the
17304 \begin_layout Standard
17309 environment is described in LyX's
17318 into your document.
17319 Every label ends with the character
17320 \begin_inset Quotes eld
17324 \begin_inset Quotes erd
17327 as placeholder for the float number in the output.
17328 The label will automatically be translated to the document language in
17330 Behind the label you can insert the caption text.
17331 The image or table is inserted above or below the caption in a separate
17332 paragraph within the float.
17333 More about the caption placement is described in section\InsetSpace ~
17335 \begin_inset LatexCommand ref
17336 reference "sec:Caption-Placement"
17341 To keep your LyX-document readable, you can open and close the float box
17342 by left-clicking on the box label.
17343 A closed float box looks like this:
17344 \begin_inset Graphics
17345 filename ../clipart/floatQt4.png
17350 -- a gray button with a red label.
17353 \begin_layout Standard
17354 It is recommended to insert floats as a separate paragraph to avoid possible
17355 LaTeX-errors that can occur when the surrounding text is specially formatted.
17358 \begin_layout Standard
17359 Existing figures or tables can be put into a float by marking them and then
17360 pressing the corresponding toolbar button for a new float.
17363 \begin_layout Section
17367 \begin_layout Standard
17368 Besides figure and table floats that are described in section\InsetSpace ~
17370 \begin_inset LatexCommand ref
17371 reference "sec:Figure-Floats"
17376 \begin_inset LatexCommand ref
17377 reference "sec:Table-Floats"
17381 , respectively, LyX offers the float types
17394 \begin_layout Subsection
17396 \begin_inset LatexCommand index
17397 name "Floats ! Algorithm Floats"
17404 \begin_layout Standard
17405 \begin_inset Float algorithm
17411 \begin_layout Standard
17412 \begin_inset Caption
17414 \begin_layout Standard
17415 \begin_inset LatexCommand label
17416 name "alg:Example-Algorithm-float"
17420 Example Algorithm float
17428 \begin_layout LyX-Code
17431 Sum:= Sum + A(I); /*senseless comment*/
17434 \begin_inset VSpace -4mm
17445 \begin_layout Standard
17446 This float type is inserted with the menu
17448 Insert\SpecialChar \menuseparator
17449 Floats\SpecialChar \menuseparator
17453 It is used for program codes and descriptions of algorithms.
17454 A possible environment for algorithms is the
17458 , described in LyX's
17463 Algorithm\InsetSpace ~
17465 \begin_inset LatexCommand ref
17466 reference "alg:Example-Algorithm-float"
17470 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17471 mm vertical space was added
17472 at the end of the float to have the bottom rule exactly below the last
17476 \begin_layout Standard
17477 The float label is not automatically translated into the document language.
17478 If your document is not in English, you have to do this manually by adding
17479 the following line to the document preamble
17484 \begin_layout Standard
17489 floatname{algorithm}{your\InsetSpace ~
17493 \begin_layout Standard
17500 \begin_inset Quotes eld
17508 \begin_inset Quotes erd
17514 \begin_layout Description
17519 When the LaTeX-package
17524 \begin_inset LatexCommand index
17525 name "LaTeX-packages ! hyperref"
17529 is used to link cross-references to floats in the PDF-output, it must be
17530 loaded in the document preamble before the definition of floats to be able
17531 to reference floats.
17532 As LyX sets the float definition for algorithm floats automatically before
17533 the user editable part of the document preamble, you need to insert the
17534 following preamble lines
17538 the loading command of
17545 \begin_inset VSpace defskip
17552 newfloat{Xalgorithm}{tbp}{loa}
17556 floatname{Xalgorithm}{your\InsetSpace ~
17569 renewenvironment{algorithm}[1][tbp]
17575 \begin_layout Standard
17586 begin{Xalgorithm}[#1]}{
17589 \begin_inset VSpace defskip
17602 \begin_inset Quotes eld
17610 \begin_inset Quotes erd
17616 \begin_layout Standard
17617 Algorithm floats are not by default numbered in the scheme
17618 \begin_inset Quotes eld
17622 \begin_inset Quotes erd
17625 like it is the case for table and figure floats in many document-classes.
17626 To number algorithm floats in the same scheme, add this command to your
17630 \begin_layout Standard
17635 numberwithin{algorithm}{chapter}
17638 \begin_layout Standard
17639 If you use the LaTeX-package
17643 , add this line instead
17651 (the commands from above) to the preamble:
17654 \begin_layout Standard
17659 numberwithin{Xalgorithm}{chapter}
17662 \begin_layout Standard
17663 To be able to use the command
17674 in the document settings the option
17684 \begin_layout Subsection
17686 \begin_inset LatexCommand index
17687 name "Floats ! Text Wrap Floats"
17692 \begin_inset LatexCommand label
17693 name "sub:floatflt-wrap-float"
17700 \begin_layout Standard
17701 This float type is used if you want to
17702 \begin_inset Quotes eld
17706 \begin_inset Quotes erd
17709 text around a figure so that it only occupies some fraction of the column
17711 It can be inserted using the menu
17712 \begin_inset Wrap figure
17717 \begin_layout Standard
17718 \begin_inset Graphics
17719 filename mobius.eps
17722 rotateOrigin center
17729 \begin_layout Standard
17730 \begin_inset Caption
17732 \begin_layout Standard
17733 \begin_inset LatexCommand label
17734 name "fig:This-is-a"
17738 This is a wrapped figure, and this is the brilliant caption that describes
17740 \begin_inset VSpace medskip
17755 Insert\SpecialChar \menuseparator
17756 Floats\SpecialChar \menuseparator
17761 if the LaTeX-package
17766 \begin_inset LatexCommand index
17767 name "LaTeX-packages ! floatflt"
17775 \begin_layout Standard
17776 Installing a LaTeX-package is explained it in the
17786 The width and placement of the float is adjusted by right-clicking on the
17788 Figure\InsetSpace ~
17790 \begin_inset LatexCommand ref
17791 reference "fig:This-is-a"
17795 is an example text wrap float with a width of 40
17796 \begin_inset Formula $\,$
17803 \begin_layout Standard
17804 Available units are explained in
17805 \begin_inset LatexCommand ref
17806 reference "cha:Units-available-in"
17815 Some space was added under the caption to separate it better from the surroundi
17819 \begin_layout Standard
17824 also supports table wrap floats, but they are not yet supported by LyX.
17825 If you need this, read the documentation of
17830 \begin_inset LatexCommand cite
17838 \begin_layout Standard
17839 \begin_inset Note Greyedout
17842 \begin_layout Standard
17848 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17850 having a figure too close to the bottom
17851 of the page can mess things up in the way that the float doesn't appear
17852 in the output or that it is placed over some other text.
17856 \begin_layout Standard
17857 The better solution is to use the LaTeX-package
17859 wrapf\SpecialChar \textcompwordmark{}
17863 \begin_inset LatexCommand index
17864 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17870 floatf\SpecialChar \textcompwordmark{}
17873 , but it is currently not supported by LyX.
17886 \begin_layout Standard
17890 \begin_layout Itemize
17891 Wrap floats should not be placed in paragraphs that run over a page break.
17892 That means that wrap floats should better be inserted to the exact place
17893 when the document is nearly ready and you are able to estimate where page
17894 breaks will appear.
17897 \begin_layout Itemize
17898 Wrap floats should either be placed in an own paragraph before the paragraph
17899 where they should wrap into or within a paragraph.
17902 \begin_layout Itemize
17903 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17904 there is a text paragraph between them as separator.
17907 \begin_layout Itemize
17908 Wrap floats are not allowed in section headings or tables.
17911 \begin_layout Section
17913 \begin_inset LatexCommand label
17914 name "sec:Referencing-Floats"
17919 \begin_inset LatexCommand index
17920 name "Floats ! References"
17925 \begin_inset LatexCommand index
17933 \begin_layout Standard
17934 To reference a float, insert a label into its caption using the menu
17936 Insert\SpecialChar \menuseparator
17939 or the toolbar button
17940 \begin_inset Graphics
17941 filename ../images/label-insert.xpm
17947 A grey label box like this one:
17948 \begin_inset Graphics
17949 filename ../clipart/labelQt4.png
17954 will be inserted and the label window pops up asking for the label text.
17955 LyX offers as text the first words of the caption with a prefix.
17956 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17958 for figure floats the prefix will
17966 \begin_layout Standard
17967 The label is used as anchor and name for the reference.
17968 You can refer to the label using the menu
17970 Insert\SpecialChar \menuseparator
17973 or the toolbar button
17974 \begin_inset Graphics
17975 filename ../images/dialog-show-new-inset_ref.xpm
17981 A grey cross-reference box like this one:
17982 \begin_inset Graphics
17983 filename ../clipart/referenceQt4.png
17988 will be inserted and the cross-reference window appear showing all labels
17990 If you have multiple LyX-documents opened, choose the one you are working
17991 on from the drop-list at the top of the dialog.
17992 You can now sort the labels alphabetically and then choose one.
17993 At the position of the cross-reference box the float number will appear
17997 \begin_layout Standard
17998 It is recommended to use a protected space between the cross-reference name
17999 and its number to avoid line breaks between them.
18000 If a cross-reference refers to a non-existing label, you will see two question
18001 marks in the output instead of the reference.
18004 \begin_layout Standard
18005 You can change labels at any time by clicking on the label box.
18006 References to the changed label will automatically change its link to the
18007 new label text, so that you don't need to take care about this.
18010 \begin_layout Standard
18017 in the cross-reference window sets the cursor before the referred label.
18018 The button text changes then to Go\InsetSpace ~
18019 Back and you can use it to set the cursor
18020 back to the cross-reference.
18021 Right-clicking on a cross-reference box also sets the cursor before the
18022 referenced label but without a possibility to go back.
18025 \begin_layout Subsection
18026 Cross-Reference Formats
18027 \begin_inset LatexCommand label
18028 name "sub:Cross-Reference-Formats"
18033 \begin_inset LatexCommand index
18034 name "References ! Formats"
18041 \begin_layout Standard
18042 There are six varieties of cross-references:
18045 \begin_layout Description
18046 <reference>: prints the float number, this is the default:
18047 \begin_inset LatexCommand ref
18048 reference "fig:Two-distorted-images"
18055 \begin_layout Description
18056 (<reference>): prints the float number within two parentheses, this is the
18057 style normally used to reference formulas, especially when the reference
18059 \begin_inset Quotes eld
18063 \begin_inset Quotes erd
18067 \begin_inset LatexCommand eqref
18075 \begin_layout Description
18076 <page>: prints the page number: Page\InsetSpace ~
18078 \begin_inset LatexCommand pageref
18079 reference "fig:Two-distorted-images"
18086 \begin_layout Description
18089 <page>: prints the text "on page" and the page number:
18090 \begin_inset LatexCommand vpageref
18091 reference "fig:Two-distorted-images"
18098 \begin_layout Description
18099 <reference>\InsetSpace ~
18102 <page>: prints the float number, the text "on page", and
18104 \begin_inset LatexCommand vref
18105 reference "fig:Two-distorted-images"
18112 \begin_layout Description
18113 Formatted\InsetSpace ~
18114 reference: prints a self defined cross-reference format.
18116 \begin_inset Note Greyedout
18119 \begin_layout Standard
18124 This feature is only available when you have the LaTeX-package
18136 \begin_layout Standard
18137 Note that the style <page> won't print the page number if the label is on
18138 the previous, the same, or the next page.
18139 You will e.\InsetSpace \thinspace{}
18142 \begin_inset Quotes eld
18150 \begin_inset Quotes erd
18156 \begin_layout Standard
18157 The number and current page of the referred document part in the output,
18158 is automatically calculated by LaTeX.
18159 The varieties are adjusted in the field
18163 of the cross-reference window, that appear when you click on the cross-referenc
18167 \begin_layout Subsection
18168 Referencing Subfigures
18169 \begin_inset LatexCommand label
18170 name "sub:Referencing-Subfigures"
18175 \begin_inset LatexCommand index
18176 name "References ! to Subfigures"
18183 \begin_layout Standard
18184 Currently referencing subfigures is not supported by LyX, so you have to
18185 use LaTeX-commands.
18186 The label is the created with the command
18189 \begin_layout Standard
18194 label{fig:YourLabelName}
18197 \begin_layout Standard
18198 that is directly inserted into the subfigure caption field.
18199 To reference the label add this command in ERT
18202 \begin_layout Standard
18207 ref{fig:YourLabelName}
18210 \begin_layout Standard
18211 to the position in your document where the reference should be placed.
18212 Here is a reference to a subfigure: Subfigure\InsetSpace ~
18217 \begin_layout Standard
18229 \begin_layout Subsection
18230 Automatic Reference Naming
18231 \begin_inset LatexCommand index
18232 name "References ! Automatic Reference Naming"
18239 \begin_layout Standard
18244 provides a very useful feature that cross-references automatically include
18245 the name of the referenced floats (or text parts like sections).
18246 You save to write e.\InsetSpace \thinspace{}
18249 \begin_inset Quotes eld
18253 \begin_inset Quotes erd
18256 before every reference box.
18257 To get this automatic reference naming, you have to load the LaTeX-package
18263 \begin_inset LatexCommand index
18264 name "LaTeX-packages ! hyperref"
18268 in the document preamble with
18271 \begin_layout Standard
18276 usepackage[pdfborder={0 0 0}]{hyperref}
18291 \begin_layout Standard
18296 is used to link cross-references in the DVI- and PDF-output, this means
18297 that the reader of your document will be able to click on a table of content
18298 (TOC) entry or on a reference and he will be shown the referenced document
18304 also creates PDF-bookmarks for every section of your document to make it
18305 easier for readers to navigate through the document.
18306 This is also used in this document but when you have a look in the document
18307 preamble you will find various options in the load command of
18312 To learn more about the
18316 package, we refer to its documentation
18317 \begin_inset LatexCommand cite
18325 \begin_layout Standard
18326 \begin_inset Note Greyedout
18329 \begin_layout Standard
18334 Automatic reference naming cannot be used when you use cross-references
18337 Formatted\InsetSpace ~
18340 style, described in section\InsetSpace ~
18342 \begin_inset LatexCommand ref
18343 reference "sub:Cross-Reference-Formats"
18355 \begin_layout Subsection
18357 \begin_inset LatexCommand label
18358 name "sub:Reference-Position"
18363 \begin_inset LatexCommand index
18364 name "References ! Reference Position"
18371 \begin_layout Standard
18377 \begin_inset LatexCommand index
18378 name "LaTeX-packages ! hyperref"
18382 to link cross-references in the output, you will see that clicking on an
18383 image float reference jumps to the image label.
18384 The caption will be the first text part on the screen, so that you cannot
18385 see the image without scrolling.
18386 This is because the reference link anchor is placed at the position of
18388 With the use of the package
18393 \begin_inset LatexCommand index
18394 name "LaTeX-packages ! hypcap"
18398 , which is part of the LaTeX-package
18403 \begin_inset LatexCommand index
18404 name "LaTeX-packages ! oberdiek"
18408 , the link anchor is placed at the beginning of a float.
18409 To use this feature for figure floats, load
18413 in the document preamble with the line
18416 \begin_layout Standard
18421 usepackage[f\SpecialChar \textcompwordmark{}
18425 \begin_layout Standard
18430 for all floats but this isn't recommended for stability reasons.
18431 For more informations, have a look at
18436 \begin_inset LatexCommand cite
18444 \begin_layout Standard
18445 \begin_inset Note Greyedout
18448 \begin_layout Standard
18457 must be loaded after
18461 in the document preamble.
18469 \begin_layout Standard
18470 \begin_inset Note Greyedout
18473 \begin_layout Standard
18478 The set reference position has no effect for references to subfigures.
18486 \begin_layout Section
18488 \begin_inset LatexCommand label
18489 name "sec:Float-Placement"
18494 \begin_inset LatexCommand index
18495 name "Floats ! Placement"
18502 \begin_layout Standard
18503 Right-clicking on a float-box opens a dialog where you can alter the placement
18504 options that LaTeX uses for positioning the float.
18511 is only useful for two-column documents: If you select it, the float will
18512 span across both columns on the page instead of being confined to just
18517 Rotate\InsetSpace ~
18520 is used to rotate floats, see section
18521 \begin_inset LatexCommand ref
18522 reference "sec:Rotated-Floats"
18529 \begin_layout Standard
18530 You can use one ore more of the following options in the float dialog to
18531 set the placement for a particular float when you uncheck the option
18534 default\InsetSpace ~
18540 \begin_layout Description
18543 possible: try to place the float on the position where it is inserted
18546 \begin_layout Description
18549 page: try to place the float on the top of the current page
18552 \begin_layout Description
18553 Bottom\InsetSpace ~
18555 page: try to place the float on the bottom of the current page
18558 \begin_layout Description
18561 floats: try to place the float on an own page
18564 \begin_layout Standard
18565 The order of the above option is
18570 That means, if you use the default placement, LaTeX will first try out
18583 , and then the others.
18584 If you don't use the default, LaTeX will try only the checked options but
18586 If none of the 4 placements are possible the procedure is internally repeated
18587 but it is tried to put the float on the following page.
18590 \begin_layout Standard
18591 By default, each options has its own rules:
18594 \begin_layout Labeling
18595 \labelwidthstring 00.00.0000
18602 only floats occupying less than 70\InsetSpace \thinspace{}
18603 % of the page can be placed at the top
18613 \begin_layout Labeling
18614 \labelwidthstring 00.00.0000
18617 Bottom\InsetSpace ~
18621 : only floats occupying less than 30\InsetSpace \thinspace{}
18622 % of the page can be placed at the bottom
18633 \begin_layout Labeling
18634 \labelwidthstring 00.00.0000
18641 : only if more than 50\InsetSpace \thinspace{}
18642 % of the page are occupied by floats, several floats
18643 can be set together on a page.
18653 \begin_layout Standard
18654 If you don't like these rules, you can ignore them by using the additional
18657 Ignore\InsetSpace ~
18663 You can also redefine the rules with LaTeX-commands that are given in parenthese
18664 s behind the rules description above.
18665 To increase for example the often too small default of the bottom-rule
18666 to 50\InsetSpace \thinspace{}
18667 % of the page, add this line to your document preamble:
18670 \begin_layout Standard
18677 bottomfraction}{0.5}
18680 \begin_layout Standard
18681 Sometimes you might need, under all circumstances, a float to be placed
18682 exactly at the position where it is inserted.
18683 For this case you can use the option
18689 Use this option very rarely and only if the document is nearly ready to
18691 Because the float is then no longer able to
18692 \begin_inset Quotes eld
18696 \begin_inset Quotes erd
18699 when you change your document and this will often destroy the page layout.
18702 \begin_layout Standard
18703 There are no placement options for text wrap floats, because they are always
18704 surrounded by the text of a certain paragraph.
18705 \begin_inset VSpace bigskip
18711 \begin_layout Standard
18712 Sometimes you have the problem that a float is placed at the top of a page
18713 while its corresponding section starts at the middle of the page, so that
18714 the reader could think the float is part of the previous section.
18715 To avoid this the LaTeX-command
18719 suppressf\SpecialChar \textcompwordmark{}
18723 It suppresses a given float placement for the page where it is inserted
18724 and can therefore be used to avoid that floats could be set before a section
18726 To get this, add these commands to your document preamble:
18729 \begin_layout Standard
18746 suppressf\SpecialChar \textcompwordmark{}
18752 \begin_layout Standard
18753 You can define the same for all section headings, like chapters and subsections.
18754 This definition is not recommended to be used for small text parts like
18755 subsubsections because LaTeX may then have problems to find a suitable
18759 \begin_layout Standard
18760 \begin_inset VSpace bigskip
18763 In some cases it is required to have all figures/tables at the end of the
18765 For this purpose the LaTeX-package
18767 endf\SpecialChar \textcompwordmark{}
18771 \begin_inset LatexCommand index
18772 name "LaTeX-packages ! endfloat"
18777 It puts all figure and table floats at the end of the document into own
18779 At the original float position a text hint like
18780 \begin_inset Quotes eld
18785 [Figure\InsetSpace ~
18789 \begin_inset Quotes erd
18793 The endfloat-package is loaded in the preamble with the line
18796 \begin_layout Standard
18801 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18805 \begin_layout Standard
18806 There are various package options to format the created figure/table sections.
18807 For more information we refer to the
18809 endf\SpecialChar \textcompwordmark{}
18813 \begin_inset LatexCommand cite
18821 \begin_inset Note Greyedout
18824 \begin_layout Standard
18827 Note: endf\SpecialChar \textcompwordmark{}
18830 doesn't provide an automatic translation for the text hint, you have to
18831 do this manually, see section\InsetSpace ~
18833 \begin_inset LatexCommand cite
18846 \begin_inset Note Greyedout
18849 \begin_layout Standard
18854 There is currently a bug in
18856 endf\SpecialChar \textcompwordmark{}
18859 when the caption contains a German
18860 \begin_inset Quotes eld
18864 \begin_inset Quotes erd
18868 Use in this case the command
18869 \begin_inset Quotes eld
18879 \begin_inset Quotes erd
18883 \begin_inset Quotes eld
18887 \begin_inset Quotes erd
18898 \begin_layout Standard
18899 \begin_inset VSpace bigskip
18902 For more details about float placements, have a look at LaTeX books,
18903 \begin_inset LatexCommand cite
18904 key "latexcompanion,latexguide,latexbook"
18911 \begin_layout Section
18913 \begin_inset LatexCommand label
18914 name "sec:Rotated-Floats"
18919 \begin_inset LatexCommand index
18920 name "Floats ! Rotating"
18927 \begin_layout Standard
18928 Especially for wide tables you might have floats rotated.
18929 To rotate a whole float including the caption, right-click on the float-box
18932 Rotate\InsetSpace ~
18938 \begin_layout Standard
18939 Rotated floats are always placed on its own page (or column, when you have
18940 a two-column document).
18941 They are normally rotated so that you can read them from the outside margin
18942 -- to the left on even pages, to the right on odd pages.
18945 \begin_layout Standard
18946 Referencing rotated floats is the same like for normal floats, the caption
18947 format is also the same: Table\InsetSpace ~
18949 \begin_inset LatexCommand ref
18950 reference "tab:Rotated-table"
18954 is an example of a rotated table float.
18957 \begin_layout Standard
18958 \begin_inset Note Greyedout
18961 \begin_layout Standard
18966 Not all DVI-viewers are able to display rotated floats.
18974 \begin_layout Standard
18975 \begin_inset Float table
18980 \begin_layout Standard
18981 \begin_inset Caption
18983 \begin_layout Standard
18984 \begin_inset LatexCommand label
18985 name "tab:Rotated-table"
18997 \begin_layout Standard
18999 \begin_inset Tabular
19000 <lyxtabular version="3" rows="1" columns="5">
19002 <column alignment="center" valignment="top" leftline="true" width="0">
19003 <column alignment="center" valignment="top" leftline="true" width="0">
19004 <column alignment="center" valignment="top" leftline="true" width="0">
19005 <column alignment="center" valignment="top" leftline="true" width="0">
19006 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19007 <row topline="true" bottomline="true">
19008 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19011 \begin_layout Standard
19017 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19020 \begin_layout Standard
19026 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19029 \begin_layout Standard
19035 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19038 \begin_layout Standard
19044 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19047 \begin_layout Standard
19066 \begin_layout Section
19068 \begin_inset LatexCommand index
19069 name "Caption ! Formatting"
19074 \begin_inset LatexCommand index
19075 name "Floats ! Caption Formatting"
19080 \begin_inset LatexCommand index
19081 name "LaTeX-packages ! caption"
19086 \begin_inset LatexCommand label
19087 name "sec:Caption-Formatting"
19094 \begin_layout Standard
19099 environment is the default paragraph environment for
19104 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19107 \begin_inset Quotes eld
19115 \begin_inset Quotes erd
19118 followed by the caption text.
19120 \begin_inset Quotes eld
19124 \begin_inset Quotes erd
19127 is substituted in the printed output by the actual reference number.
19128 By default the label and the number are in the same font as the caption
19129 text and a colon follows the number to divide then label from the text.
19130 This caption format is not suitable for all document formats.
19134 \begin_layout Standard
19135 To change the default caption format, load the LaTeX-package
19140 \begin_inset LatexCommand index
19141 name "LaTeX-packages ! caption"
19145 in the document preamble with this line:
19148 \begin_layout Standard
19153 usepackage[format definition]{caption}
19156 \begin_layout Standard
19157 To have for example the label and the number in sans-serif bold font and
19158 the table captions always above the table like in this document, use the
19162 \begin_layout Standard
19167 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19170 \begin_layout Standard
19171 You can also define different caption formats for the different float types.
19172 In this case load the
19176 package without format specific options and define the different formats
19177 with the help of the command
19180 \begin_layout Standard
19185 captionsetup[float type]{format definition}
19188 \begin_layout Standard
19189 in the document preamble.
19190 For example the caption formats of Figure\InsetSpace ~
19192 \begin_inset LatexCommand ref
19193 reference "fig:This-is-an-fig"
19197 and Table\InsetSpace ~
19199 \begin_inset LatexCommand ref
19200 reference "tab:This-is-an-tab"
19204 can be created using these commands in the document preamble:
19207 \begin_layout Standard
19212 usepackage[tableposition=top]{caption}
19220 captionsetup[f\SpecialChar \textcompwordmark{}
19221 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19227 \begin_layout Standard
19235 captionsetup[figure]
19246 captionsetup[table]{labelfont={bf,sf}}
19249 \begin_layout Standard
19250 For more information about the package
19254 we refer to its documentation
19255 \begin_inset LatexCommand cite
19256 key "caption,caption-de"
19263 \begin_layout Standard
19264 \begin_inset VSpace bigskip
19272 \begin_inset LatexCommand index
19273 name "LaTeX-packages ! koma-script"
19279 article (koma-script)
19287 letter (koma-script)
19291 report (koma-script)
19293 \InsetSpace \thinspace{}
19294 ), you can alternatively to the
19302 's built-in command
19309 For example, to have the caption label in bold, add this command to your
19313 \begin_layout Standard
19318 setkomafont{captionlabel}{
19323 \begin_layout Standard
19324 For more information about
19335 \begin_inset LatexCommand cite
19336 key "koma-script,koma-script-de"
19343 \begin_layout Standard
19347 \begin_layout Standard
19351 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19358 \begin_inset Note Note
19361 \begin_layout Standard
19362 The caption format is changed only for this example.
19370 \begin_layout Standard
19371 \begin_inset Float figure
19377 \begin_layout Standard
19379 \begin_inset Graphics
19380 filename mobius.eps
19389 \begin_layout Standard
19390 \begin_inset Caption
19392 \begin_layout Standard
19393 \begin_inset LatexCommand label
19394 name "fig:This-is-an-fig"
19398 This is an example figure caption that is longer than one line to show the
19399 different caption format.
19400 Here a self-defined caption format is used.
19413 \begin_layout Standard
19417 \begin_layout Standard
19421 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19430 \begin_layout Standard
19431 \begin_inset Float table
19437 \begin_layout Standard
19438 \begin_inset Caption
19440 \begin_layout Standard
19441 \begin_inset LatexCommand label
19442 name "tab:This-is-an-tab"
19446 This is an example table caption that is longer than one line to show the
19447 different caption format.
19448 Here the standard caption format for tables in this document is used.
19456 \begin_layout Standard
19458 \begin_inset Tabular
19459 <lyxtabular version="3" rows="1" columns="5">
19461 <column alignment="center" valignment="top" leftline="true" width="0">
19462 <column alignment="center" valignment="top" leftline="true" width="0">
19463 <column alignment="center" valignment="top" leftline="true" width="0">
19464 <column alignment="center" valignment="top" leftline="true" width="0">
19465 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19466 <row topline="true" bottomline="true">
19467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19470 \begin_layout Standard
19476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19479 \begin_layout Standard
19485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19488 \begin_layout Standard
19494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19497 \begin_layout Standard
19503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19506 \begin_layout Standard
19525 \begin_layout Section
19527 \begin_inset LatexCommand index
19528 name "Caption ! Placement"
19533 \begin_inset LatexCommand index
19534 name "Floats ! Caption Placement"
19539 \begin_inset LatexCommand label
19540 name "sec:Caption-Placement"
19547 \begin_layout Standard
19548 The common caption placement rule is:
19551 \begin_layout Description
19552 Figure: Caption is set below the figure
19555 \begin_layout Description
19556 Table: Caption is set above the table
19559 \begin_layout Standard
19560 Having the caption above the table is unfortunately not supported in LaTeX's
19562 That means if you are using the document classes
19578 there will be no space between the caption and the table.
19579 To insert the needed space, add the following option to the load command
19580 of the LaTeX-package
19584 in your document preamble
19588 \begin_layout Standard
19589 See section\InsetSpace ~
19591 \begin_inset LatexCommand ref
19592 reference "sec:Caption-Formatting"
19596 for more information of the package
19608 \begin_layout Standard
19614 \begin_layout Standard
19620 \begin_inset LatexCommand index
19621 name "LaTeX-packages ! koma-script"
19627 article (koma-script)
19635 letter (koma-script)
19639 report (koma-script)
19641 \InsetSpace \thinspace{}
19642 ), you can alternatively to the
19646 package set the document class option
19650 , or you can use the environment
19652 caption\InsetSpace ~
19662 \begin_layout Standard
19663 \begin_inset VSpace bigskip
19666 It is also possible to set the caption beside a figure or table.
19667 To get this the LaTeX-package
19672 \begin_inset LatexCommand index
19673 name "LaTeX-packages ! sidecap"
19677 has to be loaded in the document preamble with the line
19680 \begin_layout Standard
19685 usepackage[option]{sidecap}
19688 \begin_layout Standard
19689 If you set no option, the caption is placed on the side of the outer page
19690 margin -- to the right on odd pages, to the left on even pages.
19691 You can change the placement to inner margin with the option
19696 To force the placement always to the right or left, use the option
19707 \begin_layout Standard
19708 To place in LyX the caption of a float on the side, it is necessary to add
19709 these commands to the document preamble:
19712 \begin_layout Standard
19718 \begin_layout Standard
19731 \begin_layout Standard
19752 \begin_layout Standard
19773 \begin_layout Standard
19784 renewenvironment{table}{
19791 \begin_layout Standard
19804 \begin_layout Standard
19825 \begin_layout Standard
19843 \begin_layout Standard
19856 \begin_layout Standard
19871 f\SpecialChar \textcompwordmark{}
19878 \begin_layout Standard
19891 MyEndf\SpecialChar \textcompwordmark{}
19894 endf\SpecialChar \textcompwordmark{}
19901 \begin_layout Standard
19912 renewenvironment{f\SpecialChar \textcompwordmark{}
19915 begin{SCf\SpecialChar \textcompwordmark{}
19918 end{SCf\SpecialChar \textcompwordmark{}
19922 \begin_layout Standard
19935 \begin_layout Standard
19948 f\SpecialChar \textcompwordmark{}
19957 \begin_layout Standard
19970 endf\SpecialChar \textcompwordmark{}
19973 MyEndf\SpecialChar \textcompwordmark{}
19977 \begin_layout Standard
19983 \begin_layout Standard
19984 The commands allow you to redefine the floats so that the caption is set
19986 For figure floats use the command
19989 \begin_layout Standard
19997 \begin_layout Standard
19998 in ERT before the float.
19999 Behind the float insert the command
20002 \begin_layout Standard
20010 \begin_layout Standard
20011 in ERT to get back to the original float definition.
20014 \begin_layout Standard
20015 For table floats use the corresponding commands
20018 \begin_layout Standard
20032 \begin_layout Standard
20033 Figure\InsetSpace ~
20035 \begin_inset LatexCommand ref
20036 reference "fig:cap-beside-fig"
20040 and Table\InsetSpace ~
20042 \begin_inset LatexCommand ref
20043 reference "tab:cap-beside-tab"
20047 are examples where the caption is set beside.
20050 \begin_layout Standard
20051 You can see in the examples that the caption text appears at the top of
20052 the floats for table floats and at the bottom for figure floats.
20053 To change this, you can use the command
20056 \begin_layout Standard
20061 sidecaptionvpos{float type}{placement}
20064 \begin_layout Standard
20065 in the document preamble or in ERT before the float.
20066 The float type is either
20074 , the placement can be
20075 \begin_inset Quotes eld
20083 \begin_inset Quotes erd
20087 \begin_inset Quotes eld
20095 \begin_inset Quotes erd
20099 \begin_inset Quotes eld
20107 \begin_inset Quotes erd
20111 To have for example the caption of figure floats vertically centered, use
20115 \begin_layout Standard
20120 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20124 \begin_layout Standard
20125 This was used for Figure\InsetSpace ~
20127 \begin_inset LatexCommand ref
20128 reference "fig:cap-beside-fig-2"
20135 \begin_layout Standard
20136 \begin_inset VSpace defskip
20139 For more information about the package
20143 we refer to its documentation
20144 \begin_inset LatexCommand cite
20152 \begin_layout Standard
20153 \begin_inset Note Greyedout
20156 \begin_layout Standard
20166 \begin_inset LatexCommand index
20167 name "LaTeX-packages ! hypcap"
20171 , described in section\InsetSpace ~
20173 \begin_inset LatexCommand ref
20174 reference "sub:Reference-Position"
20178 , has no effect on floats with the caption set beside.
20186 \begin_layout Standard
20190 \begin_layout Standard
20202 \begin_layout Standard
20203 \begin_inset Float figure
20208 \begin_layout Standard
20209 \begin_inset Graphics
20210 filename escher-lsd.eps
20218 \begin_layout Standard
20219 \begin_inset Caption
20221 \begin_layout Standard
20222 \begin_inset LatexCommand label
20223 name "fig:cap-beside-fig"
20227 This is a caption beside a figure.
20240 \begin_layout Standard
20244 \begin_layout Standard
20256 \begin_layout Standard
20257 \begin_inset Float table
20262 \begin_layout Standard
20263 \begin_inset Caption
20265 \begin_layout Standard
20266 \begin_inset LatexCommand label
20267 name "tab:cap-beside-tab"
20271 This is a caption beside a table.
20279 \begin_layout Standard
20280 \begin_inset Tabular
20281 <lyxtabular version="3" rows="4" columns="5">
20283 <column alignment="center" valignment="top" leftline="true" width="0">
20284 <column alignment="center" valignment="top" leftline="true" width="0">
20285 <column alignment="center" valignment="top" leftline="true" width="0">
20286 <column alignment="center" valignment="top" leftline="true" width="0">
20287 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20288 <row topline="true">
20289 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20292 \begin_layout Standard
20298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20301 \begin_layout Standard
20307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20310 \begin_layout Standard
20316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20319 \begin_layout Standard
20325 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20328 \begin_layout Standard
20335 <row topline="true">
20336 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20339 \begin_layout Standard
20345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20348 \begin_layout Standard
20354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20357 \begin_layout Standard
20363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20366 \begin_layout Standard
20372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20375 \begin_layout Standard
20382 <row topline="true">
20383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20386 \begin_layout Standard
20392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20395 \begin_layout Standard
20401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20404 \begin_layout Standard
20410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20413 \begin_layout Standard
20419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20422 \begin_layout Standard
20429 <row topline="true" bottomline="true">
20430 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20433 \begin_layout Standard
20439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20442 \begin_layout Standard
20448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20451 \begin_layout Standard
20457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20460 \begin_layout Standard
20466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20469 \begin_layout Standard
20488 \begin_layout Standard
20492 \begin_layout Standard
20504 \begin_layout Standard
20508 \begin_layout Standard
20512 sidecaptionvpos{figure}{c}
20518 \begin_inset Float figure
20523 \begin_layout Standard
20524 \begin_inset Graphics
20525 filename escher-lsd.eps
20533 \begin_layout Standard
20534 \begin_inset Caption
20536 \begin_layout Standard
20537 \begin_inset LatexCommand label
20538 name "fig:cap-beside-fig-2"
20542 This is a vertically centered caption beside a figure.
20555 \begin_layout Standard
20559 \begin_layout Standard
20571 \begin_layout Section
20573 \begin_inset LatexCommand label
20574 name "sec:Listings-of-Floats"
20579 \begin_inset LatexCommand index
20580 name "Floats ! Listings"
20587 \begin_layout Standard
20588 Similar to the the table of contents where the sections of the document
20589 are listed, there are listings for all float types, like the figures of
20591 You can insert them via the
20593 Insert\SpecialChar \menuseparator
20601 \begin_layout Standard
20602 The list entries are the float captions or its short title, the float number,
20603 and the page number where they appear in the document.
20606 \begin_layout Standard
20607 You can find the list of figures and tables at the end of this document.
20610 \begin_layout Chapter
20614 \begin_layout Section
20618 \begin_layout Standard
20631 \begin_layout Standard
20639 \begin_inset LatexCommand label
20640 name "sec:LyX-Notes"
20645 \begin_inset LatexCommand index
20646 name "Notes ! LyX Notes"
20651 \begin_inset Note Note
20654 \begin_layout Standard
20657 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20658 are displayed wrongly in PDF-bookmarks.
20659 For more information about this, have a look at
20660 \begin_inset LatexCommand cite
20673 \begin_layout Standard
20674 Notes are inserted with the toolbar button
20675 \begin_inset Graphics
20676 filename ../images/note-insert.xpm
20683 Insert\SpecialChar \menuseparator
20687 There are three types of notes:
20690 \begin_layout Description
20692 Note This note type is for internal notes that won't appear in the output.
20693 Its note-box looks like this:
20698 \begin_inset Graphics
20699 filename ../clipart/LyXNoteImageQt4.png
20706 \begin_inset Note Note
20709 \begin_layout Standard
20710 This is text in a note box that doesn't appear in the output.
20718 \begin_layout Description
20719 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20720 ent, when you export the document to LaTeX via the menu
20722 File\SpecialChar \menuseparator
20723 Export\SpecialChar \menuseparator
20724 LaTeX (pdflatex) / LaTeX (plain)
20727 Its note-box looks like this:
20732 \begin_inset Graphics
20733 filename ../clipart/CommentNoteImageQt4.png
20740 \begin_inset Note Comment
20743 \begin_layout Standard
20744 This is text in a note box that only appears as comment in LaTeX-files.
20752 \begin_layout Description
20753 Greyed\InsetSpace ~
20754 Out This note will appear in the output as grey text.
20755 Its note-box looks like this:
20760 \begin_inset Graphics
20761 filename ../clipart/GreyedOutNoteImageQt4.png
20773 \begin_layout Standard
20777 renewenvironment{lyxgreyedout}
20780 \begin_layout Standard
20784 textcolor[gray]{0.8}
20794 \begin_inset Note Greyedout
20797 \begin_layout Standard
20802 \begin_layout Standard
20803 This is an example footnote within a greyed out note.
20808 of a comment that appears in the output as grey text.
20817 \begin_layout Standard
20821 renewenvironment{lyxgreyedout}
20824 \begin_layout Standard
20838 \begin_inset Note Note
20841 \begin_layout Standard
20842 The greyed out note is here redefined to show it with the original LyX definitio
20843 n because greyed out notes are redefined in the preamble of this document,
20844 as described below, to have blue text.
20853 As you can see in the example, the first line of greyed out notes is a bit
20854 indented and greyed out notes can have footnotes.
20857 \begin_layout Description
20858 Framed This note will appear in the output as framed text.
20859 Its note-box looks like this:
20864 \begin_inset Graphics
20865 filename ../clipart/FramedNoteImageQt4.png
20872 \begin_inset Note Framed
20875 \begin_layout Standard
20876 This is text in a note box that appears framed in the output.
20881 In contrary to framed boxes
20885 \begin_layout Standard
20886 Framed boxes are described in section\InsetSpace ~
20888 \begin_inset LatexCommand ref
20889 reference "sec:Framed-Boxes"
20898 the frame uses always the whole text width and the note is set into its
20902 \begin_layout Description
20903 Shaded This note will appear in the output with red background color.
20904 Its note box looks like this:
20909 \begin_inset Graphics
20910 filename ../clipart/ShadedNoteImageQt4.png
20917 \begin_inset Note Shaded
20920 \begin_layout Standard
20921 This text in a note box appears in the output with red background.
20926 In contrary to colored boxes
20930 \begin_layout Standard
20931 Colored boxes are described in section\InsetSpace ~
20933 \begin_inset LatexCommand ref
20934 reference "sec:Colored-Boxes"
20943 the note uses always the whole text width and the note is set into its
20947 \begin_layout Standard
20948 \begin_inset VSpace bigskip
20951 When you use the toolbar button to insert notes, a
20957 You can switch between the three note types by right-clicking on the note-box.
20962 If you want to turn existing text into a note, mark it and click on the
20978 \begin_layout Standard
20979 \begin_inset VSpace bigskip
20982 You can change the text color of the greyed out notes in the preamble with
20983 the following command:
20986 \begin_layout Standard
20991 renewenvironment{lyxgreyedout}
20997 \begin_layout Standard
21015 \begin_layout Standard
21016 The available colors and the method to define own colors is explained in
21017 section\InsetSpace ~
21019 \begin_inset LatexCommand ref
21020 reference "sec:Colored-Tables"
21027 \begin_layout Standard
21028 Notes that appear in blue in this document are set using greyed out notes
21032 \begin_layout Standard
21033 \begin_inset VSpace bigskip
21039 \begin_layout Standard
21048 notes can be set in the
21055 \begin_layout Standard
21056 The default frame width for
21060 notes is 0.4\InsetSpace \thinspace{}
21061 pt; it can be changed by changing the size
21068 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21070 be changed by changing the size
21077 For example the frame appearance of the following
21081 note is set with the ERT commands
21084 \begin_layout Standard
21094 \begin_layout Standard
21098 \begin_layout Standard
21110 \begin_inset Note Framed
21113 \begin_layout Standard
21127 \begin_layout Standard
21141 \begin_layout Standard
21142 \begin_inset VSpace bigskip
21148 \begin_layout Standard
21153 notes the default space between the note content and the note border is
21154 3\InsetSpace \thinspace{}
21155 pt; it can be changed by changing the size
21163 The default background color red can be changed with the command
21167 def\SpecialChar \textcompwordmark{}
21175 def\SpecialChar \textcompwordmark{}
21178 command is explained in section\InsetSpace ~
21180 \begin_inset LatexCommand ref
21181 reference "sec:Colored-Tables"
21189 \begin_layout Standard
21196 \SpecialChar \textcompwordmark{}
21201 requires the LaTeX-package
21205 in the preamble, see section\InsetSpace ~
21207 \begin_inset LatexCommand ref
21208 reference "sec:Colored-Boxes"
21220 \begin_layout Standard
21221 For example the appearance of the following
21225 note is set with the ERT commands
21228 \begin_layout Standard
21241 def\SpecialChar \textcompwordmark{}
21242 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21245 \begin_layout Standard
21249 \begin_layout Standard
21262 \begin_layout Standard
21266 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21272 \begin_inset Note Shaded
21275 \begin_layout Standard
21278 This is yellow text in a
21288 note with darkgreen background.
21297 \begin_layout Standard
21310 \begin_layout Standard
21314 definecolor{shadecolor}{rgb}{1,0,0}
21322 \begin_layout Section
21324 \begin_inset LatexCommand label
21325 name "sec:Footnotes"
21330 \begin_inset LatexCommand index
21331 name "Notes ! Footnotes"
21336 \begin_inset LatexCommand index
21344 \begin_layout Standard
21345 Footnotes can be inserted using the toolbar button
21346 \begin_inset Graphics
21347 filename ../images/footnote-insert.xpm
21354 Insert\SpecialChar \menuseparator
21366 then the following footnote-box:
21367 \begin_inset Graphics
21368 filename ../clipart/footnoteQt4.png
21377 where you can enter the footnote text.
21378 If you want to turn existing text into a footnote, mark it and click on
21394 \begin_layout Standard
21395 Here is an example footnote:
21403 \begin_layout Standard
21404 \begin_inset LatexCommand label
21405 name "foot:This-is-an"
21409 This is an example footnote.
21422 \begin_layout Standard
21426 newcounter{MyRepeatFoot}
21429 \begin_layout Standard
21433 setcounter{MyRepeatFoot}{
21443 \begin_layout Standard
21444 The footnote will appear in the output as a superscript number at the text
21445 position where the footnote box is placed.
21446 The footnote text is placed at the bottom of the current page.
21447 The footnote number is calculated by LaTeX, the numbers are consecutive.
21448 It depends on your document-class, if the footnote number is reset for
21452 \begin_layout Standard
21453 Footnotes can be referenced like floats: Insert a label into the footnote
21454 and cross-reference this label in the text as described in section\InsetSpace ~
21456 \begin_inset LatexCommand ref
21457 reference "sec:Referencing-Floats"
21463 This is a cross-reference of Footnote\InsetSpace ~
21465 \begin_inset LatexCommand ref
21466 reference "foot:This-is-an"
21473 \begin_inset Note Greyedout
21476 \begin_layout Standard
21481 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21482 e.\InsetSpace \thinspace{}
21487 \begin_inset Quotes eld
21493 \begin_inset Quotes erd
21496 manually when you want to use the reference style
21498 Formatted\InsetSpace ~
21509 \begin_layout Standard
21510 \begin_inset VSpace defskip
21513 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21515 \begin_inset LatexCommand ref
21516 reference "sec:Minipages"
21521 Footnotes within longtables are described in section\InsetSpace ~
21523 \begin_inset LatexCommand ref
21524 reference "sub:Footnotes-in-Longtables"
21531 \begin_layout Standard
21532 \begin_inset VSpace defskip
21535 To create only a mark for a footnote, use the command
21539 footnotemark[number]
21542 This is used when you have the same annotation several times in a text
21543 but doesn't want to print the footnote text every time.
21546 the number of the repeating footnote while you are writing the text, you
21547 have to store its number.
21548 For the following footnote mark example, these commands were inserted in
21549 ERT behind Footnote\InsetSpace ~
21551 \begin_inset LatexCommand ref
21552 reference "foot:This-is-an"
21556 to store the footnote number:
21559 \begin_layout Standard
21564 newcounter{MyRepeatFoot}
21568 setcounter{MyRepeatFoot}{
21573 \begin_layout Standard
21574 The footnote mark was then created with this command:
21577 \begin_layout Standard
21587 \begin_layout Standard
21588 Here is an example footnote mark:
21596 \begin_layout Standard
21610 \begin_layout Subsection
21612 \begin_inset LatexCommand label
21613 name "sub:Footnote-Numbering"
21618 \begin_inset LatexCommand index
21619 name "Footnotes ! Numbering"
21626 \begin_layout Standard
21627 If you want to have footnotes numbered in the scheme
21628 \begin_inset Quotes eld
21632 \begin_inset Quotes erd
21635 , add the following command to your document preamble:
21638 \begin_layout Standard
21643 numberwithin{footnote}{chapter}
21646 \begin_layout Standard
21647 To be able to use the command
21658 in the document settings the option
21668 \begin_layout Standard
21672 \begin_layout Standard
21676 numberwithin{footnote}{chapter}
21681 This is another example footnote:
21687 \begin_layout Standard
21688 This is a footnote numbered in the scheme
21689 \begin_inset Quotes eld
21693 \begin_inset Quotes erd
21707 \begin_layout Standard
21711 numberwithin{footnote}{part}
21719 \begin_layout Standard
21720 \begin_inset VSpace bigskip
21726 \begin_layout Standard
21727 To reset the footnote number back to 1 after each section
21729 , add this command to your document preamble:
21732 \begin_layout Standard
21737 @addtoreset{footnote}{section}
21740 \begin_layout Standard
21741 \begin_inset VSpace bigskip
21744 The following preamble command changes the footnote numbering style to small
21748 \begin_layout Standard
21760 \begin_layout Standard
21764 \begin_layout Standard
21777 This is a footnote with roman numbering:
21781 \begin_layout Standard
21782 This is an example footnote with roman numbering.
21791 \begin_layout Standard
21807 \begin_layout Standard
21808 To change the numbering style to capital roman numerals replace in the command
21823 \begin_inset Quotes eld
21827 \begin_inset Quotes erd
21830 footnotes with capital or small Latin letters use
21844 \begin_inset Quotes eld
21848 \begin_inset Quotes erd
21851 footnotes with symbols use
21860 \begin_layout Standard
21861 \begin_inset Note Greyedout
21864 \begin_layout Standard
21869 You can only number 26 footnotes with Latin letters, because this numbering
21870 is limited to single letters.
21878 \begin_inset Note Greyedout
21881 \begin_layout Standard
21886 You can only number 9 footnotes with symbols.
21894 \begin_layout Standard
21895 To return to the default numbering style when you changed to another one,
21908 in the command above.
21911 \begin_layout Subsection
21913 \begin_inset LatexCommand index
21914 name "Footnotes ! Placement"
21921 \begin_layout Standard
21922 If you have several footnotes in one page, they appear without vertical
21923 space between them at the bottom of the page.
21924 To make them better readable you can e.\InsetSpace \thinspace{}
21926 add 1.5\InsetSpace \thinspace{}
21927 mm space with the following
21931 \begin_layout Standard
21953 \begin_layout Standard
21954 \begin_inset VSpace bigskip
21957 In a two-column document the footnotes appear at the bottom of every column,
21958 see Figure\InsetSpace ~
21960 \begin_inset LatexCommand ref
21961 reference "fig:Standard-footnote-placement"
21966 If the footnotes should only appear at the bottom of the right column,
21967 as in Figure\InsetSpace ~
21969 \begin_inset LatexCommand ref
21970 reference "fig:Footnote-placement-in"
21974 , use the LaTeX-package
21979 \begin_inset LatexCommand index
21980 name "LaTeX-packages ! ftnright"
21984 with this command in the document preamble:
21987 \begin_layout Standard
21992 usepackage{ftnright}
21995 \begin_layout Standard
21996 \begin_inset Float figure
22002 \begin_layout Standard
22006 \begin_layout Standard
22016 \begin_inset Graphics
22017 filename ../clipart/without_fntright.pdf
22026 \begin_layout Standard
22036 \begin_layout Standard
22037 \begin_inset Caption
22039 \begin_layout Standard
22040 \begin_inset LatexCommand label
22041 name "fig:Standard-footnote-placement"
22045 Standard footnote placement in two-column documents.
22058 \begin_layout Standard
22059 \begin_inset Float figure
22065 \begin_layout Standard
22069 \begin_layout Standard
22079 \begin_inset Graphics
22080 filename ../clipart/with_fntright.pdf
22089 \begin_layout Standard
22099 \begin_layout Standard
22100 \begin_inset Caption
22102 \begin_layout Standard
22103 \begin_inset LatexCommand label
22104 name "fig:Footnote-placement-in"
22108 Footnote placement in two-column documents when the LaTeX-package
22125 \begin_layout Standard
22126 \begin_inset VSpace bigskip
22129 In some scientific literature it is usual to collect the footnotes and print
22130 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22132 \begin_inset LatexCommand ref
22133 reference "fig:Endnotes----footnotes"
22138 They are then so called
22139 \begin_inset Quotes eld
22143 \begin_inset Quotes erd
22147 To use endnotes instead of footnotes in your document, load the LaTeX-package
22153 \begin_inset LatexCommand index
22154 name "LaTeX-packages ! endnotes"
22158 with the document preamble lines
22161 \begin_layout Standard
22166 usepackage{endnotes}
22177 \begin_layout Standard
22178 To insert the collected footnotes, insert the command
22181 \begin_layout Standard
22189 \begin_layout Standard
22190 in ERT at the the end of a section or chapter.
22193 \begin_layout Standard
22194 \begin_inset Float figure
22199 \begin_layout Standard
22204 \begin_layout Standard
22214 \begin_inset Graphics
22215 filename ../clipart/endnotes.pdf
22223 \begin_layout Standard
22233 \begin_layout Standard
22234 \begin_inset Caption
22236 \begin_layout Standard
22237 \begin_inset LatexCommand label
22238 name "fig:Endnotes----footnotes"
22242 Endnotes -- footnotes are printed in a separate paragraph at the end of
22243 sections or chapters.
22256 \begin_layout Standard
22257 \begin_inset VSpace defskip
22260 The paragraph heading for the endnotes isn't automatically translated into
22261 the document language, this must be done manually.
22262 The following preamble command translate the default English name
22263 \begin_inset Quotes eld
22267 \begin_inset Quotes erd
22270 to the German translation
22271 \begin_inset Quotes eld
22275 \begin_inset Quotes erd
22281 \begin_layout Standard
22288 notesname}{Anmerkungen}
22291 \begin_layout Standard
22292 \begin_inset VSpace defskip
22295 The numbering of endnotes can be changed like the footnote numbering as
22296 described in section\InsetSpace ~
22298 \begin_inset LatexCommand ref
22299 reference "sub:Footnote-Numbering"
22303 ; just replace the command
22316 To reset the endnote number use the command
22322 as described in section\InsetSpace ~
22324 \begin_inset LatexCommand ref
22325 reference "sub:Footnote-Numbering"
22329 and replace the command parameter
22340 \begin_layout Standard
22341 To create only a mark for an endnote, use the command
22345 endnotemark[number]
22347 similar to the command
22353 , described in section\InsetSpace ~
22355 \begin_inset LatexCommand ref
22356 reference "sec:Footnotes"
22363 \begin_layout Standard
22364 \begin_inset VSpace bigskip
22367 Footnotes can also be placed in the page margin and the footnote text alignment
22368 can be changed, see the LaTeX-package
22373 \begin_inset LatexCommand index
22374 name "LaTeX-packages ! footmisc"
22379 \begin_inset LatexCommand cite
22384 for more information about this.
22387 \begin_layout Standard
22388 For various further footnote formatting issues have a look at LaTeX-books,
22390 \begin_inset LatexCommand cite
22391 key "latexcompanion,latexguide,latexbook"
22398 \begin_layout Section
22400 \begin_inset LatexCommand index
22401 name "Notes ! Margin Notes"
22408 \begin_layout Standard
22409 Margin notes look and behave in LyX like footnotes.
22410 They are inserted via the menu
22412 Insert\SpecialChar \menuseparator
22413 Marginal\InsetSpace ~
22416 or the toolbar button
22417 \begin_inset Graphics
22418 filename ../images/marginalnote-insert.xpm
22434 \begin_inset Quotes eld
22438 \begin_inset Quotes erd
22441 appears where you can enter the text of the margin note.
22444 \begin_layout Standard
22445 At the side is an example margin note.
22449 \begin_inset Marginal
22452 \begin_layout Standard
22453 This is a margin note.
22461 \begin_layout Standard
22462 Margin notes appear at the right side in single-sided documents.
22463 In double-sided documents they appear in the outer margin -- left on even
22464 pages, right on odd pages.
22465 The text of margin notes is aligned opposite to the outer margin -- right-align
22466 ed when the note appears in the left margin.
22467 The first line of the margin note is placed at the position of the text
22468 line where it is inserted in the document.
22471 \begin_layout Standard
22472 \begin_inset VSpace bigskip
22475 To place the margin note in the inner margin, add the command
22478 \begin_layout Standard
22486 \begin_layout Standard
22487 in ERT before a margin note.
22488 The new placement is valid for all following margin notes.
22492 \begin_layout Standard
22502 \begin_inset Marginal
22505 \begin_layout Standard
22506 This is a margin note in the inner margin.
22518 \begin_inset Note Greyedout
22521 \begin_layout Standard
22526 There is often not enough space in the inner margin so that the notes are
22527 not correctly displayed in the output.
22535 \begin_layout Standard
22539 \begin_layout Standard
22548 To return to the default placement insert the command
22551 \begin_layout Standard
22559 \begin_layout Standard
22562 \begin_inset Note Greyedout
22565 \begin_layout Standard
22570 The command is ignored when it is within a paragraph where also the command
22585 \begin_layout Standard
22586 \begin_inset VSpace bigskip
22593 \begin_inset Marginal
22596 \begin_layout Standard
22597 AVeryLongMarginParWord that isn't hyphenated.
22605 Similar to the case described in section\InsetSpace ~
22607 \begin_inset LatexCommand ref
22608 reference "sub:Multiple-Lines-in"
22612 , long words cannot be hyphenated when they are the first word in a margin
22614 To avoid this, insert the command
22617 \begin_layout Standard
22625 \begin_layout Standard
22626 in ERT before the word
22630 \begin_inset Marginal
22633 \begin_layout Standard
22637 \begin_layout Standard
22646 AVeryLongMarginParWord that is hyphenated.
22654 \begin_layout Standard
22655 \begin_inset VSpace bigskip
22661 \begin_layout Standard
22662 \begin_inset Note Greyedout
22665 \begin_layout Standard
22670 Margin notes can normally not be used inside tables, floats, and footnotes.
22678 \begin_layout Standard
22679 \begin_inset VSpace bigskip
22685 \begin_layout Standard
22689 \begin_layout Standard
22699 \begin_inset Note Note
22702 \begin_layout Standard
22703 The following section will only be displayed when you have the LaTeX-package
22716 \begin_layout Standard
22717 This restriction can be evaded by using the LaTeX-package
22722 \begin_inset LatexCommand index
22723 name "LaTeX-packages ! marginnote"
22728 By adding these two lines to your document preamble, the command used by
22729 LyX for margin notes is redefined to use the command provided by the
22736 \begin_layout Standard
22741 usepackage{marginnote}
22752 \begin_layout Standard
22753 This is also used in this document because
22757 has another useful feature: You can set a vertical offset for the note.
22758 This is often needed when too many margin notes are too close together
22759 or for a better page layout.
22760 The offset is set in LyX as ERT directly behind the margin note in the
22764 \begin_layout Standard
22770 \begin_layout Standard
22771 where the offset is a length with one of the units listed in Table\InsetSpace ~
22773 \begin_inset LatexCommand ref
22774 reference "tab:Units"
22779 A negative value shifts the note up, a positive value shifts it down.
22783 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22786 \begin_inset Quotes eld
22796 \begin_inset Quotes erd
22800 \begin_inset Marginal
22803 \begin_layout Standard
22804 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22805 cm from its original position.
22817 \begin_layout Standard
22827 \begin_layout Standard
22828 \begin_inset VSpace defskip
22835 you can also change the alignment of the text in the margin note.
22836 For example the commands
22839 \begin_layout Standard
22846 raggedleftmarginnote}{
22854 raggedrightmarginnote}{
22859 \begin_layout Standard
22860 set the alignment to centered.
22865 raggedleftmarginnote
22867 denotes margin notes that appear at the left side.
22874 \begin_layout Standard
22880 raggedleftmarginnote}{
22885 \begin_layout Standard
22891 raggedrightmarginnote}{
22899 \begin_inset Marginal
22902 \begin_layout Standard
22903 The text of this margin note is centered.
22914 \begin_layout Standard
22921 raggedleftmarginnote}{
22929 raggedrightmarginnote}{
22938 \begin_layout Standard
22944 raggedleftmarginnote}{
22949 \begin_layout Standard
22955 raggedrightmarginnote}{
22965 \begin_layout Standard
22966 \begin_inset VSpace defskip
22969 For the other features of
22973 we refer to its documentation
22974 \begin_inset LatexCommand cite
22982 \begin_layout Standard
22983 \begin_inset VSpace bigskip
22986 You can change the layout of margin notes by redefining its definition.
22987 To create for example a header for all margin notes with the underlined,
22988 sans-serif, and bold header text
22989 \begin_inset Quotes eld
23001 \begin_inset Quotes erd
23004 , add this to your document preamble:
23007 \begin_layout Standard
23030 \begin_layout Standard
23047 underbar{Attention!}}}%
23053 \begin_layout Standard
23071 \begin_layout Standard
23078 \begin_layout Standard
23089 \begin_layout Standard
23100 \begin_layout Standard
23108 underbar{Attention!}}}%
23111 \begin_layout Standard
23125 \begin_inset Marginal
23128 \begin_layout Standard
23129 This is a margin note with a defined heading.
23141 \begin_layout Standard
23155 \begin_layout Standard
23172 \begin_inset Note Note
23175 \begin_layout Standard
23176 The margin note format is changed only for this example.
23184 \begin_layout Standard
23188 \begin_layout Standard
23198 \begin_inset Note Note
23201 \begin_layout Standard
23202 The following will be displayed when the LaTeX-package
23214 \begin_layout Standard
23215 You need to install the LaTeX-package
23219 to see the following part of this section in the output.
23222 \begin_layout Standard
23226 \begin_layout Standard
23238 \begin_layout Chapter
23242 \begin_layout Section
23244 \begin_inset LatexCommand index
23245 name "Boxes ! Introduction"
23252 \begin_layout Standard
23253 Boxes are used to format a block of text.
23254 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23256 \begin_inset LatexCommand ref
23257 reference "sec:Minipages"
23261 , to frame texts, see section\InsetSpace ~
23263 \begin_inset LatexCommand ref
23264 reference "sec:Framed-Boxes"
23268 , to prevent words to be hyphenated, see section\InsetSpace ~
23270 \begin_inset LatexCommand ref
23271 reference "sec:Prevent-Hyphenation"
23275 , to align text, see section\InsetSpace ~
23277 \begin_inset LatexCommand ref
23278 reference "sub:Vertical-Alignment"
23282 , or to set the background color of texts, see section\InsetSpace ~
23284 \begin_inset LatexCommand ref
23285 reference "sec:Colored-Boxes"
23292 \begin_layout Standard
23293 Boxes can be inserted with the menu
23295 Insert\SpecialChar \menuseparator
23299 A grey box with the label
23304 \begin_inset Graphics
23305 filename ../clipart/BoxInsetDefaultQt4.png
23310 , will be inserted.
23311 The box type can be specified by right-clicking on the box.
23312 The appearing box dialog offers the
23330 is the default for new boxes and is explained in section\InsetSpace ~
23332 \begin_inset LatexCommand ref
23333 reference "sec:Minipages"
23341 is described in section\InsetSpace ~
23343 \begin_inset LatexCommand ref
23344 reference "sec:Parboxes"
23351 \begin_layout Standard
23352 Boxes aren't numbered and can therefore not be referenced like floats or
23356 \begin_layout Standard
23357 \begin_inset Note Greyedout
23360 \begin_layout Standard
23365 Due to a bug in LyX you have to insert a protected space behind a box when
23366 you want to separate in a line the box from the following text with a space.
23374 \begin_layout Standard
23375 \begin_inset Note Greyedout
23378 \begin_layout Standard
23383 Boxes must not be the item in an
23399 \begin_layout Standard
23400 \begin_inset Note Greyedout
23403 \begin_layout Standard
23408 For an unknown reason you can only set the
23417 when you use a framed box.
23423 type and without frames are explained in section\InsetSpace ~
23425 \begin_inset LatexCommand ref
23426 reference "sec:Prevent-Hyphenation"
23438 \begin_layout Section
23440 \begin_inset LatexCommand label
23441 name "sec:Box-Dialog"
23446 \begin_inset LatexCommand index
23447 name "Boxes ! Box Dialog"
23452 \begin_inset LatexCommand index
23453 name "Boxes ! Alignment"
23460 \begin_layout Standard
23461 In the box dialog you can adjust the box geometry in the fields
23470 The available units for the geometry are explained in Table\InsetSpace ~
23472 \begin_inset LatexCommand ref
23473 reference "tab:Units"
23482 offers the following additional sizes:
23485 \begin_layout Description
23486 Depth This is the plain text
23487 \begin_inset Quotes eld
23491 \begin_inset Quotes erd
23495 It ignores the total depth when there are multiple text lines in the box:
23502 \begin_inset Box Boxed
23511 height_special "depth"
23514 \begin_layout Standard
23516 Box height set to 1\InsetSpace \thinspace{}
23529 \begin_layout Description
23530 Height This is the heigth of the text that is inside the box.
23531 A value of e.\InsetSpace \thinspace{}
23533 2 for this size will set the box heigth to 2 times the text
23535 \begin_inset Box Boxed
23544 height_special "height"
23547 \begin_layout Standard
23549 Box height set to 2\InsetSpace \thinspace{}
23558 \begin_layout Description
23560 Height This is the Height\InsetSpace \thinspace{}
23561 +\InsetSpace \thinspace{}
23563 \begin_inset Box Boxed
23572 height_special "totalheight"
23575 \begin_layout Standard
23577 Box height set to 1\InsetSpace \thinspace{}
23587 \begin_layout Description
23588 Width This set the width of the box as heigth:
23589 \begin_inset Box Boxed
23598 height_special "width"
23601 \begin_layout Standard
23603 Box height set to 1\InsetSpace \thinspace{}
23612 \begin_layout Standard
23613 \begin_inset VSpace bigskip
23616 When you have chosen an
23621 , the vertical box alignment can be:
23624 \begin_layout Description
23625 Top This is an example text line.
23627 \begin_inset Box Boxed
23636 height_special "totalheight"
23639 \begin_layout Standard
23641 This box is top-aligned.
23647 This is an example text line.
23650 \begin_layout Description
23651 Middle This is an example text line.
23653 \begin_inset Box Boxed
23662 height_special "totalheight"
23665 \begin_layout Standard
23667 This box is middle-aligned.
23673 This is an example text line.
23676 \begin_layout Description
23677 Bottom This is an example text line.
23679 \begin_inset Box Boxed
23688 height_special "totalheight"
23691 \begin_layout Standard
23693 This box is bottom-aligned.
23699 This is an example text line.
23702 \begin_layout Standard
23703 The horizontal box alignment can be set via LyX's paragraph dialog when
23704 you set the box into its own paragraph.
23707 \begin_layout Standard
23708 \begin_inset VSpace bigskip
23711 When you have chosen an
23716 , the box content can be vertical aligned to:
23719 \begin_layout Description
23720 top This is an example text line.
23722 \begin_inset Box Boxed
23731 height_special "totalheight"
23734 \begin_layout Standard
23736 This box text is top-aligned.
23742 This is an example text line.
23745 \begin_layout Description
23746 middle This is an example text line.
23748 \begin_inset Box Boxed
23757 height_special "totalheight"
23760 \begin_layout Standard
23762 This box text is middle-aligned.
23768 This is an example text line.
23771 \begin_layout Description
23772 bottom This is an example text line.
23774 \begin_inset Box Boxed
23783 height_special "totalheight"
23786 \begin_layout Standard
23788 This box text is bottom-aligned.
23794 This is an example text line.
23797 \begin_layout Description
23798 stretch This is an example text line.
23800 \begin_inset Box Boxed
23809 height_special "totalheight"
23812 \begin_layout Standard
23817 \begin_layout Standard
23822 \begin_layout Standard
23830 This is an example text line.
23833 \begin_layout Standard
23834 To stretch the box content, it must consist of more than one paragraph.
23835 In the example above every text line is in an own paragraph.
23838 \begin_layout Standard
23839 \begin_inset VSpace bigskip
23842 To align the box content horizontally you can use LyX's paragraph dialog
23843 when you have chosen an
23851 \begin_layout Standard
23853 \begin_inset Box Boxed
23862 height_special "totalheight"
23865 \begin_layout Standard
23870 \begin_layout Standard
23875 \begin_layout Standard
23885 \begin_layout Standard
23886 If you haven't set an
23891 , you can align the box content horizontally in the box dialog.
23894 \begin_layout Standard
23896 \begin_inset Box Boxed
23905 height_special "totalheight"
23908 \begin_layout Standard
23910 This box text is horizontally stretched.
23918 \begin_layout Section
23920 \begin_inset LatexCommand label
23921 name "sec:Framed-Boxes"
23926 \begin_inset LatexCommand index
23927 name "Boxes ! Frames"
23934 \begin_layout Standard
23935 The frame style of the box can be specified in the box-dialog in the drop-down
23941 The following frame types are possible:
23944 \begin_layout Description
23945 Rectangular\InsetSpace ~
23946 box This draws a rectangle frame around the box.
23947 The frame line thickness has the size of
23955 \begin_inset Box Boxed
23964 height_special "totalheight"
23967 \begin_layout Standard
23977 \begin_layout Description
23980 thin This draws an oval frame around the box.
23981 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23984 \begin_inset Box ovalbox
23993 height_special "totalheight"
23996 \begin_layout Standard
24006 \begin_layout Description
24009 thick This draws an oval frame around the box.
24010 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
24013 \begin_inset Box Ovalbox
24022 height_special "totalheight"
24025 \begin_layout Standard
24035 \begin_layout Description
24036 Shadow\InsetSpace ~
24037 box This draws a rectangle frame with a shadow around the box.
24038 The frame line thickness has the size of
24044 , the shadow has a width of 4\InsetSpace \thinspace{}
24047 \begin_inset Box Shadowbox
24056 height_special "totalheight"
24059 \begin_layout Standard
24069 \begin_layout Description
24070 Double\InsetSpace ~
24071 box This draws a double-line rectangle frame around the box.
24072 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24079 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24087 The distance between the lines is 1.5\InsetSpace \thinspace{}
24094 \InsetSpace \thinspace{}
24095 +\InsetSpace \thinspace{}
24096 0.5\InsetSpace \thinspace{}
24099 \begin_inset Box Doublebox
24108 height_special "totalheight"
24111 \begin_layout Standard
24121 \begin_layout Standard
24122 \begin_inset VSpace bigskip
24125 LyX's box label will change to the used frame style when you set a frame.
24126 To be able to use the different frame styles, the LaTeX-package
24131 \begin_inset LatexCommand index
24132 name "LaTeX-packages ! fancybox"
24139 \begin_layout Standard
24140 \begin_inset VSpace bigskip
24143 The default value for the size
24149 is 0.4\InsetSpace \thinspace{}
24151 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24153 2\InsetSpace \thinspace{}
24157 \begin_layout Standard
24167 \begin_layout Standard
24171 \begin_layout Standard
24183 \begin_inset Box Boxed
24192 height_special "totalheight"
24195 \begin_layout Standard
24197 Rectangular box with
24203 \InsetSpace \thinspace{}
24204 =\InsetSpace \thinspace{}
24205 2\InsetSpace \thinspace{}
24215 \begin_layout Standard
24229 \begin_layout Standard
24230 \begin_inset VSpace bigskip
24233 The space between the frame and the box content is for all frame styles
24234 by default 3\InsetSpace \thinspace{}
24236 You can change it by setting the length
24243 For example the command
24246 \begin_layout Standard
24256 \begin_layout Standard
24257 sets the value to 10\InsetSpace \thinspace{}
24258 pt, like for the following box:
24261 \begin_layout Standard
24265 \begin_layout Standard
24277 \begin_inset Box Boxed
24286 height_special "totalheight"
24289 \begin_layout Standard
24291 Rectangular box with
24297 \InsetSpace \thinspace{}
24298 =\InsetSpace \thinspace{}
24299 10\InsetSpace \thinspace{}
24309 \begin_layout Standard
24323 \begin_layout Standard
24324 \begin_inset VSpace bigskip
24327 The diameter of the round corners of the oval boxes can be set with the
24338 \begin_layout Standard
24346 \begin_layout Standard
24347 sets the diameter to 1\InsetSpace \thinspace{}
24352 \begin_layout Standard
24360 \begin_layout Standard
24361 sets the diameter to
24363 num\InsetSpace \thinspace{}
24364 ×\InsetSpace \thinspace{}
24365 minimum(width and heigth of box)
24377 \begin_layout Standard
24381 \begin_layout Standard
24391 \begin_inset Box Ovalbox
24400 height_special "totalheight"
24403 \begin_layout Standard
24411 \InsetSpace \thinspace{}
24412 =\InsetSpace \thinspace{}
24413 1.5\InsetSpace \thinspace{}
24423 \begin_layout Standard
24435 \begin_layout Standard
24436 \begin_inset VSpace bigskip
24439 The size of the shadow can be adjusted by changing the length
24446 It it set to 2\InsetSpace \thinspace{}
24447 pt for the following box by this command:
24450 \begin_layout Standard
24460 \begin_layout Standard
24464 \begin_layout Standard
24476 \begin_inset Box Shadowbox
24485 height_special "totalheight"
24488 \begin_layout Standard
24496 \InsetSpace \thinspace{}
24497 =\InsetSpace \thinspace{}
24498 2\InsetSpace \thinspace{}
24508 \begin_layout Standard
24522 \begin_layout Standard
24523 \begin_inset VSpace bigskip
24526 Changed lengths and widths are valid for all boxes following the commands
24530 \begin_layout Section
24532 \begin_inset LatexCommand label
24533 name "sec:Minipages"
24538 \begin_inset LatexCommand index
24539 name "Boxes ! Minipages"
24546 \begin_layout Standard
24547 Minipages are treated by LaTeX as pages within pages and can therefore for
24548 example have their own footnotes.
24551 \begin_layout Standard
24552 Minipages are useful when you write documents with different languages.
24555 \begin_layout Standard
24556 Below are two example minipages side by side.
24557 Their width is set to 45\InsetSpace \thinspace{}
24558 col% and they are separated by a horizontal fill,
24559 that was inserted via the menu
24561 Insert\SpecialChar \menuseparator
24562 Special\InsetSpace ~
24563 Formatting\SpecialChar \menuseparator
24564 Horizontal\InsetSpace ~
24570 \begin_layout Standard
24571 \begin_inset Box Frameless
24580 height_special "totalheight"
24583 \begin_layout Standard
24586 Dies ist ein deutscher Text.
24587 Dies ist ein deutscher Text.
24588 Dies ist ein deutscher Text.
24589 Dies ist ein deutscher Text.
24590 Dies ist ein deutscher Text.
24591 Dies ist ein deutscher Text.
24592 Dies ist ein deutscher Text.
24593 Dies ist ein deutscher Text.
24594 Dies ist ein deutscher Text.
24595 Dies ist ein deutscher Text.
24596 Dies ist ein deutscher Text.
24597 Dies ist ein deutscher Text.
24598 Dies ist ein deutscher Text
24602 \begin_layout Standard
24605 Dies ist eine deutsche Fußnote.
24611 Dies ist ein deutscher Text.
24612 Dies ist ein deutscher Text.
24620 \begin_inset Box Frameless
24629 height_special "totalheight"
24632 \begin_layout Standard
24633 This is an English Text.
24634 This is an English Text.
24635 This is an English Text.
24636 This is an English Text.
24637 This is an English Text.
24638 This is an English Text.
24639 This is an English Text.
24640 This is an English Text.
24641 This is an English Text.
24642 This is an English Text.
24643 This is an English Text.
24644 This is an English Text.
24645 This is an English Text.
24646 This is an English Text.
24647 This is an English Text.
24648 This is an English Text.
24652 \begin_layout Standard
24653 This is an English footnote.
24658 This is an English Text.
24667 \begin_layout Standard
24668 \begin_inset VSpace bigskip
24671 Another application for minipages are footnotes within tables.
24672 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24673 bottom of the current page.
24674 But when you put the table with the footnote to a minipage, the footnote
24675 will appear at its bottom, numbered with Latin letters.
24676 The footnote number is reset to 1 in every minipage but not outside the
24680 \begin_layout Standard
24681 The footnote of this table doesn't appear:
24682 \begin_inset Tabular
24683 <lyxtabular version="3" rows="3" columns="4">
24685 <column alignment="center" valignment="top" leftline="true" width="0pt">
24686 <column alignment="center" valignment="top" leftline="true" width="0pt">
24687 <column alignment="center" valignment="top" leftline="true" width="0pt">
24688 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24689 <row topline="true">
24690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24693 \begin_layout Standard
24699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24702 \begin_layout Standard
24708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24711 \begin_layout Standard
24716 \begin_layout Standard
24717 This is a footnote within a table.
24727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24730 \begin_layout Standard
24737 <row topline="true">
24738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24741 \begin_layout Standard
24747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24750 \begin_layout Standard
24756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24759 \begin_layout Standard
24765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24768 \begin_layout Standard
24775 <row topline="true" bottomline="true">
24776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24779 \begin_layout Standard
24785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24788 \begin_layout Standard
24794 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24797 \begin_layout Standard
24803 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24806 \begin_layout Standard
24820 \begin_layout Standard
24822 \begin_inset Box Frameless
24831 height_special "totalheight"
24834 \begin_layout Standard
24836 \begin_inset Tabular
24837 <lyxtabular version="3" rows="3" columns="4">
24839 <column alignment="center" valignment="top" leftline="true" width="0pt">
24840 <column alignment="center" valignment="top" leftline="true" width="0pt">
24841 <column alignment="center" valignment="top" leftline="true" width="0pt">
24842 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24843 <row topline="true">
24844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24847 \begin_layout Standard
24853 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24856 \begin_layout Standard
24862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24865 \begin_layout Standard
24870 \begin_layout Standard
24871 This is a footnote within a table.
24881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24884 \begin_layout Standard
24891 <row topline="true">
24892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24895 \begin_layout Standard
24901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24904 \begin_layout Standard
24910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24913 \begin_layout Standard
24919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24922 \begin_layout Standard
24929 <row topline="true" bottomline="true">
24930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24933 \begin_layout Standard
24939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24942 \begin_layout Standard
24948 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24951 \begin_layout Standard
24957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24960 \begin_layout Standard
24979 \begin_layout Standard
24980 \begin_inset VSpace bigskip
24983 The document-wide paragraph settings are ignored within minipages.
24984 That means that there will be no space between paragraphs in minipages
24985 although you set it to e.\InsetSpace \thinspace{}
24991 in the document settings.
24994 \begin_layout Standard
24995 Minipages can also be used to set a background color for text parts, see
24996 section\InsetSpace ~
24998 \begin_inset LatexCommand ref
24999 reference "sub:Color-for-Paragraphs"
25006 \begin_layout Standard
25007 \begin_inset Note Greyedout
25010 \begin_layout Standard
25015 You cannot have floats or margin notes inside minipages but minipages can
25016 be used inside tables, floats, and other boxes.
25024 \begin_layout Section
25026 \begin_inset LatexCommand label
25027 name "sec:Parboxes"
25032 \begin_inset LatexCommand index
25033 name "Boxes ! Parboxes"
25040 \begin_layout Standard
25041 Parboxes are very similar to minipages with the difference that they cannot
25043 The main difference to minipages is that minipages are in contrary to parboxes
25044 no real boxes but LaTeX-environments.
25047 \begin_layout Standard
25049 \begin_inset Box Frameless
25058 height_special "totalheight"
25061 \begin_layout Standard
25062 This a text within a parbox.
25063 This a text within a parbox.
25066 \begin_layout Standard
25067 This footnote won't appear:
25071 \begin_layout Standard
25072 This footnote is inside a parbox and will therefore not appear.
25085 \begin_layout Section
25086 Boxes for Words and Characters
25087 \begin_inset LatexCommand index
25088 name "Boxes ! for Characters"
25095 \begin_layout Subsection
25096 Prevent Hyphenation
25097 \begin_inset LatexCommand label
25098 name "sec:Prevent-Hyphenation"
25103 \begin_inset LatexCommand index
25104 name "Boxes ! to Prevent Hyphenation"
25111 \begin_layout Standard
25112 You can use a special kind of boxes to prevent words or text to be hyphenated.
25115 e is an example text:
25118 \begin_layout Standard
25119 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25125 \begin_layout Standard
25126 To prevent the hyphenation of the word
25127 \begin_inset Quotes eld
25131 \begin_inset Quotes erd
25137 \begin_layout Standard
25145 \begin_layout Standard
25146 in ERT before the word.
25147 Behind the word insert a closing brace
25148 \begin_inset Quotes eld
25156 \begin_inset Quotes erd
25163 \begin_layout Standard
25175 \begin_layout Standard
25176 This is the result:
25179 \begin_layout Standard
25180 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25186 \begin_layout Standard
25199 \begin_layout Standard
25209 \begin_layout Standard
25210 Of course the word now protrudes over the side margin.
25211 To avoid this, add via the menu
25213 Insert\SpecialChar \menuseparator
25214 Special\InsetSpace ~
25215 Formatting\SpecialChar \menuseparator
25223 ) a line break before the word:
25226 \begin_layout Standard
25227 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25235 \begin_layout Standard
25248 \begin_layout Standard
25258 \begin_layout Subsection
25260 \begin_inset LatexCommand label
25261 name "sub:Vertical-Alignment"
25266 \begin_inset LatexCommand index
25267 name "Boxes ! for Vertical Alignment"
25272 \begin_inset LatexCommand index
25273 name "Boxes ! Raiseboxes"
25280 \begin_layout Standard
25281 With the help of the command
25287 you can align words, characters or other boxes vertically to the surrounding
25295 is used with the following scheme:
25298 \begin_layout Standard
25303 raisebox{lift}[height][depth]{box content}
25306 \begin_layout Standard
25307 The lift can be a positive value to raise the box or a negative value to
25311 \begin_layout Standard
25312 To align for example the word
25313 \begin_inset Quotes eld
25317 \begin_inset Quotes erd
25320 so that the bottom of the
25321 \begin_inset Quotes eld
25325 \begin_inset Quotes erd
25329 \begin_inset Quotes eld
25333 \begin_inset Quotes erd
25336 is at the baseline, insert the command
25339 \begin_layout Standard
25349 \begin_layout Standard
25350 in ERT before the word.
25351 Behind the word insert a closing brace
25352 \begin_inset Quotes eld
25360 \begin_inset Quotes erd
25365 This is the result:
25368 \begin_layout Standard
25369 This is a text line with the word
25373 \begin_layout Standard
25385 \begin_inset Quotes eld
25389 \begin_inset Quotes erd
25396 \begin_layout Standard
25406 \begin_layout Standard
25407 \begin_inset VSpace bigskip
25410 When you raise or lower characters in a line, the line distance will be
25414 \begin_layout Standard
25415 This is a text line with the word
25419 \begin_layout Standard
25431 \begin_inset Quotes eld
25435 \begin_inset Quotes erd
25442 \begin_layout Standard
25451 This is a text line with the word
25455 \begin_layout Standard
25465 \begin_inset Quotes eld
25469 \begin_inset Quotes erd
25476 \begin_layout Standard
25486 \begin_layout Standard
25487 If you want to prevent this for a certain reason, set the box height to
25492 \begin_layout Standard
25502 \begin_layout Standard
25503 This is a text line with the word
25507 \begin_layout Standard
25519 \begin_inset Quotes eld
25523 \begin_inset Quotes erd
25530 \begin_layout Standard
25539 This is a text line with the word
25543 \begin_layout Standard
25547 raisebox{0.5cm}[0pt]{
25553 \begin_inset Quotes eld
25557 \begin_inset Quotes erd
25564 \begin_layout Standard
25574 \begin_layout Section
25576 \begin_inset LatexCommand label
25577 name "sec:Colored-Boxes"
25582 \begin_inset LatexCommand index
25583 name "Boxes ! Color"
25590 \begin_layout Subsection
25592 \begin_inset LatexCommand index
25593 name "Color ! for Text"
25600 \begin_layout Standard
25601 To color the background of text the text must be put into a so called colorbox.
25602 This requires that the LaTeX-package
25607 \begin_inset LatexCommand index
25608 name "LaTeX-packages ! color"
25612 is loaded in the document preamble with the command
25615 \begin_layout Standard
25620 @ifundef\SpecialChar \textcompwordmark{}
25627 \begin_layout Standard
25638 usepackage{color}}{}
25641 \begin_layout Standard
25646 will be loaded automatically by LyX when you color text
25650 \begin_layout Standard
25651 To avoid that it is loaded twice the command
25655 @ifundef\SpecialChar \textcompwordmark{}
25666 \begin_layout Standard
25667 \begin_inset VSpace medskip
25670 Colorboxes are created with the command
25677 This will be used with the following scheme:
25680 \begin_layout Standard
25685 colorbox{color}{box content}
25688 \begin_layout Standard
25689 The box content can also be a box and colorboxes can also be within other
25693 \begin_layout Standard
25694 The following colors are predefined:
25733 You can also define your own color as described in section\InsetSpace ~
25735 \begin_inset LatexCommand ref
25736 reference "sec:Colored-Tables"
25743 \begin_layout Standard
25744 To have e.\InsetSpace \thinspace{}
25746 a red background for a word, insert the command
25749 \begin_layout Standard
25757 \begin_layout Standard
25758 before the word in ERT.
25759 Behind the word insert a closing brace
25760 \begin_inset Quotes eld
25768 \begin_inset Quotes erd
25773 This is the result:
25776 \begin_layout Standard
25777 This is a line where the word
25781 \begin_layout Standard
25791 \begin_inset Quotes eld
25795 \begin_inset Quotes erd
25802 \begin_layout Standard
25809 has a red background.
25812 \begin_layout Standard
25813 \begin_inset VSpace bigskip
25816 If you would have the box frame in a different color, you can use the command
25823 with the following scheme:
25826 \begin_layout Standard
25831 fcolorbox{frame color}{box color}{box content}
25834 \begin_layout Standard
25848 The frame thickness and the space between the frame and the box content
25849 can be adjusted with the lengths
25861 , respectively, as described in section\InsetSpace ~
25863 \begin_inset LatexCommand ref
25864 reference "sec:Framed-Boxes"
25871 \begin_layout Standard
25872 For the following example the command
25875 \begin_layout Standard
25880 fcolorbox{cyan}{magenta}{
25883 \begin_layout Standard
25887 \begin_layout Standard
25888 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25895 \begin_layout Standard
25910 \begin_layout Standard
25914 fcolorbox{cyan}{magenta}{
25919 This is text within a colored, framed box.
25923 \begin_layout Standard
25933 \begin_layout Standard
25934 \begin_inset VSpace bigskip
25937 Of course you can also have colored text inside a colorbox:
25943 \begin_layout Standard
25947 fcolorbox{cyan}{magenta}{
25954 This is colored text within a colored, framed box.
25960 \begin_layout Standard
25971 \begin_layout Standard
25985 \begin_layout Standard
25988 \begin_inset VSpace medskip
25994 \begin_layout Standard
25995 \begin_inset Note Greyedout
25998 \begin_layout Standard
26003 Text in colorboxes cannot have line breaks.
26004 To color multiple text lines or paragraphs, use a box inside a colorbox
26005 as described in the following.
26013 \begin_layout Subsection
26014 Color for Paragraphs
26015 \begin_inset LatexCommand label
26016 name "sub:Color-for-Paragraphs"
26021 \begin_inset LatexCommand index
26022 name "Color ! for Paragraphs"
26029 \begin_layout Standard
26030 To set the background color for more than one text line, put the text into
26032 Before the minipage insert the
26041 \begin_layout Standard
26049 \begin_layout Standard
26051 Behind the minipage insert a closing brace
26052 \begin_inset Quotes eld
26060 \begin_inset Quotes erd
26066 \begin_layout Standard
26070 \begin_layout Standard
26074 colorbox{lightgrey}{
26080 \begin_inset Box Frameless
26089 height_special "totalheight"
26092 \begin_layout Standard
26093 This is text with background color.
26094 This is text with background color.
26097 \begin_layout Standard
26098 \begin_inset VSpace defskip
26101 The text can have footnotes
26105 \begin_layout Standard
26106 Another example footnote
26111 and can include tables and figures.
26114 \begin_layout Standard
26116 \begin_inset Tabular
26117 <lyxtabular version="3" rows="3" columns="3">
26119 <column alignment="center" valignment="top" leftline="true" width="0">
26120 <column alignment="center" valignment="top" leftline="true" width="0">
26121 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26122 <row topline="true">
26123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26126 \begin_layout Standard
26132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26135 \begin_layout Standard
26141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26144 \begin_layout Standard
26151 <row topline="true">
26152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26155 \begin_layout Standard
26161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26164 \begin_layout Standard
26166 \begin_inset Quotes erd
26174 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26177 \begin_layout Standard
26184 <row topline="true" bottomline="true">
26185 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26188 \begin_layout Standard
26194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26197 \begin_layout Standard
26203 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26206 \begin_layout Standard
26226 \begin_layout Standard
26236 \begin_layout Section
26237 URLs (Uniform Resource Locators)
26238 \begin_inset LatexCommand index
26246 \begin_layout Standard
26247 Links to web pages or email addresses can be inserted via the menu
26249 Insert\SpecialChar \menuseparator
26253 The appearing URL dialog has two fields; the
26261 field for the URL description, which will be typeset as plain text immediately
26265 \begin_layout Standard
26266 Here is an example URL:
26267 \begin_inset LatexCommand url
26268 name "LyX's homepage"
26269 target "http://www.lyx.org"
26276 \begin_layout Standard
26279 Generate\InsetSpace ~
26282 in the URL dialog has only an affect when you export your document to the
26284 \begin_inset Quotes eld
26292 \begin_inset Quotes erd
26298 \begin_layout Standard
26299 You cannot change the style of the link text.
26304 field will have the default text style of the document while the text of
26309 field will have the style
26310 \begin_inset Quotes eld
26318 \begin_inset Quotes erd
26324 \begin_layout Standard
26325 When you use the LaTeX-package
26330 \begin_inset LatexCommand index
26331 name "LaTeX-packages ! hyperref"
26335 to link cross-references in the output, URLs will automatically become
26336 clickable hyperlinks in DVI and PDF-output.
26339 \begin_layout Standard
26340 \begin_inset Note Greyedout
26343 \begin_layout Standard
26348 When you use the following characters: "%", "#", "^", you have to write
26349 them with a preceding backslash, e.\InsetSpace \thinspace{}
26352 \begin_inset Quotes eld
26358 \begin_inset Quotes erd
26362 URLs must not end with a backslash.
26370 \begin_layout Standard
26371 \begin_inset VSpace bigskip
26374 To create real hyperlinks without the force to write the link location to
26375 the text, you can use the command
26378 \begin_layout Standard
26383 href{link location}{link text}
26386 \begin_layout Standard
26388 To get for example a link to LyX's web page, write the command
26391 \begin_layout Standard
26396 href{http://www.lyx.org}{
26399 \begin_layout Standard
26401 Insert after the command the link text
26402 \begin_inset Quotes eld
26406 \begin_inset Quotes erd
26409 as normal text followed by a closing brace
26410 \begin_inset Quotes eld
26418 \begin_inset Quotes erd
26422 This is the result:
26426 \begin_layout Standard
26430 href{http://www.lyx.org}{
26439 \begin_layout Standard
26449 \begin_layout Standard
26450 To link to email addresses, add the prefix
26451 \begin_inset Quotes eld
26459 \begin_inset Quotes erd
26462 to the link location:
26468 \begin_layout Standard
26472 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26477 lyx-docs mailing list
26481 \begin_layout Standard
26491 \begin_layout Standard
26498 instead of LyX's URL box has the advantage that you can specify the text
26499 style of the link text like for all other text parts.
26500 You can therefore set hyphenation points and forced linebreaks to have
26501 long link text broken at the page margin.
26502 You are furthermore able to change the text style for all URLs in your
26503 document with an option in
26507 's load command and the restrictions mentioned above doesn't apply for
26516 \begin_layout Standard
26522 \begin_layout Chapter
26528 \begin_layout Standard
26541 \begin_layout Standard
26549 \begin_inset LatexCommand index
26555 \begin_inset LatexCommand label
26556 name "cha:Units-available-in"
26561 \begin_inset Note Note
26564 \begin_layout Standard
26567 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26568 are displayed wrongly in PDF-bookmarks.
26569 For more information about this, have a look at
26570 \begin_inset LatexCommand cite
26583 \begin_layout Standard
26584 To understand the units described in this documentation, Table\InsetSpace ~
26586 \begin_inset LatexCommand ref
26587 reference "tab:Units"
26591 explains all units available in LyX.
26594 \begin_layout Standard
26595 \begin_inset Float table
26601 \begin_layout Standard
26602 \begin_inset Caption
26604 \begin_layout Standard
26605 \begin_inset LatexCommand label
26618 \begin_layout Standard
26619 \begin_inset VSpace medskip
26625 \begin_layout Standard
26627 \begin_inset Tabular
26628 <lyxtabular version="3" rows="20" columns="2">
26630 <column alignment="center" valignment="top" leftline="true" width="0">
26631 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26632 <row topline="true" bottomline="true">
26633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26636 \begin_layout Standard
26642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26645 \begin_layout Standard
26652 <row topline="true">
26653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26656 \begin_layout Standard
26662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26665 \begin_layout Standard
26672 <row topline="true">
26673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26676 \begin_layout Standard
26682 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26685 \begin_layout Standard
26692 <row topline="true">
26693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26696 \begin_layout Standard
26702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26705 \begin_layout Standard
26712 <row topline="true">
26713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26716 \begin_layout Standard
26722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26725 \begin_layout Standard
26726 point (72.27\InsetSpace \thinspace{}
26727 pt = 1\InsetSpace \thinspace{}
26734 <row topline="true">
26735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26738 \begin_layout Standard
26744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26747 \begin_layout Standard
26748 pica (1\InsetSpace \thinspace{}
26749 pc = 12\InsetSpace \thinspace{}
26756 <row topline="true">
26757 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26760 \begin_layout Standard
26766 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26769 \begin_layout Standard
26770 scaled point (65536\InsetSpace \thinspace{}
26771 sp = 1\InsetSpace \thinspace{}
26778 <row topline="true">
26779 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26782 \begin_layout Standard
26788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26791 \begin_layout Standard
26792 big point (72\InsetSpace \thinspace{}
26793 bp = 1\InsetSpace \thinspace{}
26800 <row topline="true">
26801 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26804 \begin_layout Standard
26810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26813 \begin_layout Standard
26814 didot (72\InsetSpace \thinspace{}
26816 \begin_inset Formula $\approx$
26819 37.6\InsetSpace \thinspace{}
26826 <row topline="true">
26827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26830 \begin_layout Standard
26836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26839 \begin_layout Standard
26840 cicero (1\InsetSpace \thinspace{}
26841 cc = 12\InsetSpace \thinspace{}
26848 <row topline="true">
26849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26852 \begin_layout Standard
26858 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26861 \begin_layout Standard
26862 % of original image width
26868 <row topline="true">
26869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26872 \begin_layout Standard
26878 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26881 \begin_layout Standard
26888 <row topline="true">
26889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26892 \begin_layout Standard
26898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26901 \begin_layout Standard
26908 <row topline="true">
26909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26912 \begin_layout Standard
26918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26921 \begin_layout Standard
26928 <row topline="true">
26929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26932 \begin_layout Standard
26938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26941 \begin_layout Standard
26948 <row topline="true">
26949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26952 \begin_layout Standard
26958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26961 \begin_layout Standard
26968 <row topline="true">
26969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26972 \begin_layout Standard
26978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26981 \begin_layout Standard
26988 <row topline="true">
26989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26992 \begin_layout Standard
26998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27001 \begin_layout Standard
27012 <row topline="true">
27013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27016 \begin_layout Standard
27022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27025 \begin_layout Standard
27036 <row topline="true" bottomline="true">
27037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27040 \begin_layout Standard
27046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27049 \begin_layout Standard
27050 math unit (1\InsetSpace \thinspace{}
27051 mu = 1/18\InsetSpace \thinspace{}
27070 \begin_layout Chapter
27071 Output File Formats with Graphics
27072 \begin_inset LatexCommand label
27073 name "cha:Output-File-Formats"
27080 \begin_layout Section
27082 \begin_inset LatexCommand index
27083 name "File Formats ! DVI"
27088 \begin_inset LatexCommand index
27089 name "DVI|see{File Formats}"
27096 \begin_layout Standard
27097 This file type has the extension
27098 \begin_inset Quotes eld
27106 \begin_inset Quotes erd
27111 \begin_inset Quotes eld
27115 \begin_inset Quotes erd
27118 (DVI), because it is completely portable; you can move them from one machine
27119 to another without needing to do any sort of conversion.
27120 At the time when this file-format was developed, this was no matter of
27122 DVIs are used for quick previews and as pre-stage for other output formats,
27126 \begin_layout Standard
27127 \begin_inset Note Greyedout
27130 \begin_layout Standard
27135 DVI-files doesn't contain images, they will only be a linked.
27140 So don't forget this, if you move your
27144 file to another computer.
27145 This property can also slow down your computer when you view the DVI.
27146 Because the DVI-viewer has to convert the image in the background to make
27147 it visible when you scroll in the DVI.
27148 So we recommend to use PDF for files with many images.
27151 \begin_layout Standard
27152 You can export your document to DVI by using the menu
27154 File\SpecialChar \menuseparator
27155 Export\SpecialChar \menuseparator
27159 You can view your document as PostScript via the
27163 menu or by using the toolbar button
27164 \begin_inset Graphics
27165 filename ../images/buffer-view_dvi.xpm
27173 \begin_layout Section
27175 \begin_inset LatexCommand label
27176 name "sec:PostScript"
27181 \begin_inset LatexCommand index
27182 name "File Formats ! PostScript\\protect\\pagebreak"
27187 \begin_inset LatexCommand index
27188 name "PostScript|see{File Formats}"
27195 \begin_layout Standard
27196 This file type has the extension
27197 \begin_inset Quotes eld
27205 \begin_inset Quotes erd
27209 PostScript was developed by the company
27213 as printer language.
27214 The file contains therefore commands that the printer uses to print the
27216 PostScript can be seen as
27217 \begin_inset Quotes eld
27220 programming language
27221 \begin_inset Quotes erd
27224 ; you can calculate with it and draw diagrams and images
27228 \begin_layout Standard
27229 If you are interested to learn more about this, have a look at the LaTeX-package
27235 \begin_inset LatexCommand cite
27246 Due to this ability, the files are often bigger than PDFs.
27249 \begin_layout Standard
27250 PostScript can only contain images in the format
27251 \begin_inset Quotes eld
27254 Encapsulated PostScript
27255 \begin_inset Quotes erd
27258 (EPS, file extension
27259 \begin_inset Quotes eld
27267 \begin_inset Quotes erd
27271 As LyX allows you to use any known image format in your document, it has
27272 to convert images in the background to EPS.
27273 If you have e.g 50 images in your document, LyX has to do 50 conversions
27274 whenever you view or export your document.
27275 This will slow down your work flow with LyX drastically.
27276 So if you plan to use PostScript, you can insert your images directly as
27277 EPS to avoid this problem.
27280 \begin_layout Standard
27281 You can export your document to PostScript using the menu
27283 File\SpecialChar \menuseparator
27284 Export\SpecialChar \menuseparator
27288 You can view your document as PostScript via the
27292 menu or by using the toolbar button
27293 \begin_inset Graphics
27294 filename ../images/buffer-view_ps.xpm
27302 \begin_layout Section
27304 \begin_inset LatexCommand label
27310 \begin_inset LatexCommand index
27311 name "File Formats ! PDF"
27316 \begin_inset LatexCommand index
27324 \begin_layout Standard
27325 This file type has the extension
27326 \begin_inset Quotes eld
27334 \begin_inset Quotes erd
27339 \begin_inset Quotes eld
27342 Portable Document Format
27343 \begin_inset Quotes erd
27346 (PDF) is developed by
27350 as derivative from PostScript.
27351 It is more compressed and it uses much less commands than PostScript.
27353 \begin_inset Quotes eld
27357 \begin_inset Quotes erd
27360 implies, it can be processed at any computer system and the printed output
27361 looks exactly the same.
27364 \begin_layout Standard
27365 PDF can contain images in its own PDF format, in the format
27366 \begin_inset Quotes eld
27369 Joint Photographic Experts Group
27370 \begin_inset Quotes erd
27373 (JPG, file extension
27374 \begin_inset Quotes eld
27382 \begin_inset Quotes erd
27386 \begin_inset Quotes eld
27394 \begin_inset Quotes erd
27397 ), and in the format
27398 \begin_inset Quotes eld
27401 Portable Network Graphics
27402 \begin_inset Quotes erd
27405 (PNG, file extension
27406 \begin_inset Quotes eld
27414 \begin_inset Quotes erd
27418 You can although use any other image format, because LyX converts them
27419 in the background to one of these formats.
27420 But as described in the section about PostScript, the image conversion
27421 will slow down your work flow.
27422 So it is recommended to use images in one of the three mentioned formats.
27425 \begin_layout Standard
27426 You can export your document to PDF via the menu
27428 File\SpecialChar \menuseparator
27431 in three different ways:
27434 \begin_layout Description
27435 PDF This uses the program
27439 that creates a PDF from a PostScript-version of your file.
27440 The PostScript-version is produced by the program
27444 which uses a DVI-version as intermediate step.
27445 So this export variant consist of three conversions.
27448 \begin_layout Description
27450 (dvipdfm) This uses the program
27454 that converts your file in the background to DVI and in a second step to
27458 \begin_layout Description
27460 (pdflatex) This uses the program
27464 that converts your file directly to PDF.
27467 \begin_layout Standard
27468 It is recommended to use
27477 supports all features of actual PDF-versions, is quick and works stable
27483 is not under development and therefore a bit outdated.
27486 \begin_layout Standard
27487 You can view your document as PDF via the
27491 menu or by using the toolbar button
27492 \begin_inset Graphics
27493 filename ../images/buffer-view_pdf2.xpm
27510 \begin_layout Chapter
27511 Explanation of Equation\InsetSpace ~
27513 \begin_inset LatexCommand eqref
27519 \begin_inset LatexCommand label
27520 name "cha:Explanation-of-Equation"
27527 \begin_layout Standard
27533 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27536 can be calculated to
27539 \begin_layout Standard
27540 \begin_inset Formula \begin{equation}
27541 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27548 \begin_layout Standard
27550 \begin_inset Formula $W_{g\, n}$
27553 is the given width of all cells.
27560 is the LaTeX-length between the cell text and the cell border, its default
27561 value is 6\InsetSpace \thinspace{}
27569 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27573 \begin_layout Standard
27574 Following equation\InsetSpace ~
27576 \begin_inset LatexCommand eqref
27577 reference "eq:Wtot_n"
27581 , the total width of a multicolumn
27582 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27588 \begin_layout Standard
27589 \begin_inset Formula \begin{equation}
27590 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27597 \begin_layout Standard
27598 By setting equation\InsetSpace ~
27600 \begin_inset LatexCommand eqref
27601 reference "eq:Wtot_n"
27606 \begin_inset LatexCommand eqref
27607 reference "eq:Wtot_mult"
27611 equal we can calculate the needed given width
27612 \begin_inset Formula $W_{g\, n}$
27619 columns are spanned, so that each column has a total width of
27620 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27626 \begin_layout Standard
27627 \begin_inset Formula \begin{equation}
27628 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27635 \begin_layout Bibliography
27636 \begin_inset LatexCommand bibitem
27637 key "latexcompanion"
27641 Frank Mittelbach and Michel Goossens:
27643 The LaTeX Companion Second Edition.
27646 Addison-Wesley, 2004
27649 \begin_layout Bibliography
27650 \begin_inset LatexCommand bibitem
27655 Helmut Kopka and Patrick W.
27658 A Guide to LaTeX Fourth Edition.
27661 Addison-Wesley, 2003
27664 \begin_layout Bibliography
27665 \begin_inset LatexCommand bibitem
27672 LaTeX: A Document Preparation System.
27675 Addison-Wesley, second edition, 1994
27678 \begin_layout Bibliography
27679 \begin_inset LatexCommand bibitem
27688 \begin_layout Standard
27692 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27702 \begin_layout Standard
27709 of the LaTeX-package
27714 \begin_inset LatexCommand index
27715 name "LaTeX-packages ! booktabs"
27722 \begin_layout Bibliography
27723 \begin_inset LatexCommand bibitem
27732 \begin_layout Standard
27736 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27745 \begin_layout Standard
27752 of the LaTeX-package
27757 \begin_inset LatexCommand index
27758 name "LaTeX-packages ! caption"
27765 \begin_layout Bibliography
27766 \begin_inset LatexCommand bibitem
27775 \begin_layout Standard
27779 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27789 \begin_layout Standard
27796 of the LaTeX-package
27801 \begin_layout Bibliography
27802 \begin_inset LatexCommand bibitem
27811 \begin_layout Standard
27815 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27825 \begin_layout Standard
27832 of the LaTeX-package
27834 endf\SpecialChar \textcompwordmark{}
27838 \begin_inset LatexCommand index
27839 name "LaTeX-packages ! endfloat"
27846 \begin_layout Bibliography
27847 \begin_inset LatexCommand bibitem
27856 \begin_layout Standard
27860 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27870 \begin_layout Standard
27877 of the LaTeX-package
27879 floatf\SpecialChar \textcompwordmark{}
27883 \begin_inset LatexCommand index
27884 name "LaTeX-packages ! floatflt"
27891 \begin_layout Bibliography
27892 \begin_inset LatexCommand bibitem
27901 \begin_layout Standard
27905 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27915 \begin_layout Standard
27922 of the LaTeX-package
27927 \begin_inset LatexCommand index
27928 name "LaTeX-packages ! footmisc"
27935 \begin_layout Bibliography
27936 \begin_inset LatexCommand bibitem
27945 \begin_layout Standard
27949 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27958 \begin_layout Standard
27965 of the LaTeX-package
27970 \begin_inset LatexCommand index
27971 name "LaTeX-packages ! hyperref"
27978 \begin_layout Bibliography
27979 \begin_inset LatexCommand bibitem
27988 \begin_layout Standard
27992 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
28002 \begin_layout Standard
28009 of the LaTeX-package
28014 \begin_inset LatexCommand index
28015 name "LaTeX-packages ! hyperref"
28022 \begin_layout Bibliography
28023 \begin_inset LatexCommand bibitem
28032 \begin_layout Standard
28036 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28046 \begin_layout Standard
28053 of the LaTeX-package
28058 \begin_inset LatexCommand index
28059 name "LaTeX-packages ! koma-script"
28066 \begin_layout Bibliography
28067 \begin_inset LatexCommand bibitem
28068 key "koma-script-de"
28076 \begin_layout Standard
28080 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28090 \begin_layout Standard
28097 of the LaTeX-package
28102 \begin_inset LatexCommand index
28103 name "LaTeX-packages ! koma-script"
28110 \begin_layout Bibliography
28111 \begin_inset LatexCommand bibitem
28120 \begin_layout Standard
28124 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28134 \begin_layout Standard
28141 of the LaTeX-package
28146 \begin_inset LatexCommand index
28147 name "LaTeX-packages ! marginnote"
28154 \begin_layout Bibliography
28155 \begin_inset LatexCommand bibitem
28164 \begin_layout Standard
28168 href{http://tug.org/PSTricks/main.cgi/}{
28177 \begin_layout Standard
28184 of the LaTeX-package
28189 \begin_inset LatexCommand index
28190 name "LaTeX-packages ! PSTricks"
28197 \begin_layout Bibliography
28198 \begin_inset LatexCommand bibitem
28207 \begin_layout Standard
28211 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28220 \begin_layout Standard
28227 of the LaTeX-package
28232 \begin_inset LatexCommand index
28233 name "LaTeX-packages ! sidecap"
28240 \begin_layout Bibliography
28241 \begin_inset LatexCommand bibitem
28250 \begin_layout Standard
28254 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28263 \begin_layout Standard
28270 about new LyX-features planned for the release
28277 \begin_layout Standard
28278 \begin_inset LatexCommand printindex
28285 \begin_layout Standard
28286 \begin_inset FloatList figure
28293 \begin_layout Standard
28294 \begin_inset FloatList table