1 #LyX 1.5.0svn created this file. For more info see http://www.lyx.org/
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13 {\usepackage{lmodern}} % if it exists
15 \usepackage[scaled=0.92]{helvet}
18 } % end if it exists not
20 % link all cross references and URLs
22 \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
23 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
24 pdfpagelayout=OneColumn, pdfnewwindow=true,
25 pdfstartview=XYZ, plainpages=false, pdfpagelabels,
26 pdfauthor={LyX Team}, pdftex,
27 pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
28 pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
29 pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
31 \else % if dvi or ps is produced
33 % link all cross references and URLs in DVI output
34 \usepackage[ps2pdf, colorlinks=true,
35 linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
37 \fi % end if pdflatex is used
39 % that links to image floats jumps
40 % to the beginning of the float and
42 \usepackage[figure]{hypcap}
44 % the pages of the TOC are numbered roman
45 % and a PDF-bookmark for the TOC is added
47 \let\myTOC\tableofcontents
48 \renewcommand{\tableofcontents}{%
49 \pdfbookmark[1]{Contents}{}
52 \pagenumbering{arabic}}
54 % provides caption formatting
55 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}
57 % provides commands to set caption
58 % beside tables/images
61 \newcommand{\TabBesBeg}{%
63 \let\MyEndtable\endtable
64 \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
66 \newcommand{\TabBesEnd}{%
68 \let\endtable\MyEndtable}
70 \newcommand{\FigBesBeg}{%
72 \let\MyEndfigure\endfigure
73 \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
75 \newcommand{\FigBesEnd}{%
77 \let\endfigure\MyEndfigure}
79 % enables calculation of values,
82 % provides special table cell alignments
85 % increase the bottom float placement fraction
86 \renewcommand{\bottomfraction}{0.5}
88 % avoids that floats are placed before their
89 % corresponding section starts
90 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
92 % speed up the longtable calculation
93 \setcounter{LTchunksize}{100}
95 % define a new reference format
97 {Figure~float~\ref{#1} printed on page~\pageref{#1}}
99 % used for colored tables
100 \@ifundefined{textcolor}
101 {\usepackage{color}}{}
102 \usepackage{colortbl}
103 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
104 \definecolor{lightgrey}{gray}{0.8}
107 \usepackage{multirow}
108 %\renewcommand{\multirowsetup}{\centering}
110 % used for book-style tables
111 \usepackage{booktabs}
113 % used to have extra space in table cells,
114 \setlength{\extrarowheight}{2pt}
116 % used for customized tables
119 {>{\centering\hspace{0pt}}m{#1}}
122 {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
125 {>{\columncolor{#1}\hspace{0pt}}c}
127 \newcolumntype{V}{!{\vrule width 1.5pt}}
129 \newcolumntype{W}{!{\color{green}\vline}}
132 % To be able to enter the characters ° and · directly in LyX
133 \DeclareInputText{176}{\ifmmode^\circ\else\textdegree\fi}
134 \DeclareInputText{183}{\ifmmode\cdot\else\textperiodcentered\fi}
136 % insert additional vertical space of
137 % 1.5 mm between footnotes
139 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
141 % enable algorithm floats to be referenced
142 \newfloat{Xalgorithm}{tbp}{loa}
143 \floatname{Xalgorithm}{Algorithm}
144 \newcommand{\theHalgorithm}{\theHXalgorithm}
145 \renewenvironment{algorithm}[1][tbp]
146 {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
148 % number algorithm floats within chapters
149 \numberwithin{Xalgorithm}{chapter}
151 % redefine the greyed out note
152 \renewenvironment{lyxgreyedout}
153 {\textcolor{blue}\bgroup}{\egroup}
155 % ------------------------------------
156 % used to check for needed LaTeX packages
159 % check for package arydshln
160 % used for tables with dashed lines
161 \newboolean{arydshln}
162 \IfFileExists{arydshln.sty}
163 {\usepackage{arydshln}
164 \setboolean{arydshln}{true}}
165 {\setboolean{arydshln}{false}}
167 % check for package marginnote
168 % used for margin notes
169 \newboolean{marginnote}
170 \IfFileExists{marginnote.sty}
171 {\usepackage{marginnote}
172 \let\marginpar\marginnote
173 \setboolean{marginnote}{true}}
174 {\setboolean{marginnote}{false}}
176 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage
181 \font_typewriter default
182 \font_default_family default
196 \paperorientation portrait
199 \paragraph_separation skip
201 \quotes_language english
204 \paperpagestyle default
208 \tracking_changes false
217 LyX's detailed Figure, Table, Floats, Notes, and Boxes manual
225 \begin_layout Standard
227 If you have comments or error corrections, please send them to the LyX Documenta
234 \begin_layout Standard
238 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
243 lyx-docs@lists.lyx.org
247 \begin_layout Standard
260 \begin_inset Note Note
263 \begin_layout Standard
264 original author: Uwe Stöhr
280 \begin_layout Standard
281 \begin_inset LatexCommand tableofcontents
288 \begin_layout Standard
289 \begin_inset Note Note
292 \begin_layout Standard
293 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
303 If they are not installed you can export the document anyway but the sections
304 where the packages are required won't appear in the output.
307 \begin_layout Standard
308 The latest PDF-version of this document can be found here:
312 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
320 \begin_layout Chapter
322 \begin_inset LatexCommand label
328 \begin_inset LatexCommand index
336 \begin_layout Section
338 \begin_inset LatexCommand index
339 name "Figure ! Graphics Dialog"
346 \begin_layout Standard
347 To insert an image into your document, place the cursor at the text position
348 you want and click on the toolbar icon
349 \begin_inset Graphics
350 filename ../images/dialog-show-new-inset_graphics.xpm
357 Insert\SpecialChar \menuseparator
361 Then a dialog will appear to choose the file to load.
362 The image will appear in the output exactly at the position where it is
366 \begin_layout Standard
367 The graphics dialog can be called at any time by right-clicking on an image.
368 This dialog has three tabs:
371 \begin_layout Description
376 Here you can choose an image file and adjust its appearance in the output.
377 The available units for the image size are explained in appendix\InsetSpace ~
379 \begin_inset LatexCommand ref
380 reference "cha:Units-available-in"
386 You can rotate images counter-clockwise by setting a rotation angle and
388 The image will also be rotated inside LyX.
391 \begin_layout Description
396 Alternatively to the usage of scaling units it is possible to set image
397 coordinates to adjust the height and width of the image in the output.
398 The coordinates can also be calculated automatically by pressing the button
410 bounding\InsetSpace ~
413 will only print the image region within the given coordinates.
414 Normally you don't need to take care about image coordinates and can ignore
418 \begin_layout Description
424 In this tab you can modify the appearance of the image within LyX and set
425 the image to be a subfigure of a figure float with an own caption.
426 Subfigures are explained in section\InsetSpace ~
428 \begin_inset LatexCommand ref
429 reference "sec:Figure-Floats"
435 LaTeX experts can also specify on this tab additional LaTeX options.
443 makes the image appear in the output only as a frame with the size of the
453 option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
460 When the option is used the images will not be unzipped on export, since
461 LaTeX can handle them as they are.
463 Zipped EPS-graphics are useful to save
464 disk space when you choose PostScript as output format, see appendix\InsetSpace ~
466 \begin_inset LatexCommand ref
467 reference "sec:PostScript"
472 To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
483 zgrep %%Bounding x.eps.gz > x.eps.bb
487 The second command creates the bounding box file
488 \begin_inset Quotes eld
492 \begin_inset Quotes erd
495 that is needed by LaTeX for zipped graphics.
498 \begin_layout Standard
501 This is an example image in EPS format
505 \begin_layout Standard
506 Image formats are explained in section\InsetSpace ~
508 \begin_inset LatexCommand ref
509 reference "sec:Image-Formats"
518 within a separate, horizontally centered paragraph:
521 \begin_layout Standard
523 \begin_inset Graphics
534 \begin_layout Standard
535 This is the same image like the one above but in draft mode:
538 \begin_layout Standard
540 \begin_inset Graphics
552 \begin_layout Section
554 \begin_inset LatexCommand label
555 name "sec:Figure-Floats"
560 \begin_inset LatexCommand index
561 name "Floats ! Figure Floats"
566 \begin_inset LatexCommand index
567 name "Figure ! Floats"
574 \begin_layout Standard
575 For general explanations about floats, have a look at section\InsetSpace ~
577 \begin_inset LatexCommand ref
578 reference "sec:FloatIntroduction"
585 \begin_layout Standard
587 \begin_inset Graphics
588 filename ../images/float-insert_figure.xpm
595 Insert\SpecialChar \menuseparator
596 Float\SpecialChar \menuseparator
599 inserts a float with the label
600 \begin_inset Quotes eld
609 \begin_inset Quotes erd
613 Set the cursor behind this label, press Enter and insert the image as described
614 above to get the caption printed below the image.
615 This was done for Figure\InsetSpace ~
617 \begin_inset LatexCommand ref
618 reference "fig:kill-plat"
623 If you want the caption to be above the image, set the cursor at the end
624 of the caption, press enter and insert the image.
625 This was done in Figure\InsetSpace ~
627 \begin_inset LatexCommand ref
628 reference "fig:escher"
633 More about the caption placement is described in section\InsetSpace ~
635 \begin_inset LatexCommand ref
636 reference "sec:Caption-Placement"
643 \begin_layout Standard
644 \begin_inset Float figure
649 \begin_layout Standard
651 \begin_inset Graphics
652 filename platypus.eps
662 \begin_layout Standard
665 \begin_layout Standard
666 \begin_inset LatexCommand label
671 A severely distorted platypus in a float.
684 \begin_layout Standard
685 \begin_inset Float figure
690 \begin_layout Standard
693 \begin_layout Standard
694 \begin_inset LatexCommand label
708 \begin_layout Standard
710 \begin_inset Graphics
711 filename escher-lsd.eps
726 \begin_layout Standard
727 \begin_inset LatexCommand index
728 name "References ! to Figures"
734 \begin_inset LatexCommand ref
735 reference "fig:kill-plat"
740 \begin_inset LatexCommand ref
741 reference "fig:escher"
745 are examples of cross-referenced figures.
746 Figures can be cross-referenced in the text by referencing their label.
747 To do this insert a label in the caption using the menu
749 Insert\SpecialChar \menuseparator
752 or the toolbar button
753 \begin_inset Graphics
754 filename ../images/label-insert.xpm
760 You can now refer to the label using the menu
762 Insert\SpecialChar \menuseparator
766 or the toolbar button
767 \begin_inset Graphics
768 filename ../images/dialog-show-new-inset_ref.xpm
774 It is important to use references to floats, rather than using vague references
776 \begin_inset Quotes eld
780 \begin_inset Quotes erd
783 , because as LaTeX will reposition the floats in the final document, it
785 \begin_inset Quotes eld
789 \begin_inset Quotes erd
795 \begin_layout Standard
796 Normally only one image is inserted to a figure float, but sometimes you
797 might want to use two images with separate subcaptions.
798 This can be set in the tab
803 of the graphics dialog.
804 Choose there the option
808 and enter the subcaption for the image in the caption field.
809 Note that only the main caption of the float is added to the List of Figures.
812 \begin_layout Standard
815 \begin_inset LatexCommand ref
816 reference "fig:Two-distorted-images"
820 is an example of a figure float with two images set side by side.
821 You can also set the images one below the other.
824 \begin_layout Standard
825 \begin_inset Float figure
830 \begin_layout Standard
834 \begin_inset Graphics
835 filename escher-lsd.eps
838 subcaptionText "Undefinable structure"
845 \begin_inset Graphics
846 filename platypus.eps
850 subcaptionText "Platypus"
859 \begin_layout Standard
862 \begin_layout Standard
863 \begin_inset LatexCommand label
864 name "fig:Two-distorted-images"
868 Two distorted images.
881 \begin_layout Section
883 \begin_inset LatexCommand label
884 name "sec:Image-Formats"
889 \begin_inset LatexCommand index
895 \begin_inset LatexCommand index
896 name "Figure ! Image Formats"
903 \begin_layout Standard
904 You can insert images in any known file format.
905 But as explained in appendix\InsetSpace ~
907 \begin_inset LatexCommand ref
908 reference "cha:Output-File-Formats"
912 , every output document format allows only a few image formats.
913 LyX uses therefore the program
917 in the background to convert the images to the right format.
918 To increase your work flow by avoiding these conversions in the background,
919 you can use only the image formats that can directly be embedded in the
921 The output file formats are explained in appendix\InsetSpace ~
923 \begin_inset LatexCommand ref
924 reference "cha:Output-File-Formats"
931 \begin_layout Standard
932 Similar to fonts there are two types of image formats:
935 \begin_layout Description
937 images consist of pixel values, often in a compressed form.
938 They are therefore not fully scalable and look pixeled in large zooms.
939 Well-known bitmap image formats are
940 \begin_inset Quotes eld
943 Graphics Interchange Format
944 \begin_inset Quotes erd
948 \begin_inset Quotes eld
956 \begin_inset Quotes erd
960 \begin_inset LatexCommand index
961 name "GIF|see{Image formats}"
966 \begin_inset Quotes eld
969 Portable Network Graphics
970 \begin_inset Quotes erd
974 \begin_inset Quotes eld
982 \begin_inset Quotes erd
986 \begin_inset LatexCommand index
987 name "PNG|see{Image formats}"
992 \begin_inset Quotes eld
995 Joint Photographic Experts Group
996 \begin_inset Quotes erd
1000 \begin_inset Quotes eld
1008 \begin_inset Quotes erd
1012 \begin_inset Quotes eld
1020 \begin_inset Quotes erd
1024 \begin_inset LatexCommand index
1025 name "JPG|see{Image formats}"
1032 \begin_layout Description
1034 images consist of vectors and can therefore be scaled to any size
1036 The scaling ability is necessary if you want to create presentations, because
1037 presentations are always scaled by the video projector.
1038 Scaling is also useful for online documents to let the user zoom into diagrams.
1041 ell-known scalable image formats are
1042 \begin_inset Quotes eld
1045 Scalable Vector Graphics
1046 \begin_inset Quotes erd
1049 (SVG, file extension
1050 \begin_inset Quotes eld
1058 \begin_inset Quotes erd
1062 \begin_inset LatexCommand index
1063 name "SVG|see{Image formats}"
1068 \begin_inset Quotes eld
1071 Encapsulated PostScript
1072 \begin_inset Quotes erd
1075 (EPS, file extension
1076 \begin_inset Quotes eld
1084 \begin_inset Quotes erd
1088 \begin_inset LatexCommand index
1089 name "EPS|see{Image formats}"
1094 \begin_inset Quotes eld
1097 Portable Document Format
1098 \begin_inset Quotes erd
1101 (PDF, file extension
1102 \begin_inset Quotes eld
1110 \begin_inset Quotes erd
1114 \begin_inset LatexCommand index
1120 \begin_inset Quotes eld
1124 \begin_inset Quotes erd
1127 (WMF, file extension
1128 \begin_inset Quotes eld
1136 \begin_inset Quotes erd
1140 \begin_inset LatexCommand index
1141 name "SVG|see{Image formats}"
1147 \begin_inset Quotes eld
1151 \begin_inset Quotes erd
1154 , because you can convert any bitmap image to a PDF or EPS-image and the
1155 result will still be a bitmap image.
1156 In this cases only a header with the image properties is added to the original
1161 \begin_layout Standard
1162 In the case of PDF, the original image is additionally compressed.
1168 The PDF-files generated by
1172 are for example bitmap images.
1175 \begin_layout Standard
1176 Normally it is not possible to convert a bitmap image into a scalable one,
1178 Only the image formats PDF and EPS can directly be embedded to PDF and
1179 PostScript output files, respectively.
1180 SVG and WMF-images are currently recalculated to bitmaps when the output
1181 file is generated because there is currently no adequate WMF/SVG
1182 \begin_inset Formula $\to$
1185 PDF/EPS converter available.
1188 \begin_layout Chapter
1190 \begin_inset LatexCommand label
1196 \begin_inset LatexCommand index
1204 \begin_layout Section
1206 \begin_inset LatexCommand index
1207 name "Table ! Introduction"
1214 \begin_layout Standard
1215 You can insert a table using either the toolbar button
1216 \begin_inset Graphics
1217 filename ../images/tabular-insert.xpm
1224 Insert\SpecialChar \menuseparator
1228 The toolbar button offers you a graphical selection: Move the mouse to
1229 set the column/row number of the table that should be created and then
1230 press a mouse button.
1231 When you use the menu to create a table, a dialog will appear, asking you
1232 for the number of rows and columns.
1234 The default table has lines around any
1235 cell and the first row appears separated from the rest of the table.
1236 This separation occurs due to a double line: The cells of the first row
1237 have a line below them and the cells of the second row have a line above
1239 Here is an example table:
1242 \begin_layout Standard
1244 \begin_inset Tabular
1245 <lyxtabular version="3" rows="4" columns="4">
1247 <column alignment="center" valignment="top" leftline="true" width="0">
1248 <column alignment="center" valignment="top" leftline="true" width="0">
1249 <column alignment="center" valignment="top" leftline="true" width="0">
1250 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1251 <row topline="true" bottomline="true">
1252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1255 \begin_layout Standard
1261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1264 \begin_layout Standard
1279 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1282 \begin_layout Standard
1288 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1291 \begin_layout Standard
1298 <row topline="true">
1299 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1302 \begin_layout Standard
1317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1320 \begin_layout Standard
1326 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1329 \begin_layout Standard
1335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1338 \begin_layout Standard
1345 <row topline="true">
1346 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1349 \begin_layout Standard
1364 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1367 \begin_layout Standard
1373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1376 \begin_layout Standard
1382 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1385 \begin_layout Standard
1392 <row topline="true" bottomline="true">
1393 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1396 \begin_layout Standard
1411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1414 \begin_layout Standard
1420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1423 \begin_layout Standard
1429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1432 \begin_layout Standard
1446 \begin_layout Section
1448 \begin_inset LatexCommand index
1449 name "Table ! Dialog"
1456 \begin_layout Standard
1457 You can alter a table by clicking on it with the right mouse button, which
1458 brings up the table dialog.
1459 Here you can adjust the settings of that cell and row/column respectively
1460 where the cursor is currently placed.
1461 Most of the dialog options also work on selections.
1462 This means if you select more cells, columns or rows, the action is done
1463 for the whole selection.
1464 Note that there is a difference between selecting the
1468 of the cell, and the cell itself.
1469 You can alter tables with the following tabs of the table dialog:
1472 \begin_layout Description
1478 Here you can set the horizontal alignment for the current row and the width
1479 of the current column.
1480 When you have set a width you can also adjust the vertical alignment of
1482 A given width will allow the cell to have line breaks and multiple paragraphs
1483 of text, see section\InsetSpace ~
1485 \begin_inset LatexCommand ref
1486 reference "sub:Multiple-Lines-in"
1491 If you set no width, the column is as wide as their widest cell content
1494 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1495 cell, see section\InsetSpace ~
1497 \begin_inset LatexCommand ref
1498 reference "sub:Multicolumns"
1504 The rotate check boxes rotates the current cell, a selection, or the whole
1505 table counter-clockwise by 90°.
1506 The rotation is not shown within LyX, only in the output.
1509 \begin_inset Note Greyedout
1512 \begin_layout Standard
1517 Not all DVI-viewers are able to display rotations.
1524 It is also possible to enter a LaTeX-argument which is needed for special
1525 table formattings, see section\InsetSpace ~
1527 \begin_inset LatexCommand ref
1528 reference "sub:Multicolumn-Calculations"
1533 \begin_inset LatexCommand ref
1534 reference "sec:Colored-Tables"
1541 \begin_layout Description
1546 In this tab you can add and delete border lines for the current row/column.
1553 will convert the table to a formal table as described in section\InsetSpace ~
1555 \begin_inset LatexCommand ref
1556 reference "sec:Formal-Tables"
1562 You can also add here space to table rows as decribed in section\InsetSpace ~
1564 \begin_inset LatexCommand ref
1565 reference "sub:Row-Spacing"
1572 \begin_layout Description
1577 This tab is to make a table a so called
1578 \begin_inset Quotes eld
1586 \begin_inset Quotes erd
1589 that can run over several pages.
1590 Section\InsetSpace ~
1592 \begin_inset LatexCommand ref
1593 reference "sec:Longtables"
1598 \begin_inset LatexCommand ref
1599 reference "sec:Special-Longtable-Issues"
1603 describe the longtable features in detail.
1606 \begin_layout Standard
1607 When the table toolbar is opened, you can move the cursor with the arrow
1608 keys from cell to cell and the property of the current cell will immediately
1609 be displayed in the dialog.
1612 \begin_layout Section
1614 \begin_inset LatexCommand index
1615 name "Table ! Toolbar"
1622 \begin_layout Standard
1623 The table toolbar is an alternative to the table dialog to be able to alter
1625 It should normally appear at the bottom of LyX's main window when the cursor
1627 You can alternatively switch it on to appear always, by right-clicking
1628 in LyX's main menu bar.
1631 \begin_layout Standard
1632 The toolbar has the following icons:
1635 \begin_layout Labeling
1636 \labelwidthstring 00.00.0000
1637 \begin_inset Graphics
1638 filename ../images/tabular-feature_append-row.xpm
1642 adds a row below the current cell or selection
1645 \begin_layout Labeling
1646 \labelwidthstring 00.00.0000
1647 \begin_inset Graphics
1648 filename ../images/tabular-feature_append-column.xpm
1652 adds a column right beside the current cell or selection
1655 \begin_layout Labeling
1656 \labelwidthstring 00.00.0000
1657 \begin_inset Graphics
1658 filename ../images/tabular-feature_delete-row.xpm
1662 deletes the current row or selection
1665 \begin_layout Labeling
1666 \labelwidthstring 00.00.0000
1667 \begin_inset Graphics
1668 filename ../images/tabular-feature_delete-column.xpm
1672 deletes the current column or selection
1675 \begin_layout Labeling
1676 \labelwidthstring 00.00.0000
1677 \begin_inset Graphics
1678 filename ../images/tabular-feature_toggle-line-top.xpm
1682 adds a line at the top of the current cell / row or of a selection
1685 \begin_layout Labeling
1686 \labelwidthstring 00.00.0000
1687 \begin_inset Graphics
1688 filename ../images/tabular-feature_toggle-line-bottom.xpm
1692 adds a line at the bottom of the current cell / row or of a selection
1695 \begin_layout Labeling
1696 \labelwidthstring 00.00.0000
1697 \begin_inset Graphics
1698 filename ../images/tabular-feature_toggle-line-left.xpm
1702 adds a line at the left side 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-right.xpm
1712 adds a line at the right side 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_set-all-lines.xpm
1722 adds lines around the current or selected cells - if the current cell no
1723 multicolumn this also affects the current row and column
1726 \begin_layout Labeling
1727 \labelwidthstring 00.00.0000
1728 \begin_inset Graphics
1729 filename ../images/tabular-feature_unset-all-lines.xpm
1733 deletes all lines of the current or selected cells - if the current cell
1734 no multicolumn this also affects the current row and column
1737 \begin_layout Labeling
1738 \labelwidthstring 00.00.0000
1739 \begin_inset Graphics
1740 filename ../images/tabular-feature_align-left.xpm
1744 left-aligns the content of the current cell / column
1747 \begin_layout Labeling
1748 \labelwidthstring 00.00.0000
1749 \begin_inset Graphics
1750 filename ../images/tabular-feature_align-center.xpm
1754 centers the content of the current cell / column horizontally
1757 \begin_layout Labeling
1758 \labelwidthstring 00.00.0000
1759 \begin_inset Graphics
1760 filename ../images/tabular-feature_align-right.xpm
1764 right-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_valign-top.xpm
1774 aligns the content of the current cell vertically to the top
1777 \begin_layout Labeling
1778 \labelwidthstring 00.00.0000
1779 \begin_inset Graphics
1780 filename ../images/tabular-feature_valign-middle.xpm
1784 centers the content of the current cell vertically
1787 \begin_layout Labeling
1788 \labelwidthstring 00.00.0000
1789 \begin_inset Graphics
1790 filename ../images/tabular-feature_valign-bottom.xpm
1794 aligns the content of the current cell vertically to the bottom
1797 \begin_layout Labeling
1798 \labelwidthstring 00.00.0000
1799 \begin_inset Graphics
1800 filename ../images/tabular-feature_set-rotate-cell.xpm
1804 rotates the current cell or selection counter-clockwise by 90°
1807 \begin_layout Labeling
1808 \labelwidthstring 00.00.0000
1809 \begin_inset Graphics
1810 filename ../images/tabular-feature_set-rotate-tabular.xpm
1814 rotates the whole table counter-clockwise by 90°
1817 \begin_layout Labeling
1818 \labelwidthstring 00.00.0000
1819 \begin_inset Graphics
1820 filename ../images/tabular-feature_multicolumn.xpm
1824 sets the current cell or selection as a multicolumn
1827 \begin_layout Section
1829 \begin_inset LatexCommand index
1830 name "Table ! Edit Menu"
1837 \begin_layout Standard
1838 Additionally to the table dialog and toolbar, the menu
1840 Edit\SpecialChar \menuseparator
1843 allows you to add and delete border lines for the current row/column and
1844 to set the current selection as multicolumn.
1845 The menu is only available when the cursor is inside a table.
1848 \begin_layout Section
1850 \begin_inset LatexCommand label
1851 name "sec:Table-Floats"
1856 \begin_inset LatexCommand index
1857 name "Floats ! Tables"
1862 \begin_inset LatexCommand index
1863 name "Table ! Floats"
1870 \begin_layout Standard
1871 For general explanations about floats, have a look at section\InsetSpace ~
1873 \begin_inset LatexCommand ref
1874 reference "sec:FloatIntroduction"
1881 \begin_layout Standard
1882 \begin_inset Float table
1888 \begin_layout Standard
1889 \begin_inset Caption
1891 \begin_layout Standard
1892 \begin_inset LatexCommand label
1893 name "tab:a table float"
1905 \begin_layout Standard
1907 \begin_inset Tabular
1908 <lyxtabular version="3" rows="3" columns="3">
1910 <column alignment="center" valignment="top" leftline="true" width="0pt">
1911 <column alignment="center" valignment="top" leftline="true" width="0pt">
1912 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
1913 <row topline="true" bottomline="true">
1914 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1917 \begin_layout Standard
1932 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
1935 \begin_layout Standard
1950 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
1953 \begin_layout Standard
1969 <row topline="true">
1970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1973 \begin_layout Standard
1988 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1991 \begin_layout Standard
2006 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2009 \begin_layout Standard
2025 <row topline="true" bottomline="true">
2026 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2029 \begin_layout Standard
2039 \begin_inset Formula $\int x^{2}dx$
2047 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2050 \begin_layout Standard
2060 \begin_inset Formula $\left[\begin{array}{cc}
2062 c & d\end{array}\right]$
2070 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2073 \begin_layout Standard
2083 \begin_inset Formula $1+1=2$
2104 \begin_layout Standard
2105 Table floats can be inserted using the menu
2107 Insert\SpecialChar \menuseparator
2108 Float\SpecialChar \menuseparator
2111 or the toolbar button
2112 \begin_inset Graphics
2113 filename ../images/float-insert_table.xpm
2121 \begin_layout Standard
2122 The float appears as a collapsible box with the label
2123 \begin_inset Quotes eld
2132 \begin_inset Quotes erd
2136 The text following the label is the caption of the table.
2137 To insert a table to the the float set the cursor at the end of the caption
2138 text, press enter and insert the table.
2139 The caption is now printed above the table.
2142 \begin_layout Standard
2145 \begin_inset LatexCommand ref
2146 reference "tab:a table float"
2150 is an example table within a table float.
2153 \begin_layout Standard
2154 Having the caption above the table is the common rule that is unfortunately
2155 not supported in LaTeX's standard classes.
2156 That means if you are using the document classes
2172 there will be no space between the caption and the table.
2173 To insert the needed space, add the following option to the load command
2174 of the LaTeX-package
2179 \begin_inset LatexCommand index
2180 name "LaTeX-packages ! caption"
2184 in your document preamble
2188 \begin_layout Standard
2189 For more information have a look at section\InsetSpace ~
2191 \begin_inset LatexCommand ref
2192 reference "sec:Caption-Placement"
2204 \begin_layout Standard
2210 \begin_layout Standard
2215 , which is described in section\InsetSpace ~
2217 \begin_inset LatexCommand ref
2218 reference "sec:Caption-Formatting"
2222 , is used to adjust the caption format.
2225 \begin_layout Standard
2226 \begin_inset LatexCommand index
2227 name "References ! to Tables"
2231 Tables can be cross-referenced in the text by referencing their label.
2232 To do this insert a label in the caption using the menu
2234 Insert\SpecialChar \menuseparator
2237 or the toolbar button
2238 \begin_inset Graphics
2239 filename ../images/label-insert.xpm
2245 You can now refer to the label using the menu
2247 Insert\SpecialChar \menuseparator
2251 or the toolbar button
2252 \begin_inset Graphics
2253 filename ../images/dialog-show-new-inset_ref.xpm
2261 \begin_layout Standard
2265 \begin_layout Section
2267 \begin_inset LatexCommand label
2268 name "sec:Longtables"
2273 \begin_inset LatexCommand index
2279 \begin_inset LatexCommand index
2280 name "Table ! Longtables"
2287 \begin_layout Standard
2288 If the table is too long to fit on one page, you can use the option
2298 of the table dialog to split the table automatically over more pages.
2299 Doing this enables some check boxes and you can now define:
2302 \begin_layout Description
2307 : The current row and all rows above, that don't have any special options
2308 defined, are defined to be the header rows of all pages of the longtable;
2309 except for the first page, if
2315 This therefore called the main header.
2318 \begin_layout Description
2324 : The current row and all rows above, that don't have any special options
2325 defined, are defined to be the header rows of the first page of the longtable.
2328 \begin_layout Description
2333 : The current row and all rows below, that don't have any special options
2334 defined, are defined to be the footer rows of all pages of the longtable;
2335 except for the last page, if
2343 \begin_layout Description
2349 : The current row and all rows below, that don't have any special options
2350 defined, are defined to be the footer rows of the last page of the longtable.
2353 \begin_layout Standard
2354 You can also specify a row where the table is splitted.
2355 If you set more than one option in the same table row, you should be aware
2356 of the fact that only the first one is used in the given table row.
2357 The others will then be defined as
2362 In this context, first means first in this order:
2364 Footer, Last\InsetSpace ~
2380 See the following longtable to see how it works:
2383 \begin_layout Standard
2385 \begin_inset Tabular
2386 <lyxtabular version="3" rows="69" columns="3">
2387 <features islongtable="true">
2388 <column alignment="left" valignment="top" leftline="true" width="0cm">
2389 <column alignment="left" valignment="top" width="0pt">
2390 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2391 <row topline="true" bottomline="true" endfirsthead="true">
2392 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2395 \begin_layout Standard
2398 Example Phone List (ignore the names)
2403 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2406 \begin_layout Standard
2412 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2415 \begin_layout Standard
2422 <row topline="true" bottomline="true" endfirsthead="true">
2423 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2426 \begin_layout Standard
2434 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2437 \begin_layout Standard
2443 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2446 \begin_layout Standard
2455 <row topline="true" bottomline="true" endhead="true">
2456 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2459 \begin_layout Standard
2467 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2470 \begin_layout Standard
2476 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2479 \begin_layout Standard
2486 <row topline="true" bottomline="true" endhead="true">
2487 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2490 \begin_layout Standard
2498 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2501 \begin_layout Standard
2507 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2510 \begin_layout Standard
2519 <row topline="true" bottomline="true" endfoot="true">
2520 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2523 \begin_layout Standard
2524 continued on next page
2529 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2532 \begin_layout Standard
2538 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2541 \begin_layout Standard
2549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2552 \begin_layout Standard
2560 <cell alignment="center" valignment="top" topline="true" usebox="none">
2563 \begin_layout Standard
2569 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2572 \begin_layout Standard
2580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2583 \begin_layout Standard
2591 <cell alignment="center" valignment="top" topline="true" usebox="none">
2594 \begin_layout Standard
2600 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2603 \begin_layout Standard
2611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2614 \begin_layout Standard
2622 <cell alignment="center" valignment="top" topline="true" usebox="none">
2625 \begin_layout Standard
2631 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2634 \begin_layout Standard
2642 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2645 \begin_layout Standard
2653 <cell alignment="center" valignment="top" topline="true" usebox="none">
2656 \begin_layout Standard
2662 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2665 \begin_layout Standard
2673 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2676 \begin_layout Standard
2684 <cell alignment="center" valignment="top" topline="true" usebox="none">
2687 \begin_layout Standard
2693 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2696 \begin_layout Standard
2704 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2707 \begin_layout Standard
2715 <cell alignment="center" valignment="top" topline="true" usebox="none">
2718 \begin_layout Standard
2724 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2727 \begin_layout Standard
2735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2738 \begin_layout Standard
2746 <cell alignment="center" valignment="top" topline="true" usebox="none">
2749 \begin_layout Standard
2755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2758 \begin_layout Standard
2766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2769 \begin_layout Standard
2777 <cell alignment="center" valignment="top" topline="true" usebox="none">
2780 \begin_layout Standard
2786 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2789 \begin_layout Standard
2797 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2800 \begin_layout Standard
2808 <cell alignment="center" valignment="top" topline="true" usebox="none">
2811 \begin_layout Standard
2817 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2820 \begin_layout Standard
2828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2831 \begin_layout Standard
2839 <cell alignment="center" valignment="top" topline="true" usebox="none">
2842 \begin_layout Standard
2848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2851 \begin_layout Standard
2859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2862 \begin_layout Standard
2870 <cell alignment="center" valignment="top" topline="true" usebox="none">
2873 \begin_layout Standard
2879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2882 \begin_layout Standard
2890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2893 \begin_layout Standard
2901 <cell alignment="center" valignment="top" topline="true" usebox="none">
2904 \begin_layout Standard
2910 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2913 \begin_layout Standard
2921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2924 \begin_layout Standard
2932 <cell alignment="center" valignment="top" topline="true" usebox="none">
2935 \begin_layout Standard
2941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2944 \begin_layout Standard
2952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2955 \begin_layout Standard
2963 <cell alignment="center" valignment="top" topline="true" usebox="none">
2966 \begin_layout Standard
2972 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2975 \begin_layout Standard
2983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2986 \begin_layout Standard
2994 <cell alignment="center" valignment="top" topline="true" usebox="none">
2997 \begin_layout Standard
3003 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3006 \begin_layout Standard
3014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3017 \begin_layout Standard
3025 <cell alignment="center" valignment="top" topline="true" usebox="none">
3028 \begin_layout Standard
3034 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3037 \begin_layout Standard
3045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3048 \begin_layout Standard
3056 <cell alignment="center" valignment="top" topline="true" usebox="none">
3059 \begin_layout Standard
3065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3068 \begin_layout Standard
3076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3079 \begin_layout Standard
3087 <cell alignment="center" valignment="top" topline="true" usebox="none">
3090 \begin_layout Standard
3096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3099 \begin_layout Standard
3107 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3110 \begin_layout Standard
3118 <cell alignment="center" valignment="top" topline="true" usebox="none">
3121 \begin_layout Standard
3127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3130 \begin_layout Standard
3138 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3141 \begin_layout Standard
3149 <cell alignment="center" valignment="top" topline="true" usebox="none">
3152 \begin_layout Standard
3158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3161 \begin_layout Standard
3169 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3172 \begin_layout Standard
3180 <cell alignment="center" valignment="top" topline="true" usebox="none">
3183 \begin_layout Standard
3189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3192 \begin_layout Standard
3200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3203 \begin_layout Standard
3211 <cell alignment="center" valignment="top" topline="true" usebox="none">
3214 \begin_layout Standard
3220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3223 \begin_layout Standard
3231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3234 \begin_layout Standard
3242 <cell alignment="center" valignment="top" topline="true" usebox="none">
3245 \begin_layout Standard
3251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3254 \begin_layout Standard
3262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3265 \begin_layout Standard
3273 <cell alignment="center" valignment="top" topline="true" usebox="none">
3276 \begin_layout Standard
3282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3285 \begin_layout Standard
3293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3296 \begin_layout Standard
3304 <cell alignment="center" valignment="top" topline="true" usebox="none">
3307 \begin_layout Standard
3313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3316 \begin_layout Standard
3324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3327 \begin_layout Standard
3335 <cell alignment="center" valignment="top" topline="true" usebox="none">
3338 \begin_layout Standard
3344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3347 \begin_layout Standard
3355 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3358 \begin_layout Standard
3366 <cell alignment="center" valignment="top" topline="true" usebox="none">
3369 \begin_layout Standard
3375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3378 \begin_layout Standard
3386 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3389 \begin_layout Standard
3397 <cell alignment="center" valignment="top" topline="true" usebox="none">
3400 \begin_layout Standard
3406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3409 \begin_layout Standard
3417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3420 \begin_layout Standard
3428 <cell alignment="center" valignment="top" topline="true" usebox="none">
3431 \begin_layout Standard
3437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3440 \begin_layout Standard
3448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3451 \begin_layout Standard
3459 <cell alignment="center" valignment="top" topline="true" usebox="none">
3462 \begin_layout Standard
3468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3471 \begin_layout Standard
3478 <row bottomline="true">
3479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3482 \begin_layout Standard
3490 <cell alignment="center" valignment="top" topline="true" usebox="none">
3493 \begin_layout Standard
3499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3502 \begin_layout Standard
3509 <row bottomline="true">
3510 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3513 \begin_layout Standard
3519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3522 \begin_layout Standard
3528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3531 \begin_layout Standard
3539 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3542 \begin_layout Standard
3550 <cell alignment="center" valignment="top" topline="true" usebox="none">
3553 \begin_layout Standard
3559 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3562 \begin_layout Standard
3570 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3573 \begin_layout Standard
3581 <cell alignment="center" valignment="top" topline="true" usebox="none">
3584 \begin_layout Standard
3590 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3593 \begin_layout Standard
3601 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3604 \begin_layout Standard
3612 <cell alignment="center" valignment="top" topline="true" usebox="none">
3615 \begin_layout Standard
3621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3624 \begin_layout Standard
3632 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3635 \begin_layout Standard
3643 <cell alignment="center" valignment="top" topline="true" usebox="none">
3646 \begin_layout Standard
3652 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3655 \begin_layout Standard
3663 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3666 \begin_layout Standard
3674 <cell alignment="center" valignment="top" topline="true" usebox="none">
3677 \begin_layout Standard
3683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3686 \begin_layout Standard
3694 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3697 \begin_layout Standard
3705 <cell alignment="center" valignment="top" topline="true" usebox="none">
3708 \begin_layout Standard
3714 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3717 \begin_layout Standard
3725 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3728 \begin_layout Standard
3736 <cell alignment="center" valignment="top" topline="true" usebox="none">
3739 \begin_layout Standard
3745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3748 \begin_layout Standard
3756 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3759 \begin_layout Standard
3767 <cell alignment="center" valignment="top" topline="true" usebox="none">
3770 \begin_layout Standard
3776 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3779 \begin_layout Standard
3787 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3790 \begin_layout Standard
3798 <cell alignment="center" valignment="top" topline="true" usebox="none">
3801 \begin_layout Standard
3807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3810 \begin_layout Standard
3818 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3821 \begin_layout Standard
3829 <cell alignment="center" valignment="top" topline="true" usebox="none">
3832 \begin_layout Standard
3838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3841 \begin_layout Standard
3849 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3852 \begin_layout Standard
3860 <cell alignment="center" valignment="top" topline="true" usebox="none">
3863 \begin_layout Standard
3869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3872 \begin_layout Standard
3880 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3883 \begin_layout Standard
3891 <cell alignment="center" valignment="top" topline="true" usebox="none">
3894 \begin_layout Standard
3900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3903 \begin_layout Standard
3911 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3914 \begin_layout Standard
3922 <cell alignment="center" valignment="top" topline="true" usebox="none">
3925 \begin_layout Standard
3931 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3934 \begin_layout Standard
3942 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3945 \begin_layout Standard
3953 <cell alignment="center" valignment="top" topline="true" usebox="none">
3956 \begin_layout Standard
3962 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3965 \begin_layout Standard
3973 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3976 \begin_layout Standard
3984 <cell alignment="center" valignment="top" topline="true" usebox="none">
3987 \begin_layout Standard
3993 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3996 \begin_layout Standard
4004 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4007 \begin_layout Standard
4015 <cell alignment="center" valignment="top" topline="true" usebox="none">
4018 \begin_layout Standard
4024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4027 \begin_layout Standard
4035 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4038 \begin_layout Standard
4046 <cell alignment="center" valignment="top" topline="true" usebox="none">
4049 \begin_layout Standard
4055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4058 \begin_layout Standard
4066 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4069 \begin_layout Standard
4077 <cell alignment="center" valignment="top" topline="true" usebox="none">
4080 \begin_layout Standard
4086 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4089 \begin_layout Standard
4097 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4100 \begin_layout Standard
4108 <cell alignment="center" valignment="top" topline="true" usebox="none">
4111 \begin_layout Standard
4117 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4120 \begin_layout Standard
4128 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4131 \begin_layout Standard
4139 <cell alignment="center" valignment="top" topline="true" usebox="none">
4142 \begin_layout Standard
4148 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4151 \begin_layout Standard
4159 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4162 \begin_layout Standard
4170 <cell alignment="center" valignment="top" topline="true" usebox="none">
4173 \begin_layout Standard
4179 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4182 \begin_layout Standard
4190 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4193 \begin_layout Standard
4201 <cell alignment="center" valignment="top" topline="true" usebox="none">
4204 \begin_layout Standard
4210 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4213 \begin_layout Standard
4221 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4224 \begin_layout Standard
4232 <cell alignment="center" valignment="top" topline="true" usebox="none">
4235 \begin_layout Standard
4241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4244 \begin_layout Standard
4252 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4255 \begin_layout Standard
4263 <cell alignment="center" valignment="top" topline="true" usebox="none">
4266 \begin_layout Standard
4272 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4275 \begin_layout Standard
4283 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4286 \begin_layout Standard
4294 <cell alignment="center" valignment="top" topline="true" usebox="none">
4297 \begin_layout Standard
4303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4306 \begin_layout Standard
4314 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4317 \begin_layout Standard
4325 <cell alignment="center" valignment="top" topline="true" usebox="none">
4328 \begin_layout Standard
4334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4337 \begin_layout Standard
4345 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4348 \begin_layout Standard
4356 <cell alignment="center" valignment="top" topline="true" usebox="none">
4359 \begin_layout Standard
4365 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4368 \begin_layout Standard
4376 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4379 \begin_layout Standard
4387 <cell alignment="center" valignment="top" topline="true" usebox="none">
4390 \begin_layout Standard
4396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4399 \begin_layout Standard
4407 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4410 \begin_layout Standard
4418 <cell alignment="center" valignment="top" topline="true" usebox="none">
4421 \begin_layout Standard
4427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4430 \begin_layout Standard
4438 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4441 \begin_layout Standard
4449 <cell alignment="center" valignment="top" topline="true" usebox="none">
4452 \begin_layout Standard
4458 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4461 \begin_layout Standard
4468 <row bottomline="true">
4469 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4472 \begin_layout Standard
4480 <cell alignment="center" valignment="top" topline="true" usebox="none">
4483 \begin_layout Standard
4489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4492 \begin_layout Standard
4499 <row bottomline="true" endlastfoot="true">
4500 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4503 \begin_layout Standard
4509 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4512 \begin_layout Standard
4518 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4521 \begin_layout Standard
4536 \begin_layout Standard
4540 addtocounter{table}{-1}
4546 \begin_inset Note Note
4549 \begin_layout Standard
4550 See greyed-out note in section 2.6.2 for an explanation of this command.
4558 \begin_layout Subsection
4559 Footnotes in Longtables
4560 \begin_inset LatexCommand label
4561 name "sub:Footnotes-in-Longtables"
4566 \begin_inset LatexCommand index
4567 name "Longtables ! Footnotes"
4574 \begin_layout Standard
4575 Footnotes can be inserted to every longtable cell.
4576 They appear at the bottom of the page where the table cell with the footnote
4580 \begin_inset LatexCommand ref
4581 reference "tab:DiffCaptions"
4585 has for example a footnote.
4588 \begin_layout Subsection
4590 \begin_inset LatexCommand index
4591 name "Longtables ! Captions"
4598 \begin_layout Standard
4599 A longtable cannot be put into a table float because floats can only be
4600 on one page but the caption environment of floats can also be used for
4604 \begin_layout Standard
4605 As LyX does not yet fully support captions in longtables, a hack is needed
4609 \begin_layout Enumerate
4615 \begin_layout Enumerate
4616 Mark the first row an disable its upper line.
4619 \begin_layout Enumerate
4620 Insert a caption via the menu
4622 Insert\SpecialChar \menuseparator
4628 into the first table cell.
4630 You can also add a short title for the caption.
4633 \begin_layout Enumerate
4635 \begin_inset Quotes eld
4647 \begin_inset Quotes erd
4650 as ERT behind the caption.
4653 \begin_layout Standard
4654 A short title that will appear in the LOT instead of the full title.
4663 behind the caption omits the vertical lines between the following cells
4665 The first table row is now only a dummy row for the caption, the actual
4666 table starts with the second row.
4669 \begin_layout Standard
4670 Here is a short longtable to see how it works:
4673 \begin_layout Standard
4674 \begin_inset Tabular
4675 <lyxtabular version="3" rows="6" columns="5">
4676 <features islongtable="true">
4677 <column alignment="center" valignment="top" leftline="true" width="0">
4678 <column alignment="center" valignment="top" leftline="true" width="0">
4679 <column alignment="center" valignment="top" leftline="true" width="0">
4680 <column alignment="center" valignment="top" leftline="true" width="0">
4681 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4686 \begin_layout Standard
4687 \begin_inset Caption
4689 \begin_layout Standard
4690 Longtable with caption
4694 \begin_layout Standard
4709 \begin_layout Standard
4725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4728 \begin_layout Standard
4734 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4737 \begin_layout Standard
4743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4746 \begin_layout Standard
4752 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4755 \begin_layout Standard
4762 <row topline="true">
4763 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4766 \begin_layout Standard
4772 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4775 \begin_layout Standard
4781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4784 \begin_layout Standard
4790 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4793 \begin_layout Standard
4799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4802 \begin_layout Standard
4809 <row topline="true">
4810 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4813 \begin_layout Standard
4819 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4822 \begin_layout Standard
4828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4831 \begin_layout Standard
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4840 \begin_layout Standard
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4849 \begin_layout Standard
4856 <row topline="true">
4857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4860 \begin_layout Standard
4866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4869 \begin_layout Standard
4875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4878 \begin_layout Standard
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4887 \begin_layout Standard
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4896 \begin_layout Standard
4903 <row topline="true">
4904 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4907 \begin_layout Standard
4913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4916 \begin_layout Standard
4922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4925 \begin_layout Standard
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4934 \begin_layout Standard
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4943 \begin_layout Standard
4950 <row topline="true" bottomline="true">
4951 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4954 \begin_layout Standard
4960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4963 \begin_layout Standard
4969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4972 \begin_layout Standard
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4981 \begin_layout Standard
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4990 \begin_layout Standard
5004 \begin_layout Standard
5005 \begin_inset VSpace medskip
5009 \begin_inset Note Greyedout
5012 \begin_layout Standard
5017 The table number is increased for every longtable, also if you didn't set
5019 For this reason you could have the case that e.g.
5021 2.4 follows on Table\InsetSpace ~
5022 2.1 in the list of tables if there are two longtables
5024 To avoid this you can add the following command in ERT behind every longtable
5028 \begin_layout Standard
5033 addtocounter{table}{-1}
5041 \begin_layout Standard
5042 \begin_inset Note Greyedout
5045 \begin_layout Standard
5050 If you are using the LaTeX-package
5055 \begin_inset LatexCommand index
5056 name "LaTeX-packages ! hyperref"
5060 to link cross-references, the link to a longtable caption will always point
5061 to the beginning of the document.
5069 \begin_layout Subsubsection
5070 References to Longtables
5071 \begin_inset LatexCommand index
5072 name "Longtables ! References"
5079 \begin_layout Standard
5080 \begin_inset Tabular
5081 <lyxtabular version="3" rows="6" columns="5">
5082 <features islongtable="true">
5083 <column alignment="center" valignment="top" leftline="true" width="0">
5084 <column alignment="center" valignment="top" leftline="true" width="0">
5085 <column alignment="center" valignment="top" leftline="true" width="0">
5086 <column alignment="center" valignment="top" leftline="true" width="0">
5087 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5092 \begin_layout Standard
5093 \begin_inset Caption
5095 \begin_layout Standard
5096 Referenced longtable
5097 \begin_inset LatexCommand label
5098 name "tab:RefExample"
5111 \begin_layout Standard
5127 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5130 \begin_layout Standard
5136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5139 \begin_layout Standard
5145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5148 \begin_layout Standard
5154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5157 \begin_layout Standard
5164 <row topline="true">
5165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5168 \begin_layout Standard
5174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5177 \begin_layout Standard
5183 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5186 \begin_layout Standard
5192 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5195 \begin_layout Standard
5201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5204 \begin_layout Standard
5211 <row topline="true">
5212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5215 \begin_layout Standard
5221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5224 \begin_layout Standard
5230 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5233 \begin_layout Standard
5239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5242 \begin_layout Standard
5248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5251 \begin_layout Standard
5258 <row topline="true">
5259 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5262 \begin_layout Standard
5268 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5271 \begin_layout Standard
5277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5280 \begin_layout Standard
5286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5289 \begin_layout Standard
5295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5298 \begin_layout Standard
5305 <row topline="true">
5306 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5309 \begin_layout Standard
5315 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5318 \begin_layout Standard
5324 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5327 \begin_layout Standard
5333 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5336 \begin_layout Standard
5342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5345 \begin_layout Standard
5352 <row topline="true" bottomline="true">
5353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5356 \begin_layout Standard
5362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5365 \begin_layout Standard
5371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5374 \begin_layout Standard
5380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5383 \begin_layout Standard
5389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5392 \begin_layout Standard
5406 \begin_layout Standard
5407 To reference a longtable, insert a label into the caption.
5408 Note that you have to add the label prefix
5409 \begin_inset Quotes eld
5417 \begin_inset Quotes eld
5420 manually in the label field.
5423 \begin_layout Standard
5424 This is a reference to Table\InsetSpace ~
5426 \begin_inset LatexCommand ref
5427 reference "tab:RefExample"
5434 \begin_layout Standard
5435 The caption layout can be set together with all other caption of your document
5436 using the LaTeX-package
5441 \begin_inset LatexCommand index
5442 name "LaTeX-packages ! caption"
5446 , see section\InsetSpace ~
5448 \begin_inset LatexCommand ref
5449 reference "sec:Caption-Formatting"
5456 \begin_layout Subsubsection
5458 \begin_inset LatexCommand index
5459 name "Longtables ! Caption Width"
5466 \begin_layout Standard
5467 The maximal width of of caption lines is defined by the length
5474 Its default value is 4\InsetSpace \thinspace{}
5476 To change it add the following command to your document preamble or as
5477 ERT into your document before the longtable that should be affected
5480 \begin_layout Standard
5490 \begin_layout Standard
5491 where the width could have one of the units listed in appendix\InsetSpace ~
5493 \begin_inset LatexCommand ref
5494 reference "cha:Units-available-in"
5501 \begin_layout Standard
5502 The following tables show the difference:
5505 \begin_layout Standard
5506 \begin_inset Tabular
5507 <lyxtabular version="3" rows="6" columns="5">
5508 <features islongtable="true">
5509 <column alignment="center" valignment="top" leftline="true" width="0">
5510 <column alignment="center" valignment="top" leftline="true" width="0">
5511 <column alignment="center" valignment="top" leftline="true" width="0">
5512 <column alignment="center" valignment="top" leftline="true" width="0">
5513 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5518 \begin_layout Standard
5519 \begin_inset Caption
5521 \begin_layout Standard
5522 long full title with default width long full title with default width long
5523 full title with default width
5527 \begin_layout Standard
5528 caption with default width
5542 \begin_layout Standard
5558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5561 \begin_layout Standard
5567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5570 \begin_layout Standard
5576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5579 \begin_layout Standard
5585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5588 \begin_layout Standard
5595 <row topline="true">
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5599 \begin_layout Standard
5605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5608 \begin_layout Standard
5614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5617 \begin_layout Standard
5623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5626 \begin_layout Standard
5632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5635 \begin_layout Standard
5642 <row topline="true">
5643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5646 \begin_layout Standard
5652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5655 \begin_layout Standard
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5664 \begin_layout Standard
5670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_layout Standard
5679 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5682 \begin_layout Standard
5689 <row topline="true">
5690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5693 \begin_layout Standard
5699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5702 \begin_layout Standard
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5711 \begin_layout Standard
5717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5720 \begin_layout Standard
5726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5729 \begin_layout Standard
5736 <row topline="true">
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5740 \begin_layout Standard
5746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5749 \begin_layout Standard
5755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5758 \begin_layout Standard
5764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5767 \begin_layout Standard
5773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5776 \begin_layout Standard
5783 <row topline="true" bottomline="true">
5784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5787 \begin_layout Standard
5793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5796 \begin_layout Standard
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5805 \begin_layout Standard
5811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_layout Standard
5820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5823 \begin_layout Standard
5837 \begin_layout Standard
5841 \begin_layout Standard
5853 \begin_inset Tabular
5854 <lyxtabular version="3" rows="6" columns="5">
5855 <features islongtable="true">
5856 <column alignment="center" valignment="top" leftline="true" width="0">
5857 <column alignment="center" valignment="top" leftline="true" width="0">
5858 <column alignment="center" valignment="top" leftline="true" width="0">
5859 <column alignment="center" valignment="top" leftline="true" width="0">
5860 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5865 \begin_layout Standard
5866 \begin_inset Caption
5868 \begin_layout Standard
5869 long full title with width set to 5\InsetSpace \thinspace{}
5870 cm long full title with width set to
5871 5\InsetSpace \thinspace{}
5872 cm long full title with width set to 5\InsetSpace \thinspace{}
5877 \begin_layout Standard
5878 caption with width\InsetSpace \thinspace{}
5879 =\InsetSpace \thinspace{}
5880 5\InsetSpace \thinspace{}
5895 \begin_layout Standard
5911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5914 \begin_layout Standard
5920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5923 \begin_layout Standard
5929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5932 \begin_layout Standard
5938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5941 \begin_layout Standard
5948 <row topline="true">
5949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5952 \begin_layout Standard
5958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5961 \begin_layout Standard
5967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5970 \begin_layout Standard
5976 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5979 \begin_layout Standard
5985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5988 \begin_layout Standard
5995 <row topline="true">
5996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5999 \begin_layout Standard
6005 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6008 \begin_layout Standard
6014 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6017 \begin_layout Standard
6023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6026 \begin_layout Standard
6032 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6035 \begin_layout Standard
6042 <row topline="true">
6043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6046 \begin_layout Standard
6052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6055 \begin_layout Standard
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6064 \begin_layout Standard
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6073 \begin_layout Standard
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6082 \begin_layout Standard
6089 <row topline="true">
6090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6093 \begin_layout Standard
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6102 \begin_layout Standard
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6111 \begin_layout Standard
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6120 \begin_layout Standard
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6129 \begin_layout Standard
6136 <row topline="true" bottomline="true">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_layout Standard
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6149 \begin_layout Standard
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6158 \begin_layout Standard
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6167 \begin_layout Standard
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6176 \begin_layout Standard
6191 \begin_layout Standard
6205 \begin_layout Standard
6209 \begin_layout Subsubsection
6210 Different Captions for Table Pages
6211 \begin_inset LatexCommand index
6212 name "Longtables ! Different Captions for Pages"
6219 \begin_layout Standard
6220 When the other captions should differ from the one of the first table page,
6221 insert a caption with a non-empty short title in a dummy caption row marked
6223 The caption used for the other table pages is inserted as caption without
6224 a short title in a dummy caption row that is marked as main header.
6225 When this caption shouldn't include the table number, use the command
6228 \begin_layout Standard
6233 caption*{caption text}
6236 \begin_layout Standard
6237 instead of LyX's caption box.
6238 The label to reference the table is inserted into the caption of the first
6242 \begin_inset LatexCommand ref
6243 reference "tab:DiffCaptions"
6247 is an example for a longtable with different heading where the second caption
6248 doesn't include the table number.
6251 \begin_layout Standard
6253 \begin_inset Tabular
6254 <lyxtabular version="3" rows="60" columns="3">
6255 <features islongtable="true">
6256 <column alignment="left" valignment="top" leftline="true" width="0cm">
6257 <column alignment="left" valignment="top" rightline="true" width="0pt">
6258 <column alignment="right" valignment="top" rightline="true" width="0pt">
6259 <row endfirsthead="true">
6260 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6263 \begin_layout Standard
6264 \begin_inset Caption
6266 \begin_layout Standard
6268 \begin_inset LatexCommand label
6269 name "tab:DiffCaptions"
6277 \begin_layout Standard
6292 \begin_layout Standard
6308 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6311 \begin_layout Standard
6317 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6320 \begin_layout Standard
6327 <row topline="true" bottomline="true" endfirsthead="true">
6328 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6331 \begin_layout Standard
6334 Example Phone List (ignore the names)
6339 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6342 \begin_layout Standard
6348 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6351 \begin_layout Standard
6358 <row topline="true" bottomline="true" endfirsthead="true">
6359 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6362 \begin_layout Standard
6370 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6373 \begin_layout Standard
6379 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6382 \begin_layout Standard
6391 <row bottomline="true" endhead="true">
6392 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6395 \begin_layout Standard
6399 \begin_layout Standard
6403 caption*{Continued Example Phone List}
6417 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6420 \begin_layout Standard
6426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6429 \begin_layout Standard
6436 <row topline="true" bottomline="true" endhead="true">
6437 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6440 \begin_layout Standard
6448 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6451 \begin_layout Standard
6457 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6460 \begin_layout Standard
6467 <row topline="true" bottomline="true" endhead="true">
6468 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6471 \begin_layout Standard
6479 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6482 \begin_layout Standard
6488 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6491 \begin_layout Standard
6500 <row topline="true" bottomline="true" endfoot="true">
6501 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
6504 \begin_layout Standard
6505 continued on next page
6510 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6513 \begin_layout Standard
6519 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6522 \begin_layout Standard
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6533 \begin_layout Standard
6541 <cell alignment="center" valignment="top" topline="true" usebox="none">
6544 \begin_layout Standard
6550 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6553 \begin_layout Standard
6561 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6564 \begin_layout Standard
6572 <cell alignment="center" valignment="top" topline="true" usebox="none">
6575 \begin_layout Standard
6581 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6584 \begin_layout Standard
6592 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6595 \begin_layout Standard
6603 <cell alignment="center" valignment="top" topline="true" usebox="none">
6606 \begin_layout Standard
6612 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6615 \begin_layout Standard
6623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6626 \begin_layout Standard
6634 <cell alignment="center" valignment="top" topline="true" usebox="none">
6637 \begin_layout Standard
6643 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6646 \begin_layout Standard
6654 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6657 \begin_layout Standard
6665 <cell alignment="center" valignment="top" topline="true" usebox="none">
6668 \begin_layout Standard
6674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6677 \begin_layout Standard
6685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6688 \begin_layout Standard
6696 <cell alignment="center" valignment="top" topline="true" usebox="none">
6699 \begin_layout Standard
6705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6708 \begin_layout Standard
6716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6719 \begin_layout Standard
6727 <cell alignment="center" valignment="top" topline="true" usebox="none">
6730 \begin_layout Standard
6736 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6739 \begin_layout Standard
6747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6750 \begin_layout Standard
6758 <cell alignment="center" valignment="top" topline="true" usebox="none">
6761 \begin_layout Standard
6767 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6770 \begin_layout Standard
6778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6781 \begin_layout Standard
6789 <cell alignment="center" valignment="top" topline="true" usebox="none">
6792 \begin_layout Standard
6798 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6801 \begin_layout Standard
6809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6812 \begin_layout Standard
6820 <cell alignment="center" valignment="top" topline="true" usebox="none">
6823 \begin_layout Standard
6829 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6832 \begin_layout Standard
6840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6843 \begin_layout Standard
6851 <cell alignment="center" valignment="top" topline="true" usebox="none">
6854 \begin_layout Standard
6860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6863 \begin_layout Standard
6871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6874 \begin_layout Standard
6882 <cell alignment="center" valignment="top" topline="true" usebox="none">
6885 \begin_layout Standard
6891 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6894 \begin_layout Standard
6902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6905 \begin_layout Standard
6913 <cell alignment="center" valignment="top" topline="true" usebox="none">
6916 \begin_layout Standard
6922 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6925 \begin_layout Standard
6933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6936 \begin_layout Standard
6944 <cell alignment="center" valignment="top" topline="true" usebox="none">
6947 \begin_layout Standard
6953 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6956 \begin_layout Standard
6964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6967 \begin_layout Standard
6976 \begin_layout Standard
6987 <cell alignment="center" valignment="top" topline="true" usebox="none">
6990 \begin_layout Standard
6996 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6999 \begin_layout Standard
7007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7010 \begin_layout Standard
7018 <cell alignment="center" valignment="top" topline="true" usebox="none">
7021 \begin_layout Standard
7027 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7030 \begin_layout Standard
7038 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7041 \begin_layout Standard
7049 <cell alignment="center" valignment="top" topline="true" usebox="none">
7052 \begin_layout Standard
7058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7061 \begin_layout Standard
7069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7072 \begin_layout Standard
7080 <cell alignment="center" valignment="top" topline="true" usebox="none">
7083 \begin_layout Standard
7089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7092 \begin_layout Standard
7100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7103 \begin_layout Standard
7111 <cell alignment="center" valignment="top" topline="true" usebox="none">
7114 \begin_layout Standard
7120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7123 \begin_layout Standard
7131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7134 \begin_layout Standard
7142 <cell alignment="center" valignment="top" topline="true" usebox="none">
7145 \begin_layout Standard
7151 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7154 \begin_layout Standard
7162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7165 \begin_layout Standard
7173 <cell alignment="center" valignment="top" topline="true" usebox="none">
7176 \begin_layout Standard
7182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7185 \begin_layout Standard
7193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7196 \begin_layout Standard
7204 <cell alignment="center" valignment="top" topline="true" usebox="none">
7207 \begin_layout Standard
7213 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7216 \begin_layout Standard
7224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7227 \begin_layout Standard
7235 <cell alignment="center" valignment="top" topline="true" usebox="none">
7238 \begin_layout Standard
7244 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7247 \begin_layout Standard
7255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7258 \begin_layout Standard
7266 <cell alignment="center" valignment="top" topline="true" usebox="none">
7269 \begin_layout Standard
7275 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7278 \begin_layout Standard
7286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7289 \begin_layout Standard
7297 <cell alignment="center" valignment="top" topline="true" usebox="none">
7300 \begin_layout Standard
7306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7309 \begin_layout Standard
7317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7320 \begin_layout Standard
7328 <cell alignment="center" valignment="top" topline="true" usebox="none">
7331 \begin_layout Standard
7337 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7340 \begin_layout Standard
7348 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7351 \begin_layout Standard
7359 <cell alignment="center" valignment="top" topline="true" usebox="none">
7362 \begin_layout Standard
7368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7371 \begin_layout Standard
7379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7382 \begin_layout Standard
7390 <cell alignment="center" valignment="top" topline="true" usebox="none">
7393 \begin_layout Standard
7399 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7402 \begin_layout Standard
7410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7413 \begin_layout Standard
7421 <cell alignment="center" valignment="top" topline="true" usebox="none">
7424 \begin_layout Standard
7430 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7433 \begin_layout Standard
7441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7444 \begin_layout Standard
7452 <cell alignment="center" valignment="top" topline="true" usebox="none">
7455 \begin_layout Standard
7461 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7464 \begin_layout Standard
7471 <row bottomline="true">
7472 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7475 \begin_layout Standard
7483 <cell alignment="center" valignment="top" topline="true" usebox="none">
7486 \begin_layout Standard
7492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7495 \begin_layout Standard
7502 <row bottomline="true">
7503 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7506 \begin_layout Standard
7512 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
7515 \begin_layout Standard
7521 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7524 \begin_layout Standard
7532 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7535 \begin_layout Standard
7543 <cell alignment="center" valignment="top" topline="true" usebox="none">
7546 \begin_layout Standard
7552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7555 \begin_layout Standard
7563 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7566 \begin_layout Standard
7574 <cell alignment="center" valignment="top" topline="true" usebox="none">
7577 \begin_layout Standard
7583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7586 \begin_layout Standard
7594 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7597 \begin_layout Standard
7605 <cell alignment="center" valignment="top" topline="true" usebox="none">
7608 \begin_layout Standard
7614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7617 \begin_layout Standard
7625 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7628 \begin_layout Standard
7636 <cell alignment="center" valignment="top" topline="true" usebox="none">
7639 \begin_layout Standard
7645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7648 \begin_layout Standard
7656 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7659 \begin_layout Standard
7667 <cell alignment="center" valignment="top" topline="true" usebox="none">
7670 \begin_layout Standard
7676 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7679 \begin_layout Standard
7687 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7690 \begin_layout Standard
7698 <cell alignment="center" valignment="top" topline="true" usebox="none">
7701 \begin_layout Standard
7707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7710 \begin_layout Standard
7718 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7721 \begin_layout Standard
7729 <cell alignment="center" valignment="top" topline="true" usebox="none">
7732 \begin_layout Standard
7738 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7741 \begin_layout Standard
7749 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7752 \begin_layout Standard
7760 <cell alignment="center" valignment="top" topline="true" usebox="none">
7763 \begin_layout Standard
7769 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7772 \begin_layout Standard
7780 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7783 \begin_layout Standard
7791 <cell alignment="center" valignment="top" topline="true" usebox="none">
7794 \begin_layout Standard
7800 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7803 \begin_layout Standard
7811 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7814 \begin_layout Standard
7822 <cell alignment="center" valignment="top" topline="true" usebox="none">
7825 \begin_layout Standard
7831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7834 \begin_layout Standard
7842 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7845 \begin_layout Standard
7853 <cell alignment="center" valignment="top" topline="true" usebox="none">
7856 \begin_layout Standard
7862 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7865 \begin_layout Standard
7873 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7876 \begin_layout Standard
7884 <cell alignment="center" valignment="top" topline="true" usebox="none">
7887 \begin_layout Standard
7893 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7896 \begin_layout Standard
7904 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7907 \begin_layout Standard
7915 <cell alignment="center" valignment="top" topline="true" usebox="none">
7918 \begin_layout Standard
7924 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7927 \begin_layout Standard
7935 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7938 \begin_layout Standard
7946 <cell alignment="center" valignment="top" topline="true" usebox="none">
7949 \begin_layout Standard
7955 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7958 \begin_layout Standard
7966 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
7969 \begin_layout Standard
7977 <cell alignment="center" valignment="top" topline="true" usebox="none">
7980 \begin_layout Standard
7986 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7989 \begin_layout Standard
7997 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8000 \begin_layout Standard
8008 <cell alignment="center" valignment="top" topline="true" usebox="none">
8011 \begin_layout Standard
8017 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8020 \begin_layout Standard
8028 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8031 \begin_layout Standard
8039 <cell alignment="center" valignment="top" topline="true" usebox="none">
8042 \begin_layout Standard
8048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8051 \begin_layout Standard
8059 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8062 \begin_layout Standard
8070 <cell alignment="center" valignment="top" topline="true" usebox="none">
8073 \begin_layout Standard
8079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8082 \begin_layout Standard
8090 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8093 \begin_layout Standard
8101 <cell alignment="center" valignment="top" topline="true" usebox="none">
8104 \begin_layout Standard
8110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8113 \begin_layout Standard
8120 <row bottomline="true">
8121 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8124 \begin_layout Standard
8132 <cell alignment="center" valignment="top" topline="true" usebox="none">
8135 \begin_layout Standard
8141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8144 \begin_layout Standard
8151 <row bottomline="true" endlastfoot="true">
8152 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8155 \begin_layout Standard
8161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8164 \begin_layout Standard
8170 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8173 \begin_layout Standard
8187 \begin_layout Section
8188 Special Longtable Issues
8189 \begin_inset LatexCommand label
8190 name "sec:Special-Longtable-Issues"
8197 \begin_layout Subsection
8198 Longtable Calculation
8199 \begin_inset LatexCommand index
8200 name "Longtables ! Calculation"
8207 \begin_layout Standard
8208 LaTeX calculates the height of table pages and their page breaks using so
8210 Chunks are pieces of the tables that are at once in LaTeX's memory.
8211 The default value is historically set to only 20 table rows.
8212 If you are using longtables with many pages this may slow down the creation
8214 You can safely increase the chunk size to values of 100-1000 by adding
8215 this command line to your document preamble:
8218 \begin_layout Standard
8223 setcounter{LTchunksize}{100}
8226 \begin_layout Subsection
8227 Floats and Longtables
8228 \begin_inset LatexCommand index
8229 name "Longtables ! Floats"
8236 \begin_layout Standard
8237 There might be problems when a float appears on the same page where a longtable
8239 To avoid such situation, add the command
8245 as ERT before your longtable.
8248 \begin_layout Subsection
8250 \begin_inset LatexCommand index
8251 name "Longtables ! Forced Page Breaks"
8258 \begin_layout Standard
8259 By default tables are only broken between rows.
8260 If you have a cell with multiples lines and want to have a page break within
8261 the cell, insert the new line command
8262 \begin_inset Quotes eld
8274 \begin_inset Quotes erd
8277 as ERT at this point of the cell where it should be broken.
8286 command you have to insert in ERT so many
8287 \begin_inset Quotes eld
8295 \begin_inset Quotes erd
8298 characters like the number of the following table columns.
8303 is the character to separate table cells.
8304 Write in ERT after each
8308 the content of the corresponding following cell and delete the content
8319 command, insert so many
8323 characters like the number of table columns before the current column.
8324 In Table\InsetSpace ~
8326 \begin_inset LatexCommand ref
8327 reference "tab:ForcedPagebreak"
8331 the cell that should be broken is in the second column followed by another
8333 Therefore the following command was inserted in the cell as ERT behind
8335 \begin_inset Quotes eld
8343 \begin_inset Quotes erd
8349 \begin_layout Standard
8361 \begin_layout Standard
8363 \begin_inset Quotes eld
8367 \begin_inset Quotes erd
8370 in the third columns of the row was deleted.
8371 If your footer row of the longtable has for a certain reason no upper line
8372 but you would have a horizontal line where the cell is broken, use this
8376 \begin_layout Standard
8390 \begin_layout Standard
8391 When the cell to be broken is in the last column, the command
8394 \begin_layout Standard
8401 parf\SpecialChar \textcompwordmark{}
8405 \begin_layout Standard
8406 must be inserted as ERT at the beginning of the cell.
8407 This assures that the part of the cell that will be displayed on the new
8408 page appears with the full width.
8412 \begin_layout Standard
8414 \begin_inset Tabular
8415 <lyxtabular version="3" rows="39" columns="3">
8416 <features islongtable="true">
8417 <column alignment="left" valignment="top" leftline="true" width="0cm">
8418 <column alignment="left" valignment="top" rightline="true" width="3cm">
8419 <column alignment="right" valignment="top" rightline="true" width="0pt">
8420 <row endfirsthead="true">
8421 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8424 \begin_layout Standard
8425 \begin_inset Caption
8427 \begin_layout Standard
8428 Table with forced page break in table cell
8429 \begin_inset LatexCommand label
8430 name "tab:ForcedPagebreak"
8438 \begin_layout Standard
8439 Table with forced page break in table cell
8453 \begin_layout Standard
8469 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8472 \begin_layout Standard
8478 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8481 \begin_layout Standard
8488 <row topline="true" bottomline="true" endfirsthead="true">
8489 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8492 \begin_layout Standard
8495 Example Phone List (ignore the names)
8500 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8503 \begin_layout Standard
8509 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8512 \begin_layout Standard
8519 <row topline="true" bottomline="true" endfirsthead="true">
8520 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8523 \begin_layout Standard
8531 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8534 \begin_layout Standard
8540 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8543 \begin_layout Standard
8552 <row bottomline="true" endhead="true">
8553 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8556 \begin_layout Standard
8560 \begin_layout Standard
8564 caption*{Continued table with forced page break in table cell}
8578 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8581 \begin_layout Standard
8587 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8590 \begin_layout Standard
8597 <row topline="true" bottomline="true" endhead="true">
8598 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8601 \begin_layout Standard
8609 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8612 \begin_layout Standard
8618 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8621 \begin_layout Standard
8628 <row topline="true" bottomline="true" endhead="true">
8629 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
8632 \begin_layout Standard
8640 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8643 \begin_layout Standard
8649 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8652 \begin_layout Standard
8661 <row topline="true" bottomline="true" endfoot="true">
8662 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
8665 \begin_layout Standard
8666 continued on next page
8671 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
8674 \begin_layout Standard
8680 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
8683 \begin_layout Standard
8691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8694 \begin_layout Standard
8702 <cell alignment="center" valignment="top" topline="true" usebox="none">
8705 \begin_layout Standard
8711 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8714 \begin_layout Standard
8722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8725 \begin_layout Standard
8733 <cell alignment="center" valignment="top" topline="true" usebox="none">
8736 \begin_layout Standard
8742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8745 \begin_layout Standard
8753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8756 \begin_layout Standard
8764 <cell alignment="center" valignment="top" topline="true" usebox="none">
8767 \begin_layout Standard
8773 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8776 \begin_layout Standard
8784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8787 \begin_layout Standard
8795 <cell alignment="center" valignment="top" topline="true" usebox="none">
8798 \begin_layout Standard
8804 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8807 \begin_layout Standard
8815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8818 \begin_layout Standard
8826 <cell alignment="center" valignment="top" topline="true" usebox="none">
8829 \begin_layout Standard
8835 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8838 \begin_layout Standard
8846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8849 \begin_layout Standard
8857 <cell alignment="center" valignment="top" topline="true" usebox="none">
8860 \begin_layout Standard
8866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8869 \begin_layout Standard
8877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8880 \begin_layout Standard
8888 <cell alignment="center" valignment="top" topline="true" usebox="none">
8891 \begin_layout Standard
8897 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8900 \begin_layout Standard
8908 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8911 \begin_layout Standard
8919 <cell alignment="center" valignment="top" topline="true" usebox="none">
8922 \begin_layout Standard
8928 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8931 \begin_layout Standard
8939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8942 \begin_layout Standard
8950 <cell alignment="center" valignment="top" topline="true" usebox="none">
8953 \begin_layout Standard
8959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8962 \begin_layout Standard
8970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8973 \begin_layout Standard
8981 <cell alignment="center" valignment="top" topline="true" usebox="none">
8984 \begin_layout Standard
8990 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8993 \begin_layout Standard
9001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9004 \begin_layout Standard
9012 <cell alignment="center" valignment="top" topline="true" usebox="none">
9015 \begin_layout Standard
9021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9024 \begin_layout Standard
9032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9035 \begin_layout Standard
9043 <cell alignment="center" valignment="top" topline="true" usebox="none">
9046 \begin_layout Standard
9052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9055 \begin_layout Standard
9063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9066 \begin_layout Standard
9074 <cell alignment="center" valignment="top" topline="true" usebox="none">
9077 \begin_layout Standard
9083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9086 \begin_layout Standard
9094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9097 \begin_layout Standard
9105 <cell alignment="center" valignment="top" topline="true" usebox="none">
9108 \begin_layout Standard
9114 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9117 \begin_layout Standard
9125 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9128 \begin_layout Standard
9136 <cell alignment="center" valignment="top" topline="true" usebox="none">
9139 \begin_layout Standard
9145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9148 \begin_layout Standard
9156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9159 \begin_layout Standard
9167 <cell alignment="center" valignment="top" topline="true" usebox="none">
9170 \begin_layout Standard
9176 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9179 \begin_layout Standard
9187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9190 \begin_layout Standard
9198 <cell alignment="center" valignment="top" topline="true" usebox="none">
9201 \begin_layout Standard
9207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9210 \begin_layout Standard
9218 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9221 \begin_layout Standard
9229 <cell alignment="center" valignment="top" topline="true" usebox="none">
9232 \begin_layout Standard
9238 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9241 \begin_layout Standard
9249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9252 \begin_layout Standard
9260 <cell alignment="center" valignment="top" topline="true" usebox="none">
9263 \begin_layout Standard
9269 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9272 \begin_layout Standard
9280 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9283 \begin_layout Standard
9291 <cell alignment="center" valignment="top" topline="true" usebox="none">
9294 \begin_layout Standard
9300 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9303 \begin_layout Standard
9311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9314 \begin_layout Standard
9322 <cell alignment="center" valignment="top" topline="true" usebox="none">
9325 \begin_layout Standard
9331 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9334 \begin_layout Standard
9342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9345 \begin_layout Standard
9353 <cell alignment="center" valignment="top" topline="true" usebox="none">
9356 \begin_layout Standard
9362 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9365 \begin_layout Standard
9373 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9376 \begin_layout Standard
9384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9387 \begin_layout Standard
9389 Fürst von Montecompatri, 11.
9390 Fürst von Sulmona und Vivaro, 10.
9391 Fürst von Rossano, 5.
9392 Herzog von Canemorte, 11.
9393 Herzog von Palombara, 5.
9394 Herzog von Castelchiodato,
9398 \begin_layout Standard
9407 \begin_layout Standard
9415 Herzog von Poggionativo, 11.
9416 Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9417 Graf von Valinfreda, 11.
9418 Baron von Cropalati, 11.
9419 Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9427 \begin_layout Standard
9435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9438 \begin_layout Standard
9446 <cell alignment="center" valignment="top" topline="true" usebox="none">
9449 \begin_layout Standard
9455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9458 \begin_layout Standard
9466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9469 \begin_layout Standard
9477 <cell alignment="center" valignment="top" topline="true" usebox="none">
9480 \begin_layout Standard
9486 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9489 \begin_layout Standard
9497 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9500 \begin_layout Standard
9508 <cell alignment="center" valignment="top" topline="true" usebox="none">
9511 \begin_layout Standard
9517 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9520 \begin_layout Standard
9528 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9531 \begin_layout Standard
9539 <cell alignment="center" valignment="top" topline="true" usebox="none">
9542 \begin_layout Standard
9548 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9551 \begin_layout Standard
9559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9562 \begin_layout Standard
9570 <cell alignment="center" valignment="top" topline="true" usebox="none">
9573 \begin_layout Standard
9579 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9582 \begin_layout Standard
9590 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9593 \begin_layout Standard
9601 <cell alignment="center" valignment="top" topline="true" usebox="none">
9604 \begin_layout Standard
9610 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9613 \begin_layout Standard
9621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9624 \begin_layout Standard
9632 <cell alignment="center" valignment="top" topline="true" usebox="none">
9635 \begin_layout Standard
9641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9644 \begin_layout Standard
9651 <row bottomline="true">
9652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9655 \begin_layout Standard
9663 <cell alignment="center" valignment="top" topline="true" usebox="none">
9666 \begin_layout Standard
9672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9675 \begin_layout Standard
9682 <row endlastfoot="true">
9683 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
9686 \begin_layout Standard
9692 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9695 \begin_layout Standard
9701 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9704 \begin_layout Standard
9718 \begin_layout Section
9719 Multiple Lines Columns and Rows
9722 \begin_layout Subsection
9723 Multiple Lines in Table Cells
9724 \begin_inset LatexCommand label
9725 name "sub:Multiple-Lines-in"
9730 \begin_inset LatexCommand index
9731 name "Multiple Lines in Table Cells"
9736 \begin_inset LatexCommand index
9737 name "Table ! Linebreaks"
9744 \begin_layout Standard
9746 \begin_inset Float table
9752 \begin_layout Standard
9753 \begin_inset Caption
9755 \begin_layout Standard
9756 \begin_inset LatexCommand label
9757 name "tab:Table-with-multiple"
9761 Table with multiple lines in cells
9769 \begin_layout Standard
9771 \begin_inset Tabular
9772 <lyxtabular version="3" rows="3" columns="3">
9774 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9775 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9776 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9777 <row topline="true">
9778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9781 \begin_layout Standard
9786 \begin_layout Standard
9800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9803 \begin_layout Standard
9809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9812 \begin_layout Standard
9819 <row topline="true">
9820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9823 \begin_layout Standard
9829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9832 \begin_layout Standard
9838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9841 \begin_layout Standard
9848 <row topline="true" bottomline="true">
9849 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9852 \begin_layout Standard
9858 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9861 \begin_layout Standard
9867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9870 \begin_layout Standard
9889 \begin_layout Standard
9890 Adjusting a fixed width for a column, enables to enter text as a paragraph
9891 with multiple lines and hyphenations.
9894 \begin_layout Standard
9895 To produce Table\InsetSpace ~
9897 \begin_inset LatexCommand ref
9898 reference "tab:Table-with-multiple"
9902 , create a 3×3 table, mark the first cell and right-click on it.
9903 In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
9904 cm and choose centered
9905 for the vertical and horizontal alignment.
9906 As our text is smaller than than 2.5\InsetSpace \thinspace{}
9907 cm, only one line will appear.
9908 To get two lines, we add a line break with the command
9911 \begin_layout Standard
9919 \begin_layout Standard
9921 If the text is wider than the set cell width it will automatically be broken
9925 \begin_layout Standard
9926 To center the text inside the two other cells of the first row vertically,
9927 right-click in the second cell, adjust a fixed width of 0.5\InsetSpace \thinspace{}
9929 centered alignments.
9930 Then do the same for the third cell of the row.
9933 \begin_layout Standard
9934 If you have a long word in a cell with a fixed width, it cannot be hyphenated
9935 by LaTeX if it is the first entry.
9936 Therefore you need to insert something, to make the word not being the
9937 first entry: Add the command
9940 \begin_layout Standard
9948 \begin_layout Standard
9949 in ERT before the word.
9950 As the space is zero, it doesn't change the output.
9953 \begin_inset LatexCommand ref
9954 reference "tab:Table-with-and"
9961 \begin_layout Standard
9962 \begin_inset Float table
9967 \begin_layout Standard
9968 \begin_inset Caption
9970 \begin_layout Standard
9971 \begin_inset LatexCommand label
9972 name "tab:Table-with-and"
9976 Table with and without hyphenation
9984 \begin_layout Standard
9988 \begin_inset Tabular
9989 <lyxtabular version="3" rows="3" columns="3">
9991 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
9992 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
9993 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
9994 <row topline="true">
9995 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9998 \begin_layout Standard
9999 verylongtablecellword
10004 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10007 \begin_layout Standard
10013 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10016 \begin_layout Standard
10023 <row topline="true">
10024 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10027 \begin_layout Standard
10033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10036 \begin_layout Standard
10042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10045 \begin_layout Standard
10052 <row topline="true" bottomline="true">
10053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10056 \begin_layout Standard
10062 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10065 \begin_layout Standard
10071 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10074 \begin_layout Standard
10088 \begin_inset Tabular
10089 <lyxtabular version="3" rows="3" columns="3">
10091 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10092 <column alignment="center" valignment="middle" leftline="true" width="0.5cm">
10093 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0.5cm">
10094 <row topline="true">
10095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10098 \begin_layout Standard
10102 \begin_layout Standard
10111 verylongtablecellword
10116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10119 \begin_layout Standard
10125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10128 \begin_layout Standard
10135 <row topline="true">
10136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10139 \begin_layout Standard
10145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10148 \begin_layout Standard
10154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10157 \begin_layout Standard
10164 <row topline="true" bottomline="true">
10165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10168 \begin_layout Standard
10174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10177 \begin_layout Standard
10183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10186 \begin_layout Standard
10207 \begin_layout Standard
10213 \begin_layout Subsection
10215 \begin_inset LatexCommand label
10216 name "sub:Multicolumns"
10221 \begin_inset LatexCommand index
10222 name "Multicolumns"
10227 \begin_inset LatexCommand index
10228 name "Table ! Multicolumns"
10235 \begin_layout Subsubsection
10239 \begin_layout Standard
10240 To span a cell over multiple columns, mark as much cells within a line that
10241 should be one spanned cell and use either the table-toolbar button
10242 \begin_inset Graphics
10243 filename ../images/tabular-feature_multicolumn.xpm
10250 Edit\SpecialChar \menuseparator
10251 Table\SpecialChar \menuseparator
10254 , or right click on the marked cells and choose multicolumn in the appearing
10255 table dialog under the tab
10262 \begin_layout Standard
10263 Multicolumns have there own cell settings.
10264 That means changing cell borders, cell alignment, and the width only affects
10266 Here is an example table with a multicolumn cell in the first row and one
10267 in the last row without the upper border:
10270 \begin_layout Standard
10272 \begin_inset Tabular
10273 <lyxtabular version="3" rows="3" columns="4">
10274 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10275 <column alignment="center" valignment="top" leftline="true" width="0pt">
10276 <column alignment="center" valignment="middle" leftline="true" width="0">
10277 <column alignment="center" valignment="top" leftline="true" width="0in">
10278 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10279 <row topline="true" bottomline="true">
10280 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10283 \begin_layout Standard
10289 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10292 \begin_layout Standard
10302 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10305 \begin_layout Standard
10311 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10314 \begin_layout Standard
10321 <row topline="true">
10322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10325 \begin_layout Standard
10340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10343 \begin_layout Standard
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10352 \begin_layout Standard
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10361 \begin_layout Standard
10368 <row topline="true" bottomline="true">
10369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10372 \begin_layout Standard
10378 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10381 \begin_layout Standard
10387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10390 \begin_layout Standard
10396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10399 \begin_layout Standard
10413 \begin_layout Subsubsection
10414 Multicolumn Calculations
10415 \begin_inset LatexCommand label
10416 name "sub:Multicolumn-Calculations"
10421 \begin_inset LatexCommand index
10422 name "Multicolumns ! Calculations"
10429 \begin_layout Standard
10430 LyX supports multicolumns directly, but we have to take notice of the cell
10431 width of the columns spanned by the multicolumn cell.
10434 \begin_layout Standard
10435 \begin_inset Float table
10440 \begin_layout Standard
10441 \begin_inset Caption
10443 \begin_layout Standard
10444 \begin_inset LatexCommand label
10445 name "tab:Table-with-centered"
10449 Table with centered multicolumn text above two columns that have exactly
10450 half the width of the multicolumn cell
10451 \begin_inset OptArg
10454 \begin_layout Standard
10455 Perfect multicolumn table
10468 \begin_layout Standard
10470 \begin_inset Tabular
10471 <lyxtabular version="3" rows="3" columns="3">
10473 <column alignment="center" valignment="middle" leftline="true" width="0" special="|>{\centering}m{1.25cm-6.2pt}">
10474 <column alignment="center" valignment="middle" leftline="true" width="0">
10475 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10476 <row topline="true">
10477 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special="|>{\centering}m{2.5cm}|">
10480 \begin_layout Standard
10481 multiple lines multicolumn
10486 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10489 \begin_layout Standard
10495 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10498 \begin_layout Standard
10505 <row topline="true">
10506 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10509 \begin_layout Standard
10515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10518 \begin_layout Standard
10524 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10527 \begin_layout Standard
10534 <row topline="true" bottomline="true">
10535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10538 \begin_layout Standard
10544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10547 \begin_layout Standard
10553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10556 \begin_layout Standard
10575 \begin_layout Standard
10576 To create for example Table\InsetSpace ~
10578 \begin_inset LatexCommand ref
10579 reference "tab:Table-with-centered"
10583 , mark the first two cells in the first row a 3×3 table and right-click
10585 Now choose for this cell
10593 and a width of 2.5\InsetSpace \thinspace{}
10594 cm in the table dialog.
10595 The spanned columns should have exactly half the width of the multicolumn
10596 cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
10597 cm for the first column.
10598 The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
10600 width - width of first column).
10601 This was done for Table\InsetSpace ~
10603 \begin_inset LatexCommand ref
10604 reference "tab:Table-without-half"
10611 \begin_layout Standard
10612 \begin_inset Float table
10617 \begin_layout Standard
10618 \begin_inset Caption
10620 \begin_layout Standard
10621 \begin_inset LatexCommand label
10622 name "tab:Table-without-half"
10626 Table where the spanned table columns have not exactly half the width of
10627 the multicolumn cell
10628 \begin_inset OptArg
10631 \begin_layout Standard
10632 Imperfect multicolumn table
10645 \begin_layout Standard
10647 \begin_inset Tabular
10648 <lyxtabular version="3" rows="3" columns="3">
10650 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
10651 <column alignment="center" valignment="top" leftline="true" width="0">
10652 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
10653 <row topline="true" bottomline="true">
10654 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
10657 \begin_layout Standard
10658 multiple lines multicolumn
10663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10666 \begin_layout Standard
10672 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10675 \begin_layout Standard
10682 <row topline="true">
10683 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10686 \begin_layout Standard
10692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10695 \begin_layout Standard
10701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10704 \begin_layout Standard
10711 <row topline="true" bottomline="true">
10712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10715 \begin_layout Standard
10721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10724 \begin_layout Standard
10730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10733 \begin_layout Standard
10752 \begin_layout Standard
10753 You can see that the first column has not the half width of the multicolumn
10754 cell, it is a bit bigger.
10755 The reason is that the given width of a cell
10756 \begin_inset Formula $W_{g}$
10759 is not its total width
10760 \begin_inset Formula $W_{\mathrm{tot}}$
10763 because a cell is always a bit larger than its given width.
10764 Appendix\InsetSpace ~
10766 \begin_inset LatexCommand eqref
10767 reference "cha:Explanation-of-Equation"
10771 explains it in detail.
10774 \begin_layout Standard
10775 The needed given width
10776 \begin_inset Formula $W_{g\, n}$
10783 columns are spanned columns can be calculated, so that each column has
10785 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
10789 \begin_inset Formula \begin{equation}
10790 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)·(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
10797 \begin_layout Standard
10798 In our case we have
10799 \begin_inset Formula $n=2$
10803 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
10806 cm and the default values for the lengths, so that equation
10807 \begin_inset LatexCommand ref
10813 \begin_inset Formula \begin{equation}
10814 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
10821 \begin_layout Standard
10822 To enable calculations in LaTeX, the LaTeX-package
10826 must be loaded with the document preamble line
10827 \begin_inset LatexCommand index
10828 name "LaTeX-packages ! calc"
10835 \begin_layout Standard
10843 \begin_layout Standard
10844 LyX does not allow to calculate lengths in the width-field of the table
10846 Therefore you have to format the column by inserting a LaTeX-argument in
10848 Here is an overview about the arguments:
10851 \begin_layout Itemize
10856 creates cell with a fixed width, its text is vertically top-aligned
10859 \begin_layout Itemize
10864 creates cell with a fixed width, its text is vertically centered
10867 \begin_layout Itemize
10872 creates cell with a fixed width, its text is vertically bottom-aligned
10875 \begin_layout Standard
10876 By entering a LaTeX-argument, all cell properties set in the table dialog
10879 \begin_inset Note Greyedout
10882 \begin_layout Standard
10887 Due to a bug, LyX shows the overwritten properties anyway.
10892 As the text should be horizontally centered, the command
10899 You can now enter the following LaTeX-argument for the first spanned column:
10902 \begin_layout Standard
10907 centering}m{1.25cm-6.2pt}
10910 \begin_layout Standard
10912 \begin_inset Quotes eld
10920 \begin_inset Quotes erd
10923 at the beginning draws the border line and the command
10927 means, that the commands inside the braces are applied before the cell
10931 \begin_layout Standard
10932 Although we have chosen centered alignment for the text of the multicolumn
10933 cell, it is still left aligned.
10934 This is because LyX only applies the alignment to single columns.
10935 So we have to use for the multicolumn the LaTeX-argument
10938 \begin_layout Standard
10943 centering}m{2.5cm}|
10946 \begin_layout Subsection
10948 \begin_inset LatexCommand index
10954 \begin_inset LatexCommand index
10955 name "Table ! Multirows"
10960 \begin_inset LatexCommand index
10961 name "LaTeX-packages ! multirow"
10968 \begin_layout Standard
10969 In contrary to multicolumns multirows are not yet supported by LyX so a
10970 bit of ERT needs to be used.
10971 To use multirows load the LaTeX-package
10975 in your document preamble with the command
10978 \begin_layout Standard
10983 usepackage{multirow}
10986 \begin_layout Standard
10987 Multirows are created with the command
10990 \begin_layout Standard
10995 multirow{number of rows}{cell width}{cell entry}
10998 \begin_layout Standard
10999 To create the following table:
11002 \begin_layout Standard
11007 \begin_layout Standard
11021 \begin_inset Tabular
11022 <lyxtabular version="3" rows="3" columns="3">
11024 <column alignment="center" valignment="top" leftline="true" width="0">
11025 <column alignment="center" valignment="top" leftline="true" width="0">
11026 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11027 <row topline="true">
11028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11031 \begin_layout Standard
11037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11040 \begin_layout Standard
11046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11049 \begin_layout Standard
11056 <row topline="true">
11057 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11060 \begin_layout Standard
11064 \begin_layout Standard
11068 multirow{2}{2.5cm}{
11077 \begin_layout Standard
11089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11092 \begin_layout Standard
11098 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11101 \begin_layout Standard
11108 <row topline="true" bottomline="true">
11109 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11112 \begin_layout Standard
11118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11121 \begin_layout Standard
11127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11130 \begin_layout Standard
11145 \begin_layout Standard
11161 \begin_layout Standard
11162 create a 3×3 table.
11163 To get rid of the line above the last cell in the first column, the cell
11164 is marked as multicolumn and the upper border is unset.
11165 The multirow is now created in the second row of the first column by inserting
11169 \begin_layout Standard
11174 multirow{2}{2.5cm}{
11177 \begin_layout Standard
11179 According to the command parameters the multirow spans now two rows and
11180 has a width of 2.5\InsetSpace \thinspace{}
11182 The content of the multirow cell follows outside the ERT box and the command
11183 is finished with a right brace
11187 in another ERT-box behind the text.
11190 \begin_layout Standard
11197 left-aligns its content by default.
11198 To override the default, renew the command
11207 \begin_layout Standard
11219 \begin_layout Standard
11220 in ERT in the document preamble.
11221 Then all entries of multirow cells in the document are centered.
11222 If centering is only needed for several tables, you can renew the command
11223 in an ERT box just before the table instead of the preamble.
11224 If the text should be right-aligned, replace
11237 To return to left-alignment
11246 \begin_layout Section
11248 \begin_inset LatexCommand label
11249 name "sec:Formal-Tables"
11254 \begin_inset LatexCommand index
11255 name "Table ! Formal"
11262 \begin_layout Standard
11263 Tables are often typeset in books similar to Table\InsetSpace ~
11265 \begin_inset LatexCommand ref
11266 reference "tab:Example-booktabs-table"
11271 This kind of tables is called
11272 \begin_inset Quotes eld
11280 \begin_inset Quotes erd
11284 To make a table a formal table use the option
11292 tab of the table dialog.
11295 \begin_layout Standard
11296 \begin_inset Float table
11302 \begin_layout Standard
11303 \begin_inset Caption
11305 \begin_layout Standard
11306 \begin_inset LatexCommand label
11307 name "tab:Example-booktabs-table"
11311 Example booktabs-table
11319 \begin_layout Standard
11321 \begin_inset Tabular
11322 <lyxtabular version="3" rows="8" columns="4">
11323 <features booktabs="true">
11324 <column alignment="center" valignment="top" rightline="true" width="0">
11325 <column alignment="center" valignment="top" width="0">
11326 <column alignment="center" valignment="top" width="0">
11327 <column alignment="center" valignment="top" width="0">
11328 <row topline="true">
11329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11332 \begin_layout Standard
11338 <cell alignment="center" valignment="top" topline="true" usebox="none">
11341 \begin_layout Standard
11343 \begin_inset Formula $\,$
11351 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11354 \begin_layout Standard
11356 \begin_inset Formula $\,$
11364 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11367 \begin_layout Standard
11375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11378 \begin_layout Standard
11382 \begin_layout Standard
11395 \begin_layout Standard
11404 Detector thickness [µm]
11409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11412 \begin_layout Standard
11418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11421 \begin_layout Standard
11427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11430 \begin_layout Standard
11437 <row topline="true">
11438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11441 \begin_layout Standard
11447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11450 \begin_layout Standard
11456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11459 \begin_layout Standard
11465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11468 \begin_layout Standard
11475 <row topspace="default">
11476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11479 \begin_layout Standard
11480 Spatial resolution [µm]
11485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11488 \begin_layout Standard
11494 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11497 \begin_layout Standard
11503 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11506 \begin_layout Standard
11513 <row topspace="default">
11514 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11517 \begin_layout Standard
11519 \begin_inset Formula $f_{\mathrm{max}}$
11527 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11530 \begin_layout Standard
11536 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11539 \begin_layout Standard
11545 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11548 \begin_layout Standard
11555 <row topspace="default">
11556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11559 \begin_layout Standard
11563 \begin_layout Standard
11567 cmidrule(l{10pt}){1-1}
11572 LSF-spatial resolution
11577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11580 \begin_layout Standard
11586 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11589 \begin_layout Standard
11595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11598 \begin_layout Standard
11606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11609 \begin_layout Standard
11615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11618 \begin_layout Standard
11624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11627 \begin_layout Standard
11633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11636 \begin_layout Standard
11643 <row bottomline="true">
11644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11647 \begin_layout Standard
11653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11656 \begin_layout Standard
11662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11665 \begin_layout Standard
11671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11674 \begin_layout Standard
11693 \begin_layout Standard
11694 Spaces to table rows can be added using the
11698 tab of the table dialog as described in section\InsetSpace ~
11700 \begin_inset LatexCommand ref
11701 reference "sub:Row-Spacing"
11708 \begin_layout Standard
11709 In contrary to normal tables, formal tables have no vertical table lines.
11710 The horizontal table lines can be set like for normal tables but they appear
11711 with different width in the output:
11713 The first and the last table line have
11714 a default width of 0.08\InsetSpace \thinspace{}
11715 em while the other lines have a default width of
11716 0.05\InsetSpace \thinspace{}
11720 \begin_layout Standard
11721 The default widths can be changed with the following preamble lines
11724 \begin_layout Standard
11744 \begin_layout Standard
11745 This example is for the first line, the so called toprule.
11746 If you want to change the width for the last line, replace
11755 To change the width for the other lines replace
11764 You can use all units listed in appendix\InsetSpace ~
11766 \begin_inset LatexCommand ref
11767 reference "cha:Units-available-in"
11774 \begin_layout Standard
11775 Lines that don't span over all table columns can be created by setting a
11776 table line for multicolumn cells.
11777 LyX will then internally use the command
11783 to create this line.
11787 \begin_layout Standard
11792 cmidrule[width](trim){startcol-endcol}
11795 \begin_layout Standard
11802 are are currently not supported by LyX so you have to use ERT to be able
11810 s can manually be created by inserting the command as ERT as first cell
11811 entry of the first cell of a row.
11812 The line is then drawn in the output above the current row.
11815 \begin_layout Standard
11816 The default for the width is 0.03\InsetSpace \thinspace{}
11818 Startcol is the number of the column where the line starts and endcol the
11819 column number where the line ends.
11820 The endcol always needs to be specified, also when the line should span
11822 The optional parameter trim could be either
11830 where the trimwidth is also optional.
11831 Using for example the parameter
11835 means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
11837 If you don't specify the trimwidth the lines are trimmed by the default
11838 of 0.5\InsetSpace \thinspace{}
11842 \begin_layout Standard
11843 \begin_inset VSpace bigskip
11848 \begin_inset LatexCommand ref
11849 reference "tab:Example-booktabs-table"
11853 was created using the commands
11856 \begin_layout Standard
11866 \begin_layout Standard
11867 at the beginning of the in the second row and
11870 \begin_layout Standard
11875 cmidrule(l{10pt}){1-1}
11878 \begin_layout Standard
11882 \begin_layout Standard
11886 \begin_layout Standard
11887 \begin_inset VSpace bigskip
11893 \begin_layout Standard
11894 You might want to have overlapping
11900 s like in Table\InsetSpace ~
11902 \begin_inset LatexCommand ref
11903 reference "tab:Special-booktabs-table"
11908 This can be achieved with the ERT command
11911 \begin_layout Standard
11919 \begin_layout Standard
11920 The command that was used for the second row of Table\InsetSpace ~
11922 \begin_inset LatexCommand ref
11923 reference "tab:Special-booktabs-table"
11930 \begin_layout Standard
11944 \begin_layout Standard
11945 The command for the sixth row is
11948 \begin_layout Standard
11960 \begin_layout Standard
11961 \begin_inset VSpace bigskip
11967 \begin_layout Standard
11968 If you are anyway not satisfied with the border line spacing, you can use
11969 the following command to produce lines that span over all table columns
11974 \begin_layout Standard
11979 specialrule{width}{space above}{space below}
11982 \begin_layout Standard
11983 For more informations about these specialties, we refer to the manual of
11989 \begin_inset LatexCommand cite
11995 \begin_inset LatexCommand index
11996 name "LaTeX-packages ! booktabs"
12003 \begin_layout Standard
12004 \begin_inset Float table
12010 \begin_layout Standard
12011 \begin_inset Caption
12013 \begin_layout Standard
12014 \begin_inset LatexCommand label
12015 name "tab:Special-booktabs-table"
12019 Special booktabs-table
12027 \begin_layout Standard
12029 \begin_inset Tabular
12030 <lyxtabular version="3" rows="8" columns="4">
12031 <features booktabs="true">
12032 <column alignment="center" valignment="top" width="0">
12033 <column alignment="center" valignment="top" width="0">
12034 <column alignment="center" valignment="top" width="0">
12035 <column alignment="center" valignment="top" width="0">
12036 <row topline="true">
12037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12040 \begin_layout Standard
12046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12049 \begin_layout Standard
12050 Medipix\InsetSpace \thinspace{}
12056 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12059 \begin_layout Standard
12060 Medipix\InsetSpace \thinspace{}
12066 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12069 \begin_layout Standard
12077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12080 \begin_layout Standard
12084 \begin_layout Standard
12097 \begin_layout Standard
12110 \begin_layout Standard
12123 \begin_layout Standard
12132 Detector thickness [µm]
12137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12140 \begin_layout Standard
12146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12149 \begin_layout Standard
12155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12158 \begin_layout Standard
12165 <row topline="true">
12166 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12169 \begin_layout Standard
12175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12178 \begin_layout Standard
12184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12187 \begin_layout Standard
12193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12196 \begin_layout Standard
12203 <row topspace="default">
12204 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12207 \begin_layout Standard
12208 Spatial resolution [µm]
12213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12216 \begin_layout Standard
12222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12225 \begin_layout Standard
12231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12234 \begin_layout Standard
12241 <row topspace="default">
12242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12245 \begin_layout Standard
12247 \begin_inset Formula $f_{\mathrm{max}}$
12255 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12258 \begin_layout Standard
12264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12267 \begin_layout Standard
12273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12276 \begin_layout Standard
12283 <row topline="true">
12284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12287 \begin_layout Standard
12291 \begin_layout Standard
12304 \begin_layout Standard
12313 LSF-spatial resolution
12318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12321 \begin_layout Standard
12327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12330 \begin_layout Standard
12336 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12339 \begin_layout Standard
12347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12350 \begin_layout Standard
12356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12359 \begin_layout Standard
12365 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12368 \begin_layout Standard
12374 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12377 \begin_layout Standard
12384 <row bottomline="true">
12385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12388 \begin_layout Standard
12394 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12397 \begin_layout Standard
12403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12406 \begin_layout Standard
12412 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12415 \begin_layout Standard
12434 \begin_layout Section
12435 Vertical Table Alignment
12436 \begin_inset LatexCommand index
12437 name "Table ! Alignment"
12444 \begin_layout Standard
12445 To align tables vertically in a text line the table must be inside a box.
12446 The box can then be vertically aligned as described in section\InsetSpace ~
12448 \begin_inset LatexCommand ref
12449 reference "sec:Box-Dialog"
12456 \begin_layout Standard
12457 In the following example the tables are inside a minipage
12461 \begin_layout Standard
12462 Minipages are described in section\InsetSpace ~
12464 \begin_inset LatexCommand ref
12465 reference "sec:Minipages"
12474 box that has a width of 15\InsetSpace \thinspace{}
12478 \begin_layout Itemize
12480 \begin_inset Box Frameless
12489 height_special "totalheight"
12492 \begin_layout Standard
12493 \begin_inset Tabular
12494 <lyxtabular version="3" rows="3" columns="3">
12496 <column alignment="center" valignment="top" leftline="true" width="0">
12497 <column alignment="center" valignment="top" leftline="true" width="0">
12498 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12499 <row topline="true">
12500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12503 \begin_layout Standard
12509 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12512 \begin_layout Standard
12518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12521 \begin_layout Standard
12528 <row topline="true">
12529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12532 \begin_layout Standard
12538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12541 \begin_layout Standard
12547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12550 \begin_layout Standard
12557 <row topline="true" bottomline="true">
12558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12561 \begin_layout Standard
12567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12570 \begin_layout Standard
12576 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12579 \begin_layout Standard
12599 \begin_layout Standard
12611 \begin_inset Box Frameless
12620 height_special "totalheight"
12623 \begin_layout Standard
12624 \begin_inset Tabular
12625 <lyxtabular version="3" rows="3" columns="3">
12627 <column alignment="center" valignment="top" leftline="true" width="0">
12628 <column alignment="center" valignment="top" leftline="true" width="0">
12629 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12630 <row topline="true">
12631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12634 \begin_layout Standard
12640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12643 \begin_layout Standard
12649 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12652 \begin_layout Standard
12659 <row topline="true">
12660 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12663 \begin_layout Standard
12669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12672 \begin_layout Standard
12678 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12681 \begin_layout Standard
12688 <row topline="true" bottomline="true">
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12692 \begin_layout Standard
12698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12701 \begin_layout Standard
12707 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12710 \begin_layout Standard
12730 \begin_layout Standard
12740 \begin_layout Itemize
12742 \begin_inset Box Frameless
12751 height_special "totalheight"
12754 \begin_layout Standard
12755 \begin_inset Tabular
12756 <lyxtabular version="3" rows="3" columns="3">
12758 <column alignment="center" valignment="top" leftline="true" width="0">
12759 <column alignment="center" valignment="top" leftline="true" width="0">
12760 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12761 <row topline="true">
12762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12765 \begin_layout Standard
12771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12774 \begin_layout Standard
12780 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12783 \begin_layout Standard
12790 <row topline="true">
12791 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12794 \begin_layout Standard
12800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12803 \begin_layout Standard
12809 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12812 \begin_layout Standard
12819 <row topline="true" bottomline="true">
12820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12823 \begin_layout Standard
12829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12832 \begin_layout Standard
12838 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12841 \begin_layout Standard
12860 \begin_layout Itemize
12862 \begin_inset Box Frameless
12871 height_special "totalheight"
12874 \begin_layout Standard
12875 \begin_inset Tabular
12876 <lyxtabular version="3" rows="3" columns="3">
12878 <column alignment="center" valignment="top" leftline="true" width="0">
12879 <column alignment="center" valignment="top" leftline="true" width="0">
12880 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
12881 <row topline="true">
12882 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12885 \begin_layout Standard
12891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12894 \begin_layout Standard
12900 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12903 \begin_layout Standard
12910 <row topline="true">
12911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12914 \begin_layout Standard
12920 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12923 \begin_layout Standard
12929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12932 \begin_layout Standard
12939 <row topline="true" bottomline="true">
12940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12943 \begin_layout Standard
12949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12952 \begin_layout Standard
12958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12961 \begin_layout Standard
12981 \begin_layout Standard
12993 \begin_inset Box Frameless
13002 height_special "totalheight"
13005 \begin_layout Standard
13006 \begin_inset Tabular
13007 <lyxtabular version="3" rows="3" columns="3">
13009 <column alignment="center" valignment="top" leftline="true" width="0">
13010 <column alignment="center" valignment="top" leftline="true" width="0">
13011 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13012 <row topline="true">
13013 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13016 \begin_layout Standard
13022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13025 \begin_layout Standard
13031 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13034 \begin_layout Standard
13041 <row topline="true">
13042 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13045 \begin_layout Standard
13051 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13054 \begin_layout Standard
13060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13063 \begin_layout Standard
13070 <row topline="true" bottomline="true">
13071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13074 \begin_layout Standard
13080 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13083 \begin_layout Standard
13089 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13092 \begin_layout Standard
13112 \begin_layout Standard
13122 \begin_layout Standard
13123 As you can see, the content of the first and last table row is not correctly
13124 aligned with the text line where the table is in.
13125 To get this alignment, the minipage box must be set into a raisebox
13129 \begin_layout Standard
13130 Raiseboxes are described in section\InsetSpace ~
13132 \begin_inset LatexCommand ref
13133 reference "sub:Vertical-Alignment"
13143 In the example above the second table in the first item is aligned using
13147 \begin_layout Standard
13157 \begin_layout Standard
13159 Behind the box the closing brace
13163 is inserted as ERT.
13164 For the second table in the last item the command
13167 \begin_layout Standard
13177 \begin_layout Standard
13181 \begin_layout Standard
13182 \begin_inset Note Greyedout
13185 \begin_layout Standard
13190 The alignment of the table row content to the surrounding text line is not
13192 The needed factor of the
13198 command for this alignment depends on the document font, the font size,
13199 and the table line thickness.
13207 \begin_layout Section
13209 \begin_inset LatexCommand label
13210 name "sec:Colored-Tables"
13215 \begin_inset LatexCommand index
13216 name "Table ! Color"
13223 \begin_layout Subsection
13225 \begin_inset LatexCommand index
13226 name "Table Color ! for Cells"
13231 \begin_inset LatexCommand index
13232 name "Color ! for Table Cells"
13239 \begin_layout Standard
13240 \begin_inset Float table
13246 \begin_layout Standard
13247 \begin_inset Caption
13249 \begin_layout Standard
13250 \begin_inset LatexCommand label
13251 name "tab:Table-colored-without"
13255 Table colored without using the package
13260 \begin_inset OptArg
13263 \begin_layout Standard
13264 Table without colortbl
13277 \begin_layout Standard
13279 \begin_inset Tabular
13280 <lyxtabular version="3" rows="3" columns="3">
13282 <column alignment="center" valignment="top" leftline="true" width="0">
13283 <column alignment="center" valignment="top" leftline="true" width="0">
13284 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13285 <row topline="true">
13286 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13289 \begin_layout Standard
13297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13300 \begin_layout Standard
13308 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13311 \begin_layout Standard
13320 <row topline="true">
13321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13324 \begin_layout Standard
13332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13335 \begin_layout Standard
13343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13346 \begin_layout Standard
13355 <row topline="true" bottomline="true">
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13359 \begin_layout Standard
13367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13370 \begin_layout Standard
13378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13381 \begin_layout Standard
13402 \begin_layout Standard
13403 If you only need colored text, mark the cells and choose a color in the
13406 Edit\SpecialChar \menuseparator
13411 This was used to create Table\InsetSpace ~
13413 \begin_inset LatexCommand ref
13414 reference "tab:Table-colored-without"
13419 In any other case you have to use the LaTeX-package
13424 \begin_inset LatexCommand index
13425 name "LaTeX-packages ! colortbl"
13432 \begin_layout Standard
13433 To create colored tables,
13437 must be loaded in the preamble with the line
13440 \begin_layout Standard
13445 usepackage{colortbl}
13448 \begin_layout Standard
13449 The color of a column is adjusted with the command
13452 \begin_layout Standard
13457 columncolor{name of color}
13460 \begin_layout Standard
13466 More about the command
13470 is described in section\InsetSpace ~
13472 \begin_inset LatexCommand ref
13473 reference "sub:Multicolumn-Calculations"
13480 \begin_layout Standard
13481 The following color names are predefined:
13484 \begin_layout Standard
13518 \begin_layout Standard
13519 \begin_inset VSpace medskip
13525 \begin_layout Standard
13526 You can also define your own color with the command
13529 \begin_layout Standard
13534 def\SpecialChar \textcompwordmark{}
13535 inecolor{color name}{color model}{color values}
13538 \begin_layout Standard
13539 The color model can be
13542 \begin_layout Labeling
13543 \labelwidthstring 00.00.0000
13544 cmyk: cyan, magenta, yellow, black
13547 \begin_layout Labeling
13548 \labelwidthstring 00.00.0000
13549 rgb: red, green blue
13552 \begin_layout Labeling
13553 \labelwidthstring 00.00.0000
13557 \begin_layout Standard
13558 and the color values are comma separated numbers between 0 and 1 describing
13559 the factor for the corresponding color of the color model.
13562 \begin_layout Standard
13563 You can e.\InsetSpace \thinspace{}
13569 " in the preamble with
13572 \begin_layout Standard
13577 def\SpecialChar \textcompwordmark{}
13578 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
13581 \begin_layout Standard
13589 \begin_layout Standard
13594 def\SpecialChar \textcompwordmark{}
13595 inecolor{lightgray}{gray}{0.8}
13598 \begin_layout Standard
13599 \begin_inset VSpace medskip
13605 \begin_layout Standard
13606 Lines are colored with the command
13609 \begin_layout Standard
13614 rowcolor{name of color}
13617 \begin_layout Standard
13618 and cells are colored with the command
13621 \begin_layout Standard
13626 cellcolor{name of color}
13629 \begin_layout Standard
13630 Both commands are inserted at the beginning of a cell as ERT.
13633 \begin_layout Standard
13634 To color characters in the table, mark the cells and use the LyX menu
13636 Edit\SpecialChar \menuseparator
13641 If a cell contains ERT mark only the characters, otherwise the colored
13642 ERT will cause LaTeX-errors.
13645 \begin_layout Standard
13646 \begin_inset VSpace bigskip
13652 \begin_layout Standard
13653 To create Table\InsetSpace ~
13655 \begin_inset LatexCommand ref
13656 reference "tab:Table-colored-using"
13660 do the following: The color of the first column should be
13668 \begin_layout Standard
13673 columncolor{darkgreen}
13678 \begin_layout Standard
13679 as LaTeX-argument for this column.
13680 The first row should be blue, therefore the ERT command
13683 \begin_layout Standard
13691 \begin_layout Standard
13692 is inserted to the first cell of this row.
13693 Note that this overwrites the column color for the first cell.
13694 The last cell of the last row is colored magenta by inserting the ERT command
13697 \begin_layout Standard
13705 \begin_layout Standard
13706 The characters could now be colored using the menu
13708 Edit\SpecialChar \menuseparator
13715 \begin_layout Standard
13716 \begin_inset Float table
13722 \begin_layout Standard
13723 \begin_inset Caption
13725 \begin_layout Standard
13726 \begin_inset LatexCommand label
13727 name "tab:Table-colored-using"
13731 Table colored using the package
13736 \begin_inset OptArg
13739 \begin_layout Standard
13740 Table with colortbl
13753 \begin_layout Standard
13755 \begin_inset Tabular
13756 <lyxtabular version="3" rows="3" columns="3">
13758 <column alignment="center" valignment="top" leftline="true" width="0" special=">{\columncolor{darkgreen}\centering}c">
13759 <column alignment="center" valignment="top" width="0">
13760 <column alignment="center" valignment="top" width="0">
13762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13765 \begin_layout Standard
13769 \begin_layout Standard
13785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13788 \begin_layout Standard
13796 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13799 \begin_layout Standard
13809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13812 \begin_layout Standard
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13823 \begin_layout Standard
13831 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13834 \begin_layout Standard
13844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13847 \begin_layout Standard
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13858 \begin_layout Standard
13866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13869 \begin_layout Standard
13873 \begin_layout Standard
13902 \begin_layout Subsection
13904 \begin_inset LatexCommand index
13905 name "Table Color ! for Lines"
13910 \begin_inset LatexCommand index
13911 name "Color ! for Table Lines"
13918 \begin_layout Standard
13919 As described in section\InsetSpace ~
13921 \begin_inset LatexCommand ref
13922 reference "sub:Line-Thickness"
13926 , the line thickness for all lines in a table can be adjusted with the length
13934 It is set to 1.5\InsetSpace \thinspace{}
13935 pt for all tables of this section.
13939 \begin_layout Standard
13945 arrayrulewidth}{1.5pt}
13953 \begin_layout Standard
13954 To color vertical lines for example with green, create the following column
13955 format in the document preamble, according to the description in section\InsetSpace ~
13957 \begin_inset LatexCommand ref
13958 reference "sub:Customized-Format"
13965 \begin_layout Standard
13970 newcolumntype{W}{!{
13977 \begin_layout Standard
13978 For Table\InsetSpace ~
13980 \begin_inset LatexCommand ref
13981 reference "tab:Table-with-vertical-colored"
13988 \begin_layout Standard
13994 \begin_layout Standard
13995 was used for the last column and
13998 \begin_layout Standard
14004 \begin_layout Standard
14005 for the other columns.
14008 \begin_layout Standard
14009 If you want to have several colors, define more column formats.
14012 \begin_layout Standard
14013 \begin_inset Float table
14018 \begin_layout Standard
14019 \begin_inset Caption
14021 \begin_layout Standard
14022 \begin_inset LatexCommand label
14023 name "tab:Table-with-vertical-colored"
14027 Table with colored vertical lines
14035 \begin_layout Standard
14037 \begin_inset Tabular
14038 <lyxtabular version="3" rows="3" columns="3">
14040 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14041 <column alignment="center" valignment="top" width="0" special="Wc">
14042 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14043 <row topline="true">
14044 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14047 \begin_layout Standard
14053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14056 \begin_layout Standard
14062 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14065 \begin_layout Standard
14072 <row topline="true">
14073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14076 \begin_layout Standard
14082 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14085 \begin_layout Standard
14091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14094 \begin_layout Standard
14101 <row topline="true" bottomline="true">
14102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14105 \begin_layout Standard
14111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14114 \begin_layout Standard
14120 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14123 \begin_layout Standard
14142 \begin_layout Standard
14143 \begin_inset VSpace bigskip
14146 To color horizontal lines for example with red, like in Table\InsetSpace ~
14148 \begin_inset LatexCommand ref
14149 reference "tab:Table-with-horizontal-colored"
14153 , insert these commands in ERT before the table or table float:
14156 \begin_layout Standard
14173 arrayrulecolor{red}
14177 arrayrulecolor{black}}
14180 \begin_layout Standard
14184 \begin_layout Standard
14195 \begin_layout Standard
14203 arrayrulecolor{red}
14207 arrayrulecolor{black}}
14213 \begin_inset Float table
14218 \begin_layout Standard
14219 \begin_inset Caption
14221 \begin_layout Standard
14222 \begin_inset LatexCommand label
14223 name "tab:Table-with-horizontal-colored"
14227 Table with colored horizontal lines
14235 \begin_layout Standard
14237 \begin_inset Tabular
14238 <lyxtabular version="3" rows="3" columns="3">
14240 <column alignment="center" valignment="top" leftline="true" width="0">
14241 <column alignment="center" valignment="top" leftline="true" width="0">
14242 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14243 <row topline="true">
14244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14247 \begin_layout Standard
14253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14256 \begin_layout Standard
14262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14265 \begin_layout Standard
14272 <row topline="true">
14273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14276 \begin_layout Standard
14282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14285 \begin_layout Standard
14291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14294 \begin_layout Standard
14301 <row topline="true" bottomline="true">
14302 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14305 \begin_layout Standard
14311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14314 \begin_layout Standard
14320 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14323 \begin_layout Standard
14342 \begin_layout Standard
14346 \begin_layout Standard
14358 \begin_layout Standard
14359 To return to the default line color black, insert this command in ERT behind
14360 the table or table float:
14363 \begin_layout Standard
14375 \begin_layout Standard
14378 \begin_inset LatexCommand ref
14379 reference "tab:Table-with-colored"
14383 is an example with colored vertical and horizontal lines.
14386 \begin_layout Standard
14387 \begin_inset Float table
14392 \begin_layout Standard
14393 \begin_inset Caption
14395 \begin_layout Standard
14396 \begin_inset LatexCommand label
14397 name "tab:Table-with-colored"
14401 Table with colored lines
14409 \begin_layout Standard
14411 \begin_inset Tabular
14412 <lyxtabular version="3" rows="3" columns="3">
14414 <column alignment="center" valignment="top" leftline="true" width="0" special="Wc">
14415 <column alignment="center" valignment="top" width="0" special="Wc">
14416 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0" special="WcW">
14417 <row topline="true">
14418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14421 \begin_layout Standard
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14430 \begin_layout Standard
14436 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14439 \begin_layout Standard
14446 <row topline="true">
14447 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14450 \begin_layout Standard
14456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14459 \begin_layout Standard
14465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14468 \begin_layout Standard
14475 <row topline="true" bottomline="true" topspace="default">
14476 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14479 \begin_layout Standard
14485 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14488 \begin_layout Standard
14494 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14497 \begin_layout Standard
14516 \begin_layout Standard
14520 \begin_layout Standard
14536 \begin_layout Standard
14540 \begin_layout Standard
14546 arrayrulewidth}{0.4pt}
14554 \begin_layout Section
14555 Table Customization
14556 \begin_inset LatexCommand index
14557 name "Table Customization"
14562 \begin_inset LatexCommand index
14563 name "Table ! Customization"
14570 \begin_layout Subsection
14572 \begin_inset LatexCommand label
14573 name "sub:Row-Spacing"
14578 \begin_inset LatexCommand index
14579 name "Table Customization ! Row Spacing"
14586 \begin_layout Standard
14587 You can add vertical space to table rows in the
14591 tab of the table dialog.
14592 You find there three possibilities:
14595 \begin_layout Description
14598 row will add space above the characters of the table row.
14599 If the table is a formal table
14603 \begin_layout Standard
14604 Formal tables are explained in section\InsetSpace ~
14606 \begin_inset LatexCommand ref
14607 reference "sec:Formal-Tables"
14616 LyX will insert as default 0.5\InsetSpace \thinspace{}
14618 For normal tables the inserted space will unfortunately destroy the vertical
14619 table lines as in the following table:
14620 \begin_inset Tabular
14621 <lyxtabular version="3" rows="3" columns="1">
14623 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14624 <row topline="true">
14625 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14628 \begin_layout Standard
14635 <row topline="true" topspace="3mm">
14636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14639 \begin_layout Standard
14640 3\InsetSpace \thinspace{}
14641 mm space top of row
14647 <row topline="true" bottomline="true">
14648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14651 \begin_layout Standard
14664 So inserting space to the top of row for normal tables is only useful when
14665 you don't have vertical lines.
14668 \begin_layout Description
14669 Bottom\InsetSpace ~
14671 row will add space below the characters of the table row.
14672 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14674 normal tables the default size is 2\InsetSpace \thinspace{}
14678 \begin_layout Description
14679 Between\InsetSpace ~
14680 rows only has an effect when you have selected the whole table row
14682 The space is added between the current and the following row.
14683 If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
14685 For normal tables the inserted space will unfortunately destroy the vertical
14686 table lines as in the following table:
14687 \begin_inset Tabular
14688 <lyxtabular version="3" rows="3" columns="1">
14690 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14691 <row topline="true">
14692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14695 \begin_layout Standard
14702 <row topline="true" interlinespace="3mm">
14703 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14706 \begin_layout Standard
14707 \begin_inset Formula $\downarrow$
14710 3\InsetSpace \thinspace{}
14711 mm space between row
14712 \begin_inset Formula $\downarrow$
14721 <row topline="true" bottomline="true">
14722 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14725 \begin_layout Standard
14726 \begin_inset Formula $\uparrow$
14729 3\InsetSpace \thinspace{}
14730 mm space between row
14731 \begin_inset Formula $\uparrow$
14746 So inserting space to the top of row for normal tables is only useful when
14747 you don't have vertical lines.
14750 \begin_layout Standard
14751 When you want to add extra height to all cells of all tables, you can do
14752 this with the following preamble line:
14755 \begin_layout Standard
14762 extrarowheight}{height}
14765 \begin_layout Standard
14766 But this has the disadvantage that the cell texts are no longer exactly
14767 vertically centered.
14770 \begin_layout Subsection
14771 Special Cell Alignment
14772 \begin_inset LatexCommand index
14773 name "Table Customization ! Special Cell Alignment"
14780 \begin_layout Standard
14781 Sometimes it looks better when the cell entries of a column are aligned
14782 with a special character, e.\InsetSpace \thinspace{}
14784 with the decimal separator as in Table\InsetSpace ~
14786 \begin_inset LatexCommand ref
14787 reference "tab:Table-cells-of"
14794 \begin_layout Standard
14795 \begin_inset Float table
14801 \begin_layout Standard
14802 \begin_inset Caption
14804 \begin_layout Standard
14805 \begin_inset LatexCommand label
14806 name "tab:Table-cells-of"
14810 Table cells of a column aligned with the decimal separator.
14818 \begin_layout Standard
14820 \begin_inset Tabular
14821 <lyxtabular version="3" rows="4" columns="2">
14823 <column alignment="right" valignment="top" width="0">
14824 <column alignment="left" valignment="top" width="0" special="@{}l">
14825 <row bottomline="true">
14826 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
14829 \begin_layout Standard
14835 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14838 \begin_layout Standard
14846 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14849 \begin_layout Standard
14855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14858 \begin_layout Standard
14866 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14869 \begin_layout Standard
14875 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14878 \begin_layout Standard
14886 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14889 \begin_layout Standard
14895 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14898 \begin_layout Standard
14917 \begin_layout Standard
14918 This table was created with a 4×2 table.
14919 The heading is a centered multicolumn.
14920 The first column is right-aligned and contains the digits before the decimal
14921 point and the decimal point.
14922 The second column is left aligned and contains the digits after the decimal
14924 To omit the space that is normally between two table columns, use the following
14925 LaTeX-argument for the second column:
14928 \begin_layout Standard
14934 \begin_layout Standard
14935 If you need a vertical line right beside the second column, use this LaTeX-argum
14941 \begin_layout Standard
14944 \begin_inset LatexCommand ref
14945 reference "tab:Several-table-cell"
14949 shows some example alignments.
14950 For the alignment with the relation sign, you must add the second smallest
14951 math-space at the beginning of the last column to get the correct space
14952 surrounding the relation sign.
14955 \begin_layout Standard
14956 \begin_inset Float table
14961 \begin_layout Standard
14962 \begin_inset Caption
14964 \begin_layout Standard
14965 \begin_inset LatexCommand label
14966 name "tab:Several-table-cell"
14970 Several table cell alignments.
14978 \begin_layout Standard
14980 \begin_inset Tabular
14981 <lyxtabular version="3" rows="4" columns="6">
14983 <column alignment="right" valignment="top" width="0">
14984 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14985 <column alignment="right" valignment="top" width="0">
14986 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l|">
14987 <column alignment="right" valignment="top" width="0">
14988 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
14989 <row bottomline="true">
14990 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
14993 \begin_layout Standard
14999 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15002 \begin_layout Standard
15008 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15011 \begin_layout Standard
15017 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15020 \begin_layout Standard
15026 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15029 \begin_layout Standard
15035 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15038 \begin_layout Standard
15046 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15049 \begin_layout Standard
15055 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15058 \begin_layout Standard
15059 24\InsetSpace \thinspace{}
15065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15068 \begin_layout Standard
15069 \begin_inset Formula $10\cdot$
15077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15080 \begin_layout Standard
15081 \begin_inset Formula $10^{\mbox{-}17}$
15089 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15092 \begin_layout Standard
15093 \begin_inset Formula $\Gamma(t)\propto$
15101 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15104 \begin_layout Standard
15105 \begin_inset Formula $\:\Upsilon(t)$
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15118 \begin_layout Standard
15124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15127 \begin_layout Standard
15128 768\InsetSpace \thinspace{}
15134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15137 \begin_layout Standard
15138 \begin_inset Formula $5.78\cdot$
15146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15149 \begin_layout Standard
15150 \begin_inset Formula $10^{7}$
15158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15161 \begin_layout Standard
15162 \begin_inset Formula $A\ne$
15170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15173 \begin_layout Standard
15174 \begin_inset Formula $\: B_{\mathrm{red}}$
15184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15187 \begin_layout Standard
15193 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15196 \begin_layout Standard
15197 6\InsetSpace \thinspace{}
15203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15206 \begin_layout Standard
15208 \begin_inset Formula $33.5\cdot$
15216 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15219 \begin_layout Standard
15220 \begin_inset Formula $10^{4}$
15228 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15231 \begin_layout Standard
15232 \begin_inset Formula $\sin(\alpha)\ge$
15240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15243 \begin_layout Standard
15244 \begin_inset Formula $\:\sin(\beta)$
15265 \begin_layout Standard
15266 \begin_inset VSpace bigskip
15269 There is also the LaTeX-package
15274 \begin_inset LatexCommand index
15275 name "LaTeX-packages ! dcolumn"
15279 that provides table cell alignments.
15280 But this unfortunately treats the cell entries as math and doesn't allow
15281 formulas in table cells: The first column of Table\InsetSpace ~
15283 \begin_inset LatexCommand ref
15284 reference "tab:Several-table-cell"
15292 like the first column in Table\InsetSpace ~
15294 \begin_inset LatexCommand ref
15295 reference "tab:Alignments-when"
15299 and only with some tricks like the expected.
15300 The alignment of the second and third column of Table\InsetSpace ~
15302 \begin_inset LatexCommand ref
15303 reference "tab:Several-table-cell"
15307 is not possible with
15314 \begin_layout Standard
15315 \begin_inset Float table
15321 \begin_layout Standard
15322 \begin_inset Caption
15324 \begin_layout Standard
15325 \begin_inset LatexCommand label
15326 name "tab:Alignments-when"
15330 Alignments when LaTeX-package dcolumn is used.
15331 For the second and third alignment some tricks were used.
15339 \begin_layout Standard
15341 \begin_inset Tabular
15342 <lyxtabular version="3" rows="4" columns="3">
15344 <column alignment="center" valignment="top" rightline="true" width="0" special="D{×}{\times}{-1}|">
15345 <column alignment="center" valignment="top" width="0" special="D{×}{\times}{4.9}|">
15346 <column alignment="center" valignment="top" rightline="true" width="0" special="D{~}{\,}{9.7}">
15347 <row bottomline="true">
15348 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15351 \begin_layout Standard
15357 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15360 \begin_layout Standard
15366 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15369 \begin_layout Standard
15377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15380 \begin_layout Standard
15381 12×24\InsetSpace \thinspace{}
15387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15390 \begin_layout Standard
15391 12×24\InsetSpace \thinspace{}
15393 \begin_inset Formula $\mbox{bottles}$
15401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15404 \begin_layout Standard
15406 \begin_inset Formula $\mbox{bottles}$
15416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15419 \begin_layout Standard
15420 1024×768\InsetSpace \thinspace{}
15426 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15429 \begin_layout Standard
15430 1024×768\InsetSpace \thinspace{}
15432 \begin_inset Formula $\mbox{Pixels}$
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15443 \begin_layout Standard
15445 \begin_inset Formula $\mbox{Pixels}$
15455 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15458 \begin_layout Standard
15459 32×6\InsetSpace \thinspace{}
15465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15468 \begin_layout Standard
15469 32×6\InsetSpace \thinspace{}
15471 \begin_inset Formula $\mbox{cm}$
15479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15482 \begin_layout Standard
15484 \begin_inset Formula $\mbox{cm}$
15505 \begin_layout Subsection
15506 Customized Cell/Column Format
15507 \begin_inset LatexCommand label
15508 name "sub:Customized-Format"
15513 \begin_inset LatexCommand index
15514 name "Table Customization ! Cell/Column Format"
15521 \begin_layout Standard
15522 Calculating the needed width for spanned columns like in section\InsetSpace ~
15524 \begin_inset LatexCommand ref
15525 reference "sub:Multicolumn-Calculations"
15529 is very annoying if you have several tables with multicolumn cells.
15530 To make life easier, you can define a cell/column format in the preamble,
15531 so that it can be used in all tables of the document.
15532 The format is defined with the command
15535 \begin_layout Standard
15540 newcolumntype{name of format}[number of arguments]{commands}
15543 \begin_layout Standard
15544 The format name may only consist of one letter.
15569 are predefined and cannot be used.
15570 But all letters are allowed as capitals.
15573 \begin_layout Standard
15574 \begin_inset VSpace medskip
15580 \begin_layout Standard
15581 For vertically and horizontally centered multicolumn cells with a fixed
15582 width you can define the cell format
15585 \begin_layout Standard
15590 newcolumntype{M}[1]{>{
15597 \begin_layout Standard
15604 avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
15606 \begin_inset LatexCommand ref
15607 reference "sub:Multiple-Lines-in"
15612 Now you can simply enter
15615 \begin_layout Standard
15621 \begin_layout Standard
15622 as LaTeX-argument in the table dialog to create a multicolumn.
15625 \begin_layout Standard
15626 \begin_inset VSpace bigskip
15632 \begin_layout Standard
15633 For cells spanned by a multicolumn cell, you can define the format
15636 \begin_layout Standard
15641 newcolumntype{S}[2]{>{
15651 \begin_layout Standard
15662 newcolumntype{S}[2]
15666 \begin_layout Standard
15677 arrayrulewidth)*(1-#2))/#2}}
15680 \begin_layout Standard
15681 This format uses equation
15682 \begin_inset LatexCommand eqref
15687 to calculate the needed width so that each spanned cell has the same width.
15690 \begin_layout Standard
15694 \begin_layout Standard
15697 |S{width of multicolumn cell}{number of spanned columns}
15700 \begin_layout Standard
15701 as LaTeX-argument of the column.
15704 \begin_layout Standard
15705 \begin_inset VSpace bigskip
15711 \begin_layout Standard
15712 For colored columns, you can define
15715 \begin_layout Standard
15720 newcolumntype{K}[1]{>{
15727 \begin_layout Standard
15729 \begin_inset Quotes eld
15733 \begin_inset Quotes erd
15736 at the end creates a column with a flexible width whose text is horizontally
15741 \begin_layout Standard
15747 \begin_layout Standard
15751 \begin_layout Standard
15752 \begin_inset VSpace bigskip
15758 \begin_layout Standard
15759 To create Table\InsetSpace ~
15761 \begin_inset LatexCommand ref
15762 reference "tab:Table-using-user-defined"
15766 use the LaTeX-arguments
15769 \begin_layout Standard
15775 \begin_layout Standard
15776 for the first column and the multicolumn,
15779 \begin_layout Standard
15785 \begin_layout Standard
15786 for the the last column, and
15789 \begin_layout Standard
15795 \begin_layout Standard
15796 for the cells in the second column.
15799 \begin_layout Standard
15800 \begin_inset Float table
15806 \begin_layout Standard
15807 \begin_inset Caption
15809 \begin_layout Standard
15810 \begin_inset LatexCommand label
15811 name "tab:Table-using-user-defined"
15815 Table using user-defined table formats
15823 \begin_layout Standard
15825 \begin_inset Tabular
15826 <lyxtabular version="3" rows="3" columns="4">
15828 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="|M{2.5cm}">
15829 <column alignment="center" valignment="middle" leftline="true" width="0" special="|S{2.5cm}{2}">
15830 <column alignment="center" valignment="middle" leftline="true" width="0">
15831 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="|K{red}|">
15832 <row topline="true">
15833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15836 \begin_layout Standard
15837 verylongtablecellword
15842 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}|">
15845 \begin_layout Standard
15846 multiple lines multicolumn
15851 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15854 \begin_layout Standard
15860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15863 \begin_layout Standard
15870 <row topline="true">
15871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15874 \begin_layout Standard
15880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15883 \begin_layout Standard
15889 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15892 \begin_layout Standard
15898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15901 \begin_layout Standard
15908 <row topline="true" bottomline="true">
15909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15912 \begin_layout Standard
15918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15921 \begin_layout Standard
15927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15930 \begin_layout Standard
15936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15939 \begin_layout Standard
15958 \begin_layout Subsection
15960 \begin_inset LatexCommand label
15961 name "sub:Line-Thickness"
15966 \begin_inset LatexCommand index
15967 name "Table Customization ! Line Thickness"
15974 \begin_layout Standard
15975 The line thickness for all lines in a table can be adjusted with the length
15983 To set for example a line thickness of 1.5\InsetSpace \thinspace{}
15984 pt, like in Table\InsetSpace ~
15986 \begin_inset LatexCommand ref
15987 reference "tab:Table-with-1.5"
15991 , insert the command
15994 \begin_layout Standard
16001 arrayrulewidth}{1.5pt}
16004 \begin_layout Standard
16005 in ERT before the table or table float.
16006 The changed thickness is valid for all following tables.
16007 To use the default value again, set
16013 to 0.4\InsetSpace \thinspace{}
16014 pt in ERT behind the table or table float.
16017 \begin_layout Standard
16021 \begin_layout Standard
16027 arrayrulewidth}{1.5pt}
16033 \begin_inset Float table
16038 \begin_layout Standard
16039 \begin_inset Caption
16041 \begin_layout Standard
16042 \begin_inset LatexCommand label
16043 name "tab:Table-with-1.5"
16047 Table with 1.5\InsetSpace \thinspace{}
16056 \begin_layout Standard
16058 \begin_inset Tabular
16059 <lyxtabular version="3" rows="3" columns="3">
16061 <column alignment="center" valignment="top" leftline="true" width="0">
16062 <column alignment="center" valignment="top" leftline="true" width="0">
16063 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16064 <row topline="true">
16065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16068 \begin_layout Standard
16074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16077 \begin_layout Standard
16083 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16086 \begin_layout Standard
16093 <row topline="true">
16094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16097 \begin_layout Standard
16103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16106 \begin_layout Standard
16112 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16115 \begin_layout Standard
16122 <row topline="true" bottomline="true">
16123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16126 \begin_layout Standard
16132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16135 \begin_layout Standard
16141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16144 \begin_layout Standard
16164 \begin_layout Standard
16170 arrayrulewidth}{0.4pt}
16178 \begin_layout Standard
16179 \begin_inset VSpace bigskip
16182 To set the line thickness to 1.5\InsetSpace \thinspace{}
16183 pt only for horizontal lines, like in Table\InsetSpace ~
16185 \begin_inset LatexCommand ref
16186 reference "tab:Table-with-horizontal"
16190 , insert these commands in ERT before the table or table float:
16193 \begin_layout Standard
16216 arrayrulewidth 1.5pt}
16226 arrayrulewidth 0.4pt}}
16229 \begin_layout Standard
16230 To return to the default line thickness, insert this command in ERT behind
16231 the table or table float:
16234 \begin_layout Standard
16246 \begin_layout Standard
16250 \begin_layout Standard
16261 \begin_layout Standard
16270 \begin_layout Standard
16278 arrayrulewidth 1.5pt}
16281 \begin_layout Standard
16291 arrayrulewidth 0.4pt}}
16297 \begin_inset Float table
16302 \begin_layout Standard
16303 \begin_inset Caption
16305 \begin_layout Standard
16306 \begin_inset LatexCommand label
16307 name "tab:Table-with-horizontal"
16311 Table with 1.5\InsetSpace \thinspace{}
16312 pt thick horizontal lines
16320 \begin_layout Standard
16322 \begin_inset Tabular
16323 <lyxtabular version="3" rows="3" columns="3">
16325 <column alignment="center" valignment="top" leftline="true" width="0">
16326 <column alignment="center" valignment="top" leftline="true" width="0">
16327 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16328 <row topline="true">
16329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16332 \begin_layout Standard
16338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16341 \begin_layout Standard
16347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16350 \begin_layout Standard
16357 <row topline="true">
16358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16361 \begin_layout Standard
16367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16370 \begin_layout Standard
16376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16379 \begin_layout Standard
16386 <row topline="true" bottomline="true">
16387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16390 \begin_layout Standard
16396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16399 \begin_layout Standard
16405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16408 \begin_layout Standard
16428 \begin_layout Standard
16444 \begin_layout Standard
16445 \begin_inset VSpace bigskip
16448 To set the line thickness to 1.5\InsetSpace \thinspace{}
16449 pt only for vertical lines, create the following
16450 column format in the document preamble, according to the description in
16451 section\InsetSpace ~
16453 \begin_inset LatexCommand ref
16454 reference "sub:Customized-Format"
16461 \begin_layout Standard
16466 newcolumntype{V}{!{
16468 vrule width 1.5pt}}
16471 \begin_layout Standard
16472 For Table\InsetSpace ~
16474 \begin_inset LatexCommand ref
16475 reference "tab:Table-with-vertical"
16482 \begin_layout Standard
16488 \begin_layout Standard
16489 was used for the last column and
16492 \begin_layout Standard
16498 \begin_layout Standard
16499 for the other columns.
16502 \begin_layout Standard
16503 \begin_inset Float table
16508 \begin_layout Standard
16509 \begin_inset Caption
16511 \begin_layout Standard
16512 \begin_inset LatexCommand label
16513 name "tab:Table-with-vertical"
16517 Table with 1.5\InsetSpace \thinspace{}
16518 pt thick vertical lines
16526 \begin_layout Standard
16528 \begin_inset Tabular
16529 <lyxtabular version="3" rows="3" columns="3">
16531 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16532 <column alignment="center" valignment="top" leftline="true" width="0" special="Vc">
16533 <column alignment="center" valignment="top" leftline="true" width="0" special="VcV">
16534 <row topline="true">
16535 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16538 \begin_layout Standard
16544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16547 \begin_layout Standard
16553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16556 \begin_layout Standard
16563 <row topline="true">
16564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16567 \begin_layout Standard
16573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16576 \begin_layout Standard
16582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16585 \begin_layout Standard
16592 <row topline="true" bottomline="true">
16593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16596 \begin_layout Standard
16602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16605 \begin_layout Standard
16611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16614 \begin_layout Standard
16633 \begin_layout Subsection
16635 \begin_inset LatexCommand index
16636 name "Table Customization ! Dashed Lines"
16643 \begin_layout Standard
16647 \begin_layout Standard
16657 \begin_inset Note Note
16660 \begin_layout Standard
16661 The following section will only be displayed when you have the LaTeX-package
16674 \begin_layout Standard
16675 \begin_inset Float table
16681 \begin_layout Standard
16682 \begin_inset Caption
16684 \begin_layout Standard
16685 \begin_inset LatexCommand label
16686 name "tab:Table-with-dashed"
16690 Table with dashed lines
16698 \begin_layout Standard
16700 \begin_inset Tabular
16701 <lyxtabular version="3" rows="5" columns="5">
16703 <column alignment="center" valignment="top" leftline="true" width="0">
16704 <column alignment="center" valignment="top" leftline="true" width="0">
16705 <column alignment="center" valignment="top" width="0" special=":c">
16706 <column alignment="center" valignment="top" leftline="true" width="0">
16707 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16708 <row topline="true" bottomline="true">
16709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16712 \begin_layout Standard
16718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16721 \begin_layout Standard
16727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16730 \begin_layout Standard
16736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16739 \begin_layout Standard
16745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16748 \begin_layout Standard
16755 <row topline="true">
16756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16759 \begin_layout Standard
16765 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16768 \begin_layout Standard
16774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16777 \begin_layout Standard
16783 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16786 \begin_layout Standard
16792 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16795 \begin_layout Standard
16803 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16806 \begin_layout Standard
16810 \begin_layout Standard
16824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16827 \begin_layout Standard
16833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16836 \begin_layout Standard
16842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16845 \begin_layout Standard
16851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16854 \begin_layout Standard
16861 <row topline="true">
16862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16865 \begin_layout Standard
16869 \begin_layout Standard
16883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16886 \begin_layout Standard
16892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
16895 \begin_layout Standard
16901 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
16904 \begin_layout Standard
16910 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16913 \begin_layout Standard
16920 <row topline="true" bottomline="true">
16921 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16924 \begin_layout Standard
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16933 \begin_layout Standard
16939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16942 \begin_layout Standard
16948 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
16951 \begin_layout Standard
16957 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16960 \begin_layout Standard
16979 \begin_layout Standard
16980 LyX doesn't natively support dashed lines, so you have to use ERT.
16981 As prerequisite the LaTeX-package
16986 \begin_inset LatexCommand index
16987 name "LaTeX-packages ! arydshln"
16991 must be loaded in the document preamble with the command
16994 \begin_layout Standard
16999 usepackage{arydshln}
17002 \begin_layout Standard
17003 To make a vertical line dashed, enter the colon
17004 \begin_inset Quotes eld
17008 \begin_inset Quotes erd
17011 together with the character for the horizontal alignment as LaTeX-argument
17012 in the table cell dialog.
17015 \begin_layout Standard
17016 For a horizontal dashed line add the command
17019 \begin_layout Standard
17027 \begin_layout Standard
17028 in ERT as first element of the first cell in the table row.
17031 \begin_layout Standard
17032 For dashed multicolumn lines use the command
17035 \begin_layout Standard
17040 cdashline{line number
17045 \begin_layout Standard
17046 in ERT as first element of the first cell in the table row.
17047 If you have for example a multicolumn spanning over columns 2 to 4 and
17048 you want to have a dashed line above, add the command
17051 \begin_layout Standard
17059 \begin_layout Standard
17060 as first element of the first cell in the row of the multicolumn.
17063 \begin_layout Standard
17064 \begin_inset VSpace bigskip
17070 \begin_layout Standard
17073 \begin_inset LatexCommand ref
17074 reference "tab:Table-with-dashed"
17079 \begin_inset Quotes eld
17087 \begin_inset Quotes erd
17090 as LaTeX-argument of the third column.
17097 was inserted to the first cell of the third row and the the ERT command
17106 was inserted to the first cell of the fourth row.
17109 \begin_layout Standard
17110 \begin_inset Note Greyedout
17113 \begin_layout Standard
17118 The used LaTeX-package
17122 is apparently not compatible with the LaTeX-package
17127 \begin_inset LatexCommand index
17128 name "LaTeX-packages ! colortbl"
17132 that is used for colored tables in section\InsetSpace ~
17134 \begin_inset LatexCommand ref
17135 reference "sec:Colored-Tables"
17140 That means colored tables cannot have dashed lines.
17148 \begin_layout Standard
17152 \begin_layout Standard
17162 \begin_inset Note Note
17165 \begin_layout Standard
17166 The following will be displayed when the LaTeX-package
17178 \begin_layout Standard
17179 You need to install the package
17183 to see the contents of this section in the output.
17186 \begin_layout Standard
17190 \begin_layout Standard
17202 \begin_layout Chapter
17204 \begin_inset LatexCommand index
17210 \begin_inset LatexCommand label
17218 \begin_layout Section
17220 \begin_inset LatexCommand label
17221 name "sec:FloatIntroduction"
17226 \begin_inset LatexCommand index
17227 name "Floats ! Introduction"
17234 \begin_layout Standard
17235 A float is a block of text associated with some sort of label, which doesn't
17236 have a fixed location.
17238 \begin_inset Quotes eld
17242 \begin_inset Quotes erd
17245 forward or backward a page or two, to wherever it fits best.
17252 Margin\InsetSpace ~
17255 are also floats, because they can float to the next page when there are
17256 too many notes at the page.
17259 \begin_layout Standard
17260 Floats allow a high quality layout.
17261 Images and tables can evenly be spread to the pages to avoid white space
17262 and pages without text.
17263 As the floating often destroys the context between the text and the image/table
17264 , every float can be referenced in the text.
17265 Floats are therefore numbered.
17266 Referencing is described in section\InsetSpace ~
17268 \begin_inset LatexCommand ref
17269 reference "sec:Referencing-Floats"
17276 \begin_layout Standard
17277 To insert a float, use the menu
17279 Insert\SpecialChar \menuseparator
17283 This inserts a box with a label in the
17291 \begin_layout Standard
17296 environment is described in LyX's
17305 into your document.
17306 Every label ends with the character
17307 \begin_inset Quotes eld
17311 \begin_inset Quotes erd
17314 as placeholder for the float number in the output.
17315 The label will automatically be translated to the document language in
17317 Behind the label you can insert the caption text.
17318 The image or table is inserted above or below the caption in a separate
17319 paragraph within the float.
17320 More about the caption placement is described in section\InsetSpace ~
17322 \begin_inset LatexCommand ref
17323 reference "sec:Caption-Placement"
17328 To keep your LyX-document readable, you can open and close the float box
17329 by left-clicking on the box label.
17330 A closed float box looks like this:
17331 \begin_inset Graphics
17332 filename ../clipart/floatQt4.png
17337 -- a gray button with a red label.
17340 \begin_layout Standard
17341 It is recommended to insert floats as a separate paragraph to avoid possible
17342 LaTeX-errors that can occur when the surrounding text is specially formatted.
17345 \begin_layout Standard
17346 Existing figures or tables can be put into a float by marking them and then
17347 pressing the corresponding toolbar button for a new float.
17350 \begin_layout Section
17354 \begin_layout Standard
17355 Besides figure and table floats that are described in section\InsetSpace ~
17357 \begin_inset LatexCommand ref
17358 reference "sec:Figure-Floats"
17363 \begin_inset LatexCommand ref
17364 reference "sec:Table-Floats"
17368 , respectively, LyX offers the float types
17381 \begin_layout Subsection
17383 \begin_inset LatexCommand index
17384 name "Floats ! Algorithm Floats"
17391 \begin_layout Standard
17392 \begin_inset Float algorithm
17398 \begin_layout Standard
17399 \begin_inset Caption
17401 \begin_layout Standard
17402 \begin_inset LatexCommand label
17403 name "alg:Example-Algorithm-float"
17407 Example Algorithm float
17415 \begin_layout LyX-Code
17418 Sum:= Sum + A(I); /*senseless comment*/
17421 \begin_inset VSpace -4mm
17432 \begin_layout Standard
17433 This float type is inserted with the menu
17435 Insert\SpecialChar \menuseparator
17436 Floats\SpecialChar \menuseparator
17440 It is used for program codes and descriptions of algorithms.
17441 A possible environment for algorithms is the
17445 , described in LyX's
17450 Algorithm\InsetSpace ~
17452 \begin_inset LatexCommand ref
17453 reference "alg:Example-Algorithm-float"
17457 is an example of an algorithm float where -4\InsetSpace \thinspace{}
17458 mm vertical space was added
17459 at the end of the float to have the bottom rule exactly below the last
17463 \begin_layout Standard
17464 The float label is not automatically translated into the document language.
17465 If your document is not in English, you have to do this manually by adding
17470 to the document preamble
17475 \begin_layout Standard
17480 floatname{algorithm}{your\InsetSpace ~
17484 \begin_layout Standard
17491 \begin_inset Quotes eld
17499 \begin_inset Quotes erd
17505 \begin_layout Description
17510 When the LaTeX-package
17515 \begin_inset LatexCommand index
17516 name "LaTeX-packages ! hyperref"
17520 is used to link cross-references to floats in the PDF-output, it must be
17521 loaded in the document preamble before the definition of floats to be able
17522 to reference floats.
17523 As LyX sets the float definition for algorithm floats automatically before
17524 the user editable part of the document preamble, you need to insert the
17525 following preamble lines
17529 the loading command of
17536 \begin_inset VSpace defskip
17543 newfloat{Xalgorithm}{tbp}{loa}
17547 floatname{Xalgorithm}{your\InsetSpace ~
17560 renewenvironment{algorithm}[1][tbp]
17566 \begin_layout Standard
17577 begin{Xalgorithm}[#1]}{
17580 \begin_inset VSpace defskip
17593 \begin_inset Quotes eld
17601 \begin_inset Quotes erd
17607 \begin_layout Standard
17608 Algorithm floats are not by default numbered in the scheme
17609 \begin_inset Quotes eld
17613 \begin_inset Quotes erd
17616 like it is the case for table and figure floats in many document-classes.
17617 To number algorithm floats in the same scheme, add this command to your
17621 \begin_layout Standard
17626 numberwithin{algorithm}{chapter}
17629 \begin_layout Standard
17630 If you use the LaTeX-package
17634 , add this line instead
17642 (the commands from above) to the preamble:
17645 \begin_layout Standard
17650 numberwithin{Xalgorithm}{chapter}
17653 \begin_layout Standard
17654 To be able to use the command
17665 in the document settings the option
17675 \begin_layout Subsection
17677 \begin_inset LatexCommand index
17678 name "Floats ! Text Wrap Floats"
17683 \begin_inset LatexCommand label
17684 name "sub:floatflt-wrap-float"
17691 \begin_layout Standard
17692 This float type is used if you want to
17693 \begin_inset Quotes eld
17697 \begin_inset Quotes erd
17700 text around a figure so that it only occupies some fraction of the column
17702 It can be inserted using the menu
17703 \begin_inset Wrap figure
17708 \begin_layout Standard
17709 \begin_inset Graphics
17710 filename mobius.eps
17713 rotateOrigin center
17720 \begin_layout Standard
17721 \begin_inset Caption
17723 \begin_layout Standard
17724 \begin_inset LatexCommand label
17725 name "fig:This-is-a"
17729 This is a wrapped figure, and this is the brilliant caption that describes
17731 \begin_inset VSpace medskip
17746 Insert\SpecialChar \menuseparator
17747 Floats\SpecialChar \menuseparator
17752 if the LaTeX-package
17757 \begin_inset LatexCommand index
17758 name "LaTeX-packages ! floatflt"
17766 \begin_layout Standard
17767 Installing a LaTeX-package is explained it in the
17777 The width and placement of the float is adjusted by right-clicking on the
17779 Figure\InsetSpace ~
17781 \begin_inset LatexCommand ref
17782 reference "fig:This-is-a"
17786 is an example text wrap float with a width of 40
17787 \begin_inset Formula $\,$
17794 \begin_layout Standard
17795 Available units are explained in
17796 \begin_inset LatexCommand ref
17797 reference "cha:Units-available-in"
17806 Some space was added under the caption to separate it better from the surroundi
17810 \begin_layout Standard
17815 also supports table wrap floats, but they are not yet supported by LyX.
17816 If you need this, read the documentation of
17821 \begin_inset LatexCommand cite
17829 \begin_layout Standard
17830 \begin_inset Note Greyedout
17833 \begin_layout Standard
17839 wrap float floats are fragile! E.\InsetSpace \thinspace{}
17841 having a figure too close to the bottom
17842 of the page can mess things up in the way that the float doesn't appear
17843 in the output or that it is placed over some other text.
17847 \begin_layout Standard
17848 The better solution is to use the LaTeX-package
17850 wrapf\SpecialChar \textcompwordmark{}
17854 \begin_inset LatexCommand index
17855 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
17861 floatf\SpecialChar \textcompwordmark{}
17864 , but it is currently not supported by LyX.
17877 \begin_layout Standard
17881 \begin_layout Itemize
17882 Wrap floats should not be placed in paragraphs that run over a page break.
17883 That means that wrap floats should better be inserted to the exact place
17884 when the document is nearly ready and you are able to estimate where page
17885 breaks will appear.
17888 \begin_layout Itemize
17889 Wrap floats should either be placed in an own paragraph before the paragraph
17890 where they should wrap into or within a paragraph.
17893 \begin_layout Itemize
17894 Wrap floats in consecutive paragraphs may cause troubles, so assure that
17895 there is a text paragraph between them as separator.
17898 \begin_layout Itemize
17899 Wrap floats are not allowed in section headings or tables.
17902 \begin_layout Section
17904 \begin_inset LatexCommand label
17905 name "sec:Referencing-Floats"
17910 \begin_inset LatexCommand index
17911 name "Floats ! References"
17916 \begin_inset LatexCommand index
17924 \begin_layout Standard
17925 To reference a float, insert a label into its caption using the menu
17927 Insert\SpecialChar \menuseparator
17930 or the toolbar button
17931 \begin_inset Graphics
17932 filename ../images/label-insert.xpm
17938 A grey label box like this one:
17939 \begin_inset Graphics
17940 filename ../clipart/labelQt4.png
17945 will be inserted and the label window pops up asking for the label text.
17946 LyX offers as text the first words of the caption with a prefix.
17947 The prefix depends on the float type, e.\InsetSpace \thinspace{}
17949 for figure floats the prefix will
17957 \begin_layout Standard
17958 The label is used as anchor and name for the reference.
17959 You can refer to the label using the menu
17961 Insert\SpecialChar \menuseparator
17964 or the toolbar button
17965 \begin_inset Graphics
17966 filename ../images/dialog-show-new-inset_ref.xpm
17972 A grey cross-reference box like this one:
17973 \begin_inset Graphics
17974 filename ../clipart/referenceQt4.png
17979 will be inserted and the cross-reference window appear showing all labels
17981 If you have multiple LyX-documents opened, choose the one you are working
17982 on from the drop-list at the top of the dialog.
17983 You can now sort the labels alphabetically and then choose one.
17984 At the position of the cross-reference box the float number will appear
17988 \begin_layout Standard
17989 It is recommended to use a protected space between the cross-reference name
17990 and its number to avoid line breaks between them.
17991 If a cross-reference refers to a non-existing label, you will see two question
17992 marks in the output instead of the reference.
17995 \begin_layout Standard
17996 You can change labels at any time by clicking on the label box.
17997 References to the changed label will automatically change its link to the
17998 new label text, so that you don't need to take care about this.
18001 \begin_layout Standard
18008 in the cross-reference window sets the cursor before the referred label.
18009 The button text changes then to Go\InsetSpace ~
18010 Back and you can use it to set the cursor
18011 back to the cross-reference.
18012 Right-clicking on a cross-reference box also sets the cursor before the
18013 referenced label but without a possibility to go back.
18016 \begin_layout Subsection
18017 Cross-reference formats
18018 \begin_inset LatexCommand label
18019 name "sub:Cross-reference-formats"
18024 \begin_inset LatexCommand index
18025 name "References ! Formats"
18032 \begin_layout Standard
18033 There are six varieties of cross-references:
18036 \begin_layout Description
18037 <reference>: prints the float number, this is the default:
18038 \begin_inset LatexCommand ref
18039 reference "fig:Two-distorted-images"
18046 \begin_layout Description
18047 (<reference>): prints the float number within two parentheses, this is the
18048 style normally used to reference formulas, especially when the reference
18050 \begin_inset Quotes eld
18054 \begin_inset Quotes erd
18058 \begin_inset LatexCommand eqref
18066 \begin_layout Description
18067 <page>: prints the page number: Page\InsetSpace ~
18069 \begin_inset LatexCommand pageref
18070 reference "fig:Two-distorted-images"
18077 \begin_layout Description
18080 <page>: prints the text "on page" and the page number:
18081 \begin_inset LatexCommand vpageref
18082 reference "fig:Two-distorted-images"
18089 \begin_layout Description
18090 <reference>\InsetSpace ~
18093 <page>: prints the float number, the text "on page", and
18095 \begin_inset LatexCommand vref
18096 reference "fig:Two-distorted-images"
18103 \begin_layout Description
18104 Formatted\InsetSpace ~
18105 reference: prints a self defined cross-reference format:
18108 \begin_inset LatexCommand prettyref
18109 reference "fig:Two-distorted-images"
18116 \begin_layout Standard
18117 Note that the style <page> won't print the page number if the label is on
18118 the previous, the same, or the next page.
18119 You will e.\InsetSpace \thinspace{}
18122 \begin_inset Quotes eld
18130 \begin_inset Quotes erd
18136 \begin_layout Standard
18137 The number and current page of the referred document part in the output,
18138 is automatically calculated by LaTeX.
18139 The varieties are adjusted in the field
18143 of the cross-reference window, that appear when you click on the cross-referenc
18145 \begin_inset VSpace bigskip
18151 \begin_layout Standard
18152 To define a format for the
18154 Formatted\InsetSpace ~
18157 style, you have to use the following command in the document preamble:
18160 \begin_layout Standard
18165 newrefformat{prefix}{text}
18168 \begin_layout Standard
18169 This formatting command affects all references to labels with the same prefix.
18170 To get the format of the
18172 Formatted\InsetSpace ~
18175 example above, this command was used:
18178 \begin_layout Standard
18189 \begin_layout Standard
18200 ref{#1} printed on page~
18205 \begin_layout Standard
18206 The tilde "~" is the LaTeX equivalent for the protected space.
18213 refers to the float number, the command
18219 to the page number.
18222 \begin_layout Subsection
18223 Automatic Reference Naming
18224 \begin_inset LatexCommand index
18225 name "References ! Automatic Reference Naming"
18232 \begin_layout Standard
18237 provides a very useful feature that cross-references automatically include
18238 the name of the referenced floats (or text parts like sections).
18239 You save to write e.\InsetSpace \thinspace{}
18242 \begin_inset Quotes eld
18246 \begin_inset Quotes erd
18249 before every reference box.
18250 To get this automatic reference naming, you have to load the LaTeX-package
18256 \begin_inset LatexCommand index
18257 name "LaTeX-packages ! hyperref"
18261 in the document preamble with
18264 \begin_layout Standard
18269 usepackage[pdfborder={0 0 0}]{hyperref}
18284 \begin_layout Standard
18289 is used to link cross-references in the DVI- and PDF-output, this means
18290 that the reader of your document will be able to click on a table of content
18291 (TOC) entry or on a reference and he will be shown the referenced document
18297 also creates PDF-bookmarks for every section of your document to make it
18298 easier for readers to navigate through the document.
18299 This is also used in this document but when you have a look in the document
18300 preamble you will find various options in the load command of
18305 To learn more about the
18309 package, we refer to its documentation
18310 \begin_inset LatexCommand cite
18318 \begin_layout Standard
18319 \begin_inset Note Greyedout
18322 \begin_layout Standard
18327 Automatic reference naming cannot be used when you use cross-references
18330 Formatted\InsetSpace ~
18333 style, described in section\InsetSpace ~
18335 \begin_inset LatexCommand ref
18336 reference "sub:Cross-reference-formats"
18341 That is the reason why it is not used in this document.
18349 \begin_layout Subsection
18351 \begin_inset LatexCommand label
18352 name "sub:Reference-Position"
18357 \begin_inset LatexCommand index
18358 name "References ! Reference Position"
18365 \begin_layout Standard
18371 \begin_inset LatexCommand index
18372 name "LaTeX-packages ! hyperref"
18376 to link cross-references in the output, you will see that clicking on an
18377 image float reference jumps to the image label.
18378 The caption will be the first text part on the screen, so that you cannot
18379 see the image without scrolling.
18380 This is because the reference link anchor is placed at the position of
18382 With the use of the package
18387 \begin_inset LatexCommand index
18388 name "LaTeX-packages ! hypcap"
18392 , which is part of the LaTeX-package
18397 \begin_inset LatexCommand index
18398 name "LaTeX-packages ! oberdiek"
18402 , the link anchor is placed at the beginning of a float.
18403 To use this feature for figure floats, load
18407 in the document preamble with the line
18410 \begin_layout Standard
18415 usepackage[f\SpecialChar \textcompwordmark{}
18419 \begin_layout Standard
18424 for all floats but this isn't recommended for stability reasons.
18425 For more informations, have a look at
18430 \begin_inset LatexCommand cite
18438 \begin_layout Standard
18439 \begin_inset Note Greyedout
18442 \begin_layout Standard
18451 must be loaded after
18455 in the document preamble.
18463 \begin_layout Section
18465 \begin_inset LatexCommand label
18466 name "sec:Float-Placement"
18471 \begin_inset LatexCommand index
18472 name "Floats ! Placement"
18479 \begin_layout Standard
18480 Right-clicking on a float-box opens a dialog where you can alter the placement
18481 options that LaTeX uses for positioning the float.
18488 is only useful for two-column documents: If you select it, the float will
18489 span across both columns on the page instead of being confined to just
18494 Rotate\InsetSpace ~
18497 is used to rotate floats, see section
18498 \begin_inset LatexCommand ref
18499 reference "sec:Rotated-Floats"
18506 \begin_layout Standard
18507 You can use one ore more of the following options in the float dialog to
18508 set the placement for a particular float when you uncheck the option
18511 default\InsetSpace ~
18517 \begin_layout Description
18520 possible: try to place the float on the position where it is inserted
18523 \begin_layout Description
18526 page: try to place the float on the top of the current page
18529 \begin_layout Description
18530 Bottom\InsetSpace ~
18532 page: try to place the float on the bottom of the current page
18535 \begin_layout Description
18538 floats: try to place the float on an own page
18541 \begin_layout Standard
18542 The order of the above option is
18547 That means, if you use the default placement, LaTeX will first try out
18560 , and then the others.
18561 If you don't use the default, LaTeX will try only the checked options but
18563 If none of the 4 placements are possible the procedure is internally repeated
18564 but it is tried to put the float on the following page.
18567 \begin_layout Standard
18568 By default, each options has its own rules:
18571 \begin_layout Labeling
18572 \labelwidthstring 00.00.0000
18579 only floats occupying less than 70\InsetSpace \thinspace{}
18580 % of the page can be placed at the top
18590 \begin_layout Labeling
18591 \labelwidthstring 00.00.0000
18594 Bottom\InsetSpace ~
18598 : only floats occupying less than 30\InsetSpace \thinspace{}
18599 % of the page can be placed at the bottom
18610 \begin_layout Labeling
18611 \labelwidthstring 00.00.0000
18618 : only if more than 50\InsetSpace \thinspace{}
18619 % of the page are occupied by floats, several floats
18620 can be set together on a page.
18630 \begin_layout Standard
18631 If you don't like these rules, you can ignore them by using the additional
18634 Ignore\InsetSpace ~
18640 You can also redefine the rules with LaTeX-commands that are given in parenthese
18641 s behind the rules description above.
18642 To increase for example the often too small default of the bottom-rule
18643 to 50\InsetSpace \thinspace{}
18644 % of the page, add this line to your document preamble:
18647 \begin_layout Standard
18654 bottomfraction}{0.5}
18657 \begin_layout Standard
18658 Sometimes you might need, under all circumstances, a float to be placed
18659 exactly at the position where it is inserted.
18660 For this case you can use the option
18666 Use this option very rarely and only if the document is nearly ready to
18668 Because the float is then no longer able to
18669 \begin_inset Quotes eld
18673 \begin_inset Quotes erd
18676 when you change your document and this will often destroy the page layout.
18679 \begin_layout Standard
18680 There are no placement options for text wrap floats, because they are always
18681 surrounded by the text of a certain paragraph.
18682 \begin_inset VSpace bigskip
18688 \begin_layout Standard
18689 Sometimes you have the problem that a float is placed at the top of a page
18690 while its corresponding section starts at the middle of the page, so that
18691 the reader could think the float is part of the previous section.
18692 To avoid this the LaTeX-command
18696 suppressf\SpecialChar \textcompwordmark{}
18700 It suppresses a given float placement for the page where it is inserted
18701 and can therefore be used to avoid that floats could be set before a section
18703 To get this, add these commands to your document preamble:
18706 \begin_layout Standard
18723 suppressf\SpecialChar \textcompwordmark{}
18729 \begin_layout Standard
18730 You can define the same for all section headings, like chapters and subsections.
18731 This definition is not recommended to be used for small text parts like
18732 subsubsections because LaTeX may then have problems to find a suitable
18736 \begin_layout Standard
18737 \begin_inset VSpace bigskip
18740 In some cases it is required to have all figures/tables at the end of the
18742 For this purpose the LaTeX-package
18744 endf\SpecialChar \textcompwordmark{}
18748 \begin_inset LatexCommand index
18749 name "LaTeX-packages ! endfloat"
18754 It puts all figure and table floats at the end of the document into own
18756 At the original float position a text hint like
18757 \begin_inset Quotes eld
18762 [Figure\InsetSpace ~
18766 \begin_inset Quotes erd
18770 The endfloat-package is loaded in the preamble with the line
18773 \begin_layout Standard
18778 usepackage[options]{endf\SpecialChar \textcompwordmark{}
18782 \begin_layout Standard
18783 There are various package options to format the created figure/table sections.
18784 For more information we refer to the
18786 endf\SpecialChar \textcompwordmark{}
18790 \begin_inset LatexCommand cite
18798 \begin_inset Note Greyedout
18801 \begin_layout Standard
18804 Note: endf\SpecialChar \textcompwordmark{}
18807 doesn't provide an automatic translation for the text hint, you have to
18808 do this manually, see section\InsetSpace ~
18810 \begin_inset LatexCommand cite
18823 \begin_inset Note Greyedout
18826 \begin_layout Standard
18831 There is currently a bug in
18833 endf\SpecialChar \textcompwordmark{}
18836 when the caption contains a German
18837 \begin_inset Quotes eld
18841 \begin_inset Quotes erd
18845 Use in this case the command
18846 \begin_inset Quotes eld
18856 \begin_inset Quotes erd
18860 \begin_inset Quotes eld
18864 \begin_inset Quotes erd
18875 \begin_layout Standard
18876 \begin_inset VSpace bigskip
18879 For more details about float placements, have a look at LaTeX books,
18880 \begin_inset LatexCommand cite
18881 key "latexcompanion,latexguide,latexbook"
18888 \begin_layout Section
18890 \begin_inset LatexCommand label
18891 name "sec:Rotated-Floats"
18896 \begin_inset LatexCommand index
18897 name "Floats ! Rotating"
18904 \begin_layout Standard
18905 Especially for wide tables you might have floats rotated.
18906 To rotate a whole float including the caption, right-click on the float-box
18909 Rotate\InsetSpace ~
18915 \begin_layout Standard
18916 Rotated floats are always placed on its own page (or column, when you have
18917 a two-column document).
18918 They are normally rotated so that you can read them from the outside margin
18919 -- to the left on even pages, to the right on odd pages.
18922 \begin_layout Standard
18923 Referencing rotated floats is the same like for normal floats, the caption
18924 format is also the same: Table\InsetSpace ~
18926 \begin_inset LatexCommand ref
18927 reference "tab:Rotated-table"
18931 is an example of a rotated table float.
18934 \begin_layout Standard
18935 \begin_inset Note Greyedout
18938 \begin_layout Standard
18943 Not all DVI-viewers are able to display rotated floats.
18951 \begin_layout Standard
18952 \begin_inset Float table
18957 \begin_layout Standard
18958 \begin_inset Caption
18960 \begin_layout Standard
18961 \begin_inset LatexCommand label
18962 name "tab:Rotated-table"
18974 \begin_layout Standard
18976 \begin_inset Tabular
18977 <lyxtabular version="3" rows="1" columns="5">
18979 <column alignment="center" valignment="top" leftline="true" width="0">
18980 <column alignment="center" valignment="top" leftline="true" width="0">
18981 <column alignment="center" valignment="top" leftline="true" width="0">
18982 <column alignment="center" valignment="top" leftline="true" width="0">
18983 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
18984 <row topline="true" bottomline="true">
18985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18988 \begin_layout Standard
18994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
18997 \begin_layout Standard
19003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19006 \begin_layout Standard
19012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19015 \begin_layout Standard
19021 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19024 \begin_layout Standard
19043 \begin_layout Section
19045 \begin_inset LatexCommand index
19046 name "Caption ! Formatting"
19051 \begin_inset LatexCommand index
19052 name "Floats ! Caption Formatting"
19057 \begin_inset LatexCommand index
19058 name "LaTeX-packages ! caption"
19063 \begin_inset LatexCommand label
19064 name "sec:Caption-Formatting"
19071 \begin_layout Standard
19076 environment is the default paragraph environment for
19081 On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
19084 \begin_inset Quotes eld
19092 \begin_inset Quotes erd
19095 followed by the caption text.
19097 \begin_inset Quotes eld
19101 \begin_inset Quotes erd
19104 is substituted in the printed output by the actual reference number.
19105 By default the label and the number are in the same font as the caption
19106 text and a colon follows the number to divide then label from the text.
19107 This caption format is not suitable for all document formats.
19111 \begin_layout Standard
19112 To change the default caption format, load the LaTeX-package
19117 \begin_inset LatexCommand index
19118 name "LaTeX-packages ! caption"
19122 in the document preamble with this line:
19125 \begin_layout Standard
19130 usepackage[format definition]{caption}
19133 \begin_layout Standard
19134 To have for example the label and the number in sans-serif bold font and
19135 the table captions always above the table like in this document, use the
19139 \begin_layout Standard
19144 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
19147 \begin_layout Standard
19148 You can also define different caption formats for the different float types.
19149 In this case load the
19153 package without format specific options and define the different formats
19154 with the help of the command
19157 \begin_layout Standard
19162 captionsetup[float type]{format definition}
19165 \begin_layout Standard
19166 in the document preamble.
19167 For example the caption formats of Figure\InsetSpace ~
19169 \begin_inset LatexCommand ref
19170 reference "fig:This-is-an-fig"
19174 and Table\InsetSpace ~
19176 \begin_inset LatexCommand ref
19177 reference "tab:This-is-an-tab"
19181 can be created using these commands in the document preamble:
19184 \begin_layout Standard
19189 usepackage[tableposition=top]{caption}
19197 captionsetup[f\SpecialChar \textcompwordmark{}
19198 igure]{labelfont={tt}, textfont=it, indention=1cm,%
19204 \begin_layout Standard
19212 captionsetup[figure]
19223 captionsetup[table]{labelfont={bf,sf}}
19226 \begin_layout Standard
19227 For more information about the package
19231 we refer to its documentation
19232 \begin_inset LatexCommand cite
19233 key "caption,caption-de"
19240 \begin_layout Standard
19241 \begin_inset VSpace bigskip
19249 \begin_inset LatexCommand index
19250 name "LaTeX-packages ! koma-script"
19256 article (koma-script)
19264 letter (koma-script)
19268 report (koma-script)
19270 \InsetSpace \thinspace{}
19271 ), you can alternatively to the
19279 's built-in command
19286 For example, to have the caption label in bold, add this command to your
19290 \begin_layout Standard
19295 setkomafont{captionlabel}{
19300 \begin_layout Standard
19301 For more information about
19312 \begin_inset LatexCommand cite
19313 key "koma-script,koma-script-de"
19320 \begin_layout Standard
19324 \begin_layout Standard
19328 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
19335 \begin_inset Note Note
19338 \begin_layout Standard
19339 The caption format is changed only for this example.
19347 \begin_layout Standard
19348 \begin_inset Float figure
19354 \begin_layout Standard
19356 \begin_inset Graphics
19357 filename mobius.eps
19366 \begin_layout Standard
19367 \begin_inset Caption
19369 \begin_layout Standard
19370 \begin_inset LatexCommand label
19371 name "fig:This-is-an-fig"
19375 This is an example figure caption that is longer than one line to show the
19376 different caption format.
19377 Here a self-defined caption format is used.
19390 \begin_layout Standard
19394 \begin_layout Standard
19398 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
19407 \begin_layout Standard
19408 \begin_inset Float table
19414 \begin_layout Standard
19415 \begin_inset Caption
19417 \begin_layout Standard
19418 \begin_inset LatexCommand label
19419 name "tab:This-is-an-tab"
19423 This is an example table caption that is longer than one line to show the
19424 different caption format.
19425 Here the standard caption format for tables in this document is used.
19433 \begin_layout Standard
19435 \begin_inset Tabular
19436 <lyxtabular version="3" rows="1" columns="5">
19438 <column alignment="center" valignment="top" leftline="true" width="0">
19439 <column alignment="center" valignment="top" leftline="true" width="0">
19440 <column alignment="center" valignment="top" leftline="true" width="0">
19441 <column alignment="center" valignment="top" leftline="true" width="0">
19442 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19443 <row topline="true" bottomline="true">
19444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19447 \begin_layout Standard
19453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19456 \begin_layout Standard
19462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19465 \begin_layout Standard
19471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19474 \begin_layout Standard
19480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19483 \begin_layout Standard
19502 \begin_layout Section
19504 \begin_inset LatexCommand index
19505 name "Caption ! Placement"
19510 \begin_inset LatexCommand index
19511 name "Floats ! Caption Placement"
19516 \begin_inset LatexCommand label
19517 name "sec:Caption-Placement"
19524 \begin_layout Standard
19525 The common caption placement rule is:
19528 \begin_layout Description
19529 Figure: Caption is set below the figure
19532 \begin_layout Description
19533 Table: Caption is set above the table
19536 \begin_layout Standard
19537 Having the caption above the table is unfortunately not supported in LaTeX's
19539 That means if you are using the document classes
19555 there will be no space between the caption and the table.
19556 To insert the needed space, add the following option to the load command
19557 of the LaTeX-package
19561 in your document preamble
19565 \begin_layout Standard
19566 See section\InsetSpace ~
19568 \begin_inset LatexCommand ref
19569 reference "sec:Caption-Formatting"
19573 for more information of the package
19585 \begin_layout Standard
19591 \begin_layout Standard
19597 \begin_inset LatexCommand index
19598 name "LaTeX-packages ! koma-script"
19604 article (koma-script)
19612 letter (koma-script)
19616 report (koma-script)
19618 \InsetSpace \thinspace{}
19619 ), you can alternatively to the
19623 package set the document class option
19627 , or you can use the environment
19629 caption\InsetSpace ~
19639 \begin_layout Standard
19640 \begin_inset VSpace bigskip
19643 It is also possible to set the caption beside a figure or table.
19644 To get this the LaTeX-package
19649 \begin_inset LatexCommand index
19650 name "LaTeX-packages ! sidecap"
19654 has to be loaded in the document preamble with the line
19657 \begin_layout Standard
19662 usepackage[option]{sidecap}
19665 \begin_layout Standard
19666 If you set no option, the caption is placed on the side of the outer page
19667 margin -- to the right on odd pages, to the left on even pages.
19668 You can change the placement to inner margin with the option
19673 To force the placement always to the right or left, use the option
19684 \begin_layout Standard
19685 To place in LyX the caption of a float on the side, it is necessary to add
19686 these commands to the document preamble:
19689 \begin_layout Standard
19695 \begin_layout Standard
19708 \begin_layout Standard
19729 \begin_layout Standard
19750 \begin_layout Standard
19761 renewenvironment{table}{
19768 \begin_layout Standard
19781 \begin_layout Standard
19802 \begin_layout Standard
19820 \begin_layout Standard
19833 \begin_layout Standard
19848 f\SpecialChar \textcompwordmark{}
19855 \begin_layout Standard
19868 MyEndf\SpecialChar \textcompwordmark{}
19871 endf\SpecialChar \textcompwordmark{}
19878 \begin_layout Standard
19889 renewenvironment{f\SpecialChar \textcompwordmark{}
19892 begin{SCf\SpecialChar \textcompwordmark{}
19895 end{SCf\SpecialChar \textcompwordmark{}
19899 \begin_layout Standard
19912 \begin_layout Standard
19925 f\SpecialChar \textcompwordmark{}
19934 \begin_layout Standard
19947 endf\SpecialChar \textcompwordmark{}
19950 MyEndf\SpecialChar \textcompwordmark{}
19954 \begin_layout Standard
19960 \begin_layout Standard
19961 The commands allow you to redefine the floats so that the caption is set
19963 For figure floats use the command
19966 \begin_layout Standard
19974 \begin_layout Standard
19975 in ERT before the float.
19976 Behind the float insert the command
19979 \begin_layout Standard
19987 \begin_layout Standard
19988 in ERT to get back to the original float definition.
19991 \begin_layout Standard
19992 For table floats use the corresponding commands
19995 \begin_layout Standard
20009 \begin_layout Standard
20010 Figure\InsetSpace ~
20012 \begin_inset LatexCommand ref
20013 reference "fig:cap-beside-fig"
20017 and Table\InsetSpace ~
20019 \begin_inset LatexCommand ref
20020 reference "tab:cap-beside-tab"
20024 are examples where the caption is set beside.
20027 \begin_layout Standard
20028 You can see in the examples that the caption text appears at the top of
20029 the floats for table floats and at the bottom for figure floats.
20030 To change this, you can use the command
20033 \begin_layout Standard
20038 sidecaptionvpos{float type}{placement}
20041 \begin_layout Standard
20042 in the document preamble or in ERT before the float.
20043 The float type is either
20051 , the placement can be
20052 \begin_inset Quotes eld
20060 \begin_inset Quotes erd
20064 \begin_inset Quotes eld
20072 \begin_inset Quotes erd
20076 \begin_inset Quotes eld
20084 \begin_inset Quotes erd
20088 To have for example the caption of figure floats vertically centered, use
20092 \begin_layout Standard
20097 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
20101 \begin_layout Standard
20102 This was used for Figure\InsetSpace ~
20104 \begin_inset LatexCommand ref
20105 reference "fig:cap-beside-fig-2"
20112 \begin_layout Standard
20113 \begin_inset VSpace defskip
20116 For more information about the package
20120 we refer to its documentation
20121 \begin_inset LatexCommand cite
20129 \begin_layout Standard
20130 \begin_inset Note Greyedout
20133 \begin_layout Standard
20143 \begin_inset LatexCommand index
20144 name "LaTeX-packages ! hypcap"
20148 , described in section\InsetSpace ~
20150 \begin_inset LatexCommand ref
20151 reference "sub:Reference-Position"
20155 , has no effect on floats with the caption set beside.
20163 \begin_layout Standard
20167 \begin_layout Standard
20179 \begin_layout Standard
20180 \begin_inset Float figure
20185 \begin_layout Standard
20186 \begin_inset Graphics
20187 filename escher-lsd.eps
20195 \begin_layout Standard
20196 \begin_inset Caption
20198 \begin_layout Standard
20199 \begin_inset LatexCommand label
20200 name "fig:cap-beside-fig"
20204 This is a caption beside a figure.
20217 \begin_layout Standard
20221 \begin_layout Standard
20233 \begin_layout Standard
20234 \begin_inset Float table
20239 \begin_layout Standard
20240 \begin_inset Caption
20242 \begin_layout Standard
20243 \begin_inset LatexCommand label
20244 name "tab:cap-beside-tab"
20248 This is a caption beside a table.
20256 \begin_layout Standard
20257 \begin_inset Tabular
20258 <lyxtabular version="3" rows="4" columns="5">
20260 <column alignment="center" valignment="top" leftline="true" width="0">
20261 <column alignment="center" valignment="top" leftline="true" width="0">
20262 <column alignment="center" valignment="top" leftline="true" width="0">
20263 <column alignment="center" valignment="top" leftline="true" width="0">
20264 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20265 <row topline="true">
20266 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20269 \begin_layout Standard
20275 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20278 \begin_layout Standard
20284 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20287 \begin_layout Standard
20293 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20296 \begin_layout Standard
20302 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20305 \begin_layout Standard
20312 <row topline="true">
20313 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20316 \begin_layout Standard
20322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20325 \begin_layout Standard
20331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20334 \begin_layout Standard
20340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20343 \begin_layout Standard
20349 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20352 \begin_layout Standard
20359 <row topline="true">
20360 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20363 \begin_layout Standard
20369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20372 \begin_layout Standard
20378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20381 \begin_layout Standard
20387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20390 \begin_layout Standard
20396 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20399 \begin_layout Standard
20406 <row topline="true" bottomline="true">
20407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20410 \begin_layout Standard
20416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20419 \begin_layout Standard
20425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20428 \begin_layout Standard
20434 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20437 \begin_layout Standard
20443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20446 \begin_layout Standard
20465 \begin_layout Standard
20469 \begin_layout Standard
20481 \begin_layout Standard
20485 \begin_layout Standard
20489 sidecaptionvpos{figure}{c}
20495 \begin_inset Float figure
20500 \begin_layout Standard
20501 \begin_inset Graphics
20502 filename escher-lsd.eps
20510 \begin_layout Standard
20511 \begin_inset Caption
20513 \begin_layout Standard
20514 \begin_inset LatexCommand label
20515 name "fig:cap-beside-fig-2"
20519 This is a vertically centered caption beside a figure.
20532 \begin_layout Standard
20536 \begin_layout Standard
20548 \begin_layout Section
20550 \begin_inset LatexCommand label
20551 name "sec:Listings-of-Floats"
20556 \begin_inset LatexCommand index
20557 name "Floats ! Listings"
20564 \begin_layout Standard
20565 Similar to the the table of contents where the sections of the document
20566 are listed, there are listings for all float types, like the figures of
20568 You can insert them via the
20570 Insert\SpecialChar \menuseparator
20578 \begin_layout Standard
20579 The list entries are the float captions or its short title, the float number,
20580 and the page number where they appear in the document.
20583 \begin_layout Standard
20584 You can find the list of figures and tables at the end of this document.
20587 \begin_layout Chapter
20591 \begin_layout Section
20595 \begin_layout Standard
20608 \begin_layout Standard
20616 \begin_inset LatexCommand label
20617 name "sec:LyX-Notes"
20622 \begin_inset LatexCommand index
20623 name "Notes ! LyX Notes"
20628 \begin_inset Note Note
20631 \begin_layout Standard
20634 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
20635 are displayed wrongly in PDF-bookmarks.
20636 For more information about this, have a look at
20637 \begin_inset LatexCommand cite
20650 \begin_layout Standard
20651 Notes are inserted with the toolbar button
20652 \begin_inset Graphics
20653 filename ../images/note-insert.xpm
20660 Insert\SpecialChar \menuseparator
20664 There are three types of notes:
20667 \begin_layout Description
20669 Note This note type is for internal notes that won't appear in the output.
20670 Its note-box looks like this:
20675 \begin_inset Graphics
20676 filename ../clipart/LyXNoteImageQt4.png
20683 \begin_inset Note Note
20686 \begin_layout Standard
20687 This is text in a note box that doesn't appear in the output.
20695 \begin_layout Description
20696 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
20697 ent, when you export the document to LaTeX via the menu
20699 File\SpecialChar \menuseparator
20700 Export\SpecialChar \menuseparator
20701 LaTeX (pdflatex) / LaTeX (plain)
20704 Its note-box looks like this:
20709 \begin_inset Graphics
20710 filename ../clipart/CommentNoteImageQt4.png
20717 \begin_inset Note Comment
20720 \begin_layout Standard
20721 This is text in a note box that only appears as comment in LaTeX-files.
20729 \begin_layout Description
20730 Greyed\InsetSpace ~
20731 Out This note will appear in the output as grey text.
20732 Its note-box looks like this:
20737 \begin_inset Graphics
20738 filename ../clipart/GreyedOutNoteImageQt4.png
20750 \begin_layout Standard
20754 renewenvironment{lyxgreyedout}
20757 \begin_layout Standard
20761 textcolor[gray]{0.8}
20771 \begin_inset Note Greyedout
20774 \begin_layout Standard
20779 \begin_layout Standard
20780 This is an example footnote within a greyed out note.
20785 of a comment that appears in the output as grey text.
20794 \begin_layout Standard
20798 renewenvironment{lyxgreyedout}
20801 \begin_layout Standard
20815 \begin_inset Note Note
20818 \begin_layout Standard
20819 The greyed out note is here redefined to show it with the original LyX definitio
20820 n because greyed out notes are redefined in the preamble of this document,
20821 as described below, to have blue text.
20830 As you can see in the example, the first line of greyed out notes is a bit
20831 indented and greyed out notes can have footnotes.
20834 \begin_layout Description
20835 Framed This note will appear in the output as framed text.
20836 Its note-box looks like this:
20841 \begin_inset Graphics
20842 filename ../clipart/FramedNoteImageQt4.png
20849 \begin_inset Note Framed
20852 \begin_layout Standard
20853 This is text in a note box that appears framed in the output.
20858 In contrary to framed boxes
20862 \begin_layout Standard
20863 Framed boxes are described in section\InsetSpace ~
20865 \begin_inset LatexCommand ref
20866 reference "sec:Framed-Boxes"
20875 the frame uses always the whole text width and the note is set into its
20879 \begin_layout Description
20880 Shaded This note will appear in the output with red background color.
20881 Its note box looks like this:
20886 \begin_inset Graphics
20887 filename ../clipart/ShadedNoteImageQt4.png
20894 \begin_inset Note Shaded
20897 \begin_layout Standard
20898 This text in a note box appears in the output with red background.
20903 In contrary to colored boxes
20907 \begin_layout Standard
20908 Colored boxes are described in section\InsetSpace ~
20910 \begin_inset LatexCommand ref
20911 reference "sec:Colored-Boxes"
20920 the note uses always the whole text width and the note is set into its
20924 \begin_layout Standard
20925 \begin_inset VSpace bigskip
20928 When you use the toolbar button to insert notes, a
20934 You can switch between the three note types by right-clicking on the note-box.
20939 If you want to turn existing text into a note, mark it and click on the
20955 \begin_layout Standard
20956 \begin_inset VSpace bigskip
20959 You can change the text color of the greyed out notes in the preamble with
20960 the following command:
20963 \begin_layout Standard
20968 renewenvironment{lyxgreyedout}
20974 \begin_layout Standard
20992 \begin_layout Standard
20993 The available colors and the method to define own colors is explained in
20994 section\InsetSpace ~
20996 \begin_inset LatexCommand ref
20997 reference "sec:Colored-Tables"
21004 \begin_layout Standard
21005 Notes that appear in blue in this document are set using greyed out notes
21009 \begin_layout Standard
21010 \begin_inset VSpace bigskip
21016 \begin_layout Standard
21025 notes can be set in the
21032 \begin_layout Standard
21033 The default frame width for
21037 notes is 0.4\InsetSpace \thinspace{}
21038 pt; it can be changed by changing the size
21045 The default space between the note content and the frame is 9\InsetSpace \thinspace{}
21047 be changed by changing the size
21054 For example the frame appearance of the following
21058 note is set with the ERT commands
21061 \begin_layout Standard
21071 \begin_layout Standard
21075 \begin_layout Standard
21087 \begin_inset Note Framed
21090 \begin_layout Standard
21104 \begin_layout Standard
21118 \begin_layout Standard
21119 \begin_inset VSpace bigskip
21125 \begin_layout Standard
21130 notes the default space between the note content and the note border is
21131 3\InsetSpace \thinspace{}
21132 pt; it can be changed by changing the size
21140 The default background color red can be changed with the command
21144 def\SpecialChar \textcompwordmark{}
21152 def\SpecialChar \textcompwordmark{}
21155 command is explained in section\InsetSpace ~
21157 \begin_inset LatexCommand ref
21158 reference "sec:Colored-Tables"
21166 \begin_layout Standard
21173 \SpecialChar \textcompwordmark{}
21178 requires the LaTeX-package
21182 in the preamble, see section\InsetSpace ~
21184 \begin_inset LatexCommand ref
21185 reference "sec:Colored-Boxes"
21197 \begin_layout Standard
21198 For example the appearance of the following
21202 note is set with the ERT commands
21205 \begin_layout Standard
21218 def\SpecialChar \textcompwordmark{}
21219 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21222 \begin_layout Standard
21226 \begin_layout Standard
21239 \begin_layout Standard
21243 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
21249 \begin_inset Note Shaded
21252 \begin_layout Standard
21255 This is yellow text in a
21259 note with darkgreen background.
21268 \begin_layout Standard
21281 \begin_layout Standard
21285 definecolor{shadecolor}{rgb}{1,0,0}
21293 \begin_layout Section
21295 \begin_inset LatexCommand label
21296 name "sec:Footnotes"
21301 \begin_inset LatexCommand index
21302 name "Notes ! Footnotes"
21307 \begin_inset LatexCommand index
21315 \begin_layout Standard
21316 Footnotes can be inserted using the toolbar button
21317 \begin_inset Graphics
21318 filename ../images/footnote-insert.xpm
21325 Insert\SpecialChar \menuseparator
21337 then the following footnote-box:
21338 \begin_inset Graphics
21339 filename ../clipart/footnoteQt4.png
21348 where you can enter the footnote text.
21349 If you want to turn existing text into a footnote, mark it and click on
21365 \begin_layout Standard
21366 Here is an example footnote:
21374 \begin_layout Standard
21375 \begin_inset LatexCommand label
21376 name "foot:This-is-an"
21380 This is an example footnote.
21393 \begin_layout Standard
21397 newcounter{MyRepeatFoot}
21400 \begin_layout Standard
21404 setcounter{MyRepeatFoot}{
21414 \begin_layout Standard
21415 The footnote will appear in the output as a superscript number at the text
21416 position where the footnote box is placed.
21417 The footnote text is placed at the bottom of the current page.
21418 The footnote number is calculated by LaTeX, the numbers are consecutive.
21419 It depends on your document-class, if the footnote number is reset for
21423 \begin_layout Standard
21424 Footnotes can be referenced like floats: Insert a label into the footnote
21425 and cross-reference this label in the text as described in section\InsetSpace ~
21427 \begin_inset LatexCommand ref
21428 reference "sec:Referencing-Floats"
21434 This is a cross-reference of Footnote\InsetSpace ~
21436 \begin_inset LatexCommand prettyref
21437 reference "foot:This-is-an"
21444 \begin_inset Note Greyedout
21447 \begin_layout Standard
21452 LyX doesn't provide a prefix for labels in footnotes, so you have to insert
21453 e.\InsetSpace \thinspace{}
21458 \begin_inset Quotes eld
21464 \begin_inset Quotes erd
21467 manually when you want to use the reference style
21469 Formatted\InsetSpace ~
21480 \begin_layout Standard
21481 \begin_inset VSpace defskip
21484 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
21486 \begin_inset LatexCommand ref
21487 reference "sec:Minipages"
21492 Footnotes within longtables are described in section\InsetSpace ~
21494 \begin_inset LatexCommand ref
21495 reference "sub:Footnotes-in-Longtables"
21502 \begin_layout Standard
21503 \begin_inset VSpace defskip
21506 To create only a mark for a footnote, use the command
21510 footnotemark[number]
21513 This is used when you have the same annotation several times in a text
21514 but doesn't want to print the footnote text every time.
21517 the number of the repeating footnote while you are writing the text, you
21518 have to store its number.
21519 For the following footnote mark example, these commands were inserted in
21520 ERT behind Footnote\InsetSpace ~
21522 \begin_inset LatexCommand ref
21523 reference "foot:This-is-an"
21527 to store the footnote number:
21530 \begin_layout Standard
21535 newcounter{MyRepeatFoot}
21539 setcounter{MyRepeatFoot}{
21544 \begin_layout Standard
21545 The footnote mark was then created with this command:
21548 \begin_layout Standard
21558 \begin_layout Standard
21559 Here is an example footnote mark:
21567 \begin_layout Standard
21581 \begin_layout Subsection
21583 \begin_inset LatexCommand label
21584 name "sub:Footnote-Numbering"
21589 \begin_inset LatexCommand index
21590 name "Footnotes ! Numbering"
21597 \begin_layout Standard
21598 If you want to have footnotes numbered in the scheme
21599 \begin_inset Quotes eld
21603 \begin_inset Quotes erd
21606 , add the following command to your document preamble:
21609 \begin_layout Standard
21614 numberwithin{footnote}{chapter}
21617 \begin_layout Standard
21618 To be able to use the command
21629 in the document settings the option
21639 \begin_layout Standard
21643 \begin_layout Standard
21647 numberwithin{footnote}{chapter}
21652 This is another example footnote:
21658 \begin_layout Standard
21659 This is a footnote numbered in the scheme
21660 \begin_inset Quotes eld
21664 \begin_inset Quotes erd
21678 \begin_layout Standard
21682 numberwithin{footnote}{part}
21690 \begin_layout Standard
21691 \begin_inset VSpace bigskip
21697 \begin_layout Standard
21698 To reset the footnote number back to 1 after each section
21700 , add this command to your document preamble:
21703 \begin_layout Standard
21708 @addtoreset{footnote}{section}
21711 \begin_layout Standard
21712 \begin_inset VSpace bigskip
21715 The following preamble command changes the footnote numbering style to small
21719 \begin_layout Standard
21731 \begin_layout Standard
21735 \begin_layout Standard
21748 This is a footnote with roman numbering:
21752 \begin_layout Standard
21753 This is an example footnote with roman numbering.
21762 \begin_layout Standard
21778 \begin_layout Standard
21779 To change the numbering style to capital roman numerals replace in the command
21794 \begin_inset Quotes eld
21798 \begin_inset Quotes erd
21801 footnotes with capital or small Latin letters use
21815 \begin_inset Quotes eld
21819 \begin_inset Quotes erd
21822 footnotes with symbols use
21831 \begin_layout Standard
21832 \begin_inset Note Greyedout
21835 \begin_layout Standard
21842 You can only number 26 footnotes with Latin letters, because this numbering
21843 is limited to single letters.
21851 \begin_inset Note Greyedout
21854 \begin_layout Standard
21859 You can only number 9 footnotes with symbols.
21867 \begin_layout Standard
21868 To return to the default numbering style when you changed to another one,
21881 in the command above.
21884 \begin_layout Subsection
21886 \begin_inset LatexCommand index
21887 name "Footnotes ! Placement"
21894 \begin_layout Standard
21895 If you have several footnotes in one page, they appear without vertical
21896 space between them at the bottom of the page.
21897 To make them better readable you can e.\InsetSpace \thinspace{}
21899 add 1.5\InsetSpace \thinspace{}
21900 mm space with the following
21904 \begin_layout Standard
21926 \begin_layout Standard
21927 \begin_inset VSpace bigskip
21930 In a two-column document the footnotes appear at the bottom of every column,
21931 see Figure\InsetSpace ~
21933 \begin_inset LatexCommand ref
21934 reference "fig:Standard-footnote-placement"
21939 If the footnotes should only appear at the bottom of the right column,
21940 as in Figure\InsetSpace ~
21942 \begin_inset LatexCommand ref
21943 reference "fig:Footnote-placement-in"
21947 , use the LaTeX-package
21952 \begin_inset LatexCommand index
21953 name "LaTeX-packages ! ftnright"
21957 with this command in the document preamble:
21960 \begin_layout Standard
21965 usepackage{ftnright}
21968 \begin_layout Standard
21969 \begin_inset Float figure
21975 \begin_layout Standard
21979 \begin_layout Standard
21989 \begin_inset Graphics
21990 filename ../clipart/without_fntright.pdf
21999 \begin_layout Standard
22009 \begin_layout Standard
22010 \begin_inset Caption
22012 \begin_layout Standard
22013 \begin_inset LatexCommand label
22014 name "fig:Standard-footnote-placement"
22018 Standard footnote placement in two-column documents.
22031 \begin_layout Standard
22032 \begin_inset Float figure
22038 \begin_layout Standard
22042 \begin_layout Standard
22052 \begin_inset Graphics
22053 filename ../clipart/with_fntright.pdf
22062 \begin_layout Standard
22072 \begin_layout Standard
22073 \begin_inset Caption
22075 \begin_layout Standard
22076 \begin_inset LatexCommand label
22077 name "fig:Footnote-placement-in"
22081 Footnote placement in two-column documents when the LaTeX-package
22098 \begin_layout Standard
22099 \begin_inset VSpace bigskip
22102 In some scientific literature it is usual to collect the footnotes and print
22103 them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
22105 \begin_inset LatexCommand ref
22106 reference "fig:Endnotes----footnotes"
22111 They are then so called
22112 \begin_inset Quotes eld
22116 \begin_inset Quotes erd
22120 To use endnotes instead of footnotes in your document, load the LaTeX-package
22126 \begin_inset LatexCommand index
22127 name "LaTeX-packages ! endnotes"
22131 with the document preamble lines
22134 \begin_layout Standard
22139 usepackage{endnotes}
22150 \begin_layout Standard
22151 To insert the collected footnotes, insert the command
22154 \begin_layout Standard
22162 \begin_layout Standard
22163 in ERT at the the end of a section or chapter.
22166 \begin_layout Standard
22167 \begin_inset Float figure
22172 \begin_layout Standard
22177 \begin_layout Standard
22187 \begin_inset Graphics
22188 filename ../clipart/endnotes.pdf
22196 \begin_layout Standard
22206 \begin_layout Standard
22207 \begin_inset Caption
22209 \begin_layout Standard
22210 \begin_inset LatexCommand label
22211 name "fig:Endnotes----footnotes"
22215 Endnotes -- footnotes are printed in a separate paragraph at the end of
22216 sections or chapters.
22229 \begin_layout Standard
22230 \begin_inset VSpace defskip
22233 The paragraph heading for the endnotes isn't automatically translated into
22234 the document language, this must be done manually.
22235 The following preamble command translate the default English name
22236 \begin_inset Quotes eld
22240 \begin_inset Quotes erd
22243 to the German translation
22244 \begin_inset Quotes eld
22248 \begin_inset Quotes erd
22254 \begin_layout Standard
22261 notesname}{Anmerkungen}
22264 \begin_layout Standard
22265 \begin_inset VSpace defskip
22268 The numbering of endnotes can be changed like the footnote numbering as
22269 described in section\InsetSpace ~
22271 \begin_inset LatexCommand ref
22272 reference "sub:Footnote-Numbering"
22276 ; just replace the command
22289 To reset the endnote number use the command
22295 as described in section\InsetSpace ~
22297 \begin_inset LatexCommand ref
22298 reference "sub:Footnote-Numbering"
22302 and replace the command parameter
22313 \begin_layout Standard
22314 To create only a mark for an endnote, use the command
22318 endnotemark[number]
22320 similar to the command
22326 , described in section\InsetSpace ~
22328 \begin_inset LatexCommand ref
22329 reference "sec:Footnotes"
22336 \begin_layout Standard
22337 \begin_inset VSpace bigskip
22340 Footnotes can also be placed in the page margin and the footnote text alignment
22341 can be changed, see the LaTeX-package
22346 \begin_inset LatexCommand index
22347 name "LaTeX-packages ! footmisc"
22352 \begin_inset LatexCommand cite
22357 for more information about this.
22360 \begin_layout Standard
22361 For various further footnote formatting issues have a look at LaTeX-books,
22363 \begin_inset LatexCommand cite
22364 key "latexcompanion,latexguide,latexbook"
22371 \begin_layout Section
22373 \begin_inset LatexCommand index
22374 name "Notes ! Margin Notes"
22381 \begin_layout Standard
22382 Margin notes look and behave in LyX like footnotes.
22383 They are inserted via the menu
22385 Insert\SpecialChar \menuseparator
22386 Marginal\InsetSpace ~
22389 or the toolbar button
22390 \begin_inset Graphics
22391 filename ../images/marginalnote-insert.xpm
22413 \begin_inset Quotes eld
22417 \begin_inset Quotes erd
22420 appears where you can enter the text of the margin note.
22423 \begin_layout Standard
22424 At the side is an example margin note.
22428 \begin_inset Marginal
22431 \begin_layout Standard
22432 This is a margin note.
22440 \begin_layout Standard
22441 Margin notes appear at the right side in single-sided documents.
22442 In double-sided documents they appear in the outer margin -- left on even
22443 pages, right on odd pages.
22444 The text of margin notes is aligned opposite to the outer margin -- right-align
22445 ed when the note appears in the left margin.
22446 The first line of the margin note is placed at the position of the text
22447 line where it is inserted in the document.
22450 \begin_layout Standard
22451 \begin_inset VSpace bigskip
22454 To place the margin note in the inner margin, add the command
22457 \begin_layout Standard
22465 \begin_layout Standard
22466 in ERT before a margin note.
22467 The new placement is valid for all following margin notes.
22471 \begin_layout Standard
22481 \begin_inset Marginal
22484 \begin_layout Standard
22485 This is a margin note in the inner margin.
22497 \begin_inset Note Greyedout
22500 \begin_layout Standard
22505 There is often not enough space in the inner margin so that the notes are
22506 not correctly displayed in the output.
22514 \begin_layout Standard
22518 \begin_layout Standard
22527 To return to the default placement insert the command
22530 \begin_layout Standard
22538 \begin_layout Standard
22541 \begin_inset Note Greyedout
22544 \begin_layout Standard
22549 The command is ignored when it is within a paragraph where also the command
22564 \begin_layout Standard
22565 \begin_inset VSpace bigskip
22572 \begin_inset Marginal
22575 \begin_layout Standard
22576 AVeryLongMarginParWord that isn't hyphenated.
22584 Similar to the case described in section\InsetSpace ~
22586 \begin_inset LatexCommand ref
22587 reference "sub:Multiple-Lines-in"
22591 , long words cannot be hyphenated when they are the first word in a margin
22593 To avoid this, insert the command
22596 \begin_layout Standard
22604 \begin_layout Standard
22605 in ERT before the word
22609 \begin_inset Marginal
22612 \begin_layout Standard
22616 \begin_layout Standard
22625 AVeryLongMarginParWord that is hyphenated.
22633 \begin_layout Standard
22634 \begin_inset VSpace bigskip
22640 \begin_layout Standard
22641 \begin_inset Note Greyedout
22644 \begin_layout Standard
22649 Margin notes can normally not be used inside tables, floats, and footnotes.
22657 \begin_layout Standard
22658 \begin_inset VSpace bigskip
22664 \begin_layout Standard
22668 \begin_layout Standard
22678 \begin_inset Note Note
22681 \begin_layout Standard
22682 The following section will only be displayed when you have the LaTeX-package
22695 \begin_layout Standard
22696 This restriction can be evaded by using the LaTeX-package
22701 \begin_inset LatexCommand index
22702 name "LaTeX-packages ! marginnote"
22707 By adding these two lines to your document preamble, the command used by
22708 LyX for margin notes is redefined to use the command provided by the
22715 \begin_layout Standard
22720 usepackage{marginnote}
22731 \begin_layout Standard
22732 This is also used in this document because
22736 has another useful feature: You can set a vertical offset for the note.
22737 This is often needed when too many margin notes are too close together
22738 or for a better page layout.
22739 The offset is set in LyX as ERT directly behind the margin note in the
22743 \begin_layout Standard
22749 \begin_layout Standard
22750 where the offset is a length with one of the units listed in Table\InsetSpace ~
22752 \begin_inset LatexCommand ref
22753 reference "tab:Units"
22758 A negative value shifts the note up, a positive value shifts it down.
22762 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
22765 \begin_inset Quotes eld
22775 \begin_inset Quotes erd
22779 \begin_inset Marginal
22782 \begin_layout Standard
22783 This margin note is shifted up 1.5\InsetSpace \thinspace{}
22784 cm from its original position.
22796 \begin_layout Standard
22806 \begin_layout Standard
22807 \begin_inset VSpace defskip
22814 you can also change the alignment of the text in the margin note.
22815 For example the commands
22818 \begin_layout Standard
22825 raggedleftmarginnote}{
22833 raggedrightmarginnote}{
22838 \begin_layout Standard
22839 set the alignment to centered.
22844 raggedleftmarginnote
22846 denotes margin notes that appear at the left side.
22853 \begin_layout Standard
22859 raggedleftmarginnote}{
22864 \begin_layout Standard
22870 raggedrightmarginnote}{
22878 \begin_inset Marginal
22881 \begin_layout Standard
22882 The text of this margin note is centered.
22893 \begin_layout Standard
22900 raggedleftmarginnote}{
22908 raggedrightmarginnote}{
22917 \begin_layout Standard
22923 raggedleftmarginnote}{
22928 \begin_layout Standard
22934 raggedrightmarginnote}{
22944 \begin_layout Standard
22945 \begin_inset VSpace defskip
22948 For the other features of
22952 we refer to its documentation
22953 \begin_inset LatexCommand cite
22961 \begin_layout Standard
22962 \begin_inset VSpace bigskip
22965 You can change the layout of margin notes by redefining its definition.
22966 To create for example a header for all margin notes with the underlined,
22967 sans-serif, and bold header text
22968 \begin_inset Quotes eld
22980 \begin_inset Quotes erd
22983 , add this to your document preamble:
22986 \begin_layout Standard
23009 \begin_layout Standard
23026 underbar{Attention!}}}%
23032 \begin_layout Standard
23050 \begin_layout Standard
23057 \begin_layout Standard
23068 \begin_layout Standard
23079 \begin_layout Standard
23087 underbar{Attention!}}}%
23090 \begin_layout Standard
23104 \begin_inset Marginal
23107 \begin_layout Standard
23108 This is a margin note with a defined heading.
23120 \begin_layout Standard
23134 \begin_layout Standard
23151 \begin_inset Note Note
23154 \begin_layout Standard
23155 The margin note format is changed only for this example.
23163 \begin_layout Standard
23167 \begin_layout Standard
23177 \begin_inset Note Note
23180 \begin_layout Standard
23181 The following will be displayed when the LaTeX-package
23193 \begin_layout Standard
23194 You need to install the LaTeX-package
23198 to see the following part of this section in the output.
23201 \begin_layout Standard
23205 \begin_layout Standard
23217 \begin_layout Chapter
23221 \begin_layout Section
23223 \begin_inset LatexCommand index
23224 name "Boxes ! Introduction"
23231 \begin_layout Standard
23232 Boxes are used to format a block of text.
23233 Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
23235 \begin_inset LatexCommand ref
23236 reference "sec:Minipages"
23240 , to frame texts, see section\InsetSpace ~
23242 \begin_inset LatexCommand ref
23243 reference "sec:Framed-Boxes"
23247 , to prevent words to be hyphenated, see section\InsetSpace ~
23249 \begin_inset LatexCommand ref
23250 reference "sec:Prevent-Hyphenation"
23254 , to align text, see section\InsetSpace ~
23256 \begin_inset LatexCommand ref
23257 reference "sub:Vertical-Alignment"
23261 , or to set the background color of texts, see section\InsetSpace ~
23263 \begin_inset LatexCommand ref
23264 reference "sec:Colored-Boxes"
23271 \begin_layout Standard
23272 Boxes can be inserted with the menu
23274 Insert\SpecialChar \menuseparator
23278 A grey box with the label
23283 \begin_inset Graphics
23284 filename ../clipart/BoxInsetDefaultQt4.png
23289 , will be inserted.
23290 The box type can be specified by right-clicking on the box.
23291 The appearing box dialog offers the
23309 is the default for new boxes and is explained in section\InsetSpace ~
23311 \begin_inset LatexCommand ref
23312 reference "sec:Minipages"
23320 is described in section\InsetSpace ~
23322 \begin_inset LatexCommand ref
23323 reference "sec:Parboxes"
23330 \begin_layout Standard
23331 Boxes aren't numbered and can therefore not be referenced like floats or
23335 \begin_layout Standard
23336 \begin_inset Note Greyedout
23339 \begin_layout Standard
23344 Due to a bug in LyX you have to insert a protected space behind a box when
23345 you want to separate in a line the box from the following text with a space.
23353 \begin_layout Standard
23354 \begin_inset Note Greyedout
23357 \begin_layout Standard
23362 Boxes must not be the item in an
23378 \begin_layout Standard
23379 \begin_inset Note Greyedout
23382 \begin_layout Standard
23387 For an unknown reason you can only set the
23396 when you use a framed box.
23402 type and without frames are explained in section\InsetSpace ~
23404 \begin_inset LatexCommand ref
23405 reference "sec:Prevent-Hyphenation"
23417 \begin_layout Section
23419 \begin_inset LatexCommand label
23420 name "sec:Box-Dialog"
23425 \begin_inset LatexCommand index
23426 name "Boxes ! Box Dialog"
23431 \begin_inset LatexCommand index
23432 name "Boxes ! Alignment"
23439 \begin_layout Standard
23440 In the box dialog you can adjust the box geometry in the fields
23449 The available units for the geometry are explained in Table\InsetSpace ~
23451 \begin_inset LatexCommand ref
23452 reference "tab:Units"
23461 offers the following additional sizes:
23464 \begin_layout Description
23465 Depth This is the plain text
23466 \begin_inset Quotes eld
23470 \begin_inset Quotes erd
23474 It ignores the total depth when there are multiple text lines in the box:
23481 \begin_inset Box Boxed
23490 height_special "depth"
23493 \begin_layout Standard
23495 Box height set to 1\InsetSpace \thinspace{}
23508 \begin_layout Description
23509 Height This is the heigth of the text that is inside the box.
23510 A value of e.\InsetSpace \thinspace{}
23512 2 for this size will set the box heigth to 2 times the text
23514 \begin_inset Box Boxed
23523 height_special "height"
23526 \begin_layout Standard
23528 Box height set to 2\InsetSpace \thinspace{}
23537 \begin_layout Description
23539 Height This is the Height\InsetSpace \thinspace{}
23540 +\InsetSpace \thinspace{}
23542 \begin_inset Box Boxed
23551 height_special "totalheight"
23554 \begin_layout Standard
23556 Box height set to 1\InsetSpace \thinspace{}
23566 \begin_layout Description
23567 Width This set the width of the box as heigth:
23568 \begin_inset Box Boxed
23577 height_special "width"
23580 \begin_layout Standard
23582 Box height set to 1\InsetSpace \thinspace{}
23591 \begin_layout Standard
23592 \begin_inset VSpace bigskip
23595 When you have chosen an
23600 , the vertical box alignment can be:
23603 \begin_layout Description
23604 Top This is an example text line.
23606 \begin_inset Box Boxed
23615 height_special "totalheight"
23618 \begin_layout Standard
23620 This box is top-aligned.
23626 This is an example text line.
23629 \begin_layout Description
23630 Middle This is an example text line.
23632 \begin_inset Box Boxed
23641 height_special "totalheight"
23644 \begin_layout Standard
23646 This box is middle-aligned.
23652 This is an example text line.
23655 \begin_layout Description
23656 Bottom This is an example text line.
23658 \begin_inset Box Boxed
23667 height_special "totalheight"
23670 \begin_layout Standard
23672 This box is bottom-aligned.
23678 This is an example text line.
23681 \begin_layout Standard
23682 The horizontal box alignment can be set via LyX's paragraph dialog when
23683 you set the box into its own paragraph.
23686 \begin_layout Standard
23687 \begin_inset VSpace bigskip
23690 When you have chosen an
23695 , the box content can be vertical aligned to:
23698 \begin_layout Description
23699 top This is an example text line.
23701 \begin_inset Box Boxed
23710 height_special "totalheight"
23713 \begin_layout Standard
23715 This box text is top-aligned.
23721 This is an example text line.
23724 \begin_layout Description
23725 middle This is an example text line.
23727 \begin_inset Box Boxed
23736 height_special "totalheight"
23739 \begin_layout Standard
23741 This box text is middle-aligned.
23747 This is an example text line.
23750 \begin_layout Description
23751 bottom This is an example text line.
23753 \begin_inset Box Boxed
23762 height_special "totalheight"
23765 \begin_layout Standard
23767 This box text is bottom-aligned.
23773 This is an example text line.
23776 \begin_layout Description
23777 stretch This is an example text line.
23779 \begin_inset Box Boxed
23788 height_special "totalheight"
23791 \begin_layout Standard
23796 \begin_layout Standard
23801 \begin_layout Standard
23809 This is an example text line.
23812 \begin_layout Standard
23813 To stretch the box content, it must consist of more than one paragraph.
23814 In the example above every text line is in an own paragraph.
23817 \begin_layout Standard
23818 \begin_inset VSpace bigskip
23821 To align the box content horizontally you can use LyX's paragraph dialog
23822 when you have chosen an
23830 \begin_layout Standard
23832 \begin_inset Box Boxed
23841 height_special "totalheight"
23844 \begin_layout Standard
23849 \begin_layout Standard
23854 \begin_layout Standard
23864 \begin_layout Standard
23865 If you haven't set an
23870 , you can align the box content horizontally in the box dialog.
23873 \begin_layout Standard
23875 \begin_inset Box Boxed
23884 height_special "totalheight"
23887 \begin_layout Standard
23889 This box text is horizontally stretched.
23897 \begin_layout Section
23899 \begin_inset LatexCommand label
23900 name "sec:Framed-Boxes"
23905 \begin_inset LatexCommand index
23906 name "Boxes ! Frames"
23913 \begin_layout Standard
23914 The frame style of the box can be specified in the box-dialog in the drop-down
23920 The following frame types are possible:
23923 \begin_layout Description
23924 Rectangular\InsetSpace ~
23925 box This draws a rectangle frame around the box.
23926 The frame line thickness has the size of
23934 \begin_inset Box Boxed
23943 height_special "totalheight"
23946 \begin_layout Standard
23956 \begin_layout Description
23959 thin This draws an oval frame around the box.
23960 The frame line thickness has the size 0.4\InsetSpace \thinspace{}
23963 \begin_inset Box ovalbox
23972 height_special "totalheight"
23975 \begin_layout Standard
23985 \begin_layout Description
23988 thick This draws an oval frame around the box.
23989 The frame line thickness has the size 0.8\InsetSpace \thinspace{}
23992 \begin_inset Box Ovalbox
24001 height_special "totalheight"
24004 \begin_layout Standard
24014 \begin_layout Description
24015 Shadow\InsetSpace ~
24016 box This draws a rectangle frame with a shadow around the box.
24017 The frame line thickness has the size of
24023 , the shadow has a width of 4\InsetSpace \thinspace{}
24026 \begin_inset Box Shadowbox
24035 height_special "totalheight"
24038 \begin_layout Standard
24048 \begin_layout Description
24049 Double\InsetSpace ~
24050 box This draws a double-line rectangle frame around the box.
24051 The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
24058 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
24066 The distance between the lines is 1.5\InsetSpace \thinspace{}
24073 \InsetSpace \thinspace{}
24074 +\InsetSpace \thinspace{}
24075 0.5\InsetSpace \thinspace{}
24078 \begin_inset Box Doublebox
24087 height_special "totalheight"
24090 \begin_layout Standard
24100 \begin_layout Standard
24101 \begin_inset VSpace bigskip
24104 LyX's box label will change to the used frame style when you set a frame.
24105 To be able to use the different frame styles, the LaTeX-package
24110 \begin_inset LatexCommand index
24111 name "LaTeX-packages ! fancybox"
24118 \begin_layout Standard
24119 \begin_inset VSpace bigskip
24122 The default value for the size
24128 is 0.4\InsetSpace \thinspace{}
24130 It can be changed with the following command in ERT to e.\InsetSpace \thinspace{}
24132 2\InsetSpace \thinspace{}
24136 \begin_layout Standard
24146 \begin_layout Standard
24150 \begin_layout Standard
24162 \begin_inset Box Boxed
24171 height_special "totalheight"
24174 \begin_layout Standard
24176 Rectangular box with
24182 \InsetSpace \thinspace{}
24183 =\InsetSpace \thinspace{}
24184 2\InsetSpace \thinspace{}
24194 \begin_layout Standard
24208 \begin_layout Standard
24209 \begin_inset VSpace bigskip
24212 The space between the frame and the box content is for all frame styles
24213 by default 3\InsetSpace \thinspace{}
24215 You can change it by setting the length
24222 For example the command
24225 \begin_layout Standard
24235 \begin_layout Standard
24236 sets the value to 10\InsetSpace \thinspace{}
24237 pt, like for the following box:
24240 \begin_layout Standard
24244 \begin_layout Standard
24256 \begin_inset Box Boxed
24265 height_special "totalheight"
24268 \begin_layout Standard
24270 Rectangular box with
24276 \InsetSpace \thinspace{}
24277 =\InsetSpace \thinspace{}
24278 10\InsetSpace \thinspace{}
24288 \begin_layout Standard
24302 \begin_layout Standard
24303 \begin_inset VSpace bigskip
24306 The diameter of the round corners of the oval boxes can be set with the
24317 \begin_layout Standard
24325 \begin_layout Standard
24326 sets the diameter to 1\InsetSpace \thinspace{}
24331 \begin_layout Standard
24339 \begin_layout Standard
24340 sets the diameter to
24342 num\InsetSpace \thinspace{}
24343 ×\InsetSpace \thinspace{}
24344 minimum(width and heigth of box)
24356 \begin_layout Standard
24360 \begin_layout Standard
24370 \begin_inset Box Ovalbox
24379 height_special "totalheight"
24382 \begin_layout Standard
24390 \InsetSpace \thinspace{}
24391 =\InsetSpace \thinspace{}
24392 1.5\InsetSpace \thinspace{}
24402 \begin_layout Standard
24414 \begin_layout Standard
24415 \begin_inset VSpace bigskip
24418 The size of the shadow can be adjusted by changing the length
24425 It it set to 2\InsetSpace \thinspace{}
24426 pt for the following box by this command:
24429 \begin_layout Standard
24439 \begin_layout Standard
24443 \begin_layout Standard
24455 \begin_inset Box Shadowbox
24464 height_special "totalheight"
24467 \begin_layout Standard
24475 \InsetSpace \thinspace{}
24476 =\InsetSpace \thinspace{}
24477 2\InsetSpace \thinspace{}
24487 \begin_layout Standard
24501 \begin_layout Standard
24502 \begin_inset VSpace bigskip
24505 Changed lengths and widths are valid for all boxes following the commands
24509 \begin_layout Section
24511 \begin_inset LatexCommand label
24512 name "sec:Minipages"
24517 \begin_inset LatexCommand index
24518 name "Boxes ! Minipages"
24525 \begin_layout Standard
24526 Minipages are treated by LaTeX as pages within pages and can therefore for
24527 example have their own footnotes.
24530 \begin_layout Standard
24531 Minipages are useful when you write documents with different languages.
24534 \begin_layout Standard
24535 Below are two example minipages side by side.
24536 Their width is set to 45\InsetSpace \thinspace{}
24537 col% and they are separated by a horizontal fill,
24538 that was inserted via the menu
24540 Insert\SpecialChar \menuseparator
24541 Special\InsetSpace ~
24542 Formatting\SpecialChar \menuseparator
24543 Horizontal\InsetSpace ~
24549 \begin_layout Standard
24550 \begin_inset Box Frameless
24559 height_special "totalheight"
24562 \begin_layout Standard
24565 Dies ist ein deutscher Text.
24566 Dies ist ein deutscher Text.
24567 Dies ist ein deutscher Text.
24568 Dies ist ein deutscher Text.
24569 Dies ist ein deutscher Text.
24570 Dies ist ein deutscher Text.
24571 Dies ist ein deutscher Text.
24572 Dies ist ein deutscher Text.
24573 Dies ist ein deutscher Text.
24574 Dies ist ein deutscher Text.
24575 Dies ist ein deutscher Text.
24576 Dies ist ein deutscher Text.
24577 Dies ist ein deutscher Text
24581 \begin_layout Standard
24584 Dies ist eine deutsche Fußnote.
24590 Dies ist ein deutscher Text.
24591 Dies ist ein deutscher Text.
24599 \begin_inset Box Frameless
24608 height_special "totalheight"
24611 \begin_layout Standard
24612 This is an English Text.
24613 This is an English Text.
24614 This is an English Text.
24615 This is an English Text.
24616 This is an English Text.
24617 This is an English Text.
24618 This is an English Text.
24619 This is an English Text.
24620 This is an English Text.
24621 This is an English Text.
24622 This is an English Text.
24623 This is an English Text.
24624 This is an English Text.
24625 This is an English Text.
24626 This is an English Text.
24627 This is an English Text.
24631 \begin_layout Standard
24632 This is an English footnote.
24637 This is an English Text.
24646 \begin_layout Standard
24647 \begin_inset VSpace bigskip
24650 Another application for minipages are footnotes within tables.
24651 Due to a LaTeX restriction footnotes within tables doesn't appear at the
24652 bottom of the current page.
24653 But when you put the table with the footnote to a minipage, the footnote
24654 will appear at its bottom, numbered with Latin letters.
24655 The footnote number is reset to 1 in every minipage but not outside the
24659 \begin_layout Standard
24660 The footnote of this table doesn't appear:
24661 \begin_inset Tabular
24662 <lyxtabular version="3" rows="3" columns="4">
24664 <column alignment="center" valignment="top" leftline="true" width="0pt">
24665 <column alignment="center" valignment="top" leftline="true" width="0pt">
24666 <column alignment="center" valignment="top" leftline="true" width="0pt">
24667 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24668 <row topline="true">
24669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24672 \begin_layout Standard
24678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24681 \begin_layout Standard
24687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24690 \begin_layout Standard
24695 \begin_layout Standard
24696 This is a footnote within a table.
24706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24709 \begin_layout Standard
24716 <row topline="true">
24717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24720 \begin_layout Standard
24726 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24729 \begin_layout Standard
24735 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24738 \begin_layout Standard
24744 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24747 \begin_layout Standard
24754 <row topline="true" bottomline="true">
24755 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24758 \begin_layout Standard
24764 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24767 \begin_layout Standard
24773 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24776 \begin_layout Standard
24782 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24785 \begin_layout Standard
24799 \begin_layout Standard
24801 \begin_inset Box Frameless
24810 height_special "totalheight"
24813 \begin_layout Standard
24815 \begin_inset Tabular
24816 <lyxtabular version="3" rows="3" columns="4">
24818 <column alignment="center" valignment="top" leftline="true" width="0pt">
24819 <column alignment="center" valignment="top" leftline="true" width="0pt">
24820 <column alignment="center" valignment="top" leftline="true" width="0pt">
24821 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
24822 <row topline="true">
24823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24826 \begin_layout Standard
24832 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24835 \begin_layout Standard
24841 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24844 \begin_layout Standard
24849 \begin_layout Standard
24850 This is a footnote within a table.
24860 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24863 \begin_layout Standard
24870 <row topline="true">
24871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24874 \begin_layout Standard
24880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24883 \begin_layout Standard
24889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24892 \begin_layout Standard
24898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24901 \begin_layout Standard
24908 <row topline="true" bottomline="true">
24909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24912 \begin_layout Standard
24918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24921 \begin_layout Standard
24927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
24930 \begin_layout Standard
24936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
24939 \begin_layout Standard
24958 \begin_layout Standard
24959 \begin_inset VSpace bigskip
24962 The document-wide paragraph settings are ignored within minipages.
24963 That means that there will be no space between paragraphs in minipages
24964 although you set it to e.\InsetSpace \thinspace{}
24970 in the document settings.
24973 \begin_layout Standard
24974 Minipages can also be used to set a background color for text parts, see
24975 section\InsetSpace ~
24977 \begin_inset LatexCommand ref
24978 reference "sub:Color-for-Paragraphs"
24985 \begin_layout Standard
24986 \begin_inset Note Greyedout
24989 \begin_layout Standard
24994 You cannot have floats or margin notes inside minipages but minipages can
24995 be used inside tables, floats, and other boxes.
25003 \begin_layout Section
25005 \begin_inset LatexCommand label
25006 name "sec:Parboxes"
25011 \begin_inset LatexCommand index
25012 name "Boxes ! Parboxes"
25019 \begin_layout Standard
25020 Parboxes are very similar to minipages with the difference that they cannot
25022 The main difference to minipages is that minipages are in contrary to parboxes
25023 no real boxes but LaTeX-environments.
25026 \begin_layout Standard
25028 \begin_inset Box Frameless
25037 height_special "totalheight"
25040 \begin_layout Standard
25041 This a text within a parbox.
25042 This a text within a parbox.
25045 \begin_layout Standard
25046 This footnote won't appear:
25050 \begin_layout Standard
25051 This footnote is inside a parbox and will therefore not appear.
25064 \begin_layout Section
25065 Boxes for Words and Characters
25066 \begin_inset LatexCommand index
25067 name "Boxes ! for Characters"
25074 \begin_layout Subsection
25075 Prevent Hyphenation
25076 \begin_inset LatexCommand label
25077 name "sec:Prevent-Hyphenation"
25082 \begin_inset LatexCommand index
25083 name "Boxes ! to Prevent Hyphenation"
25090 \begin_layout Standard
25091 You can use a special kind of boxes to prevent words or text to be hyphenated.
25094 e is an example text:
25097 \begin_layout Standard
25098 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25104 \begin_layout Standard
25105 To prevent the hyphenation of the word
25106 \begin_inset Quotes eld
25110 \begin_inset Quotes erd
25116 \begin_layout Standard
25124 \begin_layout Standard
25125 in ERT before the word.
25126 Behind the word insert a closing brace
25127 \begin_inset Quotes eld
25135 \begin_inset Quotes erd
25142 \begin_layout Standard
25154 \begin_layout Standard
25155 This is the result:
25158 \begin_layout Standard
25159 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25165 \begin_layout Standard
25178 \begin_layout Standard
25188 \begin_layout Standard
25189 Of course the word now protrudes over the side margin.
25190 To avoid this, add via the menu
25192 Insert\SpecialChar \menuseparator
25193 Special\InsetSpace ~
25194 Formatting\SpecialChar \menuseparator
25202 ) a line break before the word:
25205 \begin_layout Standard
25206 This line is an example to show how you can prevent the hyphenation of e.\InsetSpace \thinspace{}
25214 \begin_layout Standard
25227 \begin_layout Standard
25237 \begin_layout Subsection
25239 \begin_inset LatexCommand label
25240 name "sub:Vertical-Alignment"
25245 \begin_inset LatexCommand index
25246 name "Boxes ! for Vertical Alignment"
25251 \begin_inset LatexCommand index
25252 name "Boxes ! Raiseboxes"
25259 \begin_layout Standard
25260 With the help of the command
25266 you can align words, characters or other boxes vertically to the surrounding
25274 is used with the following scheme:
25277 \begin_layout Standard
25282 raisebox{lift}[height][depth]{box content}
25285 \begin_layout Standard
25286 The lift can be a positive value to raise the box or a negative value to
25290 \begin_layout Standard
25291 To align for example the word
25292 \begin_inset Quotes eld
25296 \begin_inset Quotes erd
25299 so that the bottom of the
25300 \begin_inset Quotes eld
25304 \begin_inset Quotes erd
25308 \begin_inset Quotes eld
25312 \begin_inset Quotes erd
25315 is at the baseline, insert the command
25318 \begin_layout Standard
25328 \begin_layout Standard
25329 in ERT before the word.
25330 Behind the word insert a closing brace
25331 \begin_inset Quotes eld
25339 \begin_inset Quotes erd
25344 This is the result:
25347 \begin_layout Standard
25348 This is a text line with the word
25352 \begin_layout Standard
25364 \begin_inset Quotes eld
25368 \begin_inset Quotes erd
25375 \begin_layout Standard
25385 \begin_layout Standard
25386 \begin_inset VSpace bigskip
25389 When you raise or lower characters in a line, the line distance will be
25393 \begin_layout Standard
25394 This is a text line with the word
25398 \begin_layout Standard
25410 \begin_inset Quotes eld
25414 \begin_inset Quotes erd
25421 \begin_layout Standard
25430 This is a text line with the word
25434 \begin_layout Standard
25444 \begin_inset Quotes eld
25448 \begin_inset Quotes erd
25455 \begin_layout Standard
25465 \begin_layout Standard
25466 If you want to prevent this for a certain reason, set the box height to
25471 \begin_layout Standard
25481 \begin_layout Standard
25482 This is a text line with the word
25486 \begin_layout Standard
25498 \begin_inset Quotes eld
25502 \begin_inset Quotes erd
25509 \begin_layout Standard
25518 This is a text line with the word
25522 \begin_layout Standard
25526 raisebox{0.5cm}[0pt]{
25532 \begin_inset Quotes eld
25536 \begin_inset Quotes erd
25543 \begin_layout Standard
25553 \begin_layout Section
25555 \begin_inset LatexCommand label
25556 name "sec:Colored-Boxes"
25561 \begin_inset LatexCommand index
25562 name "Boxes ! Color"
25569 \begin_layout Subsection
25571 \begin_inset LatexCommand index
25572 name "Color ! for Text"
25579 \begin_layout Standard
25580 To color the background of text the text must be put into a so called colorbox.
25581 This requires that the LaTeX-package
25586 \begin_inset LatexCommand index
25587 name "LaTeX-packages ! color"
25591 is loaded in the document preamble with the command
25594 \begin_layout Standard
25599 @ifundef\SpecialChar \textcompwordmark{}
25606 \begin_layout Standard
25617 usepackage{color}}{}
25620 \begin_layout Standard
25625 will be loaded automatically by LyX when you color text
25629 \begin_layout Standard
25630 To avoid that it is loaded twice the command
25634 @ifundef\SpecialChar \textcompwordmark{}
25645 \begin_layout Standard
25646 \begin_inset VSpace medskip
25649 Colorboxes are created with the command
25656 This will be used with the following scheme:
25659 \begin_layout Standard
25664 colorbox{color}{box content}
25667 \begin_layout Standard
25668 The box content can also be a box and colorboxes can also be within other
25672 \begin_layout Standard
25673 The following colors are predefined:
25711 You can also define your own color as described in section\InsetSpace ~
25713 \begin_inset LatexCommand ref
25714 reference "sec:Colored-Tables"
25721 \begin_layout Standard
25722 To have e.\InsetSpace \thinspace{}
25724 a red background for a word, insert the command
25727 \begin_layout Standard
25735 \begin_layout Standard
25736 before the word in ERT.
25737 Behind the word insert a closing brace
25738 \begin_inset Quotes eld
25746 \begin_inset Quotes erd
25751 This is the result:
25754 \begin_layout Standard
25755 This is a line where the word
25759 \begin_layout Standard
25769 \begin_inset Quotes eld
25773 \begin_inset Quotes erd
25780 \begin_layout Standard
25787 has a red background.
25790 \begin_layout Standard
25791 \begin_inset VSpace bigskip
25794 If you would have the box frame in a different color, you can use the command
25801 with the following scheme:
25804 \begin_layout Standard
25809 fcolorbox{frame color}{box color}{box content}
25812 \begin_layout Standard
25826 The frame thickness and the space between the frame and the box content
25827 can be adjusted with the lengths
25839 , respectively, as described in section\InsetSpace ~
25841 \begin_inset LatexCommand ref
25842 reference "sec:Framed-Boxes"
25849 \begin_layout Standard
25850 For the following example the command
25853 \begin_layout Standard
25858 fcolorbox{cyan}{magenta}{
25861 \begin_layout Standard
25865 \begin_layout Standard
25866 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
25873 \begin_layout Standard
25888 \begin_layout Standard
25892 fcolorbox{cyan}{magenta}{
25897 This is text within a colored, framed box.
25901 \begin_layout Standard
25911 \begin_layout Standard
25912 \begin_inset VSpace bigskip
25915 Of course you can also have colored text inside a colorbox:
25921 \begin_layout Standard
25925 fcolorbox{cyan}{magenta}{
25932 This is colored text within a colored, framed box.
25938 \begin_layout Standard
25949 \begin_layout Standard
25963 \begin_layout Standard
25966 \begin_inset VSpace medskip
25972 \begin_layout Standard
25973 \begin_inset Note Greyedout
25976 \begin_layout Standard
25981 Text in colorboxes cannot have line breaks.
25982 To color multiple text lines or paragraphs, use a box inside a colorbox
25983 as described in the following.
25991 \begin_layout Subsection
25992 Color for Paragraphs
25993 \begin_inset LatexCommand label
25994 name "sub:Color-for-Paragraphs"
25999 \begin_inset LatexCommand index
26000 name "Color ! for Paragraphs"
26007 \begin_layout Standard
26008 To set the background color for more than one text line, put the text into
26010 Before the minipage insert the
26019 \begin_layout Standard
26027 \begin_layout Standard
26029 Behind the minipage insert a closing brace
26030 \begin_inset Quotes eld
26038 \begin_inset Quotes erd
26044 \begin_layout Standard
26048 \begin_layout Standard
26052 colorbox{lightgrey}{
26058 \begin_inset Box Frameless
26067 height_special "totalheight"
26070 \begin_layout Standard
26071 This is text with background color.
26072 This is text with background color.
26075 \begin_layout Standard
26076 \begin_inset VSpace defskip
26079 The text can have footnotes
26083 \begin_layout Standard
26084 Another example footnote
26089 and can include tables and figures.
26092 \begin_layout Standard
26094 \begin_inset Tabular
26095 <lyxtabular version="3" rows="3" columns="3">
26097 <column alignment="center" valignment="top" leftline="true" width="0">
26098 <column alignment="center" valignment="top" leftline="true" width="0">
26099 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26100 <row topline="true">
26101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26104 \begin_layout Standard
26110 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26113 \begin_layout Standard
26119 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26122 \begin_layout Standard
26129 <row topline="true">
26130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26133 \begin_layout Standard
26139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26142 \begin_layout Standard
26144 \begin_inset Quotes erd
26152 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26155 \begin_layout Standard
26162 <row topline="true" bottomline="true">
26163 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26166 \begin_layout Standard
26172 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26175 \begin_layout Standard
26181 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26184 \begin_layout Standard
26204 \begin_layout Standard
26214 \begin_layout Section
26215 URLs (Uniform Resource Locators)
26216 \begin_inset LatexCommand index
26224 \begin_layout Standard
26225 Links to web pages or email addresses can be inserted via the menu
26227 Insert\SpecialChar \menuseparator
26231 The appearing URL dialog has two fields; the
26239 field for the URL description, which will be typeset as plain text immediately
26243 \begin_layout Standard
26244 Here is an example URL:
26245 \begin_inset LatexCommand url
26246 name "LyX's homepage"
26247 target "http://www.lyx.org"
26254 \begin_layout Standard
26257 Generate\InsetSpace ~
26260 in the URL dialog has only an affect when you export your document to the
26262 \begin_inset Quotes eld
26270 \begin_inset Quotes erd
26276 \begin_layout Standard
26277 You cannot change the style of the link text.
26282 field will have the default text style of the document while the text of
26287 field will have the style
26288 \begin_inset Quotes eld
26296 \begin_inset Quotes erd
26302 \begin_layout Standard
26303 When you use the LaTeX-package
26308 \begin_inset LatexCommand index
26309 name "LaTeX-packages ! hyperref"
26313 to link cross-references in the output, URLs will automatically become
26314 clickable hyperlinks in DVI and PDF-output.
26317 \begin_layout Standard
26318 \begin_inset Note Greyedout
26321 \begin_layout Standard
26326 When you use the following characters: "%", "#", "^", you have to write
26327 them with a preceding backslash, e.\InsetSpace \thinspace{}
26330 \begin_inset Quotes eld
26336 \begin_inset Quotes erd
26340 URLs must not end with a backslash.
26348 \begin_layout Standard
26349 \begin_inset VSpace bigskip
26352 To create real hyperlinks without the force to write the link location to
26353 the text, you can use the command
26356 \begin_layout Standard
26361 href{link location}{link text}
26364 \begin_layout Standard
26366 To get for example a link to LyX's web page, write the command
26369 \begin_layout Standard
26374 href{http://www.lyx.org}{
26377 \begin_layout Standard
26379 Insert after the command the link text
26380 \begin_inset Quotes eld
26384 \begin_inset Quotes erd
26387 as normal text followed by a closing brace
26388 \begin_inset Quotes eld
26396 \begin_inset Quotes erd
26400 This is the result:
26404 \begin_layout Standard
26408 href{http://www.lyx.org}{
26417 \begin_layout Standard
26427 \begin_layout Standard
26428 To link to email addresses, add the prefix
26429 \begin_inset Quotes eld
26437 \begin_inset Quotes erd
26440 to the link location:
26446 \begin_layout Standard
26450 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
26455 lyx-docs mailing list
26459 \begin_layout Standard
26469 \begin_layout Standard
26476 instead of LyX's URL box has the advantage that you can specify the text
26477 style of the link text like for all other text parts.
26478 You can therefore set hyphenation points and forced linebreaks to have
26479 long link text broken at the page margin.
26480 You are furthermore able to change the text style for all URLs in your
26481 document with an option in
26485 's load command and the restrictions mentioned above doesn't apply for
26494 \begin_layout Standard
26500 \begin_layout Chapter
26506 \begin_layout Standard
26519 \begin_layout Standard
26527 \begin_inset LatexCommand index
26533 \begin_inset LatexCommand label
26534 name "cha:Units-available-in"
26539 \begin_inset Note Note
26542 \begin_layout Standard
26545 texorpdfstring is provided by the LaTeX-package hyperref to avoid that ligatures
26546 are displayed wrongly in PDF-bookmarks.
26547 For more information about this, have a look at
26548 \begin_inset LatexCommand cite
26561 \begin_layout Standard
26562 To understand the units described in this documentation, Table\InsetSpace ~
26564 \begin_inset LatexCommand ref
26565 reference "tab:Units"
26569 explains all units available in LyX.
26572 \begin_layout Standard
26573 \begin_inset Float table
26579 \begin_layout Standard
26580 \begin_inset Caption
26582 \begin_layout Standard
26583 \begin_inset LatexCommand label
26596 \begin_layout Standard
26597 \begin_inset VSpace medskip
26603 \begin_layout Standard
26605 \begin_inset Tabular
26606 <lyxtabular version="3" rows="20" columns="2">
26608 <column alignment="center" valignment="top" leftline="true" width="0">
26609 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
26610 <row topline="true" bottomline="true">
26611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26614 \begin_layout Standard
26620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26623 \begin_layout Standard
26630 <row topline="true">
26631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26634 \begin_layout Standard
26640 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26643 \begin_layout Standard
26650 <row topline="true">
26651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26654 \begin_layout Standard
26660 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26663 \begin_layout Standard
26670 <row topline="true">
26671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26674 \begin_layout Standard
26680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26683 \begin_layout Standard
26690 <row topline="true">
26691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26694 \begin_layout Standard
26700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26703 \begin_layout Standard
26704 point (72.27\InsetSpace \thinspace{}
26705 pt = 1\InsetSpace \thinspace{}
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 pica (1\InsetSpace \thinspace{}
26727 pc = 12\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 scaled point (65536\InsetSpace \thinspace{}
26749 sp = 1\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 big point (72\InsetSpace \thinspace{}
26771 bp = 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 didot (72\InsetSpace \thinspace{}
26794 \begin_inset Formula $\approx$
26797 37.6\InsetSpace \thinspace{}
26804 <row topline="true">
26805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26808 \begin_layout Standard
26814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26817 \begin_layout Standard
26818 cicero (1\InsetSpace \thinspace{}
26819 cc = 12\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 % of original image width
26846 <row topline="true">
26847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26850 \begin_layout Standard
26856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26859 \begin_layout Standard
26866 <row topline="true">
26867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26870 \begin_layout Standard
26876 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26879 \begin_layout Standard
26886 <row topline="true">
26887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26890 \begin_layout Standard
26896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26899 \begin_layout Standard
26906 <row topline="true">
26907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26910 \begin_layout Standard
26916 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26919 \begin_layout Standard
26926 <row topline="true">
26927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26930 \begin_layout Standard
26936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26939 \begin_layout Standard
26946 <row topline="true">
26947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26950 \begin_layout Standard
26956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26959 \begin_layout Standard
26966 <row topline="true">
26967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26970 \begin_layout Standard
26976 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26979 \begin_layout Standard
26990 <row topline="true">
26991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26994 \begin_layout Standard
27000 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27003 \begin_layout Standard
27014 <row topline="true" bottomline="true">
27015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27018 \begin_layout Standard
27024 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27027 \begin_layout Standard
27028 math unit (1\InsetSpace \thinspace{}
27029 mu = 1/18\InsetSpace \thinspace{}
27048 \begin_layout Chapter
27049 Output File Formats with Graphics
27050 \begin_inset LatexCommand label
27051 name "cha:Output-File-Formats"
27058 \begin_layout Section
27060 \begin_inset LatexCommand index
27061 name "File Formats ! DVI"
27066 \begin_inset LatexCommand index
27067 name "DVI|see{File Formats}"
27074 \begin_layout Standard
27075 This file type has the extension
27076 \begin_inset Quotes eld
27084 \begin_inset Quotes erd
27089 \begin_inset Quotes eld
27093 \begin_inset Quotes erd
27096 (DVI), because it is completely portable; you can move them from one machine
27097 to another without needing to do any sort of conversion.
27098 At the time when this file-format was developed, this was no matter of
27100 DVIs are used for quick previews and as pre-stage for other output formats,
27104 \begin_layout Standard
27105 \begin_inset Note Greyedout
27108 \begin_layout Standard
27113 DVI-files doesn't contain images, they will only be a linked.
27118 So don't forget this, if you move your
27122 file to another computer.
27123 This property can also slow down your computer when you view the DVI.
27124 Because the DVI-viewer has to convert the image in the background to make
27125 it visible when you scroll in the DVI.
27126 So we recommend to use PDF for files with many images.
27129 \begin_layout Standard
27130 You can export your document to DVI by using the menu
27132 File\SpecialChar \menuseparator
27133 Export\SpecialChar \menuseparator
27137 You can view your document as PostScript via the
27141 menu or by using the toolbar button
27142 \begin_inset Graphics
27143 filename ../images/buffer-view_dvi.xpm
27151 \begin_layout Section
27153 \begin_inset LatexCommand label
27154 name "sec:PostScript"
27159 \begin_inset LatexCommand index
27160 name "File Formats ! PostScript\\protect\\pagebreak"
27165 \begin_inset LatexCommand index
27166 name "PostScript|see{File Formats}"
27173 \begin_layout Standard
27174 This file type has the extension
27175 \begin_inset Quotes eld
27183 \begin_inset Quotes erd
27187 PostScript was developed by the company
27191 as printer language.
27192 The file contains therefore commands that the printer uses to print the
27194 PostScript can be seen as
27195 \begin_inset Quotes eld
27198 programming language
27199 \begin_inset Quotes erd
27202 ; you can calculate with it and draw diagrams and images
27206 \begin_layout Standard
27207 If you are interested to learn more about this, have a look at the LaTeX-package
27213 \begin_inset LatexCommand cite
27224 Due to this ability, the files are often bigger than PDFs.
27227 \begin_layout Standard
27228 PostScript can only contain images in the format
27229 \begin_inset Quotes eld
27232 Encapsulated PostScript
27233 \begin_inset Quotes erd
27236 (EPS, file extension
27237 \begin_inset Quotes eld
27245 \begin_inset Quotes erd
27249 As LyX allows you to use any known image format in your document, it has
27250 to convert images in the background to EPS.
27251 If you have e.g 50 images in your document, LyX has to do 50 conversions
27252 whenever you view or export your document.
27253 This will slow down your work flow with LyX drastically.
27254 So if you plan to use PostScript, you can insert your images directly as
27255 EPS to avoid this problem.
27258 \begin_layout Standard
27259 You can export your document to PostScript using the menu
27261 File\SpecialChar \menuseparator
27262 Export\SpecialChar \menuseparator
27266 You can view your document as PostScript via the
27270 menu or by using the toolbar button
27271 \begin_inset Graphics
27272 filename ../images/buffer-view_ps.xpm
27280 \begin_layout Section
27282 \begin_inset LatexCommand label
27288 \begin_inset LatexCommand index
27289 name "File Formats ! PDF"
27294 \begin_inset LatexCommand index
27302 \begin_layout Standard
27303 This file type has the extension
27304 \begin_inset Quotes eld
27312 \begin_inset Quotes erd
27317 \begin_inset Quotes eld
27320 Portable Document Format
27321 \begin_inset Quotes erd
27324 (PDF) is developed by
27328 as derivative from PostScript.
27329 It is more compressed and it uses much less commands than PostScript.
27331 \begin_inset Quotes eld
27335 \begin_inset Quotes erd
27338 implies, it can be processed at any computer system and the printed output
27339 looks exactly the same.
27342 \begin_layout Standard
27343 PDF can contain images in its own PDF format, in the format
27344 \begin_inset Quotes eld
27347 Joint Photographic Experts Group
27348 \begin_inset Quotes erd
27351 (JPG, file extension
27352 \begin_inset Quotes eld
27360 \begin_inset Quotes erd
27364 \begin_inset Quotes eld
27372 \begin_inset Quotes erd
27375 ), and in the format
27376 \begin_inset Quotes eld
27379 Portable Network Graphics
27380 \begin_inset Quotes erd
27383 (PNG, file extension
27384 \begin_inset Quotes eld
27392 \begin_inset Quotes erd
27396 You can although use any other image format, because LyX converts them
27397 in the background to one of these formats.
27398 But as described in the section about PostScript, the image conversion
27399 will slow down your work flow.
27400 So it is recommended to use images in one of the three mentioned formats.
27403 \begin_layout Standard
27404 You can export your document to PDF via the menu
27406 File\SpecialChar \menuseparator
27409 in three different ways:
27412 \begin_layout Description
27413 PDF This uses the program
27417 that creates a PDF from a PostScript-version of your file.
27418 The PostScript-version is produced by the program
27422 which uses a DVI-version as intermediate step.
27423 So this export variant consist of three conversions.
27426 \begin_layout Description
27428 (dvipdfm) This uses the program
27432 that converts your file in the background to DVI and in a second step to
27436 \begin_layout Description
27438 (pdflatex) This uses the program
27442 that converts your file directly to PDF.
27445 \begin_layout Standard
27446 It is recommended to use
27455 supports all features of actual PDF-versions, is quick and works stable
27461 is not under development and therefore a bit outdated.
27464 \begin_layout Standard
27465 You can view your document as PDF via the
27469 menu or by using the toolbar button
27470 \begin_inset Graphics
27471 filename ../images/buffer-view_pdf2.xpm
27488 \begin_layout Chapter
27489 Explanation of Equation\InsetSpace ~
27491 \begin_inset LatexCommand eqref
27497 \begin_inset LatexCommand label
27498 name "cha:Explanation-of-Equation"
27505 \begin_layout Standard
27511 \begin_inset Formula $W_{\mathrm{tot\, n}}$
27514 can be calculated to
27517 \begin_layout Standard
27518 \begin_inset Formula \begin{equation}
27519 W_{\mathrm{tot}\, n}=n·(W_{g\, n}+2·\backslash\mbox{tabcolsep})+(n+1)·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
27526 \begin_layout Standard
27528 \begin_inset Formula $W_{g\, n}$
27531 is the given width of all cells.
27538 is the LaTeX-length between the cell text and the cell border, its default
27539 value is 6\InsetSpace \thinspace{}
27547 is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
27551 \begin_layout Standard
27552 Following equation\InsetSpace ~
27554 \begin_inset LatexCommand eqref
27555 reference "eq:Wtot_n"
27559 , the total width of a multicolumn
27560 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
27566 \begin_layout Standard
27567 \begin_inset Formula \begin{equation}
27568 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2·\backslash\mbox{tabcolsep}+2·\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
27575 \begin_layout Standard
27576 By setting equation\InsetSpace ~
27578 \begin_inset LatexCommand eqref
27579 reference "eq:Wtot_n"
27584 \begin_inset LatexCommand eqref
27585 reference "eq:Wtot_mult"
27589 equal we can calculate the needed given width
27590 \begin_inset Formula $W_{g\, n}$
27597 columns are spanned, so that each column has a total width of
27598 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
27604 \begin_layout Standard
27605 \begin_inset Formula \begin{equation}
27606 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)·(2·\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
27613 \begin_layout Bibliography
27614 \begin_inset LatexCommand bibitem
27615 key "latexcompanion"
27619 Frank Mittelbach and Michel Goossens:
27621 The LaTeX Companion Second Edition.
27624 Addison-Wesley, 2004
27627 \begin_layout Bibliography
27628 \begin_inset LatexCommand bibitem
27633 Helmut Kopka and Patrick W.
27636 A Guide to LaTeX Fourth Edition.
27639 Addison-Wesley, 2003
27642 \begin_layout Bibliography
27643 \begin_inset LatexCommand bibitem
27650 LaTeX: A Document Preparation System.
27653 Addison-Wesley, second edition, 1994
27656 \begin_layout Bibliography
27657 \begin_inset LatexCommand bibitem
27666 \begin_layout Standard
27670 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
27680 \begin_layout Standard
27687 of the LaTeX-package
27692 \begin_inset LatexCommand index
27693 name "LaTeX-packages ! booktabs"
27700 \begin_layout Bibliography
27701 \begin_inset LatexCommand bibitem
27710 \begin_layout Standard
27714 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
27723 \begin_layout Standard
27730 of the LaTeX-package
27735 \begin_inset LatexCommand index
27736 name "LaTeX-packages ! caption"
27743 \begin_layout Bibliography
27744 \begin_inset LatexCommand bibitem
27753 \begin_layout Standard
27757 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
27767 \begin_layout Standard
27774 of the LaTeX-package
27779 \begin_layout Bibliography
27780 \begin_inset LatexCommand bibitem
27789 \begin_layout Standard
27793 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
27803 \begin_layout Standard
27810 of the LaTeX-package
27812 endf\SpecialChar \textcompwordmark{}
27816 \begin_inset LatexCommand index
27817 name "LaTeX-packages ! endfloat"
27824 \begin_layout Bibliography
27825 \begin_inset LatexCommand bibitem
27834 \begin_layout Standard
27838 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
27848 \begin_layout Standard
27855 of the LaTeX-package
27857 floatf\SpecialChar \textcompwordmark{}
27861 \begin_inset LatexCommand index
27862 name "LaTeX-packages ! floatflt"
27869 \begin_layout Bibliography
27870 \begin_inset LatexCommand bibitem
27879 \begin_layout Standard
27883 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
27893 \begin_layout Standard
27900 of the LaTeX-package
27905 \begin_inset LatexCommand index
27906 name "LaTeX-packages ! footmisc"
27913 \begin_layout Bibliography
27914 \begin_inset LatexCommand bibitem
27923 \begin_layout Standard
27927 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
27936 \begin_layout Standard
27943 of the LaTeX-package
27948 \begin_inset LatexCommand index
27949 name "LaTeX-packages ! hyperref"
27956 \begin_layout Bibliography
27957 \begin_inset LatexCommand bibitem
27966 \begin_layout Standard
27970 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
27980 \begin_layout Standard
27987 of the LaTeX-package
27992 \begin_inset LatexCommand index
27993 name "LaTeX-packages ! hyperref"
28000 \begin_layout Bibliography
28001 \begin_inset LatexCommand bibitem
28010 \begin_layout Standard
28014 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
28024 \begin_layout Standard
28031 of the LaTeX-package
28036 \begin_inset LatexCommand index
28037 name "LaTeX-packages ! koma-script"
28044 \begin_layout Bibliography
28045 \begin_inset LatexCommand bibitem
28046 key "koma-script-de"
28054 \begin_layout Standard
28058 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
28068 \begin_layout Standard
28075 of the LaTeX-package
28080 \begin_inset LatexCommand index
28081 name "LaTeX-packages ! koma-script"
28088 \begin_layout Bibliography
28089 \begin_inset LatexCommand bibitem
28098 \begin_layout Standard
28102 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
28112 \begin_layout Standard
28119 of the LaTeX-package
28124 \begin_inset LatexCommand index
28125 name "LaTeX-packages ! marginnote"
28132 \begin_layout Bibliography
28133 \begin_inset LatexCommand bibitem
28142 \begin_layout Standard
28146 href{http://tug.org/PSTricks/main.cgi/}{
28155 \begin_layout Standard
28162 of the LaTeX-package
28167 \begin_inset LatexCommand index
28168 name "LaTeX-packages ! PSTricks"
28175 \begin_layout Bibliography
28176 \begin_inset LatexCommand bibitem
28185 \begin_layout Standard
28189 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
28198 \begin_layout Standard
28205 of the LaTeX-package
28210 \begin_inset LatexCommand index
28211 name "LaTeX-packages ! sidecap"
28218 \begin_layout Bibliography
28219 \begin_inset LatexCommand bibitem
28228 \begin_layout Standard
28232 href{http://wiki.lyx.org/LyX/NewInLyX15}{
28241 \begin_layout Standard
28248 about new LyX-features planned for the release
28255 \begin_layout Standard
28256 \begin_inset LatexCommand printindex
28263 \begin_layout Standard
28264 \begin_inset FloatList figure
28271 \begin_layout Standard
28272 \begin_inset FloatList table