]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
LaTeXConfig.lyx: add description for Braille
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.4svn created this file. For more info see http://www.lyx.org/
2 \lyxformat 276
3 \begin_document
4 \begin_header
5 \textclass scrbook
6 \begin_preamble
7 % if pdflatex is used
8 \usepackage{ifpdf}
9 \ifpdf
10
11 % set fonts for nicer pdf view
12 \IfFileExists{lmodern.sty}
13  {\usepackage{lmodern}}{}
14
15 % link all cross references and URLs
16 % in pdf output
17  \usepackage[colorlinks=true, bookmarks, bookmarksnumbered, bookmarksopen, bookmarksopenlevel=1,
18   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue,
19   pdfpagelayout=OneColumn, pdfnewwindow=true,
20   pdfstartview=XYZ, plainpages=false, pdfpagelabels,
21   pdfauthor={LyX Team}, pdftex,
22   pdftitle={LyX's Figure, Table, Floats, Notes, and Boxes manual},
23   pdfsubject={LyX-documentation about figures, tables, floats, notes, and boxes},
24   pdfkeywords={LyX, Tables, Figures, Floats, Boxes, Notes}]{hyperref}
25  
26 \else % if dvi or ps is produced
27
28  % link all cross references and URLs in DVI output
29  \usepackage[ps2pdf, colorlinks=true,
30   linkcolor=black, citecolor=black, urlcolor=blue, filecolor=blue]{hyperref}
31
32 \fi % end if pdflatex is used
33
34 % that links to image floats jumps
35 % to the beginning of the float and 
36 % not to its caption
37 \usepackage[figure]{hypcap}
38
39 % the pages of the TOC are numbered roman
40 % and a PDF-bookmark for the TOC is added
41 \pagenumbering{roman}
42 \let\myTOC\tableofcontents
43 \renewcommand{\tableofcontents}{%
44  \pdfbookmark[1]{Contents}{}
45  \myTOC
46  \cleardoublepage
47  \pagenumbering{arabic}}
48
49 % provides caption formatting
50 \usepackage[labelfont={bf,sf}, tableposition=top]{caption}[2004/07/16]
51
52 % provides commands to set caption
53 % beside tables/images
54 \usepackage{sidecap}
55
56 \newcommand{\TabBesBeg}{%
57  \let\MyTable\table
58  \let\MyEndtable\endtable
59  \renewenvironment{table}{\begin{SCtable}}{\end{SCtable}}}
60
61 \newcommand{\TabBesEnd}{%
62  \let\table\MyTable
63  \let\endtable\MyEndtable}
64
65 \newcommand{\FigBesBeg}{%
66  \let\MyFigure\figure
67  \let\MyEndfigure\endfigure
68  \renewenvironment{figure}{\begin{SCfigure}}{\end{SCfigure}}}
69
70 \newcommand{\FigBesEnd}{%
71  \let\figure\MyFigure
72  \let\endfigure\MyEndfigure}
73
74 % enables calculation of values,
75 \usepackage{calc}
76
77 % provides special table cell alignments
78 \usepackage{dcolumn}
79
80 % increase the bottom float placement fraction
81 \renewcommand{\bottomfraction}{0.5}
82
83 % avoids that floats are placed before their
84 % corresponding section starts
85 \let\mySection\section\renewcommand{\section}{\suppressfloats[t]\mySection}
86
87 % speed up the longtable calculation
88 \setcounter{LTchunksize}{100}
89
90 % used for scaled and rotated boxes
91 \@ifundefined{rotatebox}{\usepackage{graphicx}}{}
92
93 % used for colored tables
94 \@ifundefined{textcolor}
95  {\usepackage{color}}{}
96 \definecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
97 \definecolor{lightgrey}{gray}{0.8}
98
99 % check for package colortbl
100 % used for colored table cells
101 \newboolean{colortbl}
102 \IfFileExists{colortbl.sty}
103  {\usepackage{colortbl}
104   \setboolean{colortbl}{true}}
105  {\setboolean{colortbl}{false}}
106
107 % used for multirows
108 \usepackage{multirow}
109 %\renewcommand{\multirowsetup}{\centering}
110
111 % used for book-style tables
112 \usepackage{booktabs}
113
114 % used to have extra space in table cells
115 \@ifundefined{extrarowheight}
116  {\usepackage{array}}{}
117 \setlength{\extrarowheight}{2pt}
118
119 % used for customized tables
120 % ---
121 \newcolumntype{M}[1]
122  {>{\centering\hspace{0pt}}m{#1}}
123
124 \newcolumntype{S}[2]
125  {>{\centering\hspace{0pt}}m{(#1+(2\tabcolsep+\arrayrulewidth)*(1-#2))/#2}}
126
127 \newcolumntype{K}[1]
128  {>{\columncolor{#1}\hspace{0pt}}c}
129
130 \newcolumntype{V}{!{\vrule width 1.5pt}}
131
132 \newcolumntype{W}{!{\color{green}\vline}}
133 % ---
134
135 % insert additional vertical space of
136 % 1.5 mm between footnotes
137 \let\myFoot\footnote
138 \renewcommand{\footnote}[1]{\myFoot{#1\vspace{1.5mm}}}
139
140 % enable algorithm floats to be referenced
141 \newfloat{Xalgorithm}{tbp}{loa}
142 \floatname{Xalgorithm}{Algorithm}
143 \newcommand{\theHalgorithm}{\theHXalgorithm}
144 \renewenvironment{algorithm}[1][tbp]
145  {\begin{Xalgorithm}[#1]}{\end{Xalgorithm}}
146
147 % number algorithm floats within chapters
148 \numberwithin{Xalgorithm}{chapter}
149
150 % redefine the greyed out note
151 \renewenvironment{lyxgreyedout}
152  {\textcolor{blue}\bgroup}{\egroup}
153
154 % ------------------------------------
155 % used to check for needed LaTeX packages
156 \usepackage{ifthen}
157
158 % check for package arydshln
159 % used for tables with dashed lines
160 \newboolean{arydshln}
161 \IfFileExists{arydshln.sty}
162  {\usepackage{arydshln}
163   \setboolean{arydshln}{true}}
164  {\setboolean{arydshln}{false}}
165
166 % check for package marginnote
167 % used for margin notes
168 \newboolean{marginnote}
169 \IfFileExists{marginnote.sty}
170  {\usepackage{marginnote}
171   \let\marginpar\marginnote
172   \setboolean{marginnote}{true}}
173  {\setboolean{marginnote}{false}}
174
175 % redefine the \LyX macro for PDF bookmarks
176 \def\LyX{\texorpdfstring{%
177   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
178   {LyX }}
179 \end_preamble
180 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
181 \language english
182 \inputencoding auto
183 \font_roman default
184 \font_sans default
185 \font_typewriter default
186 \font_default_family default
187 \font_sc false
188 \font_osf false
189 \font_sf_scale 100
190 \font_tt_scale 100
191 \graphics default
192 \paperfontsize 12
193 \spacing single
194 \papersize default
195 \use_geometry false
196 \use_amsmath 2
197 \use_esint 0
198 \cite_engine basic
199 \use_bibtopic false
200 \paperorientation portrait
201 \secnumdepth 3
202 \tocdepth 3
203 \paragraph_separation skip
204 \defskip medskip
205 \quotes_language english
206 \papercolumns 1
207 \papersides 2
208 \paperpagestyle default
209 \bullet 1 1 34 -1
210 \bullet 2 2 35 -1
211 \bullet 3 2 7 -1
212 \tracking_changes false
213 \output_changes false
214 \author "" 
215 \author "" 
216 \end_header
217
218 \begin_body
219
220 \begin_layout Title
221 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
222  manual
223 \end_layout
224
225 \begin_layout Author
226 by the LyX Team
227 \begin_inset Foot
228 status collapsed
229
230 \begin_layout Standard
231 \noindent
232 If you have comments or error corrections, please send them to the LyX Documenta
233 tion mailing list: 
234 \family typewriter
235
236 \begin_inset ERT
237 status open
238
239 \begin_layout Standard
240
241
242 \backslash
243 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
244 \end_layout
245
246 \end_inset
247
248 lyx-docs@lists.lyx.org
249 \begin_inset ERT
250 status collapsed
251
252 \begin_layout Standard
253
254 }
255 \end_layout
256
257 \end_inset
258
259
260 \end_layout
261
262 \end_inset
263
264
265 \begin_inset Note Note
266 status collapsed
267
268 \begin_layout Standard
269 author: Uwe Stöhr
270 \end_layout
271
272 \end_inset
273
274
275 \newline
276
277 \newline
278
279 \family sans
280 Version 1.5.4
281 \end_layout
282
283 \begin_layout Standard
284 \begin_inset LatexCommand tableofcontents
285
286 \end_inset
287
288
289 \end_layout
290
291 \begin_layout Standard
292 \begin_inset Note Note
293 status open
294
295 \begin_layout Standard
296 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
297  
298 \series bold
299 arydshln
300 \series default
301
302 \series bold
303 colortbl
304 \series default
305 , and 
306 \series bold
307 marginnote
308 \series default
309  must be installed.
310  If they are not installed you can export the document anyway but the sections
311  where the packages are required won't appear in the output.
312 \end_layout
313
314 \begin_layout Standard
315 The latest PDF-version of this document can be found here:
316 \newline
317
318 \series bold
319 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
320 \end_layout
321
322 \end_inset
323
324
325 \end_layout
326
327 \begin_layout Chapter
328 Figures
329 \begin_inset LatexCommand label
330 name "cha:Figures"
331
332 \end_inset
333
334
335 \begin_inset LatexCommand index
336 name "Figures"
337
338 \end_inset
339
340
341 \begin_inset LatexCommand index
342 name "Graphics|see{Figures}"
343
344 \end_inset
345
346
347 \end_layout
348
349 \begin_layout Section
350 Graphics Dialog
351 \begin_inset LatexCommand index
352 name "Figures ! Graphics Dialog"
353
354 \end_inset
355
356
357 \begin_inset LatexCommand label
358 name "sec:Graphics-Dialog"
359
360 \end_inset
361
362
363 \end_layout
364
365 \begin_layout Standard
366 To insert an image into your document, place the cursor at the text position
367  you want and click on the toolbar icon 
368 \begin_inset Graphics
369         filename ../images/dialog-show-new-inset_graphics.png
370         scale 85
371         scaleBeforeRotation
372
373 \end_inset
374
375  or use the menu 
376 \family sans
377 Insert\SpecialChar \menuseparator
378 Graphics
379 \family default
380 .
381  Then a dialog will appear to choose the file to load.
382  The image will appear in the output exactly at the position where it is
383  in the text.
384 \end_layout
385
386 \begin_layout Standard
387 The graphics dialog can be called at any time by right-clicking on an image.
388  This dialog has three tabs:
389 \end_layout
390
391 \begin_layout Description
392
393 \family sans
394 Graphics
395 \family default
396  Here you can choose an image file and adjust its appearance in the output.
397  The available units for the image size are explained in appendix\InsetSpace ~
398
399 \begin_inset LatexCommand ref
400 reference "cha:Units-available-in"
401
402 \end_inset
403
404 .
405 \newline
406
407 \begin_inset LatexCommand index
408 name "Figures ! rotated"
409
410 \end_inset
411
412 You can rotate images counter-clockwise by setting a rotation angle and
413  a rotation origin.
414  The image will also be rotated inside LyX.
415 \newline
416
417 \begin_inset LatexCommand index
418 name "Figures ! scaled"
419
420 \end_inset
421
422 Images can be scaled by using a percentage value or by setting the width
423  and height explicitly.
424  If you set only the width or only the height, the other size will be determined
425  automatically.
426  If you set both, then the image will be transformed to the given size,
427  possibly distorting it.
428  To prevent the image from distortion, use the option 
429 \family sans
430 Maintain aspect ratio
431 \family default
432 .
433  The image will then be scaled so that its width and height don't exceed
434  the specified dimensions.
435 \newline
436 Images can be opened in a program of your choice
437  when pressing the 
438 \family sans
439 Edit
440 \family default
441  button.
442  The program can be set for every image format in the file format settings
443  in LyX's preferences.
444 \end_layout
445
446 \begin_layout Description
447
448 \family sans
449 Clipping
450 \family default
451  Alternatively to the usage of scaling units it is possible to set image
452  coordinates to adjust the height and width of the image in the output.
453  The coordinates can also be calculated automatically by pressing the button
454  
455 \family sans
456 Get\InsetSpace ~
457 from\InsetSpace ~
458 File
459 \family default
460 .
461  The option 
462 \family sans
463 Clip\InsetSpace ~
464 to\InsetSpace ~
465 bounding\InsetSpace ~
466 box
467 \family default
468  will only print the image region within the given coordinates.
469  Normally you don't need to take care about image coordinates and can ignore
470  this tab.
471 \end_layout
472
473 \begin_layout Description
474
475 \family sans
476 Extra\InsetSpace ~
477 options
478 \family default
479  In this tab you can modify the appearance of the image within LyX and set
480  the image to be a subfigure of a figure float with an own caption.
481  Subfigures are explained in section\InsetSpace ~
482
483 \begin_inset LatexCommand ref
484 reference "sec:Figure-Floats"
485
486 \end_inset
487
488 .
489 \newline
490  LaTeX experts can also specify on this tab additional LaTeX options.
491 \newline
492  The
493  option 
494 \family sans
495 Draft\InsetSpace ~
496 mode
497 \family default
498  makes the image appear in the output only as a frame with the size of the
499  image.
500 \newline
501 The 
502 \family sans
503 Don't\InsetSpace ~
504 unzip\InsetSpace ~
505 on\InsetSpace ~
506 export
507 \family default
508  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
509 g.\InsetSpace ~
510
511 \emph on
512 x.eps.gz
513 \emph default
514 .
515  When the option is used the images will not be unzipped on export, since
516  LaTeX can handle them as they are.
517 \newline
518 Zipped EPS-graphics are useful to save
519  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
520
521 \begin_inset LatexCommand ref
522 reference "sec:PostScript"
523
524 \end_inset
525
526 .
527  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
528  console:
529 \newline
530
531 \series bold
532 gzip x.eps
533 \series default
534
535 \newline
536
537 \series bold
538 zgrep %%Bounding x.eps.gz > x.eps.bb
539 \series default
540
541 \newline
542 The second command creates the bounding box file 
543 \begin_inset Quotes eld
544 \end_inset
545
546 x.eps.bb
547 \begin_inset Quotes erd
548 \end_inset
549
550  that is needed by LaTeX for zipped graphics.
551 \end_layout
552
553 \begin_layout Standard
554 \begin_inset VSpace bigskip
555 \end_inset
556
557
558 \end_layout
559
560 \begin_layout Standard
561 This is an example image in EPS format
562 \begin_inset Foot
563 status collapsed
564
565 \begin_layout Standard
566 Image formats are explained in section\InsetSpace ~
567
568 \begin_inset LatexCommand ref
569 reference "sec:Image-Formats"
570
571 \end_inset
572
573 .
574 \end_layout
575
576 \end_inset
577
578  within a separate, horizontally centered paragraph:
579 \end_layout
580
581 \begin_layout Standard
582 \align center
583 \begin_inset Graphics
584         filename clipart/mobius.eps
585         display color
586         scale 70
587         scaleBeforeRotation
588         rotateOrigin center
589
590 \end_inset
591
592
593 \end_layout
594
595 \begin_layout Standard
596 This is the same image like the one above but in draft mode:
597 \end_layout
598
599 \begin_layout Standard
600 \align center
601 \begin_inset Graphics
602         filename clipart/mobius.eps
603         display color
604         scale 70
605         draft
606         scaleBeforeRotation
607         rotateOrigin center
608
609 \end_inset
610
611
612 \end_layout
613
614 \begin_layout Section
615 Figure Floats
616 \begin_inset LatexCommand label
617 name "sec:Figure-Floats"
618
619 \end_inset
620
621
622 \begin_inset LatexCommand index
623 name "Floats ! Figures"
624
625 \end_inset
626
627
628 \begin_inset LatexCommand index
629 name "Figures ! Floats"
630
631 \end_inset
632
633
634 \end_layout
635
636 \begin_layout Standard
637 For general explanations about floats, have a look at section\InsetSpace ~
638
639 \begin_inset LatexCommand ref
640 reference "sec:FloatIntroduction"
641
642 \end_inset
643
644 .
645 \end_layout
646
647 \begin_layout Standard
648 The toolbar button 
649 \begin_inset Graphics
650         filename ../images/float-insert_figure.png
651         scale 85
652         scaleBeforeRotation
653
654 \end_inset
655
656  and the menu 
657 \family sans
658 Insert\SpecialChar \menuseparator
659 Float\SpecialChar \menuseparator
660 Figure
661 \family default
662  inserts a float with a caption that has the label 
663 \begin_inset Quotes eld
664 \end_inset
665
666 Figure\InsetSpace ~
667 #:
668 \begin_inset Quotes erd
669 \end_inset
670
671  (# is the actual number).
672  You can insert the image above the caption, like in Figure\InsetSpace ~
673
674 \begin_inset LatexCommand ref
675 reference "fig:kill-plat"
676
677 \end_inset
678
679  or below the caption, like in Figure\InsetSpace ~
680
681 \begin_inset LatexCommand ref
682 reference "fig:escher"
683
684 \end_inset
685
686 .
687  More about the caption placement is described in section\InsetSpace ~
688
689 \begin_inset LatexCommand ref
690 reference "sec:Caption-Placement"
691
692 \end_inset
693
694 .
695 \end_layout
696
697 \begin_layout Standard
698 \begin_inset Float figure
699 wide false
700 sideways false
701 status open
702
703 \begin_layout Standard
704 \align center
705 \begin_inset Graphics
706         filename clipart/platypus.eps
707         display color
708         width 50col%
709         scaleBeforeRotation
710         rotateOrigin center
711
712 \end_inset
713
714
715 \end_layout
716
717 \begin_layout Standard
718 \begin_inset Caption
719
720 \begin_layout Standard
721 \begin_inset LatexCommand label
722 name "fig:kill-plat"
723
724 \end_inset
725
726 A severely distorted platypus in a float.
727 \end_layout
728
729 \end_inset
730
731
732 \end_layout
733
734 \end_inset
735
736
737 \end_layout
738
739 \begin_layout Standard
740 \begin_inset Float figure
741 wide false
742 sideways false
743 status open
744
745 \begin_layout Standard
746 \begin_inset Caption
747
748 \begin_layout Standard
749 \begin_inset LatexCommand label
750 name "fig:escher"
751
752 \end_inset
753
754 M.C.
755  Escher on acid.
756 \end_layout
757
758 \end_inset
759
760
761 \end_layout
762
763 \begin_layout Standard
764 \align center
765 \begin_inset Graphics
766         filename clipart/escher-lsd.eps
767         display color
768         scale 80
769         scaleBeforeRotation
770         rotateOrigin center
771
772 \end_inset
773
774
775 \end_layout
776
777 \end_inset
778
779
780 \end_layout
781
782 \begin_layout Standard
783 \begin_inset LatexCommand index
784 name "References ! to Figures"
785
786 \end_inset
787
788 Figure\InsetSpace ~
789
790 \begin_inset LatexCommand ref
791 reference "fig:kill-plat"
792
793 \end_inset
794
795  and 
796 \begin_inset LatexCommand ref
797 reference "fig:escher"
798
799 \end_inset
800
801  are examples of referenced figures.
802  Figures can be referenced in the text by referencing their label.
803  To do this insert a label in the caption using the menu 
804 \family sans
805 Insert\SpecialChar \menuseparator
806 Label
807 \family default
808  or the toolbar button 
809 \begin_inset Graphics
810         filename ../images/label-insert.png
811         scale 85
812         scaleBeforeRotation
813
814 \end_inset
815
816 .
817  You can now refer to the label using the menu 
818 \family sans
819 Insert\SpecialChar \menuseparator
820 Cross\InsetSpace ~
821 reference
822 \family default
823  or the toolbar button 
824 \begin_inset Graphics
825         filename ../images/dialog-show-new-inset_ref.png
826         scale 85
827         scaleBeforeRotation
828
829 \end_inset
830
831 .
832  It is important to use references to floats, rather than using vague references
833  like 
834 \begin_inset Quotes eld
835 \end_inset
836
837 the figure above
838 \begin_inset Quotes erd
839 \end_inset
840
841 , because as LaTeX will reposition the floats in the final document, it
842  might not be 
843 \begin_inset Quotes eld
844 \end_inset
845
846 above
847 \begin_inset Quotes erd
848 \end_inset
849
850  at all.
851 \newline
852 Referencing is explained in detail in section\InsetSpace ~
853
854 \begin_inset LatexCommand ref
855 reference "sec:Referencing-Floats"
856
857 \end_inset
858
859 .
860 \end_layout
861
862 \begin_layout Standard
863 Normally only one image is inserted to a figure float, but sometimes you
864  might want to use two images with separate subcaptions.
865  This can be set in the tab 
866 \family sans
867 Extra\InsetSpace ~
868 options
869 \family default
870  of the graphics dialog.
871  Choose there the option 
872 \family sans
873 Subfigure
874 \family default
875  and enter the subcaption for the image in the caption field.
876  Note that only the main caption of the float is added to the List of Figures.
877 \newline
878 Ref
879 erencing subfigures is explained in section\InsetSpace ~
880
881 \begin_inset LatexCommand ref
882 reference "sub:Referencing-Subfigures"
883
884 \end_inset
885
886 .
887 \end_layout
888
889 \begin_layout Standard
890 Figure\InsetSpace ~
891
892 \begin_inset LatexCommand ref
893 reference "fig:Two-distorted-images"
894
895 \end_inset
896
897  is an example of a figure float with two images set side by side.
898  You can also set the images one below the other.
899 \end_layout
900
901 \begin_layout Standard
902 \begin_inset Float figure
903 wide false
904 sideways false
905 status open
906
907 \begin_layout Standard
908
909 \hfill
910
911 \begin_inset Graphics
912         filename clipart/escher-lsd.eps
913         width 45col%
914         scaleBeforeRotation
915         subcaption
916         subcaptionText "Undefinable structure"
917
918 \end_inset
919
920
921 \hfill
922
923 \begin_inset Graphics
924         filename clipart/platypus.eps
925         lyxscale 60
926         width 45col%
927         scaleBeforeRotation
928         subcaption
929         subcaptionText "\label{fig:Platypus} Platypus"
930
931 \end_inset
932
933
934 \hfill
935
936 \end_layout
937
938 \begin_layout Standard
939 \begin_inset Caption
940
941 \begin_layout Standard
942 \begin_inset LatexCommand label
943 name "fig:Two-distorted-images"
944
945 \end_inset
946
947 Two distorted images.
948 \end_layout
949
950 \end_inset
951
952
953 \end_layout
954
955 \end_inset
956
957
958 \end_layout
959
960 \begin_layout Section
961 Image Formats
962 \begin_inset LatexCommand label
963 name "sec:Image-Formats"
964
965 \end_inset
966
967
968 \begin_inset LatexCommand index
969 name "Image Formats"
970
971 \end_inset
972
973
974 \begin_inset LatexCommand index
975 name "Figures ! Image Formats"
976
977 \end_inset
978
979
980 \end_layout
981
982 \begin_layout Standard
983 You can insert images in any known file format.
984  But as explained in appendix\InsetSpace ~
985
986 \begin_inset LatexCommand ref
987 reference "cha:Output-File-Formats"
988
989 \end_inset
990
991 , every output document format allows only a few image formats.
992  LyX uses therefore the program 
993 \family typewriter
994 Imagemagick
995 \family default
996  in the background to convert the images to the right format.
997  To increase your work flow by avoiding these conversions in the background,
998  you can use only the image formats that can directly be embedded in the
999  output file format.
1000  The output file formats are explained in appendix\InsetSpace ~
1001
1002 \begin_inset LatexCommand ref
1003 reference "cha:Output-File-Formats"
1004
1005 \end_inset
1006
1007 .
1008 \end_layout
1009
1010 \begin_layout Standard
1011 Similar to fonts there are two types of image formats:
1012 \end_layout
1013
1014 \begin_layout Description
1015 Bitmap\InsetSpace ~
1016 images consist of pixel values, often in a compressed form.
1017  They are therefore not fully scalable and look pixeled in large zooms.
1018  Well-known bitmap image formats are 
1019 \begin_inset Quotes eld
1020 \end_inset
1021
1022 Graphics Interchange Format
1023 \begin_inset Quotes erd
1024 \end_inset
1025
1026  (GIF, file extension 
1027 \begin_inset Quotes eld
1028 \end_inset
1029
1030
1031 \family typewriter
1032 .gif
1033 \family default
1034
1035 \begin_inset Quotes erd
1036 \end_inset
1037
1038 )
1039 \begin_inset LatexCommand index
1040 name "GIF|see{Image formats}"
1041
1042 \end_inset
1043
1044
1045 \begin_inset Quotes eld
1046 \end_inset
1047
1048 Portable Network Graphics
1049 \begin_inset Quotes erd
1050 \end_inset
1051
1052  (PNG, file extension 
1053 \begin_inset Quotes eld
1054 \end_inset
1055
1056
1057 \family typewriter
1058 .png
1059 \family default
1060
1061 \begin_inset Quotes erd
1062 \end_inset
1063
1064 )
1065 \begin_inset LatexCommand index
1066 name "PNG|see{Image formats}"
1067
1068 \end_inset
1069
1070 , and 
1071 \begin_inset Quotes eld
1072 \end_inset
1073
1074 Joint Photographic Experts Group
1075 \begin_inset Quotes erd
1076 \end_inset
1077
1078  (JPG, file extension 
1079 \begin_inset Quotes eld
1080 \end_inset
1081
1082
1083 \family typewriter
1084 .jpg
1085 \family default
1086
1087 \begin_inset Quotes erd
1088 \end_inset
1089
1090  or 
1091 \begin_inset Quotes eld
1092 \end_inset
1093
1094
1095 \family typewriter
1096 .jpeg
1097 \family default
1098
1099 \begin_inset Quotes erd
1100 \end_inset
1101
1102 )
1103 \begin_inset LatexCommand index
1104 name "JPG|see{Image formats}"
1105
1106 \end_inset
1107
1108 .
1109 \end_layout
1110
1111 \begin_layout Description
1112 Vector\InsetSpace ~
1113 images consist of vectors and can therefore be scaled to any size
1114  without data loss.
1115  The scaling ability is necessary if you want to create presentations, because
1116  presentations are always scaled by the video projector.
1117  Scaling is also useful for online documents to let the user zoom into diagrams.
1118 \newline
1119 W
1120 ell-known scalable image formats are 
1121 \begin_inset Quotes eld
1122 \end_inset
1123
1124 Scalable Vector Graphics
1125 \begin_inset Quotes erd
1126 \end_inset
1127
1128  (SVG, file extension 
1129 \begin_inset Quotes eld
1130 \end_inset
1131
1132
1133 \family typewriter
1134 .svg
1135 \family default
1136
1137 \begin_inset Quotes erd
1138 \end_inset
1139
1140 )
1141 \begin_inset LatexCommand index
1142 name "SVG|see{Image formats}"
1143
1144 \end_inset
1145
1146
1147 \begin_inset Quotes eld
1148 \end_inset
1149
1150 Encapsulated PostScript
1151 \begin_inset Quotes erd
1152 \end_inset
1153
1154  (EPS, file extension 
1155 \begin_inset Quotes eld
1156 \end_inset
1157
1158
1159 \family typewriter
1160 .eps
1161 \family default
1162
1163 \begin_inset Quotes erd
1164 \end_inset
1165
1166 )
1167 \begin_inset LatexCommand index
1168 name "EPS|see{Image formats}"
1169
1170 \end_inset
1171
1172
1173 \begin_inset Quotes eld
1174 \end_inset
1175
1176 Portable Document Format
1177 \begin_inset Quotes erd
1178 \end_inset
1179
1180  (PDF, file extension 
1181 \begin_inset Quotes eld
1182 \end_inset
1183
1184
1185 \family typewriter
1186 .pdf
1187 \family default
1188
1189 \begin_inset Quotes erd
1190 \end_inset
1191
1192 )
1193 \begin_inset LatexCommand index
1194 name "PDF"
1195
1196 \end_inset
1197
1198 , and 
1199 \begin_inset Quotes eld
1200 \end_inset
1201
1202 Windows Metafile
1203 \begin_inset Quotes erd
1204 \end_inset
1205
1206  (WMF, file extension 
1207 \begin_inset Quotes eld
1208 \end_inset
1209
1210
1211 \family typewriter
1212 .wmf
1213 \family default
1214
1215 \begin_inset Quotes erd
1216 \end_inset
1217
1218 )
1219 \begin_inset LatexCommand index
1220 name "SVG|see{Image formats}"
1221
1222 \end_inset
1223
1224 .
1225  We wrote 
1226 \begin_inset Quotes eld
1227 \end_inset
1228
1229 can be
1230 \begin_inset Quotes erd
1231 \end_inset
1232
1233 , because you can convert any bitmap image to a PDF or EPS-image and the
1234  result will still be a bitmap image.
1235  In this cases only a header with the image properties is added to the original
1236  image
1237 \begin_inset Foot
1238 status open
1239
1240 \begin_layout Standard
1241 In the case of PDF, the original image is additionally compressed.
1242 \end_layout
1243
1244 \end_inset
1245
1246 .
1247  The PDF-files generated by 
1248 \family typewriter
1249 Adobe Photoshop
1250 \family default
1251  are for example bitmap images.
1252 \end_layout
1253
1254 \begin_layout Standard
1255 Normally it is not possible to convert a bitmap image into a scalable one,
1256  only vice versa.
1257  Only the image formats PDF and EPS can directly be embedded to PDF and
1258  PostScript output files, respectively.
1259  SVG and WMF-images are recalculated to bitmaps when the output file is
1260  generated because there is currently no adequate WMF/SVG
1261 \begin_inset Formula $\to$
1262 \end_inset
1263
1264 PDF/EPS converter available.
1265 \end_layout
1266
1267 \begin_layout Chapter
1268 Tables
1269 \begin_inset LatexCommand label
1270 name "cha:Tables"
1271
1272 \end_inset
1273
1274
1275 \begin_inset LatexCommand index
1276 name "Table"
1277
1278 \end_inset
1279
1280
1281 \end_layout
1282
1283 \begin_layout Section
1284 Introduction
1285 \begin_inset LatexCommand index
1286 name "Table ! Introduction"
1287
1288 \end_inset
1289
1290
1291 \end_layout
1292
1293 \begin_layout Standard
1294 You can insert a table using either the toolbar button 
1295 \begin_inset Graphics
1296         filename ../images/tabular-insert.png
1297         scale 85
1298         scaleBeforeRotation
1299
1300 \end_inset
1301
1302  or the menu 
1303 \family sans
1304 Insert\SpecialChar \menuseparator
1305 Table
1306 \family default
1307 .
1308  The toolbar button offers you a graphical selection: Move the mouse to
1309  set the column/row number of the table that should be created and then
1310  press a mouse button.
1311  When you use the menu to create a table, a dialog will appear, asking you
1312  for the number of rows and columns.
1313 \newline
1314  The default table has lines around any
1315  cell and the first row appears separated from the rest of the table.
1316  This separation occurs due to a double line: The cells of the first row
1317  have a line below them and the cells of the second row have a line above
1318  them.
1319  Here is an example table:
1320 \end_layout
1321
1322 \begin_layout Standard
1323 \align center
1324 \begin_inset Tabular
1325 <lyxtabular version="3" rows="4" columns="4">
1326 <features>
1327 <column alignment="center" valignment="top" leftline="true" width="0">
1328 <column alignment="center" valignment="top" leftline="true" width="0">
1329 <column alignment="center" valignment="top" leftline="true" width="0">
1330 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1331 <row topline="true" bottomline="true">
1332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1333 \begin_inset Text
1334
1335 \begin_layout Standard
1336
1337 \end_layout
1338
1339 \end_inset
1340 </cell>
1341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1342 \begin_inset Text
1343
1344 \begin_layout Standard
1345
1346 \family roman
1347 \series medium
1348 \shape up
1349 \size normal
1350 \emph off
1351 \bar no
1352 \noun off
1353 \color none
1354 1
1355 \end_layout
1356
1357 \end_inset
1358 </cell>
1359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1360 \begin_inset Text
1361
1362 \begin_layout Standard
1363 2
1364 \end_layout
1365
1366 \end_inset
1367 </cell>
1368 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1369 \begin_inset Text
1370
1371 \begin_layout Standard
1372 3
1373 \end_layout
1374
1375 \end_inset
1376 </cell>
1377 </row>
1378 <row topline="true">
1379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1380 \begin_inset Text
1381
1382 \begin_layout Standard
1383
1384 \family roman
1385 \series medium
1386 \shape up
1387 \size normal
1388 \emph off
1389 \bar no
1390 \noun off
1391 \color none
1392 A
1393 \end_layout
1394
1395 \end_inset
1396 </cell>
1397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1398 \begin_inset Text
1399
1400 \begin_layout Standard
1401
1402 \end_layout
1403
1404 \end_inset
1405 </cell>
1406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1407 \begin_inset Text
1408
1409 \begin_layout Standard
1410
1411 \end_layout
1412
1413 \end_inset
1414 </cell>
1415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1416 \begin_inset Text
1417
1418 \begin_layout Standard
1419
1420 \end_layout
1421
1422 \end_inset
1423 </cell>
1424 </row>
1425 <row topline="true">
1426 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1427 \begin_inset Text
1428
1429 \begin_layout Standard
1430
1431 \family roman
1432 \series medium
1433 \shape up
1434 \size normal
1435 \emph off
1436 \bar no
1437 \noun off
1438 \color none
1439 B
1440 \end_layout
1441
1442 \end_inset
1443 </cell>
1444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1445 \begin_inset Text
1446
1447 \begin_layout Standard
1448
1449 \end_layout
1450
1451 \end_inset
1452 </cell>
1453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1454 \begin_inset Text
1455
1456 \begin_layout Standard
1457
1458 \end_layout
1459
1460 \end_inset
1461 </cell>
1462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1463 \begin_inset Text
1464
1465 \begin_layout Standard
1466
1467 \end_layout
1468
1469 \end_inset
1470 </cell>
1471 </row>
1472 <row topline="true" bottomline="true">
1473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1474 \begin_inset Text
1475
1476 \begin_layout Standard
1477
1478 \family roman
1479 \series medium
1480 \shape up
1481 \size normal
1482 \emph off
1483 \bar no
1484 \noun off
1485 \color none
1486 C
1487 \end_layout
1488
1489 \end_inset
1490 </cell>
1491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1492 \begin_inset Text
1493
1494 \begin_layout Standard
1495
1496 \end_layout
1497
1498 \end_inset
1499 </cell>
1500 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1501 \begin_inset Text
1502
1503 \begin_layout Standard
1504
1505 \end_layout
1506
1507 \end_inset
1508 </cell>
1509 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1510 \begin_inset Text
1511
1512 \begin_layout Standard
1513
1514 \end_layout
1515
1516 \end_inset
1517 </cell>
1518 </row>
1519 </lyxtabular>
1520
1521 \end_inset
1522
1523
1524 \end_layout
1525
1526 \begin_layout Section
1527 Table Dialog
1528 \begin_inset LatexCommand index
1529 name "Table ! Dialog"
1530
1531 \end_inset
1532
1533
1534 \end_layout
1535
1536 \begin_layout Standard
1537 You can alter a table by clicking on it with the right mouse button, which
1538  brings up the table dialog.
1539  Here you can adjust the settings of that cell and row/column respectively
1540  where the cursor is currently placed.
1541  Most of the dialog options also work on selections.
1542  This means if you select more cells, columns or rows, the action is done
1543  for the whole selection.
1544  Note that there is a difference between selecting the 
1545 \emph on
1546 contents
1547 \emph default
1548  of the cell, and the cell itself.
1549  You can alter tables with the following tabs of the table dialog:
1550 \end_layout
1551
1552 \begin_layout Description
1553
1554 \family sans
1555 Table\InsetSpace ~
1556 Settings
1557 \family default
1558  Here you can set the horizontal alignment and the width of the current
1559  column.
1560  When you have set a width you can also adjust the vertical alignment of
1561  the current row.
1562  A given width will allow the cell to have line breaks and multiple paragraphs
1563  of text, see section\InsetSpace ~
1564
1565 \begin_inset LatexCommand ref
1566 reference "sub:Multiple-Lines-in"
1567
1568 \end_inset
1569
1570 .
1571  If you set no width, the column is as wide as their widest cell content
1572  is.
1573 \newline
1574 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1575  cell, see section\InsetSpace ~
1576
1577 \begin_inset LatexCommand ref
1578 reference "sub:Multicolumns"
1579
1580 \end_inset
1581
1582 .
1583 \newline
1584 The rotate check boxes rotates the current cell, a selection, or the whole
1585  table counter-clockwise by 90°.
1586  The rotation is not shown within LyX, only in the output.
1587 \newline
1588
1589 \begin_inset Note Greyedout
1590 status open
1591
1592 \begin_layout Standard
1593
1594 \series bold
1595 Note:
1596 \series default
1597  Not all DVI-viewers are able to display rotations.
1598 \end_layout
1599
1600 \end_inset
1601
1602
1603 \newline
1604 It is also possible to enter a LaTeX-argument which is needed for special
1605  table formattings, see section\InsetSpace ~
1606
1607 \begin_inset LatexCommand ref
1608 reference "sub:Multicolumn-Calculations"
1609
1610 \end_inset
1611
1612  and 
1613 \begin_inset LatexCommand ref
1614 reference "sec:Colored-Tables"
1615
1616 \end_inset
1617
1618 .
1619 \end_layout
1620
1621 \begin_layout Description
1622
1623 \family sans
1624 Borders
1625 \family default
1626  In this tab you can add and delete border lines for the current row/column.
1627 \newline
1628 Using
1629  the style option 
1630 \family sans
1631 Formal
1632 \family default
1633  will convert the table to a formal table as described in section\InsetSpace ~
1634
1635 \begin_inset LatexCommand ref
1636 reference "sec:Formal-Tables"
1637
1638 \end_inset
1639
1640 .
1641 \newline
1642 You can also add here space to table rows as decribed in section\InsetSpace ~
1643
1644 \begin_inset LatexCommand ref
1645 reference "sub:Row-Spacing"
1646
1647 \end_inset
1648
1649 .
1650 \end_layout
1651
1652 \begin_layout Description
1653
1654 \family sans
1655 Longtable
1656 \family default
1657  This tab is to make a table a so called 
1658 \begin_inset Quotes eld
1659 \end_inset
1660
1661
1662 \emph on
1663 longtable
1664 \emph default
1665
1666 \begin_inset Quotes erd
1667 \end_inset
1668
1669  that can run over several pages.
1670  Section\InsetSpace ~
1671
1672 \begin_inset LatexCommand ref
1673 reference "sec:Longtables"
1674
1675 \end_inset
1676
1677  and 
1678 \begin_inset LatexCommand ref
1679 reference "sec:Special-Longtable-Issues"
1680
1681 \end_inset
1682
1683  describe the longtable features in detail.
1684 \end_layout
1685
1686 \begin_layout Standard
1687 When the table toolbar is opened, you can move the cursor with the arrow
1688  keys from cell to cell and the property of the current cell will immediately
1689  be displayed in the dialog.
1690 \end_layout
1691
1692 \begin_layout Section
1693 Table Toolbar
1694 \begin_inset LatexCommand index
1695 name "Table ! Toolbar"
1696
1697 \end_inset
1698
1699
1700 \end_layout
1701
1702 \begin_layout Standard
1703 The table toolbar is an alternative to the table dialog to be able to alter
1704  tables faster.
1705  It should normally appear at the bottom of LyX's main window when the cursor
1706  is inside a table.
1707  You can alternatively switch it on to appear always, by right-clicking
1708  in LyX's main menu bar.
1709 \end_layout
1710
1711 \begin_layout Standard
1712 The toolbar has the following icons:
1713 \end_layout
1714
1715 \begin_layout Labeling
1716 \labelwidthstring 00.00.0000
1717 \begin_inset Graphics
1718         filename ../images/tabular-feature_append-row.png
1719         scaleBeforeRotation
1720
1721 \end_inset
1722
1723  adds a row below the current cell or selection
1724 \end_layout
1725
1726 \begin_layout Labeling
1727 \labelwidthstring 00.00.0000
1728 \begin_inset Graphics
1729         filename ../images/tabular-feature_append-column.png
1730         scaleBeforeRotation
1731
1732 \end_inset
1733
1734  adds a column right beside the current cell or selection
1735 \end_layout
1736
1737 \begin_layout Labeling
1738 \labelwidthstring 00.00.0000
1739 \begin_inset Graphics
1740         filename ../images/tabular-feature_delete-row.png
1741         scaleBeforeRotation
1742
1743 \end_inset
1744
1745  deletes the current row or selection
1746 \end_layout
1747
1748 \begin_layout Labeling
1749 \labelwidthstring 00.00.0000
1750 \begin_inset Graphics
1751         filename ../images/tabular-feature_delete-column.png
1752         scaleBeforeRotation
1753
1754 \end_inset
1755
1756  deletes the current column or selection
1757 \end_layout
1758
1759 \begin_layout Labeling
1760 \labelwidthstring 00.00.0000
1761 \begin_inset Graphics
1762         filename ../images/tabular-feature_toggle-line-top.png
1763         scaleBeforeRotation
1764
1765 \end_inset
1766
1767  adds a line at the top of the current cell / row or of a selection
1768 \end_layout
1769
1770 \begin_layout Labeling
1771 \labelwidthstring 00.00.0000
1772 \begin_inset Graphics
1773         filename ../images/tabular-feature_toggle-line-bottom.png
1774         scaleBeforeRotation
1775
1776 \end_inset
1777
1778  adds a line at the bottom of the current cell / row or of a selection
1779 \end_layout
1780
1781 \begin_layout Labeling
1782 \labelwidthstring 00.00.0000
1783 \begin_inset Graphics
1784         filename ../images/tabular-feature_toggle-line-left.png
1785         scaleBeforeRotation
1786
1787 \end_inset
1788
1789  adds a line at the left side of the current cell / row or of a selection
1790 \end_layout
1791
1792 \begin_layout Labeling
1793 \labelwidthstring 00.00.0000
1794 \begin_inset Graphics
1795         filename ../images/tabular-feature_toggle-line-right.png
1796         scaleBeforeRotation
1797
1798 \end_inset
1799
1800  adds a line at the right side of the current cell / row or of a selection
1801 \end_layout
1802
1803 \begin_layout Labeling
1804 \labelwidthstring 00.00.0000
1805 \begin_inset Graphics
1806         filename ../images/tabular-feature_set-all-lines.png
1807         scaleBeforeRotation
1808
1809 \end_inset
1810
1811  adds lines around the current or selected cells - if the current cell no
1812  multicolumn this also affects the current row and column
1813 \end_layout
1814
1815 \begin_layout Labeling
1816 \labelwidthstring 00.00.0000
1817 \begin_inset Graphics
1818         filename ../images/tabular-feature_unset-all-lines.png
1819         scaleBeforeRotation
1820
1821 \end_inset
1822
1823  deletes all lines of the current or selected cells - if the current cell
1824  no multicolumn this also affects the current row and column
1825 \end_layout
1826
1827 \begin_layout Labeling
1828 \labelwidthstring 00.00.0000
1829 \begin_inset Graphics
1830         filename ../images/tabular-feature_align-left.png
1831         scaleBeforeRotation
1832
1833 \end_inset
1834
1835  left-aligns the content of the current cell / column
1836 \end_layout
1837
1838 \begin_layout Labeling
1839 \labelwidthstring 00.00.0000
1840 \begin_inset Graphics
1841         filename ../images/tabular-feature_align-center.png
1842         scaleBeforeRotation
1843
1844 \end_inset
1845
1846  centers the content of the current cell / column horizontally
1847 \end_layout
1848
1849 \begin_layout Labeling
1850 \labelwidthstring 00.00.0000
1851 \begin_inset Graphics
1852         filename ../images/tabular-feature_align-right.png
1853         scaleBeforeRotation
1854
1855 \end_inset
1856
1857  right-aligns the content of the current cell / column
1858 \end_layout
1859
1860 \begin_layout Labeling
1861 \labelwidthstring 00.00.0000
1862 \begin_inset Graphics
1863         filename ../images/tabular-feature_valign-top.png
1864         scaleBeforeRotation
1865
1866 \end_inset
1867
1868  aligns the content of the current cell vertically to the top
1869 \end_layout
1870
1871 \begin_layout Labeling
1872 \labelwidthstring 00.00.0000
1873 \begin_inset Graphics
1874         filename ../images/tabular-feature_valign-middle.png
1875         scaleBeforeRotation
1876
1877 \end_inset
1878
1879  centers the content of the current cell vertically
1880 \end_layout
1881
1882 \begin_layout Labeling
1883 \labelwidthstring 00.00.0000
1884 \begin_inset Graphics
1885         filename ../images/tabular-feature_valign-bottom.png
1886         scaleBeforeRotation
1887
1888 \end_inset
1889
1890  aligns the content of the current cell vertically to the bottom
1891 \end_layout
1892
1893 \begin_layout Labeling
1894 \labelwidthstring 00.00.0000
1895 \begin_inset Graphics
1896         filename ../images/tabular-feature_set-rotate-cell.png
1897         scaleBeforeRotation
1898
1899 \end_inset
1900
1901  rotates the current cell or selection counter-clockwise by 90°
1902 \end_layout
1903
1904 \begin_layout Labeling
1905 \labelwidthstring 00.00.0000
1906 \begin_inset Graphics
1907         filename ../images/tabular-feature_set-rotate-tabular.png
1908         scaleBeforeRotation
1909
1910 \end_inset
1911
1912  rotates the whole table counter-clockwise by 90°
1913 \end_layout
1914
1915 \begin_layout Labeling
1916 \labelwidthstring 00.00.0000
1917 \begin_inset Graphics
1918         filename ../images/tabular-feature_multicolumn.png
1919         scaleBeforeRotation
1920
1921 \end_inset
1922
1923  sets the current cell or selection as a multicolumn
1924 \end_layout
1925
1926 \begin_layout Standard
1927 \begin_inset Note Greyedout
1928 status open
1929
1930 \begin_layout Standard
1931
1932 \series bold
1933 Note:
1934 \series default
1935  For the output the vertical alignment of the first cell in a row is used
1936  for all following cells in the row.
1937 \end_layout
1938
1939 \end_inset
1940
1941
1942 \end_layout
1943
1944 \begin_layout Section
1945 Edit Table Menu
1946 \begin_inset LatexCommand index
1947 name "Table ! Edit Menu"
1948
1949 \end_inset
1950
1951
1952 \end_layout
1953
1954 \begin_layout Standard
1955 Additionally to the table dialog and toolbar, the menu 
1956 \family sans
1957 Edit\SpecialChar \menuseparator
1958 Table
1959 \family default
1960  allows you to add and delete border lines for the current row/column and
1961  to set the current selection as multicolumn.
1962  The menu is only available when the cursor is inside a table.
1963 \end_layout
1964
1965 \begin_layout Section
1966 Table Floats
1967 \begin_inset LatexCommand label
1968 name "sec:Table-Floats"
1969
1970 \end_inset
1971
1972
1973 \begin_inset LatexCommand index
1974 name "Floats ! Tables"
1975
1976 \end_inset
1977
1978
1979 \begin_inset LatexCommand index
1980 name "Table ! Floats"
1981
1982 \end_inset
1983
1984
1985 \end_layout
1986
1987 \begin_layout Standard
1988 For general explanations about floats, have a look at section\InsetSpace ~
1989
1990 \begin_inset LatexCommand ref
1991 reference "sec:FloatIntroduction"
1992
1993 \end_inset
1994
1995 .
1996 \end_layout
1997
1998 \begin_layout Standard
1999 \begin_inset Float table
2000 placement h
2001 wide false
2002 sideways false
2003 status open
2004
2005 \begin_layout Standard
2006 \begin_inset Caption
2007
2008 \begin_layout Standard
2009 \begin_inset LatexCommand label
2010 name "tab:a table float"
2011
2012 \end_inset
2013
2014 A table float.
2015 \end_layout
2016
2017 \end_inset
2018
2019
2020 \end_layout
2021
2022 \begin_layout Standard
2023 \align center
2024 \begin_inset Tabular
2025 <lyxtabular version="3" rows="3" columns="3">
2026 <features>
2027 <column alignment="center" valignment="top" leftline="true" width="0pt">
2028 <column alignment="center" valignment="top" leftline="true" width="0pt">
2029 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2030 <row topline="true" bottomline="true">
2031 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2032 \begin_inset Text
2033
2034 \begin_layout Standard
2035
2036 \family roman
2037 \series medium
2038 \shape up
2039 \size normal
2040 \emph off
2041 \bar no
2042 \noun off
2043 \color none
2044 1
2045 \end_layout
2046
2047 \end_inset
2048 </cell>
2049 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2050 \begin_inset Text
2051
2052 \begin_layout Standard
2053
2054 \family roman
2055 \series medium
2056 \shape up
2057 \size normal
2058 \emph off
2059 \bar no
2060 \noun off
2061 \color none
2062 2
2063 \end_layout
2064
2065 \end_inset
2066 </cell>
2067 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2068 \begin_inset Text
2069
2070 \begin_layout Standard
2071
2072 \family roman
2073 \series medium
2074 \shape up
2075 \size normal
2076 \emph off
2077 \bar no
2078 \noun off
2079 \color none
2080 3
2081 \end_layout
2082
2083 \end_inset
2084 </cell>
2085 </row>
2086 <row topline="true">
2087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2088 \begin_inset Text
2089
2090 \begin_layout Standard
2091
2092 \family roman
2093 \series medium
2094 \shape up
2095 \size normal
2096 \emph off
2097 \bar no
2098 \noun off
2099 \color none
2100 Joe
2101 \end_layout
2102
2103 \end_inset
2104 </cell>
2105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2106 \begin_inset Text
2107
2108 \begin_layout Standard
2109
2110 \family roman
2111 \series medium
2112 \shape up
2113 \size normal
2114 \emph off
2115 \bar no
2116 \noun off
2117 \color none
2118 Mary
2119 \end_layout
2120
2121 \end_inset
2122 </cell>
2123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2124 \begin_inset Text
2125
2126 \begin_layout Standard
2127
2128 \family roman
2129 \series medium
2130 \shape up
2131 \size normal
2132 \emph off
2133 \bar no
2134 \noun off
2135 \color none
2136 Ted
2137 \end_layout
2138
2139 \end_inset
2140 </cell>
2141 </row>
2142 <row topline="true" bottomline="true">
2143 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2144 \begin_inset Text
2145
2146 \begin_layout Standard
2147
2148 \family roman
2149 \series medium
2150 \shape up
2151 \size normal
2152 \emph off
2153 \bar no
2154 \noun off
2155 \color none
2156 \begin_inset Formula $\int x^{2}dx$
2157 \end_inset
2158
2159
2160 \end_layout
2161
2162 \end_inset
2163 </cell>
2164 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2165 \begin_inset Text
2166
2167 \begin_layout Standard
2168
2169 \family roman
2170 \series medium
2171 \shape up
2172 \size normal
2173 \emph off
2174 \bar no
2175 \noun off
2176 \color none
2177 \begin_inset Formula $\left[\begin{array}{cc}
2178 a & b\\
2179 c & d\end{array}\right]$
2180 \end_inset
2181
2182
2183 \end_layout
2184
2185 \end_inset
2186 </cell>
2187 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2188 \begin_inset Text
2189
2190 \begin_layout Standard
2191
2192 \family roman
2193 \series medium
2194 \shape up
2195 \size normal
2196 \emph off
2197 \bar no
2198 \noun off
2199 \color none
2200 \begin_inset Formula $1+1=2$
2201 \end_inset
2202
2203
2204 \end_layout
2205
2206 \end_inset
2207 </cell>
2208 </row>
2209 </lyxtabular>
2210
2211 \end_inset
2212
2213
2214 \end_layout
2215
2216 \end_inset
2217
2218
2219 \end_layout
2220
2221 \begin_layout Standard
2222 Table floats can be inserted using the menu 
2223 \family sans
2224 Insert\SpecialChar \menuseparator
2225 Float\SpecialChar \menuseparator
2226 Table
2227 \family default
2228  or the toolbar button 
2229 \begin_inset Graphics
2230         filename ../images/float-insert_table.png
2231         scale 85
2232         scaleBeforeRotation
2233
2234 \end_inset
2235
2236 .
2237 \end_layout
2238
2239 \begin_layout Standard
2240 The float appears as a collapsible box with a caption that has the label
2241  
2242 \begin_inset Quotes eld
2243 \end_inset
2244
2245 Table\InsetSpace ~
2246 #:
2247 \begin_inset Quotes erd
2248 \end_inset
2249
2250  (# is the actual table number).
2251  You can insert tables to the float above or below the caption.
2252 \end_layout
2253
2254 \begin_layout Standard
2255 Table\InsetSpace ~
2256
2257 \begin_inset LatexCommand ref
2258 reference "tab:a table float"
2259
2260 \end_inset
2261
2262  is an example table within a table float.
2263 \end_layout
2264
2265 \begin_layout Standard
2266 Having the caption above the table is the common rule that is unfortunately
2267  not supported in LaTeX's standard classes.
2268  That means if you are using the document classes 
2269 \family sans
2270 article
2271 \family default
2272
2273 \family sans
2274 book
2275 \family default
2276
2277 \family sans
2278 letter
2279 \family default
2280 , or 
2281 \family sans
2282 report
2283 \family default
2284  there will be no space between the caption and the table.
2285  To insert the needed space, add the following option to the load command
2286  of the LaTeX-package 
2287 \series bold
2288 caption
2289 \series default
2290
2291 \begin_inset LatexCommand index
2292 name "LaTeX-packages ! caption"
2293
2294 \end_inset
2295
2296  in your document preamble
2297 \begin_inset Foot
2298 status collapsed
2299
2300 \begin_layout Standard
2301 For more information have a look at section\InsetSpace ~
2302
2303 \begin_inset LatexCommand ref
2304 reference "sec:Caption-Placement"
2305
2306 \end_inset
2307
2308 .
2309 \end_layout
2310
2311 \end_inset
2312
2313 :
2314 \end_layout
2315
2316 \begin_layout Standard
2317
2318 \series bold
2319 tableposition=top
2320 \end_layout
2321
2322 \begin_layout Standard
2323 The package 
2324 \series bold
2325 caption
2326 \series default
2327 , which is described in section\InsetSpace ~
2328
2329 \begin_inset LatexCommand ref
2330 reference "sec:Caption-Formatting"
2331
2332 \end_inset
2333
2334 , is used to adjust the caption format.
2335 \end_layout
2336
2337 \begin_layout Standard
2338 \begin_inset LatexCommand index
2339 name "References ! to Tables"
2340
2341 \end_inset
2342
2343 Tables can be cross-referenced in the text by referencing their label.
2344  To do this insert a label in the caption using the menu 
2345 \family sans
2346 Insert\SpecialChar \menuseparator
2347 Label
2348 \family default
2349  or the toolbar button 
2350 \begin_inset Graphics
2351         filename ../images/label-insert.png
2352         scale 85
2353         scaleBeforeRotation
2354
2355 \end_inset
2356
2357 .
2358  You can now refer to the label using the menu 
2359 \family sans
2360 Insert\SpecialChar \menuseparator
2361 Cross\InsetSpace ~
2362 reference
2363 \family default
2364  or the toolbar button 
2365 \begin_inset Graphics
2366         filename ../images/dialog-show-new-inset_ref.png
2367         scale 85
2368         scaleBeforeRotation
2369
2370 \end_inset
2371
2372 .
2373 \newline
2374 Referencing is explained in detail in section\InsetSpace ~
2375
2376 \begin_inset LatexCommand ref
2377 reference "sec:Referencing-Floats"
2378
2379 \end_inset
2380
2381 .
2382 \end_layout
2383
2384 \begin_layout Section
2385 Longtables
2386 \begin_inset LatexCommand label
2387 name "sec:Longtables"
2388
2389 \end_inset
2390
2391
2392 \begin_inset LatexCommand index
2393 name "Longtables"
2394
2395 \end_inset
2396
2397
2398 \begin_inset LatexCommand index
2399 name "Table ! Longtables"
2400
2401 \end_inset
2402
2403
2404 \end_layout
2405
2406 \begin_layout Standard
2407 If the table is too long to fit on one page, you can use the option 
2408 \family sans
2409 Use\InsetSpace ~
2410 long\InsetSpace ~
2411 table
2412 \family default
2413  in the tab 
2414 \family sans
2415 Longtable
2416 \family default
2417  of the table dialog to split the table automatically over more pages.
2418  Doing this enables some check boxes and you can now define:
2419 \end_layout
2420
2421 \begin_layout Description
2422
2423 \family sans
2424 Header
2425 \family default
2426 : The current row and all rows above, that don't have any special options
2427  defined, are defined to be the header rows of all pages of the longtable;
2428  except for the first page, if 
2429 \family sans
2430 First\InsetSpace ~
2431 header
2432 \family default
2433  is defined.
2434  This therefore called the main header.
2435 \end_layout
2436
2437 \begin_layout Description
2438
2439 \family sans
2440 First\InsetSpace ~
2441 header
2442 \family default
2443 : The current row and all rows above, that don't have any special options
2444  defined, are defined to be the header rows of the first page of the longtable.
2445 \end_layout
2446
2447 \begin_layout Description
2448
2449 \family sans
2450 Footer
2451 \family default
2452 : The current row and all rows below, that don't have any special options
2453  defined, are defined to be the footer rows of all pages of the longtable;
2454  except for the last page, if 
2455 \family sans
2456 Last\InsetSpace ~
2457 footer
2458 \family default
2459  is defined.
2460 \end_layout
2461
2462 \begin_layout Description
2463
2464 \family sans
2465 Last\InsetSpace ~
2466 footer
2467 \family default
2468 : The current row and all rows below, that don't have any special options
2469  defined, are defined to be the footer rows of the last page of the longtable.
2470 \end_layout
2471
2472 \begin_layout Standard
2473 You can also specify a row where the table is splitted.
2474  If you set more than one option in the same table row, you should be aware
2475  of the fact that only the first one is used in the given table row.
2476  The others will then be defined as 
2477 \emph on
2478 empty
2479 \emph default
2480 .
2481  In this context, first means first in this order: 
2482 \family sans
2483 Header,
2484 \family default
2485  
2486 \family sans
2487 First\InsetSpace ~
2488 header, Footer, Last\InsetSpace ~
2489 footer.
2490
2491 \family default
2492  See the following longtable to see how it works:
2493 \end_layout
2494
2495 \begin_layout Standard
2496 \align center
2497 \begin_inset Tabular
2498 <lyxtabular version="3" rows="69" columns="3">
2499 <features islongtable="true">
2500 <column alignment="left" valignment="top" leftline="true" width="0cm">
2501 <column alignment="left" valignment="top" width="0pt">
2502 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2503 <row topline="true" bottomline="true" endfirsthead="true">
2504 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2505 \begin_inset Text
2506
2507 \begin_layout Standard
2508
2509 \series bold
2510 Example Phone List (ignore the names)
2511 \end_layout
2512
2513 \end_inset
2514 </cell>
2515 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2516 \begin_inset Text
2517
2518 \begin_layout Standard
2519
2520 \end_layout
2521
2522 \end_inset
2523 </cell>
2524 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2525 \begin_inset Text
2526
2527 \begin_layout Standard
2528
2529 \end_layout
2530
2531 \end_inset
2532 </cell>
2533 </row>
2534 <row topline="true" bottomline="true" endfirsthead="true">
2535 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2536 \begin_inset Text
2537
2538 \begin_layout Standard
2539
2540 \series bold
2541 NAME
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2547 \begin_inset Text
2548
2549 \begin_layout Standard
2550
2551 \end_layout
2552
2553 \end_inset
2554 </cell>
2555 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2556 \begin_inset Text
2557
2558 \begin_layout Standard
2559
2560 \series bold
2561 TEL.
2562 \end_layout
2563
2564 \end_inset
2565 </cell>
2566 </row>
2567 <row topline="true" bottomline="true" endhead="true">
2568 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \series bold
2574 Example Phone List
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2580 \begin_inset Text
2581
2582 \begin_layout Standard
2583
2584 \end_layout
2585
2586 \end_inset
2587 </cell>
2588 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2589 \begin_inset Text
2590
2591 \begin_layout Standard
2592
2593 \end_layout
2594
2595 \end_inset
2596 </cell>
2597 </row>
2598 <row topline="true" bottomline="true" endhead="true">
2599 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2600 \begin_inset Text
2601
2602 \begin_layout Standard
2603
2604 \series bold
2605 NAME
2606 \end_layout
2607
2608 \end_inset
2609 </cell>
2610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2611 \begin_inset Text
2612
2613 \begin_layout Standard
2614
2615 \end_layout
2616
2617 \end_inset
2618 </cell>
2619 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2620 \begin_inset Text
2621
2622 \begin_layout Standard
2623
2624 \series bold
2625 TEL.
2626 \end_layout
2627
2628 \end_inset
2629 </cell>
2630 </row>
2631 <row topline="true" bottomline="true" endfoot="true">
2632 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2633 \begin_inset Text
2634
2635 \begin_layout Standard
2636  continued on next page
2637 \end_layout
2638
2639 \end_inset
2640 </cell>
2641 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2642 \begin_inset Text
2643
2644 \begin_layout Standard
2645
2646 \end_layout
2647
2648 \end_inset
2649 </cell>
2650 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2651 \begin_inset Text
2652
2653 \begin_layout Standard
2654
2655 \end_layout
2656
2657 \end_inset
2658 </cell>
2659 </row>
2660 <row>
2661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2662 \begin_inset Text
2663
2664 \begin_layout Standard
2665
2666 \series bold
2667 Annovi
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 <cell alignment="center" valignment="top" topline="true" usebox="none">
2673 \begin_inset Text
2674
2675 \begin_layout Standard
2676 Silvia
2677 \end_layout
2678
2679 \end_inset
2680 </cell>
2681 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2682 \begin_inset Text
2683
2684 \begin_layout Standard
2685 111
2686 \end_layout
2687
2688 \end_inset
2689 </cell>
2690 </row>
2691 <row>
2692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2693 \begin_inset Text
2694
2695 \begin_layout Standard
2696
2697 \series bold
2698 Bertoli
2699 \end_layout
2700
2701 \end_inset
2702 </cell>
2703 <cell alignment="center" valignment="top" topline="true" usebox="none">
2704 \begin_inset Text
2705
2706 \begin_layout Standard
2707 Stefano
2708 \end_layout
2709
2710 \end_inset
2711 </cell>
2712 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2713 \begin_inset Text
2714
2715 \begin_layout Standard
2716 111
2717 \end_layout
2718
2719 \end_inset
2720 </cell>
2721 </row>
2722 <row>
2723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2724 \begin_inset Text
2725
2726 \begin_layout Standard
2727
2728 \series bold
2729 Bozzi
2730 \end_layout
2731
2732 \end_inset
2733 </cell>
2734 <cell alignment="center" valignment="top" topline="true" usebox="none">
2735 \begin_inset Text
2736
2737 \begin_layout Standard
2738 Walter
2739 \end_layout
2740
2741 \end_inset
2742 </cell>
2743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2744 \begin_inset Text
2745
2746 \begin_layout Standard
2747 111
2748 \end_layout
2749
2750 \end_inset
2751 </cell>
2752 </row>
2753 <row>
2754 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2755 \begin_inset Text
2756
2757 \begin_layout Standard
2758
2759 \series bold
2760 Cachia
2761 \end_layout
2762
2763 \end_inset
2764 </cell>
2765 <cell alignment="center" valignment="top" topline="true" usebox="none">
2766 \begin_inset Text
2767
2768 \begin_layout Standard
2769 Maria
2770 \end_layout
2771
2772 \end_inset
2773 </cell>
2774 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2775 \begin_inset Text
2776
2777 \begin_layout Standard
2778 111
2779 \end_layout
2780
2781 \end_inset
2782 </cell>
2783 </row>
2784 <row>
2785 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2786 \begin_inset Text
2787
2788 \begin_layout Standard
2789
2790 \series bold
2791 Cachia
2792 \end_layout
2793
2794 \end_inset
2795 </cell>
2796 <cell alignment="center" valignment="top" topline="true" usebox="none">
2797 \begin_inset Text
2798
2799 \begin_layout Standard
2800 Maurizio
2801 \end_layout
2802
2803 \end_inset
2804 </cell>
2805 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2806 \begin_inset Text
2807
2808 \begin_layout Standard
2809 111
2810 \end_layout
2811
2812 \end_inset
2813 </cell>
2814 </row>
2815 <row>
2816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2817 \begin_inset Text
2818
2819 \begin_layout Standard
2820
2821 \series bold
2822 Cinquemani
2823 \end_layout
2824
2825 \end_inset
2826 </cell>
2827 <cell alignment="center" valignment="top" topline="true" usebox="none">
2828 \begin_inset Text
2829
2830 \begin_layout Standard
2831 Giusi
2832 \end_layout
2833
2834 \end_inset
2835 </cell>
2836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2837 \begin_inset Text
2838
2839 \begin_layout Standard
2840 111
2841 \end_layout
2842
2843 \end_inset
2844 </cell>
2845 </row>
2846 <row>
2847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2848 \begin_inset Text
2849
2850 \begin_layout Standard
2851
2852 \series bold
2853 Colin
2854 \end_layout
2855
2856 \end_inset
2857 </cell>
2858 <cell alignment="center" valignment="top" topline="true" usebox="none">
2859 \begin_inset Text
2860
2861 \begin_layout Standard
2862 Bernard
2863 \end_layout
2864
2865 \end_inset
2866 </cell>
2867 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2868 \begin_inset Text
2869
2870 \begin_layout Standard
2871 111
2872 \end_layout
2873
2874 \end_inset
2875 </cell>
2876 </row>
2877 <row>
2878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2879 \begin_inset Text
2880
2881 \begin_layout Standard
2882
2883 \series bold
2884 Concli
2885 \end_layout
2886
2887 \end_inset
2888 </cell>
2889 <cell alignment="center" valignment="top" topline="true" usebox="none">
2890 \begin_inset Text
2891
2892 \begin_layout Standard
2893 Gianfranco
2894 \end_layout
2895
2896 \end_inset
2897 </cell>
2898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2899 \begin_inset Text
2900
2901 \begin_layout Standard
2902 111
2903 \end_layout
2904
2905 \end_inset
2906 </cell>
2907 </row>
2908 <row>
2909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2910 \begin_inset Text
2911
2912 \begin_layout Standard
2913
2914 \series bold
2915 Dal Bosco
2916 \end_layout
2917
2918 \end_inset
2919 </cell>
2920 <cell alignment="center" valignment="top" topline="true" usebox="none">
2921 \begin_inset Text
2922
2923 \begin_layout Standard
2924 Carolina
2925 \end_layout
2926
2927 \end_inset
2928 </cell>
2929 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2930 \begin_inset Text
2931
2932 \begin_layout Standard
2933 111
2934 \end_layout
2935
2936 \end_inset
2937 </cell>
2938 </row>
2939 <row>
2940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2941 \begin_inset Text
2942
2943 \begin_layout Standard
2944
2945 \series bold
2946 Dalpiaz
2947 \end_layout
2948
2949 \end_inset
2950 </cell>
2951 <cell alignment="center" valignment="top" topline="true" usebox="none">
2952 \begin_inset Text
2953
2954 \begin_layout Standard
2955 Annamaria
2956 \end_layout
2957
2958 \end_inset
2959 </cell>
2960 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2961 \begin_inset Text
2962
2963 \begin_layout Standard
2964 111
2965 \end_layout
2966
2967 \end_inset
2968 </cell>
2969 </row>
2970 <row>
2971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2972 \begin_inset Text
2973
2974 \begin_layout Standard
2975
2976 \series bold
2977 Feliciello
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 <cell alignment="center" valignment="top" topline="true" usebox="none">
2983 \begin_inset Text
2984
2985 \begin_layout Standard
2986 Domenico
2987 \end_layout
2988
2989 \end_inset
2990 </cell>
2991 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2992 \begin_inset Text
2993
2994 \begin_layout Standard
2995 111
2996 \end_layout
2997
2998 \end_inset
2999 </cell>
3000 </row>
3001 <row>
3002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3003 \begin_inset Text
3004
3005 \begin_layout Standard
3006
3007 \series bold
3008 Focarelli
3009 \end_layout
3010
3011 \end_inset
3012 </cell>
3013 <cell alignment="center" valignment="top" topline="true" usebox="none">
3014 \begin_inset Text
3015
3016 \begin_layout Standard
3017 Paola
3018 \end_layout
3019
3020 \end_inset
3021 </cell>
3022 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3023 \begin_inset Text
3024
3025 \begin_layout Standard
3026 111
3027 \end_layout
3028
3029 \end_inset
3030 </cell>
3031 </row>
3032 <row>
3033 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3034 \begin_inset Text
3035
3036 \begin_layout Standard
3037
3038 \series bold
3039 Galletti
3040 \end_layout
3041
3042 \end_inset
3043 </cell>
3044 <cell alignment="center" valignment="top" topline="true" usebox="none">
3045 \begin_inset Text
3046
3047 \begin_layout Standard
3048 Oreste
3049 \end_layout
3050
3051 \end_inset
3052 </cell>
3053 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3054 \begin_inset Text
3055
3056 \begin_layout Standard
3057 111
3058 \end_layout
3059
3060 \end_inset
3061 </cell>
3062 </row>
3063 <row>
3064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3065 \begin_inset Text
3066
3067 \begin_layout Standard
3068
3069 \series bold
3070 Gasparini
3071 \end_layout
3072
3073 \end_inset
3074 </cell>
3075 <cell alignment="center" valignment="top" topline="true" usebox="none">
3076 \begin_inset Text
3077
3078 \begin_layout Standard
3079 Franca
3080 \end_layout
3081
3082 \end_inset
3083 </cell>
3084 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3085 \begin_inset Text
3086
3087 \begin_layout Standard
3088 111
3089 \end_layout
3090
3091 \end_inset
3092 </cell>
3093 </row>
3094 <row>
3095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3096 \begin_inset Text
3097
3098 \begin_layout Standard
3099
3100 \series bold
3101 Rizzardi
3102 \end_layout
3103
3104 \end_inset
3105 </cell>
3106 <cell alignment="center" valignment="top" topline="true" usebox="none">
3107 \begin_inset Text
3108
3109 \begin_layout Standard
3110 Paola
3111 \end_layout
3112
3113 \end_inset
3114 </cell>
3115 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3116 \begin_inset Text
3117
3118 \begin_layout Standard
3119 111
3120 \end_layout
3121
3122 \end_inset
3123 </cell>
3124 </row>
3125 <row>
3126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3127 \begin_inset Text
3128
3129 \begin_layout Standard
3130
3131 \series bold
3132 Lassini
3133 \end_layout
3134
3135 \end_inset
3136 </cell>
3137 <cell alignment="center" valignment="top" topline="true" usebox="none">
3138 \begin_inset Text
3139
3140 \begin_layout Standard
3141 Giancarlo
3142 \end_layout
3143
3144 \end_inset
3145 </cell>
3146 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3147 \begin_inset Text
3148
3149 \begin_layout Standard
3150 111
3151 \end_layout
3152
3153 \end_inset
3154 </cell>
3155 </row>
3156 <row>
3157 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3158 \begin_inset Text
3159
3160 \begin_layout Standard
3161
3162 \series bold
3163 Malfatti
3164 \end_layout
3165
3166 \end_inset
3167 </cell>
3168 <cell alignment="center" valignment="top" topline="true" usebox="none">
3169 \begin_inset Text
3170
3171 \begin_layout Standard
3172 Luciano
3173 \end_layout
3174
3175 \end_inset
3176 </cell>
3177 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3178 \begin_inset Text
3179
3180 \begin_layout Standard
3181 111
3182 \end_layout
3183
3184 \end_inset
3185 </cell>
3186 </row>
3187 <row>
3188 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3189 \begin_inset Text
3190
3191 \begin_layout Standard
3192
3193 \series bold
3194 Malfatti
3195 \end_layout
3196
3197 \end_inset
3198 </cell>
3199 <cell alignment="center" valignment="top" topline="true" usebox="none">
3200 \begin_inset Text
3201
3202 \begin_layout Standard
3203 Valeriano
3204 \end_layout
3205
3206 \end_inset
3207 </cell>
3208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3209 \begin_inset Text
3210
3211 \begin_layout Standard
3212 111
3213 \end_layout
3214
3215 \end_inset
3216 </cell>
3217 </row>
3218 <row>
3219 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3220 \begin_inset Text
3221
3222 \begin_layout Standard
3223
3224 \series bold
3225 Meneguzzo
3226 \end_layout
3227
3228 \end_inset
3229 </cell>
3230 <cell alignment="center" valignment="top" topline="true" usebox="none">
3231 \begin_inset Text
3232
3233 \begin_layout Standard
3234 Roberto
3235 \end_layout
3236
3237 \end_inset
3238 </cell>
3239 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3240 \begin_inset Text
3241
3242 \begin_layout Standard
3243 111
3244 \end_layout
3245
3246 \end_inset
3247 </cell>
3248 </row>
3249 <row>
3250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3251 \begin_inset Text
3252
3253 \begin_layout Standard
3254
3255 \series bold
3256 Mezzadra
3257 \end_layout
3258
3259 \end_inset
3260 </cell>
3261 <cell alignment="center" valignment="top" topline="true" usebox="none">
3262 \begin_inset Text
3263
3264 \begin_layout Standard
3265 Roberto
3266 \end_layout
3267
3268 \end_inset
3269 </cell>
3270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3271 \begin_inset Text
3272
3273 \begin_layout Standard
3274 111
3275 \end_layout
3276
3277 \end_inset
3278 </cell>
3279 </row>
3280 <row>
3281 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3282 \begin_inset Text
3283
3284 \begin_layout Standard
3285
3286 \series bold
3287 Pirpamer
3288 \end_layout
3289
3290 \end_inset
3291 </cell>
3292 <cell alignment="center" valignment="top" topline="true" usebox="none">
3293 \begin_inset Text
3294
3295 \begin_layout Standard
3296 Erich
3297 \end_layout
3298
3299 \end_inset
3300 </cell>
3301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3302 \begin_inset Text
3303
3304 \begin_layout Standard
3305 111
3306 \end_layout
3307
3308 \end_inset
3309 </cell>
3310 </row>
3311 <row>
3312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3313 \begin_inset Text
3314
3315 \begin_layout Standard
3316
3317 \series bold
3318 Pochiesa
3319 \end_layout
3320
3321 \end_inset
3322 </cell>
3323 <cell alignment="center" valignment="top" topline="true" usebox="none">
3324 \begin_inset Text
3325
3326 \begin_layout Standard
3327 Paolo
3328 \end_layout
3329
3330 \end_inset
3331 </cell>
3332 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3333 \begin_inset Text
3334
3335 \begin_layout Standard
3336 111, 222
3337 \end_layout
3338
3339 \end_inset
3340 </cell>
3341 </row>
3342 <row>
3343 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3344 \begin_inset Text
3345
3346 \begin_layout Standard
3347
3348 \series bold
3349 Radina
3350 \end_layout
3351
3352 \end_inset
3353 </cell>
3354 <cell alignment="center" valignment="top" topline="true" usebox="none">
3355 \begin_inset Text
3356
3357 \begin_layout Standard
3358 Claudio
3359 \end_layout
3360
3361 \end_inset
3362 </cell>
3363 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3364 \begin_inset Text
3365
3366 \begin_layout Standard
3367 111
3368 \end_layout
3369
3370 \end_inset
3371 </cell>
3372 </row>
3373 <row>
3374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3375 \begin_inset Text
3376
3377 \begin_layout Standard
3378
3379 \series bold
3380 Stuffer
3381 \end_layout
3382
3383 \end_inset
3384 </cell>
3385 <cell alignment="center" valignment="top" topline="true" usebox="none">
3386 \begin_inset Text
3387
3388 \begin_layout Standard
3389 Oskar
3390 \end_layout
3391
3392 \end_inset
3393 </cell>
3394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3395 \begin_inset Text
3396
3397 \begin_layout Standard
3398 111
3399 \end_layout
3400
3401 \end_inset
3402 </cell>
3403 </row>
3404 <row>
3405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3406 \begin_inset Text
3407
3408 \begin_layout Standard
3409
3410 \series bold
3411 Tacchelli
3412 \end_layout
3413
3414 \end_inset
3415 </cell>
3416 <cell alignment="center" valignment="top" topline="true" usebox="none">
3417 \begin_inset Text
3418
3419 \begin_layout Standard
3420 Ugo
3421 \end_layout
3422
3423 \end_inset
3424 </cell>
3425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3426 \begin_inset Text
3427
3428 \begin_layout Standard
3429 111
3430 \end_layout
3431
3432 \end_inset
3433 </cell>
3434 </row>
3435 <row>
3436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3437 \begin_inset Text
3438
3439 \begin_layout Standard
3440
3441 \series bold
3442 Tezzele
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 <cell alignment="center" valignment="top" topline="true" usebox="none">
3448 \begin_inset Text
3449
3450 \begin_layout Standard
3451 Margit
3452 \end_layout
3453
3454 \end_inset
3455 </cell>
3456 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3457 \begin_inset Text
3458
3459 \begin_layout Standard
3460 111
3461 \end_layout
3462
3463 \end_inset
3464 </cell>
3465 </row>
3466 <row>
3467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3468 \begin_inset Text
3469
3470 \begin_layout Standard
3471
3472 \series bold
3473 Unterkalmsteiner
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 <cell alignment="center" valignment="top" topline="true" usebox="none">
3479 \begin_inset Text
3480
3481 \begin_layout Standard
3482 Frieda
3483 \end_layout
3484
3485 \end_inset
3486 </cell>
3487 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3488 \begin_inset Text
3489
3490 \begin_layout Standard
3491 111
3492 \end_layout
3493
3494 \end_inset
3495 </cell>
3496 </row>
3497 <row>
3498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3499 \begin_inset Text
3500
3501 \begin_layout Standard
3502
3503 \series bold
3504 Vieider
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 <cell alignment="center" valignment="top" topline="true" usebox="none">
3510 \begin_inset Text
3511
3512 \begin_layout Standard
3513 Hilde
3514 \end_layout
3515
3516 \end_inset
3517 </cell>
3518 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3519 \begin_inset Text
3520
3521 \begin_layout Standard
3522 111
3523 \end_layout
3524
3525 \end_inset
3526 </cell>
3527 </row>
3528 <row>
3529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3530 \begin_inset Text
3531
3532 \begin_layout Standard
3533
3534 \series bold
3535 Vigna
3536 \end_layout
3537
3538 \end_inset
3539 </cell>
3540 <cell alignment="center" valignment="top" topline="true" usebox="none">
3541 \begin_inset Text
3542
3543 \begin_layout Standard
3544 Jürgen
3545 \end_layout
3546
3547 \end_inset
3548 </cell>
3549 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3550 \begin_inset Text
3551
3552 \begin_layout Standard
3553 111
3554 \end_layout
3555
3556 \end_inset
3557 </cell>
3558 </row>
3559 <row>
3560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3561 \begin_inset Text
3562
3563 \begin_layout Standard
3564
3565 \series bold
3566 Weber
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 <cell alignment="center" valignment="top" topline="true" usebox="none">
3572 \begin_inset Text
3573
3574 \begin_layout Standard
3575 Maurizio
3576 \end_layout
3577
3578 \end_inset
3579 </cell>
3580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3581 \begin_inset Text
3582
3583 \begin_layout Standard
3584 111
3585 \end_layout
3586
3587 \end_inset
3588 </cell>
3589 </row>
3590 <row bottomline="true">
3591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3592 \begin_inset Text
3593
3594 \begin_layout Standard
3595
3596 \series bold
3597 Winkler
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 <cell alignment="center" valignment="top" topline="true" usebox="none">
3603 \begin_inset Text
3604
3605 \begin_layout Standard
3606 Franz
3607 \end_layout
3608
3609 \end_inset
3610 </cell>
3611 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3612 \begin_inset Text
3613
3614 \begin_layout Standard
3615 111
3616 \end_layout
3617
3618 \end_inset
3619 </cell>
3620 </row>
3621 <row bottomline="true">
3622 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3623 \begin_inset Text
3624
3625 \begin_layout Standard
3626  
3627 \end_layout
3628
3629 \end_inset
3630 </cell>
3631 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3632 \begin_inset Text
3633
3634 \begin_layout Standard
3635
3636 \end_layout
3637
3638 \end_inset
3639 </cell>
3640 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3641 \begin_inset Text
3642
3643 \begin_layout Standard
3644
3645 \end_layout
3646
3647 \end_inset
3648 </cell>
3649 </row>
3650 <row>
3651 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3652 \begin_inset Text
3653
3654 \begin_layout Standard
3655
3656 \series bold
3657 Annovi
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 <cell alignment="center" valignment="top" topline="true" usebox="none">
3663 \begin_inset Text
3664
3665 \begin_layout Standard
3666 Silvia
3667 \end_layout
3668
3669 \end_inset
3670 </cell>
3671 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3672 \begin_inset Text
3673
3674 \begin_layout Standard
3675 555
3676 \end_layout
3677
3678 \end_inset
3679 </cell>
3680 </row>
3681 <row>
3682 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3683 \begin_inset Text
3684
3685 \begin_layout Standard
3686
3687 \series bold
3688 Bertoli
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 <cell alignment="center" valignment="top" topline="true" usebox="none">
3694 \begin_inset Text
3695
3696 \begin_layout Standard
3697 Stefano
3698 \end_layout
3699
3700 \end_inset
3701 </cell>
3702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3703 \begin_inset Text
3704
3705 \begin_layout Standard
3706 555
3707 \end_layout
3708
3709 \end_inset
3710 </cell>
3711 </row>
3712 <row>
3713 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3714 \begin_inset Text
3715
3716 \begin_layout Standard
3717
3718 \series bold
3719 Bozzi
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 <cell alignment="center" valignment="top" topline="true" usebox="none">
3725 \begin_inset Text
3726
3727 \begin_layout Standard
3728 Walter
3729 \end_layout
3730
3731 \end_inset
3732 </cell>
3733 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3734 \begin_inset Text
3735
3736 \begin_layout Standard
3737 555
3738 \end_layout
3739
3740 \end_inset
3741 </cell>
3742 </row>
3743 <row>
3744 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3745 \begin_inset Text
3746
3747 \begin_layout Standard
3748
3749 \series bold
3750 Cachia
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 <cell alignment="center" valignment="top" topline="true" usebox="none">
3756 \begin_inset Text
3757
3758 \begin_layout Standard
3759 Maria
3760 \end_layout
3761
3762 \end_inset
3763 </cell>
3764 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3765 \begin_inset Text
3766
3767 \begin_layout Standard
3768 555
3769 \end_layout
3770
3771 \end_inset
3772 </cell>
3773 </row>
3774 <row>
3775 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3776 \begin_inset Text
3777
3778 \begin_layout Standard
3779
3780 \series bold
3781 Cachia
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 <cell alignment="center" valignment="top" topline="true" usebox="none">
3787 \begin_inset Text
3788
3789 \begin_layout Standard
3790 Maurizio
3791 \end_layout
3792
3793 \end_inset
3794 </cell>
3795 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3796 \begin_inset Text
3797
3798 \begin_layout Standard
3799 555
3800 \end_layout
3801
3802 \end_inset
3803 </cell>
3804 </row>
3805 <row>
3806 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3807 \begin_inset Text
3808
3809 \begin_layout Standard
3810
3811 \series bold
3812 Cinquemani
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 <cell alignment="center" valignment="top" topline="true" usebox="none">
3818 \begin_inset Text
3819
3820 \begin_layout Standard
3821 Giusi
3822 \end_layout
3823
3824 \end_inset
3825 </cell>
3826 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3827 \begin_inset Text
3828
3829 \begin_layout Standard
3830 555
3831 \end_layout
3832
3833 \end_inset
3834 </cell>
3835 </row>
3836 <row>
3837 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3838 \begin_inset Text
3839
3840 \begin_layout Standard
3841
3842 \series bold
3843 Colin
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 <cell alignment="center" valignment="top" topline="true" usebox="none">
3849 \begin_inset Text
3850
3851 \begin_layout Standard
3852 Bernard
3853 \end_layout
3854
3855 \end_inset
3856 </cell>
3857 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3858 \begin_inset Text
3859
3860 \begin_layout Standard
3861 555
3862 \end_layout
3863
3864 \end_inset
3865 </cell>
3866 </row>
3867 <row>
3868 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3869 \begin_inset Text
3870
3871 \begin_layout Standard
3872
3873 \series bold
3874 Concli
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 <cell alignment="center" valignment="top" topline="true" usebox="none">
3880 \begin_inset Text
3881
3882 \begin_layout Standard
3883 Gianfranco
3884 \end_layout
3885
3886 \end_inset
3887 </cell>
3888 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3889 \begin_inset Text
3890
3891 \begin_layout Standard
3892 555
3893 \end_layout
3894
3895 \end_inset
3896 </cell>
3897 </row>
3898 <row>
3899 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3900 \begin_inset Text
3901
3902 \begin_layout Standard
3903
3904 \series bold
3905 Dal Bosco
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 <cell alignment="center" valignment="top" topline="true" usebox="none">
3911 \begin_inset Text
3912
3913 \begin_layout Standard
3914 Carolina
3915 \end_layout
3916
3917 \end_inset
3918 </cell>
3919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3920 \begin_inset Text
3921
3922 \begin_layout Standard
3923 555
3924 \end_layout
3925
3926 \end_inset
3927 </cell>
3928 </row>
3929 <row>
3930 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3931 \begin_inset Text
3932
3933 \begin_layout Standard
3934
3935 \series bold
3936 Dalpiaz
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 <cell alignment="center" valignment="top" topline="true" usebox="none">
3942 \begin_inset Text
3943
3944 \begin_layout Standard
3945 Annamaria
3946 \end_layout
3947
3948 \end_inset
3949 </cell>
3950 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3951 \begin_inset Text
3952
3953 \begin_layout Standard
3954 555
3955 \end_layout
3956
3957 \end_inset
3958 </cell>
3959 </row>
3960 <row>
3961 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3962 \begin_inset Text
3963
3964 \begin_layout Standard
3965
3966 \series bold
3967 Feliciello
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 <cell alignment="center" valignment="top" topline="true" usebox="none">
3973 \begin_inset Text
3974
3975 \begin_layout Standard
3976 Domenico
3977 \end_layout
3978
3979 \end_inset
3980 </cell>
3981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3982 \begin_inset Text
3983
3984 \begin_layout Standard
3985 555
3986 \end_layout
3987
3988 \end_inset
3989 </cell>
3990 </row>
3991 <row>
3992 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3993 \begin_inset Text
3994
3995 \begin_layout Standard
3996
3997 \series bold
3998 Focarelli
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 <cell alignment="center" valignment="top" topline="true" usebox="none">
4004 \begin_inset Text
4005
4006 \begin_layout Standard
4007 Paola
4008 \end_layout
4009
4010 \end_inset
4011 </cell>
4012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4013 \begin_inset Text
4014
4015 \begin_layout Standard
4016 555
4017 \end_layout
4018
4019 \end_inset
4020 </cell>
4021 </row>
4022 <row>
4023 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4024 \begin_inset Text
4025
4026 \begin_layout Standard
4027
4028 \series bold
4029 Galletti
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 <cell alignment="center" valignment="top" topline="true" usebox="none">
4035 \begin_inset Text
4036
4037 \begin_layout Standard
4038 Oreste
4039 \end_layout
4040
4041 \end_inset
4042 </cell>
4043 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4044 \begin_inset Text
4045
4046 \begin_layout Standard
4047 555
4048 \end_layout
4049
4050 \end_inset
4051 </cell>
4052 </row>
4053 <row>
4054 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4055 \begin_inset Text
4056
4057 \begin_layout Standard
4058
4059 \series bold
4060 Gasparini
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 <cell alignment="center" valignment="top" topline="true" usebox="none">
4066 \begin_inset Text
4067
4068 \begin_layout Standard
4069 Franca
4070 \end_layout
4071
4072 \end_inset
4073 </cell>
4074 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4075 \begin_inset Text
4076
4077 \begin_layout Standard
4078 555
4079 \end_layout
4080
4081 \end_inset
4082 </cell>
4083 </row>
4084 <row>
4085 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4086 \begin_inset Text
4087
4088 \begin_layout Standard
4089
4090 \series bold
4091 Rizzardi
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 <cell alignment="center" valignment="top" topline="true" usebox="none">
4097 \begin_inset Text
4098
4099 \begin_layout Standard
4100 Paola
4101 \end_layout
4102
4103 \end_inset
4104 </cell>
4105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4106 \begin_inset Text
4107
4108 \begin_layout Standard
4109 555
4110 \end_layout
4111
4112 \end_inset
4113 </cell>
4114 </row>
4115 <row>
4116 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4117 \begin_inset Text
4118
4119 \begin_layout Standard
4120
4121 \series bold
4122 Lassini
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 <cell alignment="center" valignment="top" topline="true" usebox="none">
4128 \begin_inset Text
4129
4130 \begin_layout Standard
4131 Giancarlo
4132 \end_layout
4133
4134 \end_inset
4135 </cell>
4136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4137 \begin_inset Text
4138
4139 \begin_layout Standard
4140 555
4141 \end_layout
4142
4143 \end_inset
4144 </cell>
4145 </row>
4146 <row>
4147 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4148 \begin_inset Text
4149
4150 \begin_layout Standard
4151
4152 \series bold
4153 Malfatti
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 <cell alignment="center" valignment="top" topline="true" usebox="none">
4159 \begin_inset Text
4160
4161 \begin_layout Standard
4162 Luciano
4163 \end_layout
4164
4165 \end_inset
4166 </cell>
4167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4168 \begin_inset Text
4169
4170 \begin_layout Standard
4171 555
4172 \end_layout
4173
4174 \end_inset
4175 </cell>
4176 </row>
4177 <row>
4178 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4179 \begin_inset Text
4180
4181 \begin_layout Standard
4182
4183 \series bold
4184 Malfatti
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 <cell alignment="center" valignment="top" topline="true" usebox="none">
4190 \begin_inset Text
4191
4192 \begin_layout Standard
4193 Valeriano
4194 \end_layout
4195
4196 \end_inset
4197 </cell>
4198 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4199 \begin_inset Text
4200
4201 \begin_layout Standard
4202 555
4203 \end_layout
4204
4205 \end_inset
4206 </cell>
4207 </row>
4208 <row>
4209 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4210 \begin_inset Text
4211
4212 \begin_layout Standard
4213
4214 \series bold
4215 Meneguzzo
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 <cell alignment="center" valignment="top" topline="true" usebox="none">
4221 \begin_inset Text
4222
4223 \begin_layout Standard
4224 Roberto
4225 \end_layout
4226
4227 \end_inset
4228 </cell>
4229 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4230 \begin_inset Text
4231
4232 \begin_layout Standard
4233 555
4234 \end_layout
4235
4236 \end_inset
4237 </cell>
4238 </row>
4239 <row>
4240 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4241 \begin_inset Text
4242
4243 \begin_layout Standard
4244
4245 \series bold
4246 Mezzadra
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 <cell alignment="center" valignment="top" topline="true" usebox="none">
4252 \begin_inset Text
4253
4254 \begin_layout Standard
4255 Roberto
4256 \end_layout
4257
4258 \end_inset
4259 </cell>
4260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4261 \begin_inset Text
4262
4263 \begin_layout Standard
4264 555
4265 \end_layout
4266
4267 \end_inset
4268 </cell>
4269 </row>
4270 <row>
4271 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4272 \begin_inset Text
4273
4274 \begin_layout Standard
4275
4276 \series bold
4277 Pirpamer
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 <cell alignment="center" valignment="top" topline="true" usebox="none">
4283 \begin_inset Text
4284
4285 \begin_layout Standard
4286 Erich
4287 \end_layout
4288
4289 \end_inset
4290 </cell>
4291 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4292 \begin_inset Text
4293
4294 \begin_layout Standard
4295 555
4296 \end_layout
4297
4298 \end_inset
4299 </cell>
4300 </row>
4301 <row>
4302 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4303 \begin_inset Text
4304
4305 \begin_layout Standard
4306
4307 \series bold
4308 Pochiesa
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 <cell alignment="center" valignment="top" topline="true" usebox="none">
4314 \begin_inset Text
4315
4316 \begin_layout Standard
4317 Paolo
4318 \end_layout
4319
4320 \end_inset
4321 </cell>
4322 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4323 \begin_inset Text
4324
4325 \begin_layout Standard
4326 555, 222
4327 \end_layout
4328
4329 \end_inset
4330 </cell>
4331 </row>
4332 <row>
4333 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4334 \begin_inset Text
4335
4336 \begin_layout Standard
4337
4338 \series bold
4339 Radina
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 <cell alignment="center" valignment="top" topline="true" usebox="none">
4345 \begin_inset Text
4346
4347 \begin_layout Standard
4348 Claudio
4349 \end_layout
4350
4351 \end_inset
4352 </cell>
4353 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4354 \begin_inset Text
4355
4356 \begin_layout Standard
4357 555
4358 \end_layout
4359
4360 \end_inset
4361 </cell>
4362 </row>
4363 <row>
4364 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4365 \begin_inset Text
4366
4367 \begin_layout Standard
4368
4369 \series bold
4370 Stuffer
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 <cell alignment="center" valignment="top" topline="true" usebox="none">
4376 \begin_inset Text
4377
4378 \begin_layout Standard
4379 Oskar
4380 \end_layout
4381
4382 \end_inset
4383 </cell>
4384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4385 \begin_inset Text
4386
4387 \begin_layout Standard
4388 555
4389 \end_layout
4390
4391 \end_inset
4392 </cell>
4393 </row>
4394 <row>
4395 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4396 \begin_inset Text
4397
4398 \begin_layout Standard
4399
4400 \series bold
4401 Tacchelli
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 <cell alignment="center" valignment="top" topline="true" usebox="none">
4407 \begin_inset Text
4408
4409 \begin_layout Standard
4410 Ugo
4411 \end_layout
4412
4413 \end_inset
4414 </cell>
4415 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4416 \begin_inset Text
4417
4418 \begin_layout Standard
4419 555
4420 \end_layout
4421
4422 \end_inset
4423 </cell>
4424 </row>
4425 <row>
4426 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4427 \begin_inset Text
4428
4429 \begin_layout Standard
4430
4431 \series bold
4432 Tezzele
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 <cell alignment="center" valignment="top" topline="true" usebox="none">
4438 \begin_inset Text
4439
4440 \begin_layout Standard
4441 Margit
4442 \end_layout
4443
4444 \end_inset
4445 </cell>
4446 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4447 \begin_inset Text
4448
4449 \begin_layout Standard
4450 555
4451 \end_layout
4452
4453 \end_inset
4454 </cell>
4455 </row>
4456 <row>
4457 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4458 \begin_inset Text
4459
4460 \begin_layout Standard
4461
4462 \series bold
4463 Unterkalmsteiner
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 <cell alignment="center" valignment="top" topline="true" usebox="none">
4469 \begin_inset Text
4470
4471 \begin_layout Standard
4472 Frieda
4473 \end_layout
4474
4475 \end_inset
4476 </cell>
4477 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4478 \begin_inset Text
4479
4480 \begin_layout Standard
4481 555
4482 \end_layout
4483
4484 \end_inset
4485 </cell>
4486 </row>
4487 <row>
4488 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4489 \begin_inset Text
4490
4491 \begin_layout Standard
4492
4493 \series bold
4494 Vieider
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 <cell alignment="center" valignment="top" topline="true" usebox="none">
4500 \begin_inset Text
4501
4502 \begin_layout Standard
4503 Hilde
4504 \end_layout
4505
4506 \end_inset
4507 </cell>
4508 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4509 \begin_inset Text
4510
4511 \begin_layout Standard
4512 555
4513 \end_layout
4514
4515 \end_inset
4516 </cell>
4517 </row>
4518 <row>
4519 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4520 \begin_inset Text
4521
4522 \begin_layout Standard
4523
4524 \series bold
4525 Vigna
4526 \end_layout
4527
4528 \end_inset
4529 </cell>
4530 <cell alignment="center" valignment="top" topline="true" usebox="none">
4531 \begin_inset Text
4532
4533 \begin_layout Standard
4534 Jürgen
4535 \end_layout
4536
4537 \end_inset
4538 </cell>
4539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4540 \begin_inset Text
4541
4542 \begin_layout Standard
4543 999
4544 \end_layout
4545
4546 \end_inset
4547 </cell>
4548 </row>
4549 <row>
4550 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4551 \begin_inset Text
4552
4553 \begin_layout Standard
4554
4555 \series bold
4556 Weber
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 <cell alignment="center" valignment="top" topline="true" usebox="none">
4562 \begin_inset Text
4563
4564 \begin_layout Standard
4565 Maurizio
4566 \end_layout
4567
4568 \end_inset
4569 </cell>
4570 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4571 \begin_inset Text
4572
4573 \begin_layout Standard
4574 555
4575 \end_layout
4576
4577 \end_inset
4578 </cell>
4579 </row>
4580 <row bottomline="true">
4581 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4582 \begin_inset Text
4583
4584 \begin_layout Standard
4585
4586 \series bold
4587 Winkler
4588 \end_layout
4589
4590 \end_inset
4591 </cell>
4592 <cell alignment="center" valignment="top" topline="true" usebox="none">
4593 \begin_inset Text
4594
4595 \begin_layout Standard
4596 Franz
4597 \end_layout
4598
4599 \end_inset
4600 </cell>
4601 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4602 \begin_inset Text
4603
4604 \begin_layout Standard
4605 555
4606 \end_layout
4607
4608 \end_inset
4609 </cell>
4610 </row>
4611 <row bottomline="true" endlastfoot="true">
4612 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4613 \begin_inset Text
4614
4615 \begin_layout Standard
4616 end
4617 \end_layout
4618
4619 \end_inset
4620 </cell>
4621 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4622 \begin_inset Text
4623
4624 \begin_layout Standard
4625
4626 \end_layout
4627
4628 \end_inset
4629 </cell>
4630 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4631 \begin_inset Text
4632
4633 \begin_layout Standard
4634
4635 \end_layout
4636
4637 \end_inset
4638 </cell>
4639 </row>
4640 </lyxtabular>
4641
4642 \end_inset
4643
4644
4645 \begin_inset ERT
4646 status collapsed
4647
4648 \begin_layout Standard
4649
4650
4651 \backslash
4652 addtocounter{table}{-1}
4653 \end_layout
4654
4655 \end_inset
4656
4657
4658 \begin_inset Note Note
4659 status collapsed
4660
4661 \begin_layout Standard
4662 See greyed-out note in section\InsetSpace ~
4663
4664 \begin_inset LatexCommand ref
4665 reference "sub:Longtable-Captions"
4666
4667 \end_inset
4668
4669  for an explanation of this command.
4670 \end_layout
4671
4672 \end_inset
4673
4674
4675 \end_layout
4676
4677 \begin_layout Subsection
4678 Footnotes in Longtables
4679 \begin_inset LatexCommand label
4680 name "sub:Footnotes-in-Longtables"
4681
4682 \end_inset
4683
4684
4685 \begin_inset LatexCommand index
4686 name "Longtables ! Footnotes"
4687
4688 \end_inset
4689
4690
4691 \end_layout
4692
4693 \begin_layout Standard
4694 Footnotes can be inserted to every longtable cell.
4695  They appear at the bottom of the page where the table cell with the footnote
4696  appears.
4697  Table\InsetSpace ~
4698
4699 \begin_inset LatexCommand ref
4700 reference "tab:DiffCaptions"
4701
4702 \end_inset
4703
4704  has for example a footnote.
4705 \end_layout
4706
4707 \begin_layout Subsection
4708 Longtable Alignment
4709 \begin_inset LatexCommand index
4710 name "Longtables ! Alignment"
4711
4712 \end_inset
4713
4714
4715 \end_layout
4716
4717 \begin_layout Standard
4718 Longtables are by default centered.
4719  In contrary to the alignment of the table columns and row, the table alignment
4720  can currently not be changed in the table dialog.
4721  To change the alignment of longtables you have to change the value of the
4722  lengths 
4723 \series bold
4724
4725 \backslash
4726 LTleft 
4727 \series default
4728 and 
4729 \series bold
4730
4731 \backslash
4732 LTright
4733 \series default
4734  by inserting this line as TeX-Code before the corresponding longtable:
4735 \end_layout
4736
4737 \begin_layout Standard
4738
4739 \series bold
4740
4741 \backslash
4742 setlength{
4743 \backslash
4744 LTleft}{value}
4745 \end_layout
4746
4747 \begin_layout Standard
4748 Where the value can have any of the units listed in Table\InsetSpace ~
4749
4750 \begin_inset LatexCommand ref
4751 reference "tab:Units"
4752
4753 \end_inset
4754
4755 .
4756  
4757 \series bold
4758
4759 \backslash
4760 LTleft
4761 \series default
4762  controls the horizontal distance from the left page border to the longtable,
4763  
4764 \series bold
4765
4766 \backslash
4767 LTright
4768 \series default
4769  the distance from the right side.
4770  The default value for both lengths is 
4771 \series bold
4772
4773 \backslash
4774 fill
4775 \series default
4776 , which is in this case the same as an horizontal fill in LyX.
4777 \end_layout
4778
4779 \begin_layout Standard
4780 The following longtable was left-aligned by setting 
4781 \series bold
4782
4783 \backslash
4784 LTleft
4785 \series default
4786  to 0\InsetSpace \thinspace{}
4787 pt.
4788 \begin_inset ERT
4789 status collapsed
4790
4791 \begin_layout Standard
4792
4793
4794 \backslash
4795 setlength{
4796 \backslash
4797 LTleft}{0pt}
4798 \end_layout
4799
4800 \end_inset
4801
4802
4803 \end_layout
4804
4805 \begin_layout Standard
4806 \begin_inset Tabular
4807 <lyxtabular version="3" rows="5" columns="5">
4808 <features islongtable="true">
4809 <column alignment="center" valignment="top" leftline="true" width="0">
4810 <column alignment="center" valignment="top" leftline="true" width="0">
4811 <column alignment="center" valignment="top" leftline="true" width="0">
4812 <column alignment="center" valignment="top" leftline="true" width="0">
4813 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4814 <row topline="true">
4815 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4816 \begin_inset Text
4817
4818 \begin_layout Standard
4819 1
4820 \end_layout
4821
4822 \end_inset
4823 </cell>
4824 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4825 \begin_inset Text
4826
4827 \begin_layout Standard
4828 2
4829 \end_layout
4830
4831 \end_inset
4832 </cell>
4833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4834 \begin_inset Text
4835
4836 \begin_layout Standard
4837 3
4838 \end_layout
4839
4840 \end_inset
4841 </cell>
4842 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4843 \begin_inset Text
4844
4845 \begin_layout Standard
4846 4
4847 \end_layout
4848
4849 \end_inset
4850 </cell>
4851 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4852 \begin_inset Text
4853
4854 \begin_layout Standard
4855 5
4856 \end_layout
4857
4858 \end_inset
4859 </cell>
4860 </row>
4861 <row topline="true">
4862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4863 \begin_inset Text
4864
4865 \begin_layout Standard
4866 asd
4867 \end_layout
4868
4869 \end_inset
4870 </cell>
4871 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4872 \begin_inset Text
4873
4874 \begin_layout Standard
4875 s
4876 \end_layout
4877
4878 \end_inset
4879 </cell>
4880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4881 \begin_inset Text
4882
4883 \begin_layout Standard
4884 s
4885 \end_layout
4886
4887 \end_inset
4888 </cell>
4889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4890 \begin_inset Text
4891
4892 \begin_layout Standard
4893 s
4894 \end_layout
4895
4896 \end_inset
4897 </cell>
4898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4899 \begin_inset Text
4900
4901 \begin_layout Standard
4902 asd
4903 \end_layout
4904
4905 \end_inset
4906 </cell>
4907 </row>
4908 <row topline="true">
4909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4910 \begin_inset Text
4911
4912 \begin_layout Standard
4913 asd
4914 \end_layout
4915
4916 \end_inset
4917 </cell>
4918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4919 \begin_inset Text
4920
4921 \begin_layout Standard
4922 s
4923 \end_layout
4924
4925 \end_inset
4926 </cell>
4927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4928 \begin_inset Text
4929
4930 \begin_layout Standard
4931 s
4932 \end_layout
4933
4934 \end_inset
4935 </cell>
4936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4937 \begin_inset Text
4938
4939 \begin_layout Standard
4940 s
4941 \end_layout
4942
4943 \end_inset
4944 </cell>
4945 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4946 \begin_inset Text
4947
4948 \begin_layout Standard
4949 asd
4950 \end_layout
4951
4952 \end_inset
4953 </cell>
4954 </row>
4955 <row topline="true">
4956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4957 \begin_inset Text
4958
4959 \begin_layout Standard
4960 asd
4961 \end_layout
4962
4963 \end_inset
4964 </cell>
4965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4966 \begin_inset Text
4967
4968 \begin_layout Standard
4969 s
4970 \end_layout
4971
4972 \end_inset
4973 </cell>
4974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4975 \begin_inset Text
4976
4977 \begin_layout Standard
4978 s
4979 \end_layout
4980
4981 \end_inset
4982 </cell>
4983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4984 \begin_inset Text
4985
4986 \begin_layout Standard
4987 s
4988 \end_layout
4989
4990 \end_inset
4991 </cell>
4992 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4993 \begin_inset Text
4994
4995 \begin_layout Standard
4996 asd
4997 \end_layout
4998
4999 \end_inset
5000 </cell>
5001 </row>
5002 <row topline="true" bottomline="true">
5003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5004 \begin_inset Text
5005
5006 \begin_layout Standard
5007 asd
5008 \end_layout
5009
5010 \end_inset
5011 </cell>
5012 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5013 \begin_inset Text
5014
5015 \begin_layout Standard
5016 asd
5017 \end_layout
5018
5019 \end_inset
5020 </cell>
5021 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5022 \begin_inset Text
5023
5024 \begin_layout Standard
5025 asd
5026 \end_layout
5027
5028 \end_inset
5029 </cell>
5030 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5031 \begin_inset Text
5032
5033 \begin_layout Standard
5034 asd
5035 \end_layout
5036
5037 \end_inset
5038 </cell>
5039 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5040 \begin_inset Text
5041
5042 \begin_layout Standard
5043 asd
5044 \end_layout
5045
5046 \end_inset
5047 </cell>
5048 </row>
5049 </lyxtabular>
5050
5051 \end_inset
5052
5053
5054 \begin_inset ERT
5055 status collapsed
5056
5057 \begin_layout Standard
5058
5059
5060 \backslash
5061 setlength{
5062 \backslash
5063 LTleft}{
5064 \backslash
5065 fill}
5066 \end_layout
5067
5068 \end_inset
5069
5070
5071 \end_layout
5072
5073 \begin_layout Subsection
5074 Longtable Captions
5075 \begin_inset LatexCommand index
5076 name "Longtables ! Captions"
5077
5078 \end_inset
5079
5080
5081 \begin_inset LatexCommand label
5082 name "sub:Longtable-Captions"
5083
5084 \end_inset
5085
5086
5087 \end_layout
5088
5089 \begin_layout Standard
5090 A longtable cannot be put into a table float because floats can only be
5091  on one page but the caption environment of floats can also be used for
5092  longtables.
5093 \end_layout
5094
5095 \begin_layout Standard
5096 As LyX does not yet fully support captions in longtables, a hack is needed
5097  to create them:
5098 \end_layout
5099
5100 \begin_layout Enumerate
5101 Create a longtable
5102 \family sans
5103 .
5104 \end_layout
5105
5106 \begin_layout Enumerate
5107 Mark the first row and disable its upper line.
5108 \end_layout
5109
5110 \begin_layout Enumerate
5111 Insert a caption via the menu 
5112 \family sans
5113 Insert\SpecialChar \menuseparator
5114 Caption
5115 \family default
5116  into the first table cell.
5117 \newline
5118 You can also add a short title for the caption.
5119 \end_layout
5120
5121 \begin_layout Enumerate
5122 Insert a 
5123 \begin_inset Quotes eld
5124 \end_inset
5125
5126
5127 \series bold
5128
5129 \backslash
5130
5131 \backslash
5132 %
5133 \series default
5134
5135 \begin_inset Quotes erd
5136 \end_inset
5137
5138  as TeX-Code behind the caption.
5139 \end_layout
5140
5141 \begin_layout Standard
5142 A short title that will appear in the LOT instead of the full title.
5143  The 
5144 \series bold
5145
5146 \backslash
5147
5148 \backslash
5149 %
5150 \series default
5151  behind the caption omits the vertical lines between the following cells
5152  in the row.
5153  The first table row is now only a dummy row for the caption, the actual
5154  table starts with the second row.
5155 \end_layout
5156
5157 \begin_layout Standard
5158 Here is a short longtable to see how it works:
5159 \end_layout
5160
5161 \begin_layout Standard
5162 \begin_inset Tabular
5163 <lyxtabular version="3" rows="6" columns="5">
5164 <features islongtable="true">
5165 <column alignment="center" valignment="top" leftline="true" width="0">
5166 <column alignment="center" valignment="top" leftline="true" width="0">
5167 <column alignment="center" valignment="top" leftline="true" width="0">
5168 <column alignment="center" valignment="top" leftline="true" width="0">
5169 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5170 <row>
5171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5172 \begin_inset Text
5173
5174 \begin_layout Standard
5175 \begin_inset Caption
5176
5177 \begin_layout Standard
5178 Longtable with caption
5179 \begin_inset OptArg
5180 status open
5181
5182 \begin_layout Standard
5183 Longtable
5184 \end_layout
5185
5186 \end_inset
5187
5188
5189 \end_layout
5190
5191 \end_inset
5192
5193
5194 \begin_inset ERT
5195 status collapsed
5196
5197 \begin_layout Standard
5198
5199
5200 \backslash
5201
5202 \backslash
5203 %
5204 \end_layout
5205
5206 \end_inset
5207
5208
5209 \end_layout
5210
5211 \end_inset
5212 </cell>
5213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5214 \begin_inset Text
5215
5216 \begin_layout Standard
5217
5218 \end_layout
5219
5220 \end_inset
5221 </cell>
5222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5223 \begin_inset Text
5224
5225 \begin_layout Standard
5226
5227 \end_layout
5228
5229 \end_inset
5230 </cell>
5231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5232 \begin_inset Text
5233
5234 \begin_layout Standard
5235
5236 \end_layout
5237
5238 \end_inset
5239 </cell>
5240 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5241 \begin_inset Text
5242
5243 \begin_layout Standard
5244
5245 \end_layout
5246
5247 \end_inset
5248 </cell>
5249 </row>
5250 <row topline="true">
5251 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5252 \begin_inset Text
5253
5254 \begin_layout Standard
5255 1
5256 \end_layout
5257
5258 \end_inset
5259 </cell>
5260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5261 \begin_inset Text
5262
5263 \begin_layout Standard
5264 2
5265 \end_layout
5266
5267 \end_inset
5268 </cell>
5269 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5270 \begin_inset Text
5271
5272 \begin_layout Standard
5273 3
5274 \end_layout
5275
5276 \end_inset
5277 </cell>
5278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5279 \begin_inset Text
5280
5281 \begin_layout Standard
5282 4
5283 \end_layout
5284
5285 \end_inset
5286 </cell>
5287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5288 \begin_inset Text
5289
5290 \begin_layout Standard
5291 5
5292 \end_layout
5293
5294 \end_inset
5295 </cell>
5296 </row>
5297 <row topline="true">
5298 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5299 \begin_inset Text
5300
5301 \begin_layout Standard
5302 asd
5303 \end_layout
5304
5305 \end_inset
5306 </cell>
5307 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5308 \begin_inset Text
5309
5310 \begin_layout Standard
5311 s
5312 \end_layout
5313
5314 \end_inset
5315 </cell>
5316 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5317 \begin_inset Text
5318
5319 \begin_layout Standard
5320 s
5321 \end_layout
5322
5323 \end_inset
5324 </cell>
5325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5326 \begin_inset Text
5327
5328 \begin_layout Standard
5329 s
5330 \end_layout
5331
5332 \end_inset
5333 </cell>
5334 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5335 \begin_inset Text
5336
5337 \begin_layout Standard
5338 asd
5339 \end_layout
5340
5341 \end_inset
5342 </cell>
5343 </row>
5344 <row topline="true">
5345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5346 \begin_inset Text
5347
5348 \begin_layout Standard
5349 asd
5350 \end_layout
5351
5352 \end_inset
5353 </cell>
5354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5355 \begin_inset Text
5356
5357 \begin_layout Standard
5358 s
5359 \end_layout
5360
5361 \end_inset
5362 </cell>
5363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5364 \begin_inset Text
5365
5366 \begin_layout Standard
5367 s
5368 \end_layout
5369
5370 \end_inset
5371 </cell>
5372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5373 \begin_inset Text
5374
5375 \begin_layout Standard
5376 s
5377 \end_layout
5378
5379 \end_inset
5380 </cell>
5381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5382 \begin_inset Text
5383
5384 \begin_layout Standard
5385 asd
5386 \end_layout
5387
5388 \end_inset
5389 </cell>
5390 </row>
5391 <row topline="true">
5392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5393 \begin_inset Text
5394
5395 \begin_layout Standard
5396 asd
5397 \end_layout
5398
5399 \end_inset
5400 </cell>
5401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5402 \begin_inset Text
5403
5404 \begin_layout Standard
5405 s
5406 \end_layout
5407
5408 \end_inset
5409 </cell>
5410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5411 \begin_inset Text
5412
5413 \begin_layout Standard
5414 s
5415 \end_layout
5416
5417 \end_inset
5418 </cell>
5419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5420 \begin_inset Text
5421
5422 \begin_layout Standard
5423 s
5424 \end_layout
5425
5426 \end_inset
5427 </cell>
5428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5429 \begin_inset Text
5430
5431 \begin_layout Standard
5432 asd
5433 \end_layout
5434
5435 \end_inset
5436 </cell>
5437 </row>
5438 <row topline="true" bottomline="true">
5439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5440 \begin_inset Text
5441
5442 \begin_layout Standard
5443 asd
5444 \end_layout
5445
5446 \end_inset
5447 </cell>
5448 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5449 \begin_inset Text
5450
5451 \begin_layout Standard
5452 asd
5453 \end_layout
5454
5455 \end_inset
5456 </cell>
5457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5458 \begin_inset Text
5459
5460 \begin_layout Standard
5461 asd
5462 \end_layout
5463
5464 \end_inset
5465 </cell>
5466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5467 \begin_inset Text
5468
5469 \begin_layout Standard
5470 asd
5471 \end_layout
5472
5473 \end_inset
5474 </cell>
5475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5476 \begin_inset Text
5477
5478 \begin_layout Standard
5479 asd
5480 \end_layout
5481
5482 \end_inset
5483 </cell>
5484 </row>
5485 </lyxtabular>
5486
5487 \end_inset
5488
5489
5490 \end_layout
5491
5492 \begin_layout Standard
5493 \begin_inset VSpace medskip
5494 \end_inset
5495
5496
5497 \begin_inset Note Greyedout
5498 status open
5499
5500 \begin_layout Standard
5501
5502 \series bold
5503 Note:
5504 \series default
5505  The table number is increased for every longtable, also if you didn't set
5506  a caption for it.
5507  For this reason you could have the case that e.g.
5508  Table\InsetSpace ~
5509 2.4 follows on Table\InsetSpace ~
5510 2.1 in the list of tables if there are two longtables
5511  without captions.
5512  To avoid this you can add the following command in TeX-Code behind every
5513  longtable without a caption:
5514 \end_layout
5515
5516 \begin_layout Standard
5517
5518 \series bold
5519
5520 \backslash
5521 addtocounter{table}{-1}
5522 \end_layout
5523
5524 \end_inset
5525
5526
5527 \end_layout
5528
5529 \begin_layout Standard
5530 \begin_inset Note Greyedout
5531 status open
5532
5533 \begin_layout Standard
5534
5535 \series bold
5536 Note:
5537 \series default
5538  If you are using the LaTeX-package 
5539 \series bold
5540 hyperref
5541 \series default
5542
5543 \begin_inset LatexCommand index
5544 name "LaTeX-packages ! hyperref"
5545
5546 \end_inset
5547
5548  to link cross-references, the link to a longtable caption will always point
5549  to the beginning of the document.
5550 \end_layout
5551
5552 \end_inset
5553
5554
5555 \end_layout
5556
5557 \begin_layout Standard
5558
5559 \newpage
5560
5561 \end_layout
5562
5563 \begin_layout Subsubsection
5564 References to Longtables
5565 \begin_inset LatexCommand index
5566 name "Longtables ! References"
5567
5568 \end_inset
5569
5570
5571 \end_layout
5572
5573 \begin_layout Standard
5574 \begin_inset Tabular
5575 <lyxtabular version="3" rows="6" columns="5">
5576 <features islongtable="true">
5577 <column alignment="center" valignment="top" leftline="true" width="0">
5578 <column alignment="center" valignment="top" leftline="true" width="0">
5579 <column alignment="center" valignment="top" leftline="true" width="0">
5580 <column alignment="center" valignment="top" leftline="true" width="0">
5581 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5582 <row>
5583 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5584 \begin_inset Text
5585
5586 \begin_layout Standard
5587 \begin_inset Caption
5588
5589 \begin_layout Standard
5590 Referenced longtable
5591 \begin_inset LatexCommand label
5592 name "tab:RefExample"
5593
5594 \end_inset
5595
5596
5597 \end_layout
5598
5599 \end_inset
5600
5601
5602 \begin_inset ERT
5603 status collapsed
5604
5605 \begin_layout Standard
5606
5607
5608 \backslash
5609
5610 \backslash
5611 %
5612 \end_layout
5613
5614 \end_inset
5615
5616
5617 \end_layout
5618
5619 \end_inset
5620 </cell>
5621 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5622 \begin_inset Text
5623
5624 \begin_layout Standard
5625
5626 \end_layout
5627
5628 \end_inset
5629 </cell>
5630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5631 \begin_inset Text
5632
5633 \begin_layout Standard
5634
5635 \end_layout
5636
5637 \end_inset
5638 </cell>
5639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5640 \begin_inset Text
5641
5642 \begin_layout Standard
5643
5644 \end_layout
5645
5646 \end_inset
5647 </cell>
5648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5649 \begin_inset Text
5650
5651 \begin_layout Standard
5652
5653 \end_layout
5654
5655 \end_inset
5656 </cell>
5657 </row>
5658 <row topline="true">
5659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5660 \begin_inset Text
5661
5662 \begin_layout Standard
5663 1
5664 \end_layout
5665
5666 \end_inset
5667 </cell>
5668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5669 \begin_inset Text
5670
5671 \begin_layout Standard
5672 2
5673 \end_layout
5674
5675 \end_inset
5676 </cell>
5677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5678 \begin_inset Text
5679
5680 \begin_layout Standard
5681 3
5682 \end_layout
5683
5684 \end_inset
5685 </cell>
5686 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5687 \begin_inset Text
5688
5689 \begin_layout Standard
5690 4
5691 \end_layout
5692
5693 \end_inset
5694 </cell>
5695 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5696 \begin_inset Text
5697
5698 \begin_layout Standard
5699 5
5700 \end_layout
5701
5702 \end_inset
5703 </cell>
5704 </row>
5705 <row topline="true">
5706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5707 \begin_inset Text
5708
5709 \begin_layout Standard
5710 asd
5711 \end_layout
5712
5713 \end_inset
5714 </cell>
5715 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5716 \begin_inset Text
5717
5718 \begin_layout Standard
5719 s
5720 \end_layout
5721
5722 \end_inset
5723 </cell>
5724 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5725 \begin_inset Text
5726
5727 \begin_layout Standard
5728 s
5729 \end_layout
5730
5731 \end_inset
5732 </cell>
5733 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5734 \begin_inset Text
5735
5736 \begin_layout Standard
5737 s
5738 \end_layout
5739
5740 \end_inset
5741 </cell>
5742 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5743 \begin_inset Text
5744
5745 \begin_layout Standard
5746 asd
5747 \end_layout
5748
5749 \end_inset
5750 </cell>
5751 </row>
5752 <row topline="true">
5753 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5754 \begin_inset Text
5755
5756 \begin_layout Standard
5757 asd
5758 \end_layout
5759
5760 \end_inset
5761 </cell>
5762 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5763 \begin_inset Text
5764
5765 \begin_layout Standard
5766 s
5767 \end_layout
5768
5769 \end_inset
5770 </cell>
5771 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5772 \begin_inset Text
5773
5774 \begin_layout Standard
5775 s
5776 \end_layout
5777
5778 \end_inset
5779 </cell>
5780 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5781 \begin_inset Text
5782
5783 \begin_layout Standard
5784 s
5785 \end_layout
5786
5787 \end_inset
5788 </cell>
5789 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5790 \begin_inset Text
5791
5792 \begin_layout Standard
5793 asd
5794 \end_layout
5795
5796 \end_inset
5797 </cell>
5798 </row>
5799 <row topline="true">
5800 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5801 \begin_inset Text
5802
5803 \begin_layout Standard
5804 asd
5805 \end_layout
5806
5807 \end_inset
5808 </cell>
5809 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5810 \begin_inset Text
5811
5812 \begin_layout Standard
5813 s
5814 \end_layout
5815
5816 \end_inset
5817 </cell>
5818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5819 \begin_inset Text
5820
5821 \begin_layout Standard
5822 s
5823 \end_layout
5824
5825 \end_inset
5826 </cell>
5827 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5828 \begin_inset Text
5829
5830 \begin_layout Standard
5831 s
5832 \end_layout
5833
5834 \end_inset
5835 </cell>
5836 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5837 \begin_inset Text
5838
5839 \begin_layout Standard
5840 asd
5841 \end_layout
5842
5843 \end_inset
5844 </cell>
5845 </row>
5846 <row topline="true" bottomline="true">
5847 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5848 \begin_inset Text
5849
5850 \begin_layout Standard
5851 asd
5852 \end_layout
5853
5854 \end_inset
5855 </cell>
5856 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5857 \begin_inset Text
5858
5859 \begin_layout Standard
5860 sad
5861 \end_layout
5862
5863 \end_inset
5864 </cell>
5865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5866 \begin_inset Text
5867
5868 \begin_layout Standard
5869 asd
5870 \end_layout
5871
5872 \end_inset
5873 </cell>
5874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5875 \begin_inset Text
5876
5877 \begin_layout Standard
5878 asd
5879 \end_layout
5880
5881 \end_inset
5882 </cell>
5883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5884 \begin_inset Text
5885
5886 \begin_layout Standard
5887 asd
5888 \end_layout
5889
5890 \end_inset
5891 </cell>
5892 </row>
5893 </lyxtabular>
5894
5895 \end_inset
5896
5897
5898 \end_layout
5899
5900 \begin_layout Standard
5901 To reference a longtable, insert a label into the caption.
5902  Note that you have to add the label prefix 
5903 \begin_inset Quotes eld
5904 \end_inset
5905
5906
5907 \emph on
5908 tab:
5909 \emph default
5910
5911 \begin_inset Quotes eld
5912 \end_inset
5913
5914  manually in the label field.
5915 \end_layout
5916
5917 \begin_layout Standard
5918 This is a reference to Table\InsetSpace ~
5919
5920 \begin_inset LatexCommand ref
5921 reference "tab:RefExample"
5922
5923 \end_inset
5924
5925 .
5926 \end_layout
5927
5928 \begin_layout Standard
5929 The caption layout can be set together with all other caption of your document
5930  using the LaTeX-package 
5931 \series bold
5932 caption
5933 \series default
5934
5935 \begin_inset LatexCommand index
5936 name "LaTeX-packages ! caption"
5937
5938 \end_inset
5939
5940 , see section\InsetSpace ~
5941
5942 \begin_inset LatexCommand ref
5943 reference "sec:Caption-Formatting"
5944
5945 \end_inset
5946
5947 .
5948 \end_layout
5949
5950 \begin_layout Subsubsection
5951 Caption Width
5952 \begin_inset LatexCommand index
5953 name "Longtables ! Caption Width"
5954
5955 \end_inset
5956
5957
5958 \end_layout
5959
5960 \begin_layout Standard
5961 The maximal width of of caption lines is defined by the length 
5962 \series bold
5963
5964 \backslash
5965 LTcapwidth
5966 \series default
5967 .
5968  Its default value is 4\InsetSpace \thinspace{}
5969 in.
5970  To change it add the following command to your document preamble or as
5971  TeX-Code into your document before the longtable that should be affected
5972 \end_layout
5973
5974 \begin_layout Standard
5975
5976 \series bold
5977
5978 \backslash
5979 setlength{
5980 \backslash
5981 LTcapwidth}{width}
5982 \end_layout
5983
5984 \begin_layout Standard
5985 where the width could have one of the units listed in appendix\InsetSpace ~
5986
5987 \begin_inset LatexCommand ref
5988 reference "cha:Units-available-in"
5989
5990 \end_inset
5991
5992 .
5993 \end_layout
5994
5995 \begin_layout Standard
5996 The following tables show the difference:
5997 \end_layout
5998
5999 \begin_layout Standard
6000 \begin_inset Tabular
6001 <lyxtabular version="3" rows="6" columns="5">
6002 <features islongtable="true">
6003 <column alignment="center" valignment="top" leftline="true" width="0">
6004 <column alignment="center" valignment="top" leftline="true" width="0">
6005 <column alignment="center" valignment="top" leftline="true" width="0">
6006 <column alignment="center" valignment="top" leftline="true" width="0">
6007 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6008 <row>
6009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6010 \begin_inset Text
6011
6012 \begin_layout Standard
6013 \begin_inset Caption
6014
6015 \begin_layout Standard
6016 long full title with default width long full title with default width long
6017  full title with default width
6018 \begin_inset OptArg
6019 status collapsed
6020
6021 \begin_layout Standard
6022 caption with default width
6023 \end_layout
6024
6025 \end_inset
6026
6027
6028 \end_layout
6029
6030 \end_inset
6031
6032
6033 \begin_inset ERT
6034 status collapsed
6035
6036 \begin_layout Standard
6037
6038
6039 \backslash
6040
6041 \backslash
6042 %
6043 \end_layout
6044
6045 \end_inset
6046
6047
6048 \end_layout
6049
6050 \end_inset
6051 </cell>
6052 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6053 \begin_inset Text
6054
6055 \begin_layout Standard
6056
6057 \end_layout
6058
6059 \end_inset
6060 </cell>
6061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6062 \begin_inset Text
6063
6064 \begin_layout Standard
6065
6066 \end_layout
6067
6068 \end_inset
6069 </cell>
6070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6071 \begin_inset Text
6072
6073 \begin_layout Standard
6074
6075 \end_layout
6076
6077 \end_inset
6078 </cell>
6079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6080 \begin_inset Text
6081
6082 \begin_layout Standard
6083
6084 \end_layout
6085
6086 \end_inset
6087 </cell>
6088 </row>
6089 <row topline="true">
6090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6091 \begin_inset Text
6092
6093 \begin_layout Standard
6094 1
6095 \end_layout
6096
6097 \end_inset
6098 </cell>
6099 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6100 \begin_inset Text
6101
6102 \begin_layout Standard
6103 2
6104 \end_layout
6105
6106 \end_inset
6107 </cell>
6108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6109 \begin_inset Text
6110
6111 \begin_layout Standard
6112 3
6113 \end_layout
6114
6115 \end_inset
6116 </cell>
6117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6118 \begin_inset Text
6119
6120 \begin_layout Standard
6121 4
6122 \end_layout
6123
6124 \end_inset
6125 </cell>
6126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6127 \begin_inset Text
6128
6129 \begin_layout Standard
6130 5
6131 \end_layout
6132
6133 \end_inset
6134 </cell>
6135 </row>
6136 <row topline="true">
6137 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6138 \begin_inset Text
6139
6140 \begin_layout Standard
6141 asd
6142 \end_layout
6143
6144 \end_inset
6145 </cell>
6146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6147 \begin_inset Text
6148
6149 \begin_layout Standard
6150 s
6151 \end_layout
6152
6153 \end_inset
6154 </cell>
6155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6156 \begin_inset Text
6157
6158 \begin_layout Standard
6159 s
6160 \end_layout
6161
6162 \end_inset
6163 </cell>
6164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6165 \begin_inset Text
6166
6167 \begin_layout Standard
6168 s
6169 \end_layout
6170
6171 \end_inset
6172 </cell>
6173 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6174 \begin_inset Text
6175
6176 \begin_layout Standard
6177 asd
6178 \end_layout
6179
6180 \end_inset
6181 </cell>
6182 </row>
6183 <row topline="true">
6184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6185 \begin_inset Text
6186
6187 \begin_layout Standard
6188 asd
6189 \end_layout
6190
6191 \end_inset
6192 </cell>
6193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6194 \begin_inset Text
6195
6196 \begin_layout Standard
6197 s
6198 \end_layout
6199
6200 \end_inset
6201 </cell>
6202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6203 \begin_inset Text
6204
6205 \begin_layout Standard
6206 s
6207 \end_layout
6208
6209 \end_inset
6210 </cell>
6211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6212 \begin_inset Text
6213
6214 \begin_layout Standard
6215 s
6216 \end_layout
6217
6218 \end_inset
6219 </cell>
6220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6221 \begin_inset Text
6222
6223 \begin_layout Standard
6224 asd
6225 \end_layout
6226
6227 \end_inset
6228 </cell>
6229 </row>
6230 <row topline="true">
6231 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6232 \begin_inset Text
6233
6234 \begin_layout Standard
6235 asd
6236 \end_layout
6237
6238 \end_inset
6239 </cell>
6240 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6241 \begin_inset Text
6242
6243 \begin_layout Standard
6244 s
6245 \end_layout
6246
6247 \end_inset
6248 </cell>
6249 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6250 \begin_inset Text
6251
6252 \begin_layout Standard
6253 s
6254 \end_layout
6255
6256 \end_inset
6257 </cell>
6258 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6259 \begin_inset Text
6260
6261 \begin_layout Standard
6262 s
6263 \end_layout
6264
6265 \end_inset
6266 </cell>
6267 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6268 \begin_inset Text
6269
6270 \begin_layout Standard
6271 asd
6272 \end_layout
6273
6274 \end_inset
6275 </cell>
6276 </row>
6277 <row topline="true" bottomline="true">
6278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6279 \begin_inset Text
6280
6281 \begin_layout Standard
6282 asd
6283 \end_layout
6284
6285 \end_inset
6286 </cell>
6287 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6288 \begin_inset Text
6289
6290 \begin_layout Standard
6291 sad
6292 \end_layout
6293
6294 \end_inset
6295 </cell>
6296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6297 \begin_inset Text
6298
6299 \begin_layout Standard
6300 asd
6301 \end_layout
6302
6303 \end_inset
6304 </cell>
6305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6306 \begin_inset Text
6307
6308 \begin_layout Standard
6309 asd
6310 \end_layout
6311
6312 \end_inset
6313 </cell>
6314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6315 \begin_inset Text
6316
6317 \begin_layout Standard
6318 asd
6319 \end_layout
6320
6321 \end_inset
6322 </cell>
6323 </row>
6324 </lyxtabular>
6325
6326 \end_inset
6327
6328
6329 \end_layout
6330
6331 \begin_layout Standard
6332 \begin_inset ERT
6333 status collapsed
6334
6335 \begin_layout Standard
6336
6337
6338 \backslash
6339 setlength{
6340 \backslash
6341 LTcapwidth}{5cm}
6342 \end_layout
6343
6344 \end_inset
6345
6346
6347 \begin_inset Tabular
6348 <lyxtabular version="3" rows="6" columns="5">
6349 <features islongtable="true">
6350 <column alignment="center" valignment="top" leftline="true" width="0">
6351 <column alignment="center" valignment="top" leftline="true" width="0">
6352 <column alignment="center" valignment="top" leftline="true" width="0">
6353 <column alignment="center" valignment="top" leftline="true" width="0">
6354 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6355 <row>
6356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6357 \begin_inset Text
6358
6359 \begin_layout Standard
6360 \begin_inset Caption
6361
6362 \begin_layout Standard
6363 long full title with width set to 5\InsetSpace \thinspace{}
6364 cm long full title with width set to
6365  5\InsetSpace \thinspace{}
6366 cm long full title with width set to 5\InsetSpace \thinspace{}
6367 cm
6368 \begin_inset OptArg
6369 status collapsed
6370
6371 \begin_layout Standard
6372 caption with width\InsetSpace \thinspace{}
6373 =\InsetSpace \thinspace{}
6374 5\InsetSpace \thinspace{}
6375 cm
6376 \end_layout
6377
6378 \end_inset
6379
6380
6381 \end_layout
6382
6383 \end_inset
6384
6385
6386 \begin_inset ERT
6387 status collapsed
6388
6389 \begin_layout Standard
6390
6391
6392 \backslash
6393
6394 \backslash
6395 %
6396 \end_layout
6397
6398 \end_inset
6399
6400
6401 \end_layout
6402
6403 \end_inset
6404 </cell>
6405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6406 \begin_inset Text
6407
6408 \begin_layout Standard
6409
6410 \end_layout
6411
6412 \end_inset
6413 </cell>
6414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6415 \begin_inset Text
6416
6417 \begin_layout Standard
6418
6419 \end_layout
6420
6421 \end_inset
6422 </cell>
6423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6424 \begin_inset Text
6425
6426 \begin_layout Standard
6427
6428 \end_layout
6429
6430 \end_inset
6431 </cell>
6432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6433 \begin_inset Text
6434
6435 \begin_layout Standard
6436
6437 \end_layout
6438
6439 \end_inset
6440 </cell>
6441 </row>
6442 <row topline="true">
6443 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6444 \begin_inset Text
6445
6446 \begin_layout Standard
6447 1
6448 \end_layout
6449
6450 \end_inset
6451 </cell>
6452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6453 \begin_inset Text
6454
6455 \begin_layout Standard
6456 2
6457 \end_layout
6458
6459 \end_inset
6460 </cell>
6461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6462 \begin_inset Text
6463
6464 \begin_layout Standard
6465 3
6466 \end_layout
6467
6468 \end_inset
6469 </cell>
6470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6471 \begin_inset Text
6472
6473 \begin_layout Standard
6474 4
6475 \end_layout
6476
6477 \end_inset
6478 </cell>
6479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6480 \begin_inset Text
6481
6482 \begin_layout Standard
6483 5
6484 \end_layout
6485
6486 \end_inset
6487 </cell>
6488 </row>
6489 <row topline="true">
6490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6491 \begin_inset Text
6492
6493 \begin_layout Standard
6494 asd
6495 \end_layout
6496
6497 \end_inset
6498 </cell>
6499 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6500 \begin_inset Text
6501
6502 \begin_layout Standard
6503 s
6504 \end_layout
6505
6506 \end_inset
6507 </cell>
6508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6509 \begin_inset Text
6510
6511 \begin_layout Standard
6512 s
6513 \end_layout
6514
6515 \end_inset
6516 </cell>
6517 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6518 \begin_inset Text
6519
6520 \begin_layout Standard
6521 s
6522 \end_layout
6523
6524 \end_inset
6525 </cell>
6526 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6527 \begin_inset Text
6528
6529 \begin_layout Standard
6530 asd
6531 \end_layout
6532
6533 \end_inset
6534 </cell>
6535 </row>
6536 <row topline="true">
6537 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6538 \begin_inset Text
6539
6540 \begin_layout Standard
6541 asd
6542 \end_layout
6543
6544 \end_inset
6545 </cell>
6546 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6547 \begin_inset Text
6548
6549 \begin_layout Standard
6550 s
6551 \end_layout
6552
6553 \end_inset
6554 </cell>
6555 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6556 \begin_inset Text
6557
6558 \begin_layout Standard
6559 s
6560 \end_layout
6561
6562 \end_inset
6563 </cell>
6564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6565 \begin_inset Text
6566
6567 \begin_layout Standard
6568 s
6569 \end_layout
6570
6571 \end_inset
6572 </cell>
6573 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6574 \begin_inset Text
6575
6576 \begin_layout Standard
6577 asd
6578 \end_layout
6579
6580 \end_inset
6581 </cell>
6582 </row>
6583 <row topline="true">
6584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6585 \begin_inset Text
6586
6587 \begin_layout Standard
6588 asd
6589 \end_layout
6590
6591 \end_inset
6592 </cell>
6593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6594 \begin_inset Text
6595
6596 \begin_layout Standard
6597 s
6598 \end_layout
6599
6600 \end_inset
6601 </cell>
6602 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6603 \begin_inset Text
6604
6605 \begin_layout Standard
6606 s
6607 \end_layout
6608
6609 \end_inset
6610 </cell>
6611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6612 \begin_inset Text
6613
6614 \begin_layout Standard
6615 s
6616 \end_layout
6617
6618 \end_inset
6619 </cell>
6620 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6621 \begin_inset Text
6622
6623 \begin_layout Standard
6624 asd
6625 \end_layout
6626
6627 \end_inset
6628 </cell>
6629 </row>
6630 <row topline="true" bottomline="true">
6631 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6632 \begin_inset Text
6633
6634 \begin_layout Standard
6635 asd
6636 \end_layout
6637
6638 \end_inset
6639 </cell>
6640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6641 \begin_inset Text
6642
6643 \begin_layout Standard
6644 sad
6645 \end_layout
6646
6647 \end_inset
6648 </cell>
6649 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6650 \begin_inset Text
6651
6652 \begin_layout Standard
6653 asd
6654 \end_layout
6655
6656 \end_inset
6657 </cell>
6658 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6659 \begin_inset Text
6660
6661 \begin_layout Standard
6662 asd
6663 \end_layout
6664
6665 \end_inset
6666 </cell>
6667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6668 \begin_inset Text
6669
6670 \begin_layout Standard
6671 asd
6672 \end_layout
6673
6674 \end_inset
6675 </cell>
6676 </row>
6677 </lyxtabular>
6678
6679 \end_inset
6680
6681
6682 \end_layout
6683
6684 \begin_layout Standard
6685 \begin_inset ERT
6686 status collapsed
6687
6688 \begin_layout Standard
6689
6690
6691 \backslash
6692 setlength{
6693 \backslash
6694 LTcapwidth}{4in}
6695 \end_layout
6696
6697 \end_inset
6698
6699
6700 \end_layout
6701
6702 \begin_layout Standard
6703 \begin_inset Note Greyedout
6704 status open
6705
6706 \begin_layout Standard
6707
6708 \series bold
6709 Note:
6710 \series default
6711  When the LaTeX-package 
6712 \series bold
6713 caption
6714 \series default
6715
6716 \begin_inset LatexCommand index
6717 name "LaTeX-packages ! caption"
6718
6719 \end_inset
6720
6721  is used, as in this document, the full page width is used for the caption
6722  when you use the default value of 4\InsetSpace \thinspace{}
6723 in for 
6724 \series bold
6725
6726 \backslash
6727 LTcapwidth
6728 \series default
6729 .
6730  To get in this case exactly a 4\InsetSpace \thinspace{}
6731 in wide caption, you can either use a value
6732  slightly different from 4.0\InsetSpace \thinspace{}
6733 in, e.g.
6734  3.99\InsetSpace \thinspace{}
6735 in, or the LaTeX-command 
6736 \series bold
6737
6738 \backslash
6739 captionsetup{width=value}
6740 \series default
6741  that is provided by the 
6742 \series bold
6743 caption
6744 \series default
6745 -package.
6746 \end_layout
6747
6748 \end_inset
6749
6750
6751 \end_layout
6752
6753 \begin_layout Subsubsection
6754 Different Captions for Table Pages
6755 \begin_inset LatexCommand index
6756 name "Longtables ! Different Captions for Pages"
6757
6758 \end_inset
6759
6760
6761 \end_layout
6762
6763 \begin_layout Standard
6764 When the other captions should differ from the one of the first table page,
6765  insert a caption with a non-empty short title in a dummy caption row marked
6766  as first header.
6767  The caption used for the other table pages is inserted as caption without
6768  a short title in a dummy caption row that is marked as main header.
6769  When this caption shouldn't include the table number, use the command
6770 \end_layout
6771
6772 \begin_layout Standard
6773
6774 \series bold
6775
6776 \backslash
6777 caption*{caption text}
6778 \end_layout
6779
6780 \begin_layout Standard
6781 instead of LyX's caption box.
6782  The label to reference the table is inserted into the caption of the first
6783  header.
6784  Table\InsetSpace ~
6785
6786 \begin_inset LatexCommand ref
6787 reference "tab:DiffCaptions"
6788
6789 \end_inset
6790
6791  is an example for a longtable with different heading where the second caption
6792  doesn't include the table number.
6793 \end_layout
6794
6795 \begin_layout Standard
6796 \align center
6797 \begin_inset Tabular
6798 <lyxtabular version="3" rows="60" columns="3">
6799 <features islongtable="true">
6800 <column alignment="left" valignment="top" leftline="true" width="0cm">
6801 <column alignment="left" valignment="top" rightline="true" width="0pt">
6802 <column alignment="right" valignment="top" rightline="true" width="0pt">
6803 <row endfirsthead="true">
6804 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6805 \begin_inset Text
6806
6807 \begin_layout Standard
6808 \begin_inset Caption
6809
6810 \begin_layout Standard
6811 Example Phone List
6812 \begin_inset LatexCommand label
6813 name "tab:DiffCaptions"
6814
6815 \end_inset
6816
6817
6818 \begin_inset OptArg
6819 status collapsed
6820
6821 \begin_layout Standard
6822 Example Phone List
6823 \end_layout
6824
6825 \end_inset
6826
6827
6828 \end_layout
6829
6830 \end_inset
6831
6832
6833 \begin_inset ERT
6834 status collapsed
6835
6836 \begin_layout Standard
6837
6838
6839 \backslash
6840
6841 \backslash
6842 %
6843 \end_layout
6844
6845 \end_inset
6846
6847
6848 \end_layout
6849
6850 \end_inset
6851 </cell>
6852 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6853 \begin_inset Text
6854
6855 \begin_layout Standard
6856
6857 \end_layout
6858
6859 \end_inset
6860 </cell>
6861 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6862 \begin_inset Text
6863
6864 \begin_layout Standard
6865
6866 \end_layout
6867
6868 \end_inset
6869 </cell>
6870 </row>
6871 <row topline="true" bottomline="true" endfirsthead="true">
6872 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6873 \begin_inset Text
6874
6875 \begin_layout Standard
6876
6877 \series bold
6878 Example Phone List (ignore the names)
6879 \end_layout
6880
6881 \end_inset
6882 </cell>
6883 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6884 \begin_inset Text
6885
6886 \begin_layout Standard
6887
6888 \end_layout
6889
6890 \end_inset
6891 </cell>
6892 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6893 \begin_inset Text
6894
6895 \begin_layout Standard
6896
6897 \end_layout
6898
6899 \end_inset
6900 </cell>
6901 </row>
6902 <row topline="true" bottomline="true" endfirsthead="true">
6903 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6904 \begin_inset Text
6905
6906 \begin_layout Standard
6907
6908 \series bold
6909 NAME
6910 \end_layout
6911
6912 \end_inset
6913 </cell>
6914 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6915 \begin_inset Text
6916
6917 \begin_layout Standard
6918
6919 \end_layout
6920
6921 \end_inset
6922 </cell>
6923 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6924 \begin_inset Text
6925
6926 \begin_layout Standard
6927
6928 \series bold
6929 TEL.
6930 \end_layout
6931
6932 \end_inset
6933 </cell>
6934 </row>
6935 <row bottomline="true" endhead="true">
6936 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Standard
6940 \begin_inset ERT
6941 status open
6942
6943 \begin_layout Standard
6944
6945
6946 \backslash
6947 caption*{Continued Example Phone List}
6948 \backslash
6949
6950 \backslash
6951 %
6952 \end_layout
6953
6954 \end_inset
6955
6956
6957 \end_layout
6958
6959 \end_inset
6960 </cell>
6961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6962 \begin_inset Text
6963
6964 \begin_layout Standard
6965
6966 \end_layout
6967
6968 \end_inset
6969 </cell>
6970 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6971 \begin_inset Text
6972
6973 \begin_layout Standard
6974
6975 \end_layout
6976
6977 \end_inset
6978 </cell>
6979 </row>
6980 <row topline="true" bottomline="true" endhead="true">
6981 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6982 \begin_inset Text
6983
6984 \begin_layout Standard
6985
6986 \series bold
6987 Example Phone List
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6993 \begin_inset Text
6994
6995 \begin_layout Standard
6996
6997 \end_layout
6998
6999 \end_inset
7000 </cell>
7001 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7002 \begin_inset Text
7003
7004 \begin_layout Standard
7005
7006 \end_layout
7007
7008 \end_inset
7009 </cell>
7010 </row>
7011 <row topline="true" bottomline="true" endhead="true">
7012 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7013 \begin_inset Text
7014
7015 \begin_layout Standard
7016
7017 \series bold
7018 NAME
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7024 \begin_inset Text
7025
7026 \begin_layout Standard
7027
7028 \end_layout
7029
7030 \end_inset
7031 </cell>
7032 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7033 \begin_inset Text
7034
7035 \begin_layout Standard
7036
7037 \series bold
7038 TEL.
7039 \end_layout
7040
7041 \end_inset
7042 </cell>
7043 </row>
7044 <row topline="true" bottomline="true" endfoot="true">
7045 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Standard
7049 continued on next page
7050 \end_layout
7051
7052 \end_inset
7053 </cell>
7054 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7055 \begin_inset Text
7056
7057 \begin_layout Standard
7058
7059 \end_layout
7060
7061 \end_inset
7062 </cell>
7063 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7064 \begin_inset Text
7065
7066 \begin_layout Standard
7067
7068 \end_layout
7069
7070 \end_inset
7071 </cell>
7072 </row>
7073 <row>
7074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7075 \begin_inset Text
7076
7077 \begin_layout Standard
7078
7079 \series bold
7080 Annovi
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 <cell alignment="center" valignment="top" topline="true" usebox="none">
7086 \begin_inset Text
7087
7088 \begin_layout Standard
7089 Silvia
7090 \end_layout
7091
7092 \end_inset
7093 </cell>
7094 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7095 \begin_inset Text
7096
7097 \begin_layout Standard
7098 111
7099 \end_layout
7100
7101 \end_inset
7102 </cell>
7103 </row>
7104 <row>
7105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7106 \begin_inset Text
7107
7108 \begin_layout Standard
7109
7110 \series bold
7111 Bertoli
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 <cell alignment="center" valignment="top" topline="true" usebox="none">
7117 \begin_inset Text
7118
7119 \begin_layout Standard
7120 Stefano
7121 \end_layout
7122
7123 \end_inset
7124 </cell>
7125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7126 \begin_inset Text
7127
7128 \begin_layout Standard
7129 111
7130 \end_layout
7131
7132 \end_inset
7133 </cell>
7134 </row>
7135 <row>
7136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7137 \begin_inset Text
7138
7139 \begin_layout Standard
7140
7141 \series bold
7142 Bozzi
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 <cell alignment="center" valignment="top" topline="true" usebox="none">
7148 \begin_inset Text
7149
7150 \begin_layout Standard
7151 Walter
7152 \end_layout
7153
7154 \end_inset
7155 </cell>
7156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7157 \begin_inset Text
7158
7159 \begin_layout Standard
7160 111
7161 \end_layout
7162
7163 \end_inset
7164 </cell>
7165 </row>
7166 <row>
7167 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7168 \begin_inset Text
7169
7170 \begin_layout Standard
7171
7172 \series bold
7173 Cachia
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 <cell alignment="center" valignment="top" topline="true" usebox="none">
7179 \begin_inset Text
7180
7181 \begin_layout Standard
7182 Maria
7183 \end_layout
7184
7185 \end_inset
7186 </cell>
7187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7188 \begin_inset Text
7189
7190 \begin_layout Standard
7191 111
7192 \end_layout
7193
7194 \end_inset
7195 </cell>
7196 </row>
7197 <row>
7198 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7199 \begin_inset Text
7200
7201 \begin_layout Standard
7202
7203 \series bold
7204 Cachia
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 <cell alignment="center" valignment="top" topline="true" usebox="none">
7210 \begin_inset Text
7211
7212 \begin_layout Standard
7213 Maurizio
7214 \end_layout
7215
7216 \end_inset
7217 </cell>
7218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7219 \begin_inset Text
7220
7221 \begin_layout Standard
7222 111
7223 \end_layout
7224
7225 \end_inset
7226 </cell>
7227 </row>
7228 <row>
7229 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7230 \begin_inset Text
7231
7232 \begin_layout Standard
7233
7234 \series bold
7235 Cinquemani
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 <cell alignment="center" valignment="top" topline="true" usebox="none">
7241 \begin_inset Text
7242
7243 \begin_layout Standard
7244 Giusi
7245 \end_layout
7246
7247 \end_inset
7248 </cell>
7249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7250 \begin_inset Text
7251
7252 \begin_layout Standard
7253 111
7254 \end_layout
7255
7256 \end_inset
7257 </cell>
7258 </row>
7259 <row>
7260 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7261 \begin_inset Text
7262
7263 \begin_layout Standard
7264
7265 \series bold
7266 Colin
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 <cell alignment="center" valignment="top" topline="true" usebox="none">
7272 \begin_inset Text
7273
7274 \begin_layout Standard
7275 Bernard
7276 \end_layout
7277
7278 \end_inset
7279 </cell>
7280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7281 \begin_inset Text
7282
7283 \begin_layout Standard
7284 111
7285 \end_layout
7286
7287 \end_inset
7288 </cell>
7289 </row>
7290 <row>
7291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7292 \begin_inset Text
7293
7294 \begin_layout Standard
7295
7296 \series bold
7297 Concli
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 <cell alignment="center" valignment="top" topline="true" usebox="none">
7303 \begin_inset Text
7304
7305 \begin_layout Standard
7306 Gianfranco
7307 \end_layout
7308
7309 \end_inset
7310 </cell>
7311 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7312 \begin_inset Text
7313
7314 \begin_layout Standard
7315 111
7316 \end_layout
7317
7318 \end_inset
7319 </cell>
7320 </row>
7321 <row>
7322 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7323 \begin_inset Text
7324
7325 \begin_layout Standard
7326
7327 \series bold
7328 Dal Bosco
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 <cell alignment="center" valignment="top" topline="true" usebox="none">
7334 \begin_inset Text
7335
7336 \begin_layout Standard
7337 Carolina
7338 \end_layout
7339
7340 \end_inset
7341 </cell>
7342 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7343 \begin_inset Text
7344
7345 \begin_layout Standard
7346 111
7347 \end_layout
7348
7349 \end_inset
7350 </cell>
7351 </row>
7352 <row>
7353 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7354 \begin_inset Text
7355
7356 \begin_layout Standard
7357
7358 \series bold
7359 Dalpiaz
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 <cell alignment="center" valignment="top" topline="true" usebox="none">
7365 \begin_inset Text
7366
7367 \begin_layout Standard
7368 Annamaria
7369 \end_layout
7370
7371 \end_inset
7372 </cell>
7373 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7374 \begin_inset Text
7375
7376 \begin_layout Standard
7377 111
7378 \end_layout
7379
7380 \end_inset
7381 </cell>
7382 </row>
7383 <row>
7384 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7385 \begin_inset Text
7386
7387 \begin_layout Standard
7388
7389 \series bold
7390 Feliciello
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 <cell alignment="center" valignment="top" topline="true" usebox="none">
7396 \begin_inset Text
7397
7398 \begin_layout Standard
7399 Domenico
7400 \end_layout
7401
7402 \end_inset
7403 </cell>
7404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7405 \begin_inset Text
7406
7407 \begin_layout Standard
7408 111
7409 \end_layout
7410
7411 \end_inset
7412 </cell>
7413 </row>
7414 <row>
7415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7416 \begin_inset Text
7417
7418 \begin_layout Standard
7419
7420 \series bold
7421 Focarelli
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 <cell alignment="center" valignment="top" topline="true" usebox="none">
7427 \begin_inset Text
7428
7429 \begin_layout Standard
7430 Paola
7431 \end_layout
7432
7433 \end_inset
7434 </cell>
7435 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7436 \begin_inset Text
7437
7438 \begin_layout Standard
7439 111
7440 \end_layout
7441
7442 \end_inset
7443 </cell>
7444 </row>
7445 <row>
7446 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7447 \begin_inset Text
7448
7449 \begin_layout Standard
7450
7451 \series bold
7452 Galletti
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 <cell alignment="center" valignment="top" topline="true" usebox="none">
7458 \begin_inset Text
7459
7460 \begin_layout Standard
7461 Oreste
7462 \end_layout
7463
7464 \end_inset
7465 </cell>
7466 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7467 \begin_inset Text
7468
7469 \begin_layout Standard
7470 111
7471 \end_layout
7472
7473 \end_inset
7474 </cell>
7475 </row>
7476 <row>
7477 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7478 \begin_inset Text
7479
7480 \begin_layout Standard
7481
7482 \series bold
7483 Gasparini
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 <cell alignment="center" valignment="top" topline="true" usebox="none">
7489 \begin_inset Text
7490
7491 \begin_layout Standard
7492 Franca
7493 \end_layout
7494
7495 \end_inset
7496 </cell>
7497 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7498 \begin_inset Text
7499
7500 \begin_layout Standard
7501 111
7502 \end_layout
7503
7504 \end_inset
7505 </cell>
7506 </row>
7507 <row>
7508 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7509 \begin_inset Text
7510
7511 \begin_layout Standard
7512
7513 \series bold
7514 Rizzardi
7515 \series default
7516
7517 \begin_inset Foot
7518 status collapsed
7519
7520 \begin_layout Standard
7521 Example footnote
7522 \end_layout
7523
7524 \end_inset
7525
7526
7527 \end_layout
7528
7529 \end_inset
7530 </cell>
7531 <cell alignment="center" valignment="top" topline="true" usebox="none">
7532 \begin_inset Text
7533
7534 \begin_layout Standard
7535 Paola
7536 \end_layout
7537
7538 \end_inset
7539 </cell>
7540 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7541 \begin_inset Text
7542
7543 \begin_layout Standard
7544 111
7545 \end_layout
7546
7547 \end_inset
7548 </cell>
7549 </row>
7550 <row>
7551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7552 \begin_inset Text
7553
7554 \begin_layout Standard
7555
7556 \series bold
7557 Lassini
7558 \end_layout
7559
7560 \end_inset
7561 </cell>
7562 <cell alignment="center" valignment="top" topline="true" usebox="none">
7563 \begin_inset Text
7564
7565 \begin_layout Standard
7566 Giancarlo
7567 \end_layout
7568
7569 \end_inset
7570 </cell>
7571 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7572 \begin_inset Text
7573
7574 \begin_layout Standard
7575 111
7576 \end_layout
7577
7578 \end_inset
7579 </cell>
7580 </row>
7581 <row>
7582 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7583 \begin_inset Text
7584
7585 \begin_layout Standard
7586
7587 \series bold
7588 Malfatti
7589 \end_layout
7590
7591 \end_inset
7592 </cell>
7593 <cell alignment="center" valignment="top" topline="true" usebox="none">
7594 \begin_inset Text
7595
7596 \begin_layout Standard
7597 Luciano
7598 \end_layout
7599
7600 \end_inset
7601 </cell>
7602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7603 \begin_inset Text
7604
7605 \begin_layout Standard
7606 111
7607 \end_layout
7608
7609 \end_inset
7610 </cell>
7611 </row>
7612 <row>
7613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7614 \begin_inset Text
7615
7616 \begin_layout Standard
7617
7618 \series bold
7619 Malfatti
7620 \end_layout
7621
7622 \end_inset
7623 </cell>
7624 <cell alignment="center" valignment="top" topline="true" usebox="none">
7625 \begin_inset Text
7626
7627 \begin_layout Standard
7628 Valeriano
7629 \end_layout
7630
7631 \end_inset
7632 </cell>
7633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7634 \begin_inset Text
7635
7636 \begin_layout Standard
7637 111
7638 \end_layout
7639
7640 \end_inset
7641 </cell>
7642 </row>
7643 <row>
7644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7645 \begin_inset Text
7646
7647 \begin_layout Standard
7648
7649 \series bold
7650 Meneguzzo
7651 \end_layout
7652
7653 \end_inset
7654 </cell>
7655 <cell alignment="center" valignment="top" topline="true" usebox="none">
7656 \begin_inset Text
7657
7658 \begin_layout Standard
7659 Roberto
7660 \end_layout
7661
7662 \end_inset
7663 </cell>
7664 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7665 \begin_inset Text
7666
7667 \begin_layout Standard
7668 111
7669 \end_layout
7670
7671 \end_inset
7672 </cell>
7673 </row>
7674 <row>
7675 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7676 \begin_inset Text
7677
7678 \begin_layout Standard
7679
7680 \series bold
7681 Mezzadra
7682 \end_layout
7683
7684 \end_inset
7685 </cell>
7686 <cell alignment="center" valignment="top" topline="true" usebox="none">
7687 \begin_inset Text
7688
7689 \begin_layout Standard
7690 Roberto
7691 \end_layout
7692
7693 \end_inset
7694 </cell>
7695 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7696 \begin_inset Text
7697
7698 \begin_layout Standard
7699 111
7700 \end_layout
7701
7702 \end_inset
7703 </cell>
7704 </row>
7705 <row>
7706 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7707 \begin_inset Text
7708
7709 \begin_layout Standard
7710
7711 \series bold
7712 Pirpamer
7713 \end_layout
7714
7715 \end_inset
7716 </cell>
7717 <cell alignment="center" valignment="top" topline="true" usebox="none">
7718 \begin_inset Text
7719
7720 \begin_layout Standard
7721 Erich
7722 \end_layout
7723
7724 \end_inset
7725 </cell>
7726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7727 \begin_inset Text
7728
7729 \begin_layout Standard
7730 111
7731 \end_layout
7732
7733 \end_inset
7734 </cell>
7735 </row>
7736 <row>
7737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7738 \begin_inset Text
7739
7740 \begin_layout Standard
7741
7742 \series bold
7743 Pochiesa
7744 \end_layout
7745
7746 \end_inset
7747 </cell>
7748 <cell alignment="center" valignment="top" topline="true" usebox="none">
7749 \begin_inset Text
7750
7751 \begin_layout Standard
7752 Paolo
7753 \end_layout
7754
7755 \end_inset
7756 </cell>
7757 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7758 \begin_inset Text
7759
7760 \begin_layout Standard
7761 111, 222
7762 \end_layout
7763
7764 \end_inset
7765 </cell>
7766 </row>
7767 <row>
7768 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7769 \begin_inset Text
7770
7771 \begin_layout Standard
7772
7773 \series bold
7774 Radina
7775 \end_layout
7776
7777 \end_inset
7778 </cell>
7779 <cell alignment="center" valignment="top" topline="true" usebox="none">
7780 \begin_inset Text
7781
7782 \begin_layout Standard
7783 Claudio
7784 \end_layout
7785
7786 \end_inset
7787 </cell>
7788 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7789 \begin_inset Text
7790
7791 \begin_layout Standard
7792 111
7793 \end_layout
7794
7795 \end_inset
7796 </cell>
7797 </row>
7798 <row>
7799 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7800 \begin_inset Text
7801
7802 \begin_layout Standard
7803
7804 \series bold
7805 Stuffer
7806 \end_layout
7807
7808 \end_inset
7809 </cell>
7810 <cell alignment="center" valignment="top" topline="true" usebox="none">
7811 \begin_inset Text
7812
7813 \begin_layout Standard
7814 Oskar
7815 \end_layout
7816
7817 \end_inset
7818 </cell>
7819 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7820 \begin_inset Text
7821
7822 \begin_layout Standard
7823 111
7824 \end_layout
7825
7826 \end_inset
7827 </cell>
7828 </row>
7829 <row>
7830 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7831 \begin_inset Text
7832
7833 \begin_layout Standard
7834
7835 \series bold
7836 Tacchelli
7837 \end_layout
7838
7839 \end_inset
7840 </cell>
7841 <cell alignment="center" valignment="top" topline="true" usebox="none">
7842 \begin_inset Text
7843
7844 \begin_layout Standard
7845 Ugo
7846 \end_layout
7847
7848 \end_inset
7849 </cell>
7850 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7851 \begin_inset Text
7852
7853 \begin_layout Standard
7854 111
7855 \end_layout
7856
7857 \end_inset
7858 </cell>
7859 </row>
7860 <row>
7861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7862 \begin_inset Text
7863
7864 \begin_layout Standard
7865
7866 \series bold
7867 Tezzele
7868 \end_layout
7869
7870 \end_inset
7871 </cell>
7872 <cell alignment="center" valignment="top" topline="true" usebox="none">
7873 \begin_inset Text
7874
7875 \begin_layout Standard
7876 Margit
7877 \end_layout
7878
7879 \end_inset
7880 </cell>
7881 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7882 \begin_inset Text
7883
7884 \begin_layout Standard
7885 111
7886 \end_layout
7887
7888 \end_inset
7889 </cell>
7890 </row>
7891 <row>
7892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7893 \begin_inset Text
7894
7895 \begin_layout Standard
7896
7897 \series bold
7898 Unterkalmsteiner
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 <cell alignment="center" valignment="top" topline="true" usebox="none">
7904 \begin_inset Text
7905
7906 \begin_layout Standard
7907 Frieda
7908 \end_layout
7909
7910 \end_inset
7911 </cell>
7912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7913 \begin_inset Text
7914
7915 \begin_layout Standard
7916 111
7917 \end_layout
7918
7919 \end_inset
7920 </cell>
7921 </row>
7922 <row>
7923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7924 \begin_inset Text
7925
7926 \begin_layout Standard
7927
7928 \series bold
7929 Vieider
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 <cell alignment="center" valignment="top" topline="true" usebox="none">
7935 \begin_inset Text
7936
7937 \begin_layout Standard
7938 Hilde
7939 \end_layout
7940
7941 \end_inset
7942 </cell>
7943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7944 \begin_inset Text
7945
7946 \begin_layout Standard
7947 111
7948 \end_layout
7949
7950 \end_inset
7951 </cell>
7952 </row>
7953 <row>
7954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7955 \begin_inset Text
7956
7957 \begin_layout Standard
7958
7959 \series bold
7960 Vigna
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 <cell alignment="center" valignment="top" topline="true" usebox="none">
7966 \begin_inset Text
7967
7968 \begin_layout Standard
7969 Jürgen
7970 \end_layout
7971
7972 \end_inset
7973 </cell>
7974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7975 \begin_inset Text
7976
7977 \begin_layout Standard
7978 111
7979 \end_layout
7980
7981 \end_inset
7982 </cell>
7983 </row>
7984 <row>
7985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7986 \begin_inset Text
7987
7988 \begin_layout Standard
7989
7990 \series bold
7991 Weber
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 <cell alignment="center" valignment="top" topline="true" usebox="none">
7997 \begin_inset Text
7998
7999 \begin_layout Standard
8000 Maurizio
8001 \end_layout
8002
8003 \end_inset
8004 </cell>
8005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8006 \begin_inset Text
8007
8008 \begin_layout Standard
8009 111
8010 \end_layout
8011
8012 \end_inset
8013 </cell>
8014 </row>
8015 <row bottomline="true">
8016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8017 \begin_inset Text
8018
8019 \begin_layout Standard
8020
8021 \series bold
8022 Winkler
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 <cell alignment="center" valignment="top" topline="true" usebox="none">
8028 \begin_inset Text
8029
8030 \begin_layout Standard
8031 Franz
8032 \end_layout
8033
8034 \end_inset
8035 </cell>
8036 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8037 \begin_inset Text
8038
8039 \begin_layout Standard
8040 111
8041 \end_layout
8042
8043 \end_inset
8044 </cell>
8045 </row>
8046 <row bottomline="true">
8047 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8048 \begin_inset Text
8049
8050 \begin_layout Standard
8051  
8052 \end_layout
8053
8054 \end_inset
8055 </cell>
8056 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8057 \begin_inset Text
8058
8059 \begin_layout Standard
8060
8061 \end_layout
8062
8063 \end_inset
8064 </cell>
8065 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8066 \begin_inset Text
8067
8068 \begin_layout Standard
8069
8070 \end_layout
8071
8072 \end_inset
8073 </cell>
8074 </row>
8075 <row>
8076 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8077 \begin_inset Text
8078
8079 \begin_layout Standard
8080
8081 \series bold
8082 Annovi
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 <cell alignment="center" valignment="top" topline="true" usebox="none">
8088 \begin_inset Text
8089
8090 \begin_layout Standard
8091 Silvia
8092 \end_layout
8093
8094 \end_inset
8095 </cell>
8096 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8097 \begin_inset Text
8098
8099 \begin_layout Standard
8100 555
8101 \end_layout
8102
8103 \end_inset
8104 </cell>
8105 </row>
8106 <row>
8107 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8108 \begin_inset Text
8109
8110 \begin_layout Standard
8111
8112 \series bold
8113 Bertoli
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 <cell alignment="center" valignment="top" topline="true" usebox="none">
8119 \begin_inset Text
8120
8121 \begin_layout Standard
8122 Stefano
8123 \end_layout
8124
8125 \end_inset
8126 </cell>
8127 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8128 \begin_inset Text
8129
8130 \begin_layout Standard
8131 555
8132 \end_layout
8133
8134 \end_inset
8135 </cell>
8136 </row>
8137 <row>
8138 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8139 \begin_inset Text
8140
8141 \begin_layout Standard
8142
8143 \series bold
8144 Bozzi
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 <cell alignment="center" valignment="top" topline="true" usebox="none">
8150 \begin_inset Text
8151
8152 \begin_layout Standard
8153 Walter
8154 \end_layout
8155
8156 \end_inset
8157 </cell>
8158 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8159 \begin_inset Text
8160
8161 \begin_layout Standard
8162 555
8163 \end_layout
8164
8165 \end_inset
8166 </cell>
8167 </row>
8168 <row>
8169 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8170 \begin_inset Text
8171
8172 \begin_layout Standard
8173
8174 \series bold
8175 Cachia
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 <cell alignment="center" valignment="top" topline="true" usebox="none">
8181 \begin_inset Text
8182
8183 \begin_layout Standard
8184 Maria
8185 \end_layout
8186
8187 \end_inset
8188 </cell>
8189 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8190 \begin_inset Text
8191
8192 \begin_layout Standard
8193 555
8194 \end_layout
8195
8196 \end_inset
8197 </cell>
8198 </row>
8199 <row>
8200 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8201 \begin_inset Text
8202
8203 \begin_layout Standard
8204
8205 \series bold
8206 Cachia
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 <cell alignment="center" valignment="top" topline="true" usebox="none">
8212 \begin_inset Text
8213
8214 \begin_layout Standard
8215 Maurizio
8216 \end_layout
8217
8218 \end_inset
8219 </cell>
8220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8221 \begin_inset Text
8222
8223 \begin_layout Standard
8224 555
8225 \end_layout
8226
8227 \end_inset
8228 </cell>
8229 </row>
8230 <row>
8231 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8232 \begin_inset Text
8233
8234 \begin_layout Standard
8235
8236 \series bold
8237 Cinquemani
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 <cell alignment="center" valignment="top" topline="true" usebox="none">
8243 \begin_inset Text
8244
8245 \begin_layout Standard
8246 Giusi
8247 \end_layout
8248
8249 \end_inset
8250 </cell>
8251 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8252 \begin_inset Text
8253
8254 \begin_layout Standard
8255 555
8256 \end_layout
8257
8258 \end_inset
8259 </cell>
8260 </row>
8261 <row>
8262 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8263 \begin_inset Text
8264
8265 \begin_layout Standard
8266
8267 \series bold
8268 Colin
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 <cell alignment="center" valignment="top" topline="true" usebox="none">
8274 \begin_inset Text
8275
8276 \begin_layout Standard
8277 Bernard
8278 \end_layout
8279
8280 \end_inset
8281 </cell>
8282 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8283 \begin_inset Text
8284
8285 \begin_layout Standard
8286 555
8287 \end_layout
8288
8289 \end_inset
8290 </cell>
8291 </row>
8292 <row>
8293 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8294 \begin_inset Text
8295
8296 \begin_layout Standard
8297
8298 \series bold
8299 Concli
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 <cell alignment="center" valignment="top" topline="true" usebox="none">
8305 \begin_inset Text
8306
8307 \begin_layout Standard
8308 Gianfranco
8309 \end_layout
8310
8311 \end_inset
8312 </cell>
8313 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8314 \begin_inset Text
8315
8316 \begin_layout Standard
8317 555
8318 \end_layout
8319
8320 \end_inset
8321 </cell>
8322 </row>
8323 <row>
8324 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8325 \begin_inset Text
8326
8327 \begin_layout Standard
8328
8329 \series bold
8330 Dal Bosco
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 <cell alignment="center" valignment="top" topline="true" usebox="none">
8336 \begin_inset Text
8337
8338 \begin_layout Standard
8339 Carolina
8340 \end_layout
8341
8342 \end_inset
8343 </cell>
8344 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8345 \begin_inset Text
8346
8347 \begin_layout Standard
8348 555
8349 \end_layout
8350
8351 \end_inset
8352 </cell>
8353 </row>
8354 <row>
8355 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8356 \begin_inset Text
8357
8358 \begin_layout Standard
8359
8360 \series bold
8361 Dalpiaz
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 <cell alignment="center" valignment="top" topline="true" usebox="none">
8367 \begin_inset Text
8368
8369 \begin_layout Standard
8370 Annamaria
8371 \end_layout
8372
8373 \end_inset
8374 </cell>
8375 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8376 \begin_inset Text
8377
8378 \begin_layout Standard
8379 555
8380 \end_layout
8381
8382 \end_inset
8383 </cell>
8384 </row>
8385 <row>
8386 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8387 \begin_inset Text
8388
8389 \begin_layout Standard
8390
8391 \series bold
8392 Feliciello
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 <cell alignment="center" valignment="top" topline="true" usebox="none">
8398 \begin_inset Text
8399
8400 \begin_layout Standard
8401 Domenico
8402 \end_layout
8403
8404 \end_inset
8405 </cell>
8406 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8407 \begin_inset Text
8408
8409 \begin_layout Standard
8410 555
8411 \end_layout
8412
8413 \end_inset
8414 </cell>
8415 </row>
8416 <row>
8417 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8418 \begin_inset Text
8419
8420 \begin_layout Standard
8421
8422 \series bold
8423 Focarelli
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 <cell alignment="center" valignment="top" topline="true" usebox="none">
8429 \begin_inset Text
8430
8431 \begin_layout Standard
8432 Paola
8433 \end_layout
8434
8435 \end_inset
8436 </cell>
8437 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8438 \begin_inset Text
8439
8440 \begin_layout Standard
8441 555
8442 \end_layout
8443
8444 \end_inset
8445 </cell>
8446 </row>
8447 <row>
8448 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8449 \begin_inset Text
8450
8451 \begin_layout Standard
8452
8453 \series bold
8454 Galletti
8455 \end_layout
8456
8457 \end_inset
8458 </cell>
8459 <cell alignment="center" valignment="top" topline="true" usebox="none">
8460 \begin_inset Text
8461
8462 \begin_layout Standard
8463 Oreste
8464 \end_layout
8465
8466 \end_inset
8467 </cell>
8468 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8469 \begin_inset Text
8470
8471 \begin_layout Standard
8472 555
8473 \end_layout
8474
8475 \end_inset
8476 </cell>
8477 </row>
8478 <row>
8479 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8480 \begin_inset Text
8481
8482 \begin_layout Standard
8483
8484 \series bold
8485 Gasparini
8486 \end_layout
8487
8488 \end_inset
8489 </cell>
8490 <cell alignment="center" valignment="top" topline="true" usebox="none">
8491 \begin_inset Text
8492
8493 \begin_layout Standard
8494 Franca
8495 \end_layout
8496
8497 \end_inset
8498 </cell>
8499 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8500 \begin_inset Text
8501
8502 \begin_layout Standard
8503 555
8504 \end_layout
8505
8506 \end_inset
8507 </cell>
8508 </row>
8509 <row>
8510 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8511 \begin_inset Text
8512
8513 \begin_layout Standard
8514
8515 \series bold
8516 Rizzardi
8517 \end_layout
8518
8519 \end_inset
8520 </cell>
8521 <cell alignment="center" valignment="top" topline="true" usebox="none">
8522 \begin_inset Text
8523
8524 \begin_layout Standard
8525 Paola
8526 \end_layout
8527
8528 \end_inset
8529 </cell>
8530 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8531 \begin_inset Text
8532
8533 \begin_layout Standard
8534 555
8535 \end_layout
8536
8537 \end_inset
8538 </cell>
8539 </row>
8540 <row>
8541 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8542 \begin_inset Text
8543
8544 \begin_layout Standard
8545
8546 \series bold
8547 Lassini
8548 \end_layout
8549
8550 \end_inset
8551 </cell>
8552 <cell alignment="center" valignment="top" topline="true" usebox="none">
8553 \begin_inset Text
8554
8555 \begin_layout Standard
8556 Giancarlo
8557 \end_layout
8558
8559 \end_inset
8560 </cell>
8561 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8562 \begin_inset Text
8563
8564 \begin_layout Standard
8565 555
8566 \end_layout
8567
8568 \end_inset
8569 </cell>
8570 </row>
8571 <row>
8572 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8573 \begin_inset Text
8574
8575 \begin_layout Standard
8576
8577 \series bold
8578 Malfatti
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 <cell alignment="center" valignment="top" topline="true" usebox="none">
8584 \begin_inset Text
8585
8586 \begin_layout Standard
8587 Luciano
8588 \end_layout
8589
8590 \end_inset
8591 </cell>
8592 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8593 \begin_inset Text
8594
8595 \begin_layout Standard
8596 555
8597 \end_layout
8598
8599 \end_inset
8600 </cell>
8601 </row>
8602 <row>
8603 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8604 \begin_inset Text
8605
8606 \begin_layout Standard
8607
8608 \series bold
8609 Malfatti
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 <cell alignment="center" valignment="top" topline="true" usebox="none">
8615 \begin_inset Text
8616
8617 \begin_layout Standard
8618 Valeriano
8619 \end_layout
8620
8621 \end_inset
8622 </cell>
8623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8624 \begin_inset Text
8625
8626 \begin_layout Standard
8627 555
8628 \end_layout
8629
8630 \end_inset
8631 </cell>
8632 </row>
8633 <row>
8634 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8635 \begin_inset Text
8636
8637 \begin_layout Standard
8638
8639 \series bold
8640 Meneguzzo
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 <cell alignment="center" valignment="top" topline="true" usebox="none">
8646 \begin_inset Text
8647
8648 \begin_layout Standard
8649 Roberto
8650 \end_layout
8651
8652 \end_inset
8653 </cell>
8654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8655 \begin_inset Text
8656
8657 \begin_layout Standard
8658 555
8659 \end_layout
8660
8661 \end_inset
8662 </cell>
8663 </row>
8664 <row bottomline="true">
8665 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8666 \begin_inset Text
8667
8668 \begin_layout Standard
8669
8670 \series bold
8671 Mezzadra
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 <cell alignment="center" valignment="top" topline="true" usebox="none">
8677 \begin_inset Text
8678
8679 \begin_layout Standard
8680 Roberto
8681 \end_layout
8682
8683 \end_inset
8684 </cell>
8685 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8686 \begin_inset Text
8687
8688 \begin_layout Standard
8689 555
8690 \end_layout
8691
8692 \end_inset
8693 </cell>
8694 </row>
8695 <row bottomline="true" endlastfoot="true">
8696 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8697 \begin_inset Text
8698
8699 \begin_layout Standard
8700
8701 \end_layout
8702
8703 \end_inset
8704 </cell>
8705 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8706 \begin_inset Text
8707
8708 \begin_layout Standard
8709
8710 \end_layout
8711
8712 \end_inset
8713 </cell>
8714 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8715 \begin_inset Text
8716
8717 \begin_layout Standard
8718
8719 \end_layout
8720
8721 \end_inset
8722 </cell>
8723 </row>
8724 </lyxtabular>
8725
8726 \end_inset
8727
8728
8729 \end_layout
8730
8731 \begin_layout Section
8732 Special Longtable Issues
8733 \begin_inset LatexCommand label
8734 name "sec:Special-Longtable-Issues"
8735
8736 \end_inset
8737
8738
8739 \end_layout
8740
8741 \begin_layout Subsection
8742 Longtable Calculation
8743 \begin_inset LatexCommand index
8744 name "Longtables ! Calculation"
8745
8746 \end_inset
8747
8748
8749 \end_layout
8750
8751 \begin_layout Standard
8752 LaTeX calculates the height of table pages and their page breaks using so
8753  called chunks.
8754  Chunks are pieces of the tables that are at once in LaTeX's memory.
8755  The default value is historically set to only 20 table rows.
8756  If you are using longtables with many pages this may slow down the creation
8757  of your document.
8758  You can safely increase the chunk size to values of 100-1000 by adding
8759  this command line to your document preamble:
8760 \end_layout
8761
8762 \begin_layout Standard
8763
8764 \series bold
8765
8766 \backslash
8767 setcounter{LTchunksize}{100}
8768 \end_layout
8769
8770 \begin_layout Subsection
8771 Floats and Longtables
8772 \begin_inset LatexCommand index
8773 name "Longtables ! Floats"
8774
8775 \end_inset
8776
8777
8778 \end_layout
8779
8780 \begin_layout Standard
8781 There might be problems when a float appears on the same page where a longtable
8782  starts.
8783  To avoid such situation, add the command 
8784 \series bold
8785
8786 \backslash
8787 clearpage
8788 \series default
8789  as TeX-Code before your longtable.
8790 \end_layout
8791
8792 \begin_layout Subsection
8793 Forced Page Breaks
8794 \begin_inset LatexCommand index
8795 name "Longtables ! Forced Page Breaks"
8796
8797 \end_inset
8798
8799
8800 \end_layout
8801
8802 \begin_layout Standard
8803 By default tables are only broken between rows.
8804  If you have a cell with multiples lines and want to have a page break within
8805  the cell, insert the new line command 
8806 \begin_inset Quotes eld
8807 \end_inset
8808
8809
8810 \series bold
8811
8812 \backslash
8813
8814 \backslash
8815
8816 \series default
8817
8818 \begin_inset Quotes erd
8819 \end_inset
8820
8821  as TeX-Code at this point of the cell where it should be broken.
8822  Before the 
8823 \series bold
8824
8825 \backslash
8826
8827 \backslash
8828
8829 \series default
8830  command you have to insert in TeX-Code so many 
8831 \begin_inset Quotes eld
8832 \end_inset
8833
8834
8835 \series bold
8836 &
8837 \series default
8838
8839 \begin_inset Quotes erd
8840 \end_inset
8841
8842  characters like the number of the following table columns.
8843  The 
8844 \series bold
8845 &
8846 \series default
8847  is the character to separate table cells.
8848  Write in TeX-Code after each 
8849 \series bold
8850 &
8851 \series default
8852  the content of the corresponding following cell and delete the content
8853  of these cells.
8854 \newline
8855 Behind the the 
8856 \series bold
8857
8858 \backslash
8859
8860 \backslash
8861
8862 \series default
8863  command, insert so many 
8864 \series bold
8865 &
8866 \series default
8867  characters like the number of table columns before the current column.
8868  In Table\InsetSpace ~
8869
8870 \begin_inset LatexCommand ref
8871 reference "tab:ForcedPagebreak"
8872
8873 \end_inset
8874
8875  the cell that should be broken is in the second column followed by another
8876  column.
8877  Therefore the following command was inserted in the cell as TeX-Code behind
8878  
8879 \begin_inset Quotes eld
8880 \end_inset
8881
8882
8883 \emph on
8884 Castelchiodato,
8885 \emph default
8886
8887 \begin_inset Quotes erd
8888 \end_inset
8889
8890 :
8891 \end_layout
8892
8893 \begin_layout Standard
8894
8895 \series bold
8896 & 111
8897 \backslash
8898
8899 \backslash
8900
8901 \newline
8902 &
8903 \end_layout
8904
8905 \begin_layout Standard
8906 The 
8907 \begin_inset Quotes eld
8908 \end_inset
8909
8910 111
8911 \begin_inset Quotes erd
8912 \end_inset
8913
8914  in the third columns of the row was deleted.
8915  If your footer row of the longtable has for a certain reason no upper line
8916  but you would have a horizontal line where the cell is broken, use this
8917  command instead:
8918 \end_layout
8919
8920 \begin_layout Standard
8921
8922 \series bold
8923 & 111
8924 \backslash
8925
8926 \backslash
8927
8928 \newline
8929
8930 \backslash
8931 hline &
8932 \end_layout
8933
8934 \begin_layout Standard
8935 When the cell to be broken is in the last column, the command
8936 \end_layout
8937
8938 \begin_layout Standard
8939
8940 \series bold
8941
8942 \backslash
8943 setlength{
8944 \backslash
8945 parf\SpecialChar \textcompwordmark{}
8946 illskip}{0pt}
8947 \end_layout
8948
8949 \begin_layout Standard
8950 must be inserted as TeX-Code at the beginning of the cell.
8951  This assures that the part of the cell that will be displayed on the new
8952  page appears with the full width.
8953 \end_layout
8954
8955 \begin_layout Standard
8956 \align center
8957 \begin_inset Tabular
8958 <lyxtabular version="3" rows="39" columns="3">
8959 <features islongtable="true">
8960 <column alignment="left" valignment="top" leftline="true" width="0cm">
8961 <column alignment="left" valignment="top" rightline="true" width="3cm">
8962 <column alignment="right" valignment="top" rightline="true" width="0pt">
8963 <row endfirsthead="true">
8964 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8965 \begin_inset Text
8966
8967 \begin_layout Standard
8968 \begin_inset Caption
8969
8970 \begin_layout Standard
8971 Table with forced page break in table cell
8972 \begin_inset LatexCommand label
8973 name "tab:ForcedPagebreak"
8974
8975 \end_inset
8976
8977
8978 \begin_inset OptArg
8979 status collapsed
8980
8981 \begin_layout Standard
8982 Table with forced page break in table cell
8983 \end_layout
8984
8985 \end_inset
8986
8987
8988 \end_layout
8989
8990 \end_inset
8991
8992
8993 \begin_inset ERT
8994 status collapsed
8995
8996 \begin_layout Standard
8997
8998
8999 \backslash
9000
9001 \backslash
9002 %
9003 \end_layout
9004
9005 \end_inset
9006
9007
9008 \end_layout
9009
9010 \end_inset
9011 </cell>
9012 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9013 \begin_inset Text
9014
9015 \begin_layout Standard
9016
9017 \end_layout
9018
9019 \end_inset
9020 </cell>
9021 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9022 \begin_inset Text
9023
9024 \begin_layout Standard
9025
9026 \end_layout
9027
9028 \end_inset
9029 </cell>
9030 </row>
9031 <row topline="true" bottomline="true" endfirsthead="true">
9032 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9033 \begin_inset Text
9034
9035 \begin_layout Standard
9036
9037 \series bold
9038 Example Phone List (ignore the names)
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9044 \begin_inset Text
9045
9046 \begin_layout Standard
9047
9048 \end_layout
9049
9050 \end_inset
9051 </cell>
9052 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9053 \begin_inset Text
9054
9055 \begin_layout Standard
9056
9057 \end_layout
9058
9059 \end_inset
9060 </cell>
9061 </row>
9062 <row topline="true" bottomline="true" endfirsthead="true">
9063 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9064 \begin_inset Text
9065
9066 \begin_layout Standard
9067
9068 \series bold
9069 NAME
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9075 \begin_inset Text
9076
9077 \begin_layout Standard
9078
9079 \end_layout
9080
9081 \end_inset
9082 </cell>
9083 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9084 \begin_inset Text
9085
9086 \begin_layout Standard
9087
9088 \series bold
9089 TEL.
9090 \end_layout
9091
9092 \end_inset
9093 </cell>
9094 </row>
9095 <row bottomline="true" endhead="true">
9096 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Standard
9100 \begin_inset ERT
9101 status collapsed
9102
9103 \begin_layout Standard
9104
9105
9106 \backslash
9107 caption*{Continued table with forced page break in table cell}
9108 \backslash
9109
9110 \backslash
9111 %
9112 \end_layout
9113
9114 \end_inset
9115
9116
9117 \end_layout
9118
9119 \end_inset
9120 </cell>
9121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9122 \begin_inset Text
9123
9124 \begin_layout Standard
9125
9126 \end_layout
9127
9128 \end_inset
9129 </cell>
9130 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9131 \begin_inset Text
9132
9133 \begin_layout Standard
9134
9135 \end_layout
9136
9137 \end_inset
9138 </cell>
9139 </row>
9140 <row topline="true" bottomline="true" endhead="true">
9141 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9142 \begin_inset Text
9143
9144 \begin_layout Standard
9145  
9146 \series bold
9147 Example Phone List
9148 \end_layout
9149
9150 \end_inset
9151 </cell>
9152 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9153 \begin_inset Text
9154
9155 \begin_layout Standard
9156
9157 \end_layout
9158
9159 \end_inset
9160 </cell>
9161 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9162 \begin_inset Text
9163
9164 \begin_layout Standard
9165
9166 \end_layout
9167
9168 \end_inset
9169 </cell>
9170 </row>
9171 <row topline="true" bottomline="true" endhead="true">
9172 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9173 \begin_inset Text
9174
9175 \begin_layout Standard
9176
9177 \series bold
9178 NAME
9179 \end_layout
9180
9181 \end_inset
9182 </cell>
9183 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9184 \begin_inset Text
9185
9186 \begin_layout Standard
9187
9188 \end_layout
9189
9190 \end_inset
9191 </cell>
9192 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9193 \begin_inset Text
9194
9195 \begin_layout Standard
9196
9197 \series bold
9198 TEL.
9199 \end_layout
9200
9201 \end_inset
9202 </cell>
9203 </row>
9204 <row topline="true" bottomline="true" endfoot="true">
9205 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9206 \begin_inset Text
9207
9208 \begin_layout Standard
9209 continued on next page
9210 \end_layout
9211
9212 \end_inset
9213 </cell>
9214 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9215 \begin_inset Text
9216
9217 \begin_layout Standard
9218
9219 \end_layout
9220
9221 \end_inset
9222 </cell>
9223 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9224 \begin_inset Text
9225
9226 \begin_layout Standard
9227
9228 \end_layout
9229
9230 \end_inset
9231 </cell>
9232 </row>
9233 <row>
9234 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9235 \begin_inset Text
9236
9237 \begin_layout Standard
9238
9239 \series bold
9240 Annovi
9241 \end_layout
9242
9243 \end_inset
9244 </cell>
9245 <cell alignment="center" valignment="top" topline="true" usebox="none">
9246 \begin_inset Text
9247
9248 \begin_layout Standard
9249 Silvia
9250 \end_layout
9251
9252 \end_inset
9253 </cell>
9254 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9255 \begin_inset Text
9256
9257 \begin_layout Standard
9258 111
9259 \end_layout
9260
9261 \end_inset
9262 </cell>
9263 </row>
9264 <row>
9265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9266 \begin_inset Text
9267
9268 \begin_layout Standard
9269
9270 \series bold
9271 Bertoli
9272 \end_layout
9273
9274 \end_inset
9275 </cell>
9276 <cell alignment="center" valignment="top" topline="true" usebox="none">
9277 \begin_inset Text
9278
9279 \begin_layout Standard
9280 Stefano
9281 \end_layout
9282
9283 \end_inset
9284 </cell>
9285 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9286 \begin_inset Text
9287
9288 \begin_layout Standard
9289 111
9290 \end_layout
9291
9292 \end_inset
9293 </cell>
9294 </row>
9295 <row>
9296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9297 \begin_inset Text
9298
9299 \begin_layout Standard
9300
9301 \series bold
9302 Bozzi
9303 \end_layout
9304
9305 \end_inset
9306 </cell>
9307 <cell alignment="center" valignment="top" topline="true" usebox="none">
9308 \begin_inset Text
9309
9310 \begin_layout Standard
9311 Walter
9312 \end_layout
9313
9314 \end_inset
9315 </cell>
9316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9317 \begin_inset Text
9318
9319 \begin_layout Standard
9320 111
9321 \end_layout
9322
9323 \end_inset
9324 </cell>
9325 </row>
9326 <row>
9327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9328 \begin_inset Text
9329
9330 \begin_layout Standard
9331
9332 \series bold
9333 Cachia
9334 \end_layout
9335
9336 \end_inset
9337 </cell>
9338 <cell alignment="center" valignment="top" topline="true" usebox="none">
9339 \begin_inset Text
9340
9341 \begin_layout Standard
9342 Maria
9343 \end_layout
9344
9345 \end_inset
9346 </cell>
9347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9348 \begin_inset Text
9349
9350 \begin_layout Standard
9351 111
9352 \end_layout
9353
9354 \end_inset
9355 </cell>
9356 </row>
9357 <row>
9358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9359 \begin_inset Text
9360
9361 \begin_layout Standard
9362
9363 \series bold
9364 Cachia
9365 \end_layout
9366
9367 \end_inset
9368 </cell>
9369 <cell alignment="center" valignment="top" topline="true" usebox="none">
9370 \begin_inset Text
9371
9372 \begin_layout Standard
9373 Maurizio
9374 \end_layout
9375
9376 \end_inset
9377 </cell>
9378 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9379 \begin_inset Text
9380
9381 \begin_layout Standard
9382 111
9383 \end_layout
9384
9385 \end_inset
9386 </cell>
9387 </row>
9388 <row>
9389 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9390 \begin_inset Text
9391
9392 \begin_layout Standard
9393
9394 \series bold
9395 Cinquemani
9396 \end_layout
9397
9398 \end_inset
9399 </cell>
9400 <cell alignment="center" valignment="top" topline="true" usebox="none">
9401 \begin_inset Text
9402
9403 \begin_layout Standard
9404 Giusi
9405 \end_layout
9406
9407 \end_inset
9408 </cell>
9409 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9410 \begin_inset Text
9411
9412 \begin_layout Standard
9413 111
9414 \end_layout
9415
9416 \end_inset
9417 </cell>
9418 </row>
9419 <row>
9420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9421 \begin_inset Text
9422
9423 \begin_layout Standard
9424
9425 \series bold
9426 Colin
9427 \end_layout
9428
9429 \end_inset
9430 </cell>
9431 <cell alignment="center" valignment="top" topline="true" usebox="none">
9432 \begin_inset Text
9433
9434 \begin_layout Standard
9435 Bernard
9436 \end_layout
9437
9438 \end_inset
9439 </cell>
9440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9441 \begin_inset Text
9442
9443 \begin_layout Standard
9444 111
9445 \end_layout
9446
9447 \end_inset
9448 </cell>
9449 </row>
9450 <row>
9451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9452 \begin_inset Text
9453
9454 \begin_layout Standard
9455
9456 \series bold
9457 Concli
9458 \end_layout
9459
9460 \end_inset
9461 </cell>
9462 <cell alignment="center" valignment="top" topline="true" usebox="none">
9463 \begin_inset Text
9464
9465 \begin_layout Standard
9466 Gianfranco
9467 \end_layout
9468
9469 \end_inset
9470 </cell>
9471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9472 \begin_inset Text
9473
9474 \begin_layout Standard
9475 111
9476 \end_layout
9477
9478 \end_inset
9479 </cell>
9480 </row>
9481 <row>
9482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9483 \begin_inset Text
9484
9485 \begin_layout Standard
9486
9487 \series bold
9488 Dal Bosco
9489 \end_layout
9490
9491 \end_inset
9492 </cell>
9493 <cell alignment="center" valignment="top" topline="true" usebox="none">
9494 \begin_inset Text
9495
9496 \begin_layout Standard
9497 Carolina
9498 \end_layout
9499
9500 \end_inset
9501 </cell>
9502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9503 \begin_inset Text
9504
9505 \begin_layout Standard
9506 111
9507 \end_layout
9508
9509 \end_inset
9510 </cell>
9511 </row>
9512 <row>
9513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9514 \begin_inset Text
9515
9516 \begin_layout Standard
9517
9518 \series bold
9519 Dalpiaz
9520 \end_layout
9521
9522 \end_inset
9523 </cell>
9524 <cell alignment="center" valignment="top" topline="true" usebox="none">
9525 \begin_inset Text
9526
9527 \begin_layout Standard
9528 Annamaria
9529 \end_layout
9530
9531 \end_inset
9532 </cell>
9533 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9534 \begin_inset Text
9535
9536 \begin_layout Standard
9537 111
9538 \end_layout
9539
9540 \end_inset
9541 </cell>
9542 </row>
9543 <row>
9544 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9545 \begin_inset Text
9546
9547 \begin_layout Standard
9548
9549 \series bold
9550 Feliciello
9551 \end_layout
9552
9553 \end_inset
9554 </cell>
9555 <cell alignment="center" valignment="top" topline="true" usebox="none">
9556 \begin_inset Text
9557
9558 \begin_layout Standard
9559 Domenico
9560 \end_layout
9561
9562 \end_inset
9563 </cell>
9564 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9565 \begin_inset Text
9566
9567 \begin_layout Standard
9568 111
9569 \end_layout
9570
9571 \end_inset
9572 </cell>
9573 </row>
9574 <row>
9575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9576 \begin_inset Text
9577
9578 \begin_layout Standard
9579
9580 \series bold
9581 Focarelli
9582 \end_layout
9583
9584 \end_inset
9585 </cell>
9586 <cell alignment="center" valignment="top" topline="true" usebox="none">
9587 \begin_inset Text
9588
9589 \begin_layout Standard
9590 Paola
9591 \end_layout
9592
9593 \end_inset
9594 </cell>
9595 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9596 \begin_inset Text
9597
9598 \begin_layout Standard
9599 111
9600 \end_layout
9601
9602 \end_inset
9603 </cell>
9604 </row>
9605 <row>
9606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9607 \begin_inset Text
9608
9609 \begin_layout Standard
9610
9611 \series bold
9612 Galletti
9613 \end_layout
9614
9615 \end_inset
9616 </cell>
9617 <cell alignment="center" valignment="top" topline="true" usebox="none">
9618 \begin_inset Text
9619
9620 \begin_layout Standard
9621 Oreste
9622 \end_layout
9623
9624 \end_inset
9625 </cell>
9626 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9627 \begin_inset Text
9628
9629 \begin_layout Standard
9630 111
9631 \end_layout
9632
9633 \end_inset
9634 </cell>
9635 </row>
9636 <row>
9637 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9638 \begin_inset Text
9639
9640 \begin_layout Standard
9641
9642 \series bold
9643 Gasparini
9644 \end_layout
9645
9646 \end_inset
9647 </cell>
9648 <cell alignment="center" valignment="top" topline="true" usebox="none">
9649 \begin_inset Text
9650
9651 \begin_layout Standard
9652 Franca
9653 \end_layout
9654
9655 \end_inset
9656 </cell>
9657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9658 \begin_inset Text
9659
9660 \begin_layout Standard
9661 111
9662 \end_layout
9663
9664 \end_inset
9665 </cell>
9666 </row>
9667 <row>
9668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9669 \begin_inset Text
9670
9671 \begin_layout Standard
9672
9673 \series bold
9674 Lassini
9675 \end_layout
9676
9677 \end_inset
9678 </cell>
9679 <cell alignment="center" valignment="top" topline="true" usebox="none">
9680 \begin_inset Text
9681
9682 \begin_layout Standard
9683 Giancarlo
9684 \end_layout
9685
9686 \end_inset
9687 </cell>
9688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9689 \begin_inset Text
9690
9691 \begin_layout Standard
9692 111
9693 \end_layout
9694
9695 \end_inset
9696 </cell>
9697 </row>
9698 <row>
9699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9700 \begin_inset Text
9701
9702 \begin_layout Standard
9703
9704 \series bold
9705 Malfatti
9706 \end_layout
9707
9708 \end_inset
9709 </cell>
9710 <cell alignment="center" valignment="top" topline="true" usebox="none">
9711 \begin_inset Text
9712
9713 \begin_layout Standard
9714 Luciano
9715 \end_layout
9716
9717 \end_inset
9718 </cell>
9719 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9720 \begin_inset Text
9721
9722 \begin_layout Standard
9723 111
9724 \end_layout
9725
9726 \end_inset
9727 </cell>
9728 </row>
9729 <row>
9730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9731 \begin_inset Text
9732
9733 \begin_layout Standard
9734
9735 \series bold
9736 Malfatti
9737 \end_layout
9738
9739 \end_inset
9740 </cell>
9741 <cell alignment="center" valignment="top" topline="true" usebox="none">
9742 \begin_inset Text
9743
9744 \begin_layout Standard
9745 Valeriano
9746 \end_layout
9747
9748 \end_inset
9749 </cell>
9750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9751 \begin_inset Text
9752
9753 \begin_layout Standard
9754 111
9755 \end_layout
9756
9757 \end_inset
9758 </cell>
9759 </row>
9760 <row>
9761 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9762 \begin_inset Text
9763
9764 \begin_layout Standard
9765
9766 \series bold
9767 Meneguzzo
9768 \end_layout
9769
9770 \end_inset
9771 </cell>
9772 <cell alignment="center" valignment="top" topline="true" usebox="none">
9773 \begin_inset Text
9774
9775 \begin_layout Standard
9776 Roberto
9777 \end_layout
9778
9779 \end_inset
9780 </cell>
9781 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9782 \begin_inset Text
9783
9784 \begin_layout Standard
9785 111
9786 \end_layout
9787
9788 \end_inset
9789 </cell>
9790 </row>
9791 <row>
9792 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9793 \begin_inset Text
9794
9795 \begin_layout Standard
9796
9797 \series bold
9798 Mezzadra
9799 \end_layout
9800
9801 \end_inset
9802 </cell>
9803 <cell alignment="center" valignment="top" topline="true" usebox="none">
9804 \begin_inset Text
9805
9806 \begin_layout Standard
9807 Roberto
9808 \end_layout
9809
9810 \end_inset
9811 </cell>
9812 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9813 \begin_inset Text
9814
9815 \begin_layout Standard
9816 111
9817 \end_layout
9818
9819 \end_inset
9820 </cell>
9821 </row>
9822 <row>
9823 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9824 \begin_inset Text
9825
9826 \begin_layout Standard
9827
9828 \series bold
9829 Pirpamer
9830 \end_layout
9831
9832 \end_inset
9833 </cell>
9834 <cell alignment="center" valignment="top" topline="true" usebox="none">
9835 \begin_inset Text
9836
9837 \begin_layout Standard
9838 Erich
9839 \end_layout
9840
9841 \end_inset
9842 </cell>
9843 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9844 \begin_inset Text
9845
9846 \begin_layout Standard
9847 111
9848 \end_layout
9849
9850 \end_inset
9851 </cell>
9852 </row>
9853 <row>
9854 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9855 \begin_inset Text
9856
9857 \begin_layout Standard
9858
9859 \series bold
9860 Pochiesa
9861 \end_layout
9862
9863 \end_inset
9864 </cell>
9865 <cell alignment="center" valignment="top" topline="true" usebox="none">
9866 \begin_inset Text
9867
9868 \begin_layout Standard
9869 Paolo
9870 \end_layout
9871
9872 \end_inset
9873 </cell>
9874 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9875 \begin_inset Text
9876
9877 \begin_layout Standard
9878 111, 222
9879 \end_layout
9880
9881 \end_inset
9882 </cell>
9883 </row>
9884 <row>
9885 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9886 \begin_inset Text
9887
9888 \begin_layout Standard
9889
9890 \series bold
9891 Radina
9892 \end_layout
9893
9894 \end_inset
9895 </cell>
9896 <cell alignment="center" valignment="top" topline="true" usebox="none">
9897 \begin_inset Text
9898
9899 \begin_layout Standard
9900 Claudio
9901 \end_layout
9902
9903 \end_inset
9904 </cell>
9905 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9906 \begin_inset Text
9907
9908 \begin_layout Standard
9909 111
9910 \end_layout
9911
9912 \end_inset
9913 </cell>
9914 </row>
9915 <row>
9916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9917 \begin_inset Text
9918
9919 \begin_layout Standard
9920
9921 \series bold
9922 Rizzardi
9923 \end_layout
9924
9925 \end_inset
9926 </cell>
9927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9928 \begin_inset Text
9929
9930 \begin_layout Standard
9931 Paolo, 11.
9932  Fürst von Montecompatri, 11.
9933  Fürst von Sulmona und Vivaro, 10.
9934  Fürst von Rossano, 5.
9935  Herzog von Canemorte, 11.
9936  Herzog von Palombara, 5.
9937  Herzog von Castelchiodato,
9938 \begin_inset ERT
9939 status collapsed
9940
9941 \begin_layout Standard
9942
9943 & 111
9944 \backslash
9945
9946 \backslash
9947
9948 \end_layout
9949
9950 \begin_layout Standard
9951
9952 &
9953 \end_layout
9954
9955 \end_inset
9956
9957  11.
9958  Herzog von Poggionativo, 11.
9959  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9960  Graf von Valinfreda, 11.
9961  Baron von Cropalati, 11.
9962  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9963 \end_layout
9964
9965 \end_inset
9966 </cell>
9967 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9968 \begin_inset Text
9969
9970 \begin_layout Standard
9971
9972 \end_layout
9973
9974 \end_inset
9975 </cell>
9976 </row>
9977 <row>
9978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9979 \begin_inset Text
9980
9981 \begin_layout Standard
9982
9983 \series bold
9984 Stuffer
9985 \end_layout
9986
9987 \end_inset
9988 </cell>
9989 <cell alignment="center" valignment="top" topline="true" usebox="none">
9990 \begin_inset Text
9991
9992 \begin_layout Standard
9993 Oskar
9994 \end_layout
9995
9996 \end_inset
9997 </cell>
9998 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9999 \begin_inset Text
10000
10001 \begin_layout Standard
10002 111
10003 \end_layout
10004
10005 \end_inset
10006 </cell>
10007 </row>
10008 <row>
10009 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10010 \begin_inset Text
10011
10012 \begin_layout Standard
10013
10014 \series bold
10015 Tacchelli
10016 \end_layout
10017
10018 \end_inset
10019 </cell>
10020 <cell alignment="center" valignment="top" topline="true" usebox="none">
10021 \begin_inset Text
10022
10023 \begin_layout Standard
10024 Ugo
10025 \end_layout
10026
10027 \end_inset
10028 </cell>
10029 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10030 \begin_inset Text
10031
10032 \begin_layout Standard
10033 111
10034 \end_layout
10035
10036 \end_inset
10037 </cell>
10038 </row>
10039 <row>
10040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10041 \begin_inset Text
10042
10043 \begin_layout Standard
10044
10045 \series bold
10046 Tezzele
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 <cell alignment="center" valignment="top" topline="true" usebox="none">
10052 \begin_inset Text
10053
10054 \begin_layout Standard
10055 Margit
10056 \end_layout
10057
10058 \end_inset
10059 </cell>
10060 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10061 \begin_inset Text
10062
10063 \begin_layout Standard
10064 111
10065 \end_layout
10066
10067 \end_inset
10068 </cell>
10069 </row>
10070 <row>
10071 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10072 \begin_inset Text
10073
10074 \begin_layout Standard
10075
10076 \series bold
10077 Unterkalmsteiner
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 <cell alignment="center" valignment="top" topline="true" usebox="none">
10083 \begin_inset Text
10084
10085 \begin_layout Standard
10086 Frieda
10087 \end_layout
10088
10089 \end_inset
10090 </cell>
10091 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10092 \begin_inset Text
10093
10094 \begin_layout Standard
10095 111
10096 \end_layout
10097
10098 \end_inset
10099 </cell>
10100 </row>
10101 <row>
10102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10103 \begin_inset Text
10104
10105 \begin_layout Standard
10106
10107 \series bold
10108 Vieider
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 <cell alignment="center" valignment="top" topline="true" usebox="none">
10114 \begin_inset Text
10115
10116 \begin_layout Standard
10117 Hilde
10118 \end_layout
10119
10120 \end_inset
10121 </cell>
10122 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10123 \begin_inset Text
10124
10125 \begin_layout Standard
10126 111
10127 \end_layout
10128
10129 \end_inset
10130 </cell>
10131 </row>
10132 <row>
10133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10134 \begin_inset Text
10135
10136 \begin_layout Standard
10137
10138 \series bold
10139 Vigna
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 <cell alignment="center" valignment="top" topline="true" usebox="none">
10145 \begin_inset Text
10146
10147 \begin_layout Standard
10148 Jürgen
10149 \end_layout
10150
10151 \end_inset
10152 </cell>
10153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10154 \begin_inset Text
10155
10156 \begin_layout Standard
10157 111
10158 \end_layout
10159
10160 \end_inset
10161 </cell>
10162 </row>
10163 <row>
10164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10165 \begin_inset Text
10166
10167 \begin_layout Standard
10168
10169 \series bold
10170 Weber
10171 \end_layout
10172
10173 \end_inset
10174 </cell>
10175 <cell alignment="center" valignment="top" topline="true" usebox="none">
10176 \begin_inset Text
10177
10178 \begin_layout Standard
10179 Maurizio
10180 \end_layout
10181
10182 \end_inset
10183 </cell>
10184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10185 \begin_inset Text
10186
10187 \begin_layout Standard
10188 111
10189 \end_layout
10190
10191 \end_inset
10192 </cell>
10193 </row>
10194 <row bottomline="true">
10195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10196 \begin_inset Text
10197
10198 \begin_layout Standard
10199
10200 \series bold
10201 Winkler
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 <cell alignment="center" valignment="top" topline="true" usebox="none">
10207 \begin_inset Text
10208
10209 \begin_layout Standard
10210 Franz
10211 \end_layout
10212
10213 \end_inset
10214 </cell>
10215 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10216 \begin_inset Text
10217
10218 \begin_layout Standard
10219 111
10220 \end_layout
10221
10222 \end_inset
10223 </cell>
10224 </row>
10225 <row endlastfoot="true">
10226 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10227 \begin_inset Text
10228
10229 \begin_layout Standard
10230
10231 \end_layout
10232
10233 \end_inset
10234 </cell>
10235 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10236 \begin_inset Text
10237
10238 \begin_layout Standard
10239
10240 \end_layout
10241
10242 \end_inset
10243 </cell>
10244 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10245 \begin_inset Text
10246
10247 \begin_layout Standard
10248
10249 \end_layout
10250
10251 \end_inset
10252 </cell>
10253 </row>
10254 </lyxtabular>
10255
10256 \end_inset
10257
10258
10259 \end_layout
10260
10261 \begin_layout Standard
10262
10263 \newpage
10264
10265 \end_layout
10266
10267 \begin_layout Section
10268 Multiple Lines Columns and Rows
10269 \end_layout
10270
10271 \begin_layout Subsection
10272 Multiple Lines in Table Cells
10273 \begin_inset LatexCommand label
10274 name "sub:Multiple-Lines-in"
10275
10276 \end_inset
10277
10278
10279 \begin_inset LatexCommand index
10280 name "Multiple Lines in Table Cells"
10281
10282 \end_inset
10283
10284
10285 \begin_inset LatexCommand index
10286 name "Table ! Linebreaks"
10287
10288 \end_inset
10289
10290
10291 \end_layout
10292
10293 \begin_layout Standard
10294 \align center
10295 \begin_inset Float table
10296 placement H
10297 wide false
10298 sideways false
10299 status open
10300
10301 \begin_layout Standard
10302 \begin_inset Caption
10303
10304 \begin_layout Standard
10305 \begin_inset LatexCommand label
10306 name "tab:Table-with-multiple"
10307
10308 \end_inset
10309
10310 Table with multiple lines in cells
10311 \end_layout
10312
10313 \end_inset
10314
10315
10316 \end_layout
10317
10318 \begin_layout Standard
10319 \align center
10320 \begin_inset Tabular
10321 <lyxtabular version="3" rows="3" columns="3">
10322 <features>
10323 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10324 <column alignment="center" valignment="middle" leftline="true" width="0">
10325 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10326 <row topline="true">
10327 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10328 \begin_inset Text
10329
10330 \begin_layout Standard
10331 multiple
10332 \begin_inset ERT
10333 status collapsed
10334
10335 \begin_layout Standard
10336
10337
10338 \backslash
10339 linebreak 
10340 \end_layout
10341
10342 \end_inset
10343
10344  lines
10345 \end_layout
10346
10347 \end_inset
10348 </cell>
10349 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10350 \begin_inset Text
10351
10352 \begin_layout Standard
10353 b
10354 \end_layout
10355
10356 \end_inset
10357 </cell>
10358 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10359 \begin_inset Text
10360
10361 \begin_layout Standard
10362 c
10363 \end_layout
10364
10365 \end_inset
10366 </cell>
10367 </row>
10368 <row topline="true">
10369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10370 \begin_inset Text
10371
10372 \begin_layout Standard
10373 d
10374 \end_layout
10375
10376 \end_inset
10377 </cell>
10378 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10379 \begin_inset Text
10380
10381 \begin_layout Standard
10382 e
10383 \end_layout
10384
10385 \end_inset
10386 </cell>
10387 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10388 \begin_inset Text
10389
10390 \begin_layout Standard
10391 f
10392 \end_layout
10393
10394 \end_inset
10395 </cell>
10396 </row>
10397 <row topline="true" bottomline="true">
10398 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10399 \begin_inset Text
10400
10401 \begin_layout Standard
10402 g
10403 \end_layout
10404
10405 \end_inset
10406 </cell>
10407 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10408 \begin_inset Text
10409
10410 \begin_layout Standard
10411 h
10412 \end_layout
10413
10414 \end_inset
10415 </cell>
10416 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10417 \begin_inset Text
10418
10419 \begin_layout Standard
10420 i
10421 \end_layout
10422
10423 \end_inset
10424 </cell>
10425 </row>
10426 </lyxtabular>
10427
10428 \end_inset
10429
10430
10431 \end_layout
10432
10433 \end_inset
10434
10435
10436 \end_layout
10437
10438 \begin_layout Standard
10439 Adjusting a fixed width for a column, enables to enter text as a paragraph
10440  with multiple lines and hyphenations.
10441 \end_layout
10442
10443 \begin_layout Standard
10444 To produce Table\InsetSpace ~
10445
10446 \begin_inset LatexCommand ref
10447 reference "tab:Table-with-multiple"
10448
10449 \end_inset
10450
10451 , create a 3×3 table, mark the first cell and right-click on it.
10452  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10453 cm and choose centered
10454  for the vertical and horizontal alignment.
10455  The vertical alignment is used for all cells of the row.
10456  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10457 cm, only one line will appear.
10458  To get two lines, we add a line break with the command
10459 \end_layout
10460
10461 \begin_layout Standard
10462
10463 \series bold
10464
10465 \backslash
10466 linebreak
10467 \end_layout
10468
10469 \begin_layout Standard
10470 in TeX-Code.
10471  If the text is wider than the set cell width it will automatically be broken
10472  to several lines.
10473 \end_layout
10474
10475 \begin_layout Standard
10476 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10477  by LaTeX if it is the first entry.
10478  Therefore you need to insert something, to make the word not being the
10479  first entry: Add the command
10480 \end_layout
10481
10482 \begin_layout Standard
10483
10484 \series bold
10485
10486 \backslash
10487 hspace{0pt}
10488 \end_layout
10489
10490 \begin_layout Standard
10491 in TeX-Code before the word.
10492  As the space is zero, it doesn't change the output.
10493  Table\InsetSpace ~
10494
10495 \begin_inset LatexCommand ref
10496 reference "tab:Table-with-and"
10497
10498 \end_inset
10499
10500  shows the effect.
10501 \end_layout
10502
10503 \begin_layout Standard
10504 \begin_inset Float table
10505 placement h
10506 wide false
10507 sideways false
10508 status open
10509
10510 \begin_layout Standard
10511 \begin_inset Caption
10512
10513 \begin_layout Standard
10514 \begin_inset LatexCommand label
10515 name "tab:Table-with-and"
10516
10517 \end_inset
10518
10519 Table with and without hyphenation
10520 \end_layout
10521
10522 \end_inset
10523
10524
10525 \end_layout
10526
10527 \begin_layout Standard
10528
10529 \hfill
10530
10531 \begin_inset Tabular
10532 <lyxtabular version="3" rows="3" columns="3">
10533 <features>
10534 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10535 <column alignment="center" valignment="middle" leftline="true" width="0">
10536 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10537 <row topline="true">
10538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10539 \begin_inset Text
10540
10541 \begin_layout Standard
10542 verylongtablecellword
10543 \end_layout
10544
10545 \end_inset
10546 </cell>
10547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10548 \begin_inset Text
10549
10550 \begin_layout Standard
10551 b
10552 \end_layout
10553
10554 \end_inset
10555 </cell>
10556 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10557 \begin_inset Text
10558
10559 \begin_layout Standard
10560 c
10561 \end_layout
10562
10563 \end_inset
10564 </cell>
10565 </row>
10566 <row topline="true">
10567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10568 \begin_inset Text
10569
10570 \begin_layout Standard
10571 d
10572 \end_layout
10573
10574 \end_inset
10575 </cell>
10576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10577 \begin_inset Text
10578
10579 \begin_layout Standard
10580 e
10581 \end_layout
10582
10583 \end_inset
10584 </cell>
10585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10586 \begin_inset Text
10587
10588 \begin_layout Standard
10589 f
10590 \end_layout
10591
10592 \end_inset
10593 </cell>
10594 </row>
10595 <row topline="true" bottomline="true">
10596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10597 \begin_inset Text
10598
10599 \begin_layout Standard
10600 g
10601 \end_layout
10602
10603 \end_inset
10604 </cell>
10605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10606 \begin_inset Text
10607
10608 \begin_layout Standard
10609 h
10610 \end_layout
10611
10612 \end_inset
10613 </cell>
10614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10615 \begin_inset Text
10616
10617 \begin_layout Standard
10618 i
10619 \end_layout
10620
10621 \end_inset
10622 </cell>
10623 </row>
10624 </lyxtabular>
10625
10626 \end_inset
10627
10628
10629 \hfill
10630
10631 \begin_inset Tabular
10632 <lyxtabular version="3" rows="3" columns="3">
10633 <features>
10634 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10635 <column alignment="center" valignment="middle" leftline="true" width="0">
10636 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10637 <row topline="true">
10638 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10639 \begin_inset Text
10640
10641 \begin_layout Standard
10642 \begin_inset ERT
10643 status collapsed
10644
10645 \begin_layout Standard
10646
10647
10648 \backslash
10649 hspace{0pt}
10650 \end_layout
10651
10652 \end_inset
10653
10654 verylongtablecellword
10655 \end_layout
10656
10657 \end_inset
10658 </cell>
10659 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10660 \begin_inset Text
10661
10662 \begin_layout Standard
10663 b
10664 \end_layout
10665
10666 \end_inset
10667 </cell>
10668 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10669 \begin_inset Text
10670
10671 \begin_layout Standard
10672 c
10673 \end_layout
10674
10675 \end_inset
10676 </cell>
10677 </row>
10678 <row topline="true">
10679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10680 \begin_inset Text
10681
10682 \begin_layout Standard
10683 d
10684 \end_layout
10685
10686 \end_inset
10687 </cell>
10688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10689 \begin_inset Text
10690
10691 \begin_layout Standard
10692 e
10693 \end_layout
10694
10695 \end_inset
10696 </cell>
10697 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10698 \begin_inset Text
10699
10700 \begin_layout Standard
10701 f
10702 \end_layout
10703
10704 \end_inset
10705 </cell>
10706 </row>
10707 <row topline="true" bottomline="true">
10708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10709 \begin_inset Text
10710
10711 \begin_layout Standard
10712 g
10713 \end_layout
10714
10715 \end_inset
10716 </cell>
10717 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10718 \begin_inset Text
10719
10720 \begin_layout Standard
10721 h
10722 \end_layout
10723
10724 \end_inset
10725 </cell>
10726 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10727 \begin_inset Text
10728
10729 \begin_layout Standard
10730 i
10731 \end_layout
10732
10733 \end_inset
10734 </cell>
10735 </row>
10736 </lyxtabular>
10737
10738 \end_inset
10739
10740
10741 \hfill
10742
10743 \end_layout
10744
10745 \end_inset
10746
10747
10748 \end_layout
10749
10750 \begin_layout Standard
10751
10752 \newpage
10753
10754 \end_layout
10755
10756 \begin_layout Subsection
10757 Multicolumns
10758 \begin_inset LatexCommand label
10759 name "sub:Multicolumns"
10760
10761 \end_inset
10762
10763
10764 \begin_inset LatexCommand index
10765 name "Multicolumns"
10766
10767 \end_inset
10768
10769
10770 \begin_inset LatexCommand index
10771 name "Table ! Multicolumns"
10772
10773 \end_inset
10774
10775
10776 \end_layout
10777
10778 \begin_layout Subsubsection
10779 Multicolumn Basics
10780 \end_layout
10781
10782 \begin_layout Standard
10783 To span a cell over multiple columns, mark as much cells within a line that
10784  should be one spanned cell and use either the table-toolbar button 
10785 \begin_inset Graphics
10786         filename ../images/tabular-feature_multicolumn.png
10787         scale 85
10788         scaleBeforeRotation
10789
10790 \end_inset
10791
10792 , or the menu 
10793 \family sans
10794 Edit\SpecialChar \menuseparator
10795 Table\SpecialChar \menuseparator
10796 Multicolumn
10797 \family default
10798 , or right click on the marked cells and choose multicolumn in the appearing
10799  table dialog under the tab 
10800 \family sans
10801 Table Settings
10802 \family default
10803 .
10804 \end_layout
10805
10806 \begin_layout Standard
10807 Multicolumns have there own cell settings.
10808  That means changing cell borders, cell alignment, and the width only affects
10809  the multicolumn.
10810  Here is an example table with a multicolumn cell in the first row and one
10811  in the last row without the upper border:
10812 \end_layout
10813
10814 \begin_layout Standard
10815 \align center
10816 \begin_inset Tabular
10817 <lyxtabular version="3" rows="3" columns="4">
10818 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10819 <column alignment="center" valignment="top" leftline="true" width="0pt">
10820 <column alignment="center" valignment="middle" leftline="true" width="0">
10821 <column alignment="center" valignment="top" leftline="true" width="0in">
10822 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10823 <row topline="true" bottomline="true">
10824 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10825 \begin_inset Text
10826
10827 \begin_layout Standard
10828 abc
10829 \end_layout
10830
10831 \end_inset
10832 </cell>
10833 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10834 \begin_inset Text
10835
10836 \begin_layout Standard
10837 def ghi
10838 \end_layout
10839
10840 \end_inset
10841 </cell>
10842 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10843 \begin_inset Text
10844
10845 \begin_layout Standard
10846
10847 \end_layout
10848
10849 \end_inset
10850 </cell>
10851 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10852 \begin_inset Text
10853
10854 \begin_layout Standard
10855 jkl
10856 \end_layout
10857
10858 \end_inset
10859 </cell>
10860 </row>
10861 <row topline="true">
10862 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10863 \begin_inset Text
10864
10865 \begin_layout Standard
10866
10867 \family roman
10868 \series medium
10869 \shape up
10870 \size normal
10871 \emph off
10872 \bar no
10873 \noun off
10874 \color none
10875 A
10876 \end_layout
10877
10878 \end_inset
10879 </cell>
10880 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10881 \begin_inset Text
10882
10883 \begin_layout Standard
10884 B
10885 \end_layout
10886
10887 \end_inset
10888 </cell>
10889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10890 \begin_inset Text
10891
10892 \begin_layout Standard
10893 C
10894 \end_layout
10895
10896 \end_inset
10897 </cell>
10898 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10899 \begin_inset Text
10900
10901 \begin_layout Standard
10902 D
10903 \end_layout
10904
10905 \end_inset
10906 </cell>
10907 </row>
10908 <row topline="true" bottomline="true">
10909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10910 \begin_inset Text
10911
10912 \begin_layout Standard
10913 1
10914 \end_layout
10915
10916 \end_inset
10917 </cell>
10918 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10919 \begin_inset Text
10920
10921 \begin_layout Standard
10922 2
10923 \end_layout
10924
10925 \end_inset
10926 </cell>
10927 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10928 \begin_inset Text
10929
10930 \begin_layout Standard
10931 3
10932 \end_layout
10933
10934 \end_inset
10935 </cell>
10936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10937 \begin_inset Text
10938
10939 \begin_layout Standard
10940 4
10941 \end_layout
10942
10943 \end_inset
10944 </cell>
10945 </row>
10946 </lyxtabular>
10947
10948 \end_inset
10949
10950
10951 \end_layout
10952
10953 \begin_layout Subsubsection
10954 Multicolumn Calculations
10955 \begin_inset LatexCommand label
10956 name "sub:Multicolumn-Calculations"
10957
10958 \end_inset
10959
10960
10961 \begin_inset LatexCommand index
10962 name "Multicolumns ! Calculations"
10963
10964 \end_inset
10965
10966
10967 \end_layout
10968
10969 \begin_layout Standard
10970 LyX supports multicolumns directly, but we have to take notice of the cell
10971  width of the columns spanned by the multicolumn cell.
10972 \end_layout
10973
10974 \begin_layout Standard
10975 \begin_inset Float table
10976 wide false
10977 sideways false
10978 status open
10979
10980 \begin_layout Standard
10981 \begin_inset Caption
10982
10983 \begin_layout Standard
10984 \begin_inset LatexCommand label
10985 name "tab:Table-with-centered"
10986
10987 \end_inset
10988
10989 Table with centered multicolumn text above two columns that have exactly
10990  half the width of the multicolumn cell
10991 \begin_inset OptArg
10992 status collapsed
10993
10994 \begin_layout Standard
10995 Perfect multicolumn table
10996 \end_layout
10997
10998 \end_inset
10999
11000
11001 \end_layout
11002
11003 \end_inset
11004
11005
11006 \end_layout
11007
11008 \begin_layout Standard
11009 \align center
11010 \begin_inset Tabular
11011 <lyxtabular version="3" rows="3" columns="3">
11012 <features>
11013 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11014 <column alignment="center" valignment="middle" leftline="true" width="0">
11015 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11016 <row topline="true">
11017 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11018 \begin_inset Text
11019
11020 \begin_layout Standard
11021 multiple lines multicolumn
11022 \end_layout
11023
11024 \end_inset
11025 </cell>
11026 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11027 \begin_inset Text
11028
11029 \begin_layout Standard
11030
11031 \end_layout
11032
11033 \end_inset
11034 </cell>
11035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11036 \begin_inset Text
11037
11038 \begin_layout Standard
11039 c
11040 \end_layout
11041
11042 \end_inset
11043 </cell>
11044 </row>
11045 <row topline="true">
11046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11047 \begin_inset Text
11048
11049 \begin_layout Standard
11050 d
11051 \end_layout
11052
11053 \end_inset
11054 </cell>
11055 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11056 \begin_inset Text
11057
11058 \begin_layout Standard
11059 e
11060 \end_layout
11061
11062 \end_inset
11063 </cell>
11064 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11065 \begin_inset Text
11066
11067 \begin_layout Standard
11068 f
11069 \end_layout
11070
11071 \end_inset
11072 </cell>
11073 </row>
11074 <row topline="true" bottomline="true">
11075 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11076 \begin_inset Text
11077
11078 \begin_layout Standard
11079 g
11080 \end_layout
11081
11082 \end_inset
11083 </cell>
11084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11085 \begin_inset Text
11086
11087 \begin_layout Standard
11088 h
11089 \end_layout
11090
11091 \end_inset
11092 </cell>
11093 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11094 \begin_inset Text
11095
11096 \begin_layout Standard
11097 i
11098 \end_layout
11099
11100 \end_inset
11101 </cell>
11102 </row>
11103 </lyxtabular>
11104
11105 \end_inset
11106
11107
11108 \end_layout
11109
11110 \end_inset
11111
11112
11113 \end_layout
11114
11115 \begin_layout Standard
11116 To create for example Table\InsetSpace ~
11117
11118 \begin_inset LatexCommand ref
11119 reference "tab:Table-with-centered"
11120
11121 \end_inset
11122
11123 , mark the first two cells in the first row of a 3×3 table and right-click
11124  on them.
11125  Now choose for this cell 
11126 \emph on
11127 multicolumn
11128 \emph default
11129
11130 \emph on
11131 centered alignment
11132 \emph default
11133  and a width of 2.5\InsetSpace \thinspace{}
11134 cm in the table dialog.
11135  The spanned columns should have exactly half the width of the multicolumn
11136  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
11137 cm for the first column.
11138  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
11139 cm (multicolumn
11140  width - width of first column).
11141  This was done for Table\InsetSpace ~
11142
11143 \begin_inset LatexCommand ref
11144 reference "tab:Table-without-half"
11145
11146 \end_inset
11147
11148 .
11149 \end_layout
11150
11151 \begin_layout Standard
11152 \begin_inset Float table
11153 wide false
11154 sideways false
11155 status open
11156
11157 \begin_layout Standard
11158 \begin_inset Caption
11159
11160 \begin_layout Standard
11161 \begin_inset LatexCommand label
11162 name "tab:Table-without-half"
11163
11164 \end_inset
11165
11166 Table where the spanned table columns have not exactly half the width of
11167  the multicolumn cell
11168 \begin_inset OptArg
11169 status collapsed
11170
11171 \begin_layout Standard
11172 Imperfect multicolumn table
11173 \end_layout
11174
11175 \end_inset
11176
11177
11178 \end_layout
11179
11180 \end_inset
11181
11182
11183 \end_layout
11184
11185 \begin_layout Standard
11186 \align center
11187 \begin_inset Tabular
11188 <lyxtabular version="3" rows="3" columns="3">
11189 <features>
11190 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
11191 <column alignment="center" valignment="top" leftline="true" width="0">
11192 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11193 <row topline="true" bottomline="true">
11194 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11195 \begin_inset Text
11196
11197 \begin_layout Standard
11198 multiple lines multicolumn
11199 \end_layout
11200
11201 \end_inset
11202 </cell>
11203 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11204 \begin_inset Text
11205
11206 \begin_layout Standard
11207
11208 \end_layout
11209
11210 \end_inset
11211 </cell>
11212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11213 \begin_inset Text
11214
11215 \begin_layout Standard
11216 c
11217 \end_layout
11218
11219 \end_inset
11220 </cell>
11221 </row>
11222 <row topline="true">
11223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11224 \begin_inset Text
11225
11226 \begin_layout Standard
11227 d
11228 \end_layout
11229
11230 \end_inset
11231 </cell>
11232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11233 \begin_inset Text
11234
11235 \begin_layout Standard
11236 e
11237 \end_layout
11238
11239 \end_inset
11240 </cell>
11241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11242 \begin_inset Text
11243
11244 \begin_layout Standard
11245 f
11246 \end_layout
11247
11248 \end_inset
11249 </cell>
11250 </row>
11251 <row topline="true" bottomline="true">
11252 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11253 \begin_inset Text
11254
11255 \begin_layout Standard
11256 g
11257 \end_layout
11258
11259 \end_inset
11260 </cell>
11261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11262 \begin_inset Text
11263
11264 \begin_layout Standard
11265 h
11266 \end_layout
11267
11268 \end_inset
11269 </cell>
11270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11271 \begin_inset Text
11272
11273 \begin_layout Standard
11274 i
11275 \end_layout
11276
11277 \end_inset
11278 </cell>
11279 </row>
11280 </lyxtabular>
11281
11282 \end_inset
11283
11284
11285 \end_layout
11286
11287 \end_inset
11288
11289
11290 \end_layout
11291
11292 \begin_layout Standard
11293 You can see that the first column has not the half width of the multicolumn
11294  cell, it is a bit bigger.
11295  The reason is that the given width of a cell 
11296 \begin_inset Formula $W_{g}$
11297 \end_inset
11298
11299  is not its total width 
11300 \begin_inset Formula $W_{\mathrm{tot}}$
11301 \end_inset
11302
11303  because a cell is always a bit larger than its given width.
11304  Appendix\InsetSpace ~
11305
11306 \begin_inset LatexCommand eqref
11307 reference "cha:Explanation-of-Equation"
11308
11309 \end_inset
11310
11311  explains it in detail.
11312 \end_layout
11313
11314 \begin_layout Standard
11315 The needed given width 
11316 \begin_inset Formula $W_{g\, n}$
11317 \end_inset
11318
11319  when 
11320 \emph on
11321 n
11322 \emph default
11323  columns are spanned can be calculated, so that each column has a total
11324  width of 
11325 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11326 \end_inset
11327
11328 :
11329 \begin_inset Formula \begin{equation}
11330 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11331
11332 \end_inset
11333
11334
11335 \end_layout
11336
11337 \begin_layout Standard
11338 In our case we have 
11339 \begin_inset Formula $n=2$
11340 \end_inset
11341
11342
11343 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11344 \end_inset
11345
11346 cm and the default values for the lengths, so that equation 
11347 \begin_inset LatexCommand ref
11348 reference "eq:Wgn"
11349
11350 \end_inset
11351
11352  becomes
11353 \begin_inset Formula \begin{equation}
11354 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11355
11356 \end_inset
11357
11358
11359 \end_layout
11360
11361 \begin_layout Standard
11362 To enable calculations in LaTeX, the LaTeX-package 
11363 \series bold
11364 calc
11365 \series default
11366  must be loaded with the document preamble line
11367 \begin_inset LatexCommand index
11368 name "LaTeX-packages ! calc"
11369
11370 \end_inset
11371
11372
11373 \end_layout
11374
11375 \begin_layout Standard
11376
11377 \series bold
11378
11379 \backslash
11380 usepackage{calc}
11381 \end_layout
11382
11383 \begin_layout Standard
11384 LyX does not allow to calculate lengths in the width-field of the table
11385  dialog.
11386  Therefore you have to format the column by inserting a LaTeX-argument in
11387  the dialog.
11388  Here is an overview about the arguments:
11389 \end_layout
11390
11391 \begin_layout Itemize
11392
11393 \series bold
11394 p{width}
11395 \series default
11396  creates cell with a fixed width, its text is vertically top-aligned
11397 \end_layout
11398
11399 \begin_layout Itemize
11400
11401 \series bold
11402 m{width}
11403 \series default
11404  creates cell with a fixed width, its text is vertically centered
11405 \end_layout
11406
11407 \begin_layout Itemize
11408
11409 \series bold
11410 b{width}
11411 \series default
11412  creates cell with a fixed width, its text is vertically bottom-aligned
11413 \end_layout
11414
11415 \begin_layout Standard
11416 By entering a LaTeX-argument, all cell settings set in the table dialog
11417  are overwritten.
11418 \end_layout
11419
11420 \begin_layout Standard
11421 \begin_inset Note Greyedout
11422 status open
11423
11424 \begin_layout Standard
11425
11426 \series bold
11427 Note:
11428 \series default
11429  Due to a bug, LyX shows the overwritten settings anyway.
11430 \end_layout
11431
11432 \end_inset
11433
11434
11435 \end_layout
11436
11437 \begin_layout Standard
11438 As the text should be horizontally centered, the command 
11439 \series bold
11440
11441 \backslash
11442 centering
11443 \series default
11444  is added.
11445  You can now enter the following LaTeX-argument for the first spanned column:
11446 \end_layout
11447
11448 \begin_layout Standard
11449
11450 \series bold
11451 >{
11452 \backslash
11453 centering}m{1.25cm-6.2pt}
11454 \end_layout
11455
11456 \begin_layout Standard
11457 The command 
11458 \series bold
11459 >{ }
11460 \series default
11461  means, that the commands inside the braces are applied before the cell
11462  is created.
11463 \end_layout
11464
11465 \begin_layout Standard
11466 Although we have chosen centered alignment for the text of the multicolumn
11467  cell, it is still left aligned.
11468  This is because LyX only applies the alignment to single columns.
11469  So we have to use for the multicolumn the LaTeX-argument
11470 \end_layout
11471
11472 \begin_layout Standard
11473
11474 \series bold
11475 >{
11476 \backslash
11477 centering}m{2.5cm}
11478 \end_layout
11479
11480 \begin_layout Subsection
11481 Multirows
11482 \begin_inset LatexCommand index
11483 name "Multirows"
11484
11485 \end_inset
11486
11487
11488 \begin_inset LatexCommand index
11489 name "Table ! Multirows"
11490
11491 \end_inset
11492
11493
11494 \begin_inset LatexCommand index
11495 name "LaTeX-packages ! multirow"
11496
11497 \end_inset
11498
11499
11500 \end_layout
11501
11502 \begin_layout Standard
11503 In contrary to multicolumns multirows are not yet supported by LyX so a
11504  bit of TeX-Code needs to be used.
11505  To use multirows load the LaTeX-package 
11506 \series bold
11507 multirow
11508 \series default
11509  in your document preamble with the command
11510 \end_layout
11511
11512 \begin_layout Standard
11513
11514 \series bold
11515
11516 \backslash
11517 usepackage{multirow}
11518 \end_layout
11519
11520 \begin_layout Standard
11521 Multirows are created with the command
11522 \end_layout
11523
11524 \begin_layout Standard
11525
11526 \series bold
11527
11528 \backslash
11529 multirow{number of rows}{cell width}{cell entry}
11530 \end_layout
11531
11532 \begin_layout Standard
11533 To create the following table:
11534 \end_layout
11535
11536 \begin_layout Standard
11537 \align center
11538 \begin_inset ERT
11539 status collapsed
11540
11541 \begin_layout Standard
11542
11543
11544 \backslash
11545 renewcommand{
11546 \backslash
11547 multirowsetup}{
11548 \backslash
11549 centering}
11550 \end_layout
11551
11552 \end_inset
11553
11554
11555 \begin_inset Tabular
11556 <lyxtabular version="3" rows="3" columns="3">
11557 <features>
11558 <column alignment="center" valignment="top" leftline="true" width="0">
11559 <column alignment="center" valignment="top" leftline="true" width="0">
11560 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11561 <row topline="true">
11562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11563 \begin_inset Text
11564
11565 \begin_layout Standard
11566 a
11567 \end_layout
11568
11569 \end_inset
11570 </cell>
11571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11572 \begin_inset Text
11573
11574 \begin_layout Standard
11575 b
11576 \end_layout
11577
11578 \end_inset
11579 </cell>
11580 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11581 \begin_inset Text
11582
11583 \begin_layout Standard
11584 c
11585 \end_layout
11586
11587 \end_inset
11588 </cell>
11589 </row>
11590 <row topline="true">
11591 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11592 \begin_inset Text
11593
11594 \begin_layout Standard
11595 \begin_inset ERT
11596 status collapsed
11597
11598 \begin_layout Standard
11599
11600
11601 \backslash
11602 multirow{2}{2.5cm}{
11603 \end_layout
11604
11605 \end_inset
11606
11607 multirow entry
11608 \begin_inset ERT
11609 status collapsed
11610
11611 \begin_layout Standard
11612
11613 }
11614 \end_layout
11615
11616 \end_inset
11617
11618
11619 \end_layout
11620
11621 \end_inset
11622 </cell>
11623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11624 \begin_inset Text
11625
11626 \begin_layout Standard
11627 e
11628 \end_layout
11629
11630 \end_inset
11631 </cell>
11632 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11633 \begin_inset Text
11634
11635 \begin_layout Standard
11636 f
11637 \end_layout
11638
11639 \end_inset
11640 </cell>
11641 </row>
11642 <row topline="true" bottomline="true">
11643 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11644 \begin_inset Text
11645
11646 \begin_layout Standard
11647
11648 \end_layout
11649
11650 \end_inset
11651 </cell>
11652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11653 \begin_inset Text
11654
11655 \begin_layout Standard
11656 h
11657 \end_layout
11658
11659 \end_inset
11660 </cell>
11661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11662 \begin_inset Text
11663
11664 \begin_layout Standard
11665 i
11666 \end_layout
11667
11668 \end_inset
11669 </cell>
11670 </row>
11671 </lyxtabular>
11672
11673 \end_inset
11674
11675
11676 \begin_inset ERT
11677 status collapsed
11678
11679 \begin_layout Standard
11680
11681
11682 \backslash
11683 renewcommand{
11684 \backslash
11685 multirowsetup}{
11686 \backslash
11687 raggedright}
11688 \end_layout
11689
11690 \end_inset
11691
11692
11693 \end_layout
11694
11695 \begin_layout Standard
11696 create a 3×3 table.
11697  To get rid of the line above the last cell in the first column, the cell
11698  is marked as multicolumn and the upper border is unset.
11699  The multirow is now created in the second row of the first column by inserting
11700  there the command
11701 \end_layout
11702
11703 \begin_layout Standard
11704
11705 \series bold
11706
11707 \backslash
11708 multirow{2}{2.5cm}{
11709 \end_layout
11710
11711 \begin_layout Standard
11712 as TeX-Code.
11713  According to the command parameters the multirow spans now two rows and
11714  has a width of 2.5\InsetSpace \thinspace{}
11715 cm.
11716  The content of the multirow cell follows outside the TeX-Code box and the
11717  command is finished with a right brace 
11718 \series bold
11719 }
11720 \series default
11721  in another TeX-Code-box behind the text.
11722 \end_layout
11723
11724 \begin_layout Standard
11725
11726 \series bold
11727
11728 \backslash
11729 multirow
11730 \series default
11731  left-aligns its content by default.
11732  To override the default, renew the command 
11733 \series bold
11734
11735 \backslash
11736 multirowsetup
11737 \series default
11738  with the command
11739 \end_layout
11740
11741 \begin_layout Standard
11742
11743 \series bold
11744
11745 \backslash
11746 renewcommand{
11747 \backslash
11748 multirowsetup}{
11749 \backslash
11750 centering}
11751 \end_layout
11752
11753 \begin_layout Standard
11754 in TeX-Code in the document preamble.
11755  Then all entries of multirow cells in the document are centered.
11756  If centering is only needed for several tables, you can renew the command
11757  in an TeX-Code box just before the table instead of the preamble.
11758  If the text should be right-aligned, replace 
11759 \series bold
11760
11761 \backslash
11762 centering
11763 \series default
11764  by 
11765 \series bold
11766
11767 \backslash
11768 raggedleft
11769 \series default
11770 .
11771  To return to left-alignment 
11772 \series bold
11773
11774 \backslash
11775 raggedright
11776 \series default
11777  is used.
11778 \end_layout
11779
11780 \begin_layout Section
11781 Formal Tables
11782 \begin_inset LatexCommand label
11783 name "sec:Formal-Tables"
11784
11785 \end_inset
11786
11787
11788 \begin_inset LatexCommand index
11789 name "Table ! Formal"
11790
11791 \end_inset
11792
11793
11794 \end_layout
11795
11796 \begin_layout Standard
11797 Tables are often typeset in books similar to Table\InsetSpace ~
11798
11799 \begin_inset LatexCommand ref
11800 reference "tab:Example-booktabs-table"
11801
11802 \end_inset
11803
11804 .
11805  This kind of tables is called 
11806 \begin_inset Quotes eld
11807 \end_inset
11808
11809
11810 \emph on
11811 formal
11812 \emph default
11813
11814 \begin_inset Quotes erd
11815 \end_inset
11816
11817 .
11818  To make a table a formal table use the option 
11819 \family sans
11820 Formal
11821 \family default
11822  in the 
11823 \family sans
11824 Borders
11825 \family default
11826  tab of the table dialog.
11827 \end_layout
11828
11829 \begin_layout Standard
11830 \begin_inset Float table
11831 placement h
11832 wide false
11833 sideways false
11834 status open
11835
11836 \begin_layout Standard
11837 \begin_inset Caption
11838
11839 \begin_layout Standard
11840 \begin_inset LatexCommand label
11841 name "tab:Example-booktabs-table"
11842
11843 \end_inset
11844
11845 Example booktabs-table
11846 \end_layout
11847
11848 \end_inset
11849
11850
11851 \end_layout
11852
11853 \begin_layout Standard
11854 \align center
11855 \begin_inset Tabular
11856 <lyxtabular version="3" rows="8" columns="4">
11857 <features booktabs="true">
11858 <column alignment="center" valignment="top" rightline="true" width="0">
11859 <column alignment="center" valignment="top" width="0">
11860 <column alignment="center" valignment="top" width="0">
11861 <column alignment="center" valignment="top" width="0">
11862 <row topline="true">
11863 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11864 \begin_inset Text
11865
11866 \begin_layout Standard
11867 System
11868 \end_layout
11869
11870 \end_inset
11871 </cell>
11872 <cell alignment="center" valignment="top" topline="true" usebox="none">
11873 \begin_inset Text
11874
11875 \begin_layout Standard
11876 Medipix
11877 \begin_inset Formula $\,$
11878 \end_inset
11879
11880 1
11881 \end_layout
11882
11883 \end_inset
11884 </cell>
11885 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11886 \begin_inset Text
11887
11888 \begin_layout Standard
11889 Medipix
11890 \begin_inset Formula $\,$
11891 \end_inset
11892
11893 2
11894 \end_layout
11895
11896 \end_inset
11897 </cell>
11898 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11899 \begin_inset Text
11900
11901 \begin_layout Standard
11902
11903 \end_layout
11904
11905 \end_inset
11906 </cell>
11907 </row>
11908 <row>
11909 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11910 \begin_inset Text
11911
11912 \begin_layout Standard
11913 \begin_inset ERT
11914 status collapsed
11915
11916 \begin_layout Standard
11917
11918
11919 \backslash
11920 cmidrule(r){2-2}
11921 \end_layout
11922
11923 \end_inset
11924
11925
11926 \begin_inset ERT
11927 status collapsed
11928
11929 \begin_layout Standard
11930
11931
11932 \backslash
11933 cmidrule(l){3-4}
11934 \end_layout
11935
11936 \end_inset
11937
11938 Detector thickness [µm]
11939 \end_layout
11940
11941 \end_inset
11942 </cell>
11943 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11944 \begin_inset Text
11945
11946 \begin_layout Standard
11947 300
11948 \end_layout
11949
11950 \end_inset
11951 </cell>
11952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11953 \begin_inset Text
11954
11955 \begin_layout Standard
11956 300
11957 \end_layout
11958
11959 \end_inset
11960 </cell>
11961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11962 \begin_inset Text
11963
11964 \begin_layout Standard
11965 700
11966 \end_layout
11967
11968 \end_inset
11969 </cell>
11970 </row>
11971 <row topline="true">
11972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11973 \begin_inset Text
11974
11975 \begin_layout Standard
11976 Edge angle [°]
11977 \end_layout
11978
11979 \end_inset
11980 </cell>
11981 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11982 \begin_inset Text
11983
11984 \begin_layout Standard
11985 3.55
11986 \end_layout
11987
11988 \end_inset
11989 </cell>
11990 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11991 \begin_inset Text
11992
11993 \begin_layout Standard
11994 2.71
11995 \end_layout
11996
11997 \end_inset
11998 </cell>
11999 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12000 \begin_inset Text
12001
12002 \begin_layout Standard
12003 7.99
12004 \end_layout
12005
12006 \end_inset
12007 </cell>
12008 </row>
12009 <row topspace="default">
12010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12011 \begin_inset Text
12012
12013 \begin_layout Standard
12014 Spatial resolution [µm]
12015 \end_layout
12016
12017 \end_inset
12018 </cell>
12019 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12020 \begin_inset Text
12021
12022 \begin_layout Standard
12023 4.26
12024 \end_layout
12025
12026 \end_inset
12027 </cell>
12028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12029 \begin_inset Text
12030
12031 \begin_layout Standard
12032 10.17
12033 \end_layout
12034
12035 \end_inset
12036 </cell>
12037 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12038 \begin_inset Text
12039
12040 \begin_layout Standard
12041 10.56
12042 \end_layout
12043
12044 \end_inset
12045 </cell>
12046 </row>
12047 <row topspace="default">
12048 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12049 \begin_inset Text
12050
12051 \begin_layout Standard
12052 MTF at 
12053 \begin_inset Formula $f_{\mathrm{max}}$
12054 \end_inset
12055
12056
12057 \end_layout
12058
12059 \end_inset
12060 </cell>
12061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12062 \begin_inset Text
12063
12064 \begin_layout Standard
12065 0.53
12066 \end_layout
12067
12068 \end_inset
12069 </cell>
12070 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12071 \begin_inset Text
12072
12073 \begin_layout Standard
12074 0.37
12075 \end_layout
12076
12077 \end_inset
12078 </cell>
12079 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12080 \begin_inset Text
12081
12082 \begin_layout Standard
12083 0.39
12084 \end_layout
12085
12086 \end_inset
12087 </cell>
12088 </row>
12089 <row topspace="default">
12090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12091 \begin_inset Text
12092
12093 \begin_layout Standard
12094 \begin_inset ERT
12095 status collapsed
12096
12097 \begin_layout Standard
12098
12099
12100 \backslash
12101 cmidrule(l{10pt}){1-1}
12102 \end_layout
12103
12104 \end_inset
12105
12106 LSF-spatial resolution
12107 \end_layout
12108
12109 \end_inset
12110 </cell>
12111 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12112 \begin_inset Text
12113
12114 \begin_layout Standard
12115
12116 \end_layout
12117
12118 \end_inset
12119 </cell>
12120 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12121 \begin_inset Text
12122
12123 \begin_layout Standard
12124
12125 \end_layout
12126
12127 \end_inset
12128 </cell>
12129 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12130 \begin_inset Text
12131
12132 \begin_layout Standard
12133
12134 \end_layout
12135
12136 \end_inset
12137 </cell>
12138 </row>
12139 <row>
12140 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12141 \begin_inset Text
12142
12143 \begin_layout Standard
12144 in Âµm
12145 \end_layout
12146
12147 \end_inset
12148 </cell>
12149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12150 \begin_inset Text
12151
12152 \begin_layout Standard
12153 129.7
12154 \end_layout
12155
12156 \end_inset
12157 </cell>
12158 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12159 \begin_inset Text
12160
12161 \begin_layout Standard
12162 52.75
12163 \end_layout
12164
12165 \end_inset
12166 </cell>
12167 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12168 \begin_inset Text
12169
12170 \begin_layout Standard
12171 50.78
12172 \end_layout
12173
12174 \end_inset
12175 </cell>
12176 </row>
12177 <row bottomline="true">
12178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12179 \begin_inset Text
12180
12181 \begin_layout Standard
12182 in % of pixel size
12183 \end_layout
12184
12185 \end_inset
12186 </cell>
12187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12188 \begin_inset Text
12189
12190 \begin_layout Standard
12191 76.3
12192 \end_layout
12193
12194 \end_inset
12195 </cell>
12196 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12197 \begin_inset Text
12198
12199 \begin_layout Standard
12200 95.9
12201 \end_layout
12202
12203 \end_inset
12204 </cell>
12205 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12206 \begin_inset Text
12207
12208 \begin_layout Standard
12209 92.3
12210 \end_layout
12211
12212 \end_inset
12213 </cell>
12214 </row>
12215 </lyxtabular>
12216
12217 \end_inset
12218
12219
12220 \end_layout
12221
12222 \end_inset
12223
12224
12225 \end_layout
12226
12227 \begin_layout Standard
12228 Spaces to table rows can be added using the 
12229 \family sans
12230 Borders
12231 \family default
12232  tab of the table dialog as described in section\InsetSpace ~
12233
12234 \begin_inset LatexCommand ref
12235 reference "sub:Row-Spacing"
12236
12237 \end_inset
12238
12239 .
12240 \end_layout
12241
12242 \begin_layout Standard
12243 In contrary to normal tables, formal tables have no vertical table lines.
12244  The horizontal table lines can be set like for normal tables but they appear
12245  with different width in the output:
12246 \newline
12247 The first and the last table line have
12248  a default width of 0.08\InsetSpace \thinspace{}
12249 em while the other lines have a default width of
12250  0.05\InsetSpace \thinspace{}
12251 em.
12252 \end_layout
12253
12254 \begin_layout Standard
12255 The default widths can be changed with the following preamble lines
12256 \end_layout
12257
12258 \begin_layout Standard
12259
12260 \series bold
12261
12262 \backslash
12263 let
12264 \backslash
12265 mytoprule
12266 \backslash
12267 toprule
12268 \newline
12269
12270 \backslash
12271 renewcommand{
12272 \backslash
12273 toprule}{
12274 \backslash
12275 mytoprule[width]}
12276 \end_layout
12277
12278 \begin_layout Standard
12279 This example is for the first line, the so called 
12280 \series bold
12281 toprule
12282 \series default
12283 .
12284  If you want to change the width for the last line, replace 
12285 \series bold
12286 toprule
12287 \series default
12288  by 
12289 \series bold
12290 bottomrule
12291 \series default
12292 .
12293  To change the width for the other lines replace 
12294 \series bold
12295 toprule
12296 \series default
12297  by 
12298 \series bold
12299 midrule
12300 \series default
12301 .
12302  You can use all units listed in appendix\InsetSpace ~
12303
12304 \begin_inset LatexCommand ref
12305 reference "cha:Units-available-in"
12306
12307 \end_inset
12308
12309  to set the width.
12310 \end_layout
12311
12312 \begin_layout Standard
12313 Lines that don't span over all table columns can be created by setting a
12314  table line for multicolumn cells.
12315  LyX will then internally use the command 
12316 \series bold
12317
12318 \backslash
12319 cmidrule
12320 \series default
12321  to create this line.
12322  Its full scheme is
12323 \end_layout
12324
12325 \begin_layout Standard
12326
12327 \series bold
12328
12329 \backslash
12330 cmidrule[width](trim){startcol-endcol}
12331 \end_layout
12332
12333 \begin_layout Standard
12334 The options of 
12335 \series bold
12336
12337 \backslash
12338 cmidrule
12339 \series default
12340  are are currently not supported by LyX so you have to use TeX-Code to be
12341  able to use them.
12342  
12343 \series bold
12344
12345 \backslash
12346 cmidrule
12347 \series default
12348 s can manually be created by inserting the command as TeX-Code as first
12349  cell entry of the first cell of a row.
12350  The line is then drawn in the output above the current row.
12351 \end_layout
12352
12353 \begin_layout Standard
12354 The default for the width is 0.03\InsetSpace \thinspace{}
12355 em.
12356  Startcol is the number of the column where the line starts and endcol the
12357  column number where the line ends.
12358  The endcol always needs to be specified, also when the line should span
12359  only one column.
12360  The optional parameter trim could be either 
12361 \emph on
12362 l{trimwidth}
12363 \emph default
12364 , or 
12365 \emph on
12366 r{trimwidth}
12367 \emph default
12368  where the trimwidth is also optional.
12369  Using for example the parameter 
12370 \emph on
12371 l{2pt}
12372 \emph default
12373  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12374 pt.
12375  If you don't specify the trimwidth the lines are trimmed by the default
12376  of 0.5\InsetSpace \thinspace{}
12377 em.
12378 \end_layout
12379
12380 \begin_layout Standard
12381 \begin_inset VSpace bigskip
12382 \end_inset
12383
12384 Table\InsetSpace ~
12385
12386 \begin_inset LatexCommand ref
12387 reference "tab:Example-booktabs-table"
12388
12389 \end_inset
12390
12391  was created using the commands
12392 \end_layout
12393
12394 \begin_layout Standard
12395
12396 \series bold
12397
12398 \backslash
12399 cmidrule(r){2-2}
12400 \backslash
12401 cmidrule(l){3-4}
12402 \end_layout
12403
12404 \begin_layout Standard
12405 at the beginning of the in the second row and
12406 \end_layout
12407
12408 \begin_layout Standard
12409
12410 \series bold
12411
12412 \backslash
12413 cmidrule(l{10pt}){1-1}
12414 \end_layout
12415
12416 \begin_layout Standard
12417 in the sixth row.
12418 \end_layout
12419
12420 \begin_layout Standard
12421 \begin_inset VSpace bigskip
12422 \end_inset
12423
12424
12425 \end_layout
12426
12427 \begin_layout Standard
12428 You might want to have overlapping 
12429 \series bold
12430
12431 \backslash
12432 cmidrule
12433 \series default
12434 s like in Table\InsetSpace ~
12435
12436 \begin_inset LatexCommand ref
12437 reference "tab:Special-booktabs-table"
12438
12439 \end_inset
12440
12441 .
12442  This can be achieved with the TeX-Code command
12443 \end_layout
12444
12445 \begin_layout Standard
12446
12447 \series bold
12448
12449 \backslash
12450 morecmidrules
12451 \end_layout
12452
12453 \begin_layout Standard
12454 The command that was used for the second row of Table\InsetSpace ~
12455
12456 \begin_inset LatexCommand ref
12457 reference "tab:Special-booktabs-table"
12458
12459 \end_inset
12460
12461  is
12462 \end_layout
12463
12464 \begin_layout Standard
12465
12466 \series bold
12467
12468 \backslash
12469 cmidrule(r){2-2}
12470 \backslash
12471 cmidrule(l){3-4}
12472 \backslash
12473 morecmidrules
12474 \backslash
12475 cmidrule{2-4}
12476 \end_layout
12477
12478 \begin_layout Standard
12479 The command for the sixth row is
12480 \end_layout
12481
12482 \begin_layout Standard
12483
12484 \series bold
12485
12486 \backslash
12487 midrule
12488 \backslash
12489 morecmidrules
12490 \backslash
12491 cmidrule{3-4}
12492 \end_layout
12493
12494 \begin_layout Standard
12495 \begin_inset VSpace bigskip
12496 \end_inset
12497
12498
12499 \end_layout
12500
12501 \begin_layout Standard
12502 If you are anyway not satisfied with the border line spacing, you can use
12503  the following command to produce lines that span over all table columns
12504 \series bold
12505 :
12506 \end_layout
12507
12508 \begin_layout Standard
12509
12510 \series bold
12511
12512 \backslash
12513 specialrule{width}{space above}{space below}
12514 \end_layout
12515
12516 \begin_layout Standard
12517 For more informations about these specialties, we refer to the manual of
12518  the LaTeX-package 
12519 \series bold
12520 booktabs
12521 \series default
12522  
12523 \begin_inset LatexCommand cite
12524 key "booktabs"
12525
12526 \end_inset
12527
12528 .
12529 \begin_inset LatexCommand index
12530 name "LaTeX-packages ! booktabs"
12531
12532 \end_inset
12533
12534
12535 \end_layout
12536
12537 \begin_layout Standard
12538 \begin_inset Float table
12539 placement h
12540 wide false
12541 sideways false
12542 status open
12543
12544 \begin_layout Standard
12545 \begin_inset Caption
12546
12547 \begin_layout Standard
12548 \begin_inset LatexCommand label
12549 name "tab:Special-booktabs-table"
12550
12551 \end_inset
12552
12553 Special booktabs-table
12554 \end_layout
12555
12556 \end_inset
12557
12558
12559 \end_layout
12560
12561 \begin_layout Standard
12562 \align center
12563 \begin_inset Tabular
12564 <lyxtabular version="3" rows="8" columns="4">
12565 <features booktabs="true">
12566 <column alignment="center" valignment="top" width="0">
12567 <column alignment="center" valignment="top" width="0">
12568 <column alignment="center" valignment="top" width="0">
12569 <column alignment="center" valignment="top" width="0">
12570 <row topline="true">
12571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12572 \begin_inset Text
12573
12574 \begin_layout Standard
12575 System
12576 \end_layout
12577
12578 \end_inset
12579 </cell>
12580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12581 \begin_inset Text
12582
12583 \begin_layout Standard
12584 Medipix\InsetSpace \thinspace{}
12585 1
12586 \end_layout
12587
12588 \end_inset
12589 </cell>
12590 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12591 \begin_inset Text
12592
12593 \begin_layout Standard
12594 Medipix\InsetSpace \thinspace{}
12595 2
12596 \end_layout
12597
12598 \end_inset
12599 </cell>
12600 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12601 \begin_inset Text
12602
12603 \begin_layout Standard
12604
12605 \end_layout
12606
12607 \end_inset
12608 </cell>
12609 </row>
12610 <row>
12611 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12612 \begin_inset Text
12613
12614 \begin_layout Standard
12615 \begin_inset ERT
12616 status collapsed
12617
12618 \begin_layout Standard
12619
12620
12621 \backslash
12622 cmidrule(r){2-2}
12623 \end_layout
12624
12625 \end_inset
12626
12627
12628 \begin_inset ERT
12629 status collapsed
12630
12631 \begin_layout Standard
12632
12633
12634 \backslash
12635 cmidrule(l){3-4}
12636 \end_layout
12637
12638 \end_inset
12639
12640
12641 \begin_inset ERT
12642 status collapsed
12643
12644 \begin_layout Standard
12645
12646
12647 \backslash
12648 morecmidrules 
12649 \end_layout
12650
12651 \end_inset
12652
12653
12654 \begin_inset ERT
12655 status collapsed
12656
12657 \begin_layout Standard
12658
12659
12660 \backslash
12661 cmidrule{2-4}
12662 \end_layout
12663
12664 \end_inset
12665
12666 Detector thickness [µm]
12667 \end_layout
12668
12669 \end_inset
12670 </cell>
12671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12672 \begin_inset Text
12673
12674 \begin_layout Standard
12675 300
12676 \end_layout
12677
12678 \end_inset
12679 </cell>
12680 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12681 \begin_inset Text
12682
12683 \begin_layout Standard
12684 300
12685 \end_layout
12686
12687 \end_inset
12688 </cell>
12689 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12690 \begin_inset Text
12691
12692 \begin_layout Standard
12693 700
12694 \end_layout
12695
12696 \end_inset
12697 </cell>
12698 </row>
12699 <row topline="true">
12700 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12701 \begin_inset Text
12702
12703 \begin_layout Standard
12704 Edge angle [°]
12705 \end_layout
12706
12707 \end_inset
12708 </cell>
12709 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12710 \begin_inset Text
12711
12712 \begin_layout Standard
12713 3.55
12714 \end_layout
12715
12716 \end_inset
12717 </cell>
12718 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12719 \begin_inset Text
12720
12721 \begin_layout Standard
12722 2.71
12723 \end_layout
12724
12725 \end_inset
12726 </cell>
12727 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12728 \begin_inset Text
12729
12730 \begin_layout Standard
12731 7.99
12732 \end_layout
12733
12734 \end_inset
12735 </cell>
12736 </row>
12737 <row topspace="default">
12738 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12739 \begin_inset Text
12740
12741 \begin_layout Standard
12742 Spatial resolution [µm]
12743 \end_layout
12744
12745 \end_inset
12746 </cell>
12747 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12748 \begin_inset Text
12749
12750 \begin_layout Standard
12751 4.26
12752 \end_layout
12753
12754 \end_inset
12755 </cell>
12756 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12757 \begin_inset Text
12758
12759 \begin_layout Standard
12760 10.17
12761 \end_layout
12762
12763 \end_inset
12764 </cell>
12765 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12766 \begin_inset Text
12767
12768 \begin_layout Standard
12769 10.56
12770 \end_layout
12771
12772 \end_inset
12773 </cell>
12774 </row>
12775 <row topspace="default">
12776 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12777 \begin_inset Text
12778
12779 \begin_layout Standard
12780 MTF at 
12781 \begin_inset Formula $f_{\mathrm{max}}$
12782 \end_inset
12783
12784
12785 \end_layout
12786
12787 \end_inset
12788 </cell>
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Standard
12793 0.53
12794 \end_layout
12795
12796 \end_inset
12797 </cell>
12798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12799 \begin_inset Text
12800
12801 \begin_layout Standard
12802 0.37
12803 \end_layout
12804
12805 \end_inset
12806 </cell>
12807 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12808 \begin_inset Text
12809
12810 \begin_layout Standard
12811 0.39
12812 \end_layout
12813
12814 \end_inset
12815 </cell>
12816 </row>
12817 <row topline="true">
12818 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12819 \begin_inset Text
12820
12821 \begin_layout Standard
12822 \begin_inset ERT
12823 status collapsed
12824
12825 \begin_layout Standard
12826
12827
12828 \backslash
12829 morecmidrules 
12830 \end_layout
12831
12832 \end_inset
12833
12834
12835 \begin_inset ERT
12836 status collapsed
12837
12838 \begin_layout Standard
12839
12840
12841 \backslash
12842 cmidrule{3-4}
12843 \end_layout
12844
12845 \end_inset
12846
12847 LSF-spatial resolution
12848 \end_layout
12849
12850 \end_inset
12851 </cell>
12852 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12853 \begin_inset Text
12854
12855 \begin_layout Standard
12856
12857 \end_layout
12858
12859 \end_inset
12860 </cell>
12861 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12862 \begin_inset Text
12863
12864 \begin_layout Standard
12865
12866 \end_layout
12867
12868 \end_inset
12869 </cell>
12870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12871 \begin_inset Text
12872
12873 \begin_layout Standard
12874
12875 \end_layout
12876
12877 \end_inset
12878 </cell>
12879 </row>
12880 <row>
12881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12882 \begin_inset Text
12883
12884 \begin_layout Standard
12885 in Âµm
12886 \end_layout
12887
12888 \end_inset
12889 </cell>
12890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12891 \begin_inset Text
12892
12893 \begin_layout Standard
12894 129.7
12895 \end_layout
12896
12897 \end_inset
12898 </cell>
12899 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12900 \begin_inset Text
12901
12902 \begin_layout Standard
12903 52.75
12904 \end_layout
12905
12906 \end_inset
12907 </cell>
12908 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12909 \begin_inset Text
12910
12911 \begin_layout Standard
12912 50.78
12913 \end_layout
12914
12915 \end_inset
12916 </cell>
12917 </row>
12918 <row bottomline="true">
12919 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12920 \begin_inset Text
12921
12922 \begin_layout Standard
12923 in % of pixel size
12924 \end_layout
12925
12926 \end_inset
12927 </cell>
12928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12929 \begin_inset Text
12930
12931 \begin_layout Standard
12932 76.3
12933 \end_layout
12934
12935 \end_inset
12936 </cell>
12937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12938 \begin_inset Text
12939
12940 \begin_layout Standard
12941 95.9
12942 \end_layout
12943
12944 \end_inset
12945 </cell>
12946 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12947 \begin_inset Text
12948
12949 \begin_layout Standard
12950 92.3
12951 \end_layout
12952
12953 \end_inset
12954 </cell>
12955 </row>
12956 </lyxtabular>
12957
12958 \end_inset
12959
12960
12961 \end_layout
12962
12963 \end_inset
12964
12965
12966 \end_layout
12967
12968 \begin_layout Section
12969 Vertical Table Alignment
12970 \begin_inset LatexCommand index
12971 name "Table ! Alignment"
12972
12973 \end_inset
12974
12975
12976 \end_layout
12977
12978 \begin_layout Standard
12979 To align tables vertically in a text line the table must be inside a box.
12980  The box can then be vertically aligned as described in section\InsetSpace ~
12981
12982 \begin_inset LatexCommand ref
12983 reference "sec:Box-Dialog"
12984
12985 \end_inset
12986
12987 .
12988 \end_layout
12989
12990 \begin_layout Standard
12991 In the following example the tables are inside a minipage
12992 \begin_inset Foot
12993 status collapsed
12994
12995 \begin_layout Standard
12996 Minipages are described in section\InsetSpace ~
12997
12998 \begin_inset LatexCommand ref
12999 reference "sec:Minipages"
13000
13001 \end_inset
13002
13003 .
13004 \end_layout
13005
13006 \end_inset
13007
13008  box that has a width of 15\InsetSpace \thinspace{}
13009 col%:
13010 \end_layout
13011
13012 \begin_layout Itemize
13013 test 
13014 \begin_inset Box Frameless
13015 position "t"
13016 hor_pos "c"
13017 has_inner_box 1
13018 inner_pos "c"
13019 use_parbox 0
13020 width "15col%"
13021 special "none"
13022 height "1in"
13023 height_special "totalheight"
13024 status collapsed
13025
13026 \begin_layout Standard
13027 \begin_inset Tabular
13028 <lyxtabular version="3" rows="3" columns="3">
13029 <features>
13030 <column alignment="center" valignment="top" leftline="true" width="0">
13031 <column alignment="center" valignment="top" leftline="true" width="0">
13032 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13033 <row topline="true">
13034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13035 \begin_inset Text
13036
13037 \begin_layout Standard
13038 a
13039 \end_layout
13040
13041 \end_inset
13042 </cell>
13043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13044 \begin_inset Text
13045
13046 \begin_layout Standard
13047 d
13048 \end_layout
13049
13050 \end_inset
13051 </cell>
13052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13053 \begin_inset Text
13054
13055 \begin_layout Standard
13056 g
13057 \end_layout
13058
13059 \end_inset
13060 </cell>
13061 </row>
13062 <row topline="true">
13063 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13064 \begin_inset Text
13065
13066 \begin_layout Standard
13067 b
13068 \end_layout
13069
13070 \end_inset
13071 </cell>
13072 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13073 \begin_inset Text
13074
13075 \begin_layout Standard
13076 e
13077 \end_layout
13078
13079 \end_inset
13080 </cell>
13081 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13082 \begin_inset Text
13083
13084 \begin_layout Standard
13085 h
13086 \end_layout
13087
13088 \end_inset
13089 </cell>
13090 </row>
13091 <row topline="true" bottomline="true">
13092 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13093 \begin_inset Text
13094
13095 \begin_layout Standard
13096 c
13097 \end_layout
13098
13099 \end_inset
13100 </cell>
13101 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13102 \begin_inset Text
13103
13104 \begin_layout Standard
13105 f
13106 \end_layout
13107
13108 \end_inset
13109 </cell>
13110 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13111 \begin_inset Text
13112
13113 \begin_layout Standard
13114 i
13115 \end_layout
13116
13117 \end_inset
13118 </cell>
13119 </row>
13120 </lyxtabular>
13121
13122 \end_inset
13123
13124
13125 \end_layout
13126
13127 \end_inset
13128
13129  test 
13130 \begin_inset ERT
13131 status collapsed
13132
13133 \begin_layout Standard
13134
13135
13136 \backslash
13137 raisebox{0.85
13138 \backslash
13139 baselineskip}{
13140 \end_layout
13141
13142 \end_inset
13143
13144
13145 \begin_inset Box Frameless
13146 position "t"
13147 hor_pos "c"
13148 has_inner_box 1
13149 inner_pos "c"
13150 use_parbox 0
13151 width "15col%"
13152 special "none"
13153 height "1in"
13154 height_special "totalheight"
13155 status collapsed
13156
13157 \begin_layout Standard
13158 \begin_inset Tabular
13159 <lyxtabular version="3" rows="3" columns="3">
13160 <features>
13161 <column alignment="center" valignment="top" leftline="true" width="0">
13162 <column alignment="center" valignment="top" leftline="true" width="0">
13163 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13164 <row topline="true">
13165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13166 \begin_inset Text
13167
13168 \begin_layout Standard
13169 a
13170 \end_layout
13171
13172 \end_inset
13173 </cell>
13174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13175 \begin_inset Text
13176
13177 \begin_layout Standard
13178 d
13179 \end_layout
13180
13181 \end_inset
13182 </cell>
13183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13184 \begin_inset Text
13185
13186 \begin_layout Standard
13187 g
13188 \end_layout
13189
13190 \end_inset
13191 </cell>
13192 </row>
13193 <row topline="true">
13194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13195 \begin_inset Text
13196
13197 \begin_layout Standard
13198 b
13199 \end_layout
13200
13201 \end_inset
13202 </cell>
13203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13204 \begin_inset Text
13205
13206 \begin_layout Standard
13207 e
13208 \end_layout
13209
13210 \end_inset
13211 </cell>
13212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13213 \begin_inset Text
13214
13215 \begin_layout Standard
13216 h
13217 \end_layout
13218
13219 \end_inset
13220 </cell>
13221 </row>
13222 <row topline="true" bottomline="true">
13223 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13224 \begin_inset Text
13225
13226 \begin_layout Standard
13227 c
13228 \end_layout
13229
13230 \end_inset
13231 </cell>
13232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13233 \begin_inset Text
13234
13235 \begin_layout Standard
13236 f
13237 \end_layout
13238
13239 \end_inset
13240 </cell>
13241 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13242 \begin_inset Text
13243
13244 \begin_layout Standard
13245 i
13246 \end_layout
13247
13248 \end_inset
13249 </cell>
13250 </row>
13251 </lyxtabular>
13252
13253 \end_inset
13254
13255
13256 \end_layout
13257
13258 \end_inset
13259
13260
13261 \begin_inset ERT
13262 status collapsed
13263
13264 \begin_layout Standard
13265
13266 }
13267 \end_layout
13268
13269 \end_inset
13270
13271
13272 \end_layout
13273
13274 \begin_layout Itemize
13275 test 
13276 \begin_inset Box Frameless
13277 position "c"
13278 hor_pos "c"
13279 has_inner_box 1
13280 inner_pos "c"
13281 use_parbox 0
13282 width "15col%"
13283 special "none"
13284 height "1in"
13285 height_special "totalheight"
13286 status collapsed
13287
13288 \begin_layout Standard
13289 \begin_inset Tabular
13290 <lyxtabular version="3" rows="3" columns="3">
13291 <features>
13292 <column alignment="center" valignment="top" leftline="true" width="0">
13293 <column alignment="center" valignment="top" leftline="true" width="0">
13294 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13295 <row topline="true">
13296 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13297 \begin_inset Text
13298
13299 \begin_layout Standard
13300 a
13301 \end_layout
13302
13303 \end_inset
13304 </cell>
13305 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13306 \begin_inset Text
13307
13308 \begin_layout Standard
13309 d
13310 \end_layout
13311
13312 \end_inset
13313 </cell>
13314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13315 \begin_inset Text
13316
13317 \begin_layout Standard
13318 g
13319 \end_layout
13320
13321 \end_inset
13322 </cell>
13323 </row>
13324 <row topline="true">
13325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13326 \begin_inset Text
13327
13328 \begin_layout Standard
13329 b
13330 \end_layout
13331
13332 \end_inset
13333 </cell>
13334 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13335 \begin_inset Text
13336
13337 \begin_layout Standard
13338 e
13339 \end_layout
13340
13341 \end_inset
13342 </cell>
13343 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13344 \begin_inset Text
13345
13346 \begin_layout Standard
13347 h
13348 \end_layout
13349
13350 \end_inset
13351 </cell>
13352 </row>
13353 <row topline="true" bottomline="true">
13354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13355 \begin_inset Text
13356
13357 \begin_layout Standard
13358 c
13359 \end_layout
13360
13361 \end_inset
13362 </cell>
13363 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13364 \begin_inset Text
13365
13366 \begin_layout Standard
13367 f
13368 \end_layout
13369
13370 \end_inset
13371 </cell>
13372 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13373 \begin_inset Text
13374
13375 \begin_layout Standard
13376 i
13377 \end_layout
13378
13379 \end_inset
13380 </cell>
13381 </row>
13382 </lyxtabular>
13383
13384 \end_inset
13385
13386
13387 \end_layout
13388
13389 \end_inset
13390
13391
13392 \end_layout
13393
13394 \begin_layout Itemize
13395 test 
13396 \begin_inset Box Frameless
13397 position "b"
13398 hor_pos "c"
13399 has_inner_box 1
13400 inner_pos "c"
13401 use_parbox 0
13402 width "15col%"
13403 special "none"
13404 height "1in"
13405 height_special "totalheight"
13406 status collapsed
13407
13408 \begin_layout Standard
13409 \begin_inset Tabular
13410 <lyxtabular version="3" rows="3" columns="3">
13411 <features>
13412 <column alignment="center" valignment="top" leftline="true" width="0">
13413 <column alignment="center" valignment="top" leftline="true" width="0">
13414 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13415 <row topline="true">
13416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13417 \begin_inset Text
13418
13419 \begin_layout Standard
13420 a
13421 \end_layout
13422
13423 \end_inset
13424 </cell>
13425 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13426 \begin_inset Text
13427
13428 \begin_layout Standard
13429 d
13430 \end_layout
13431
13432 \end_inset
13433 </cell>
13434 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13435 \begin_inset Text
13436
13437 \begin_layout Standard
13438 g
13439 \end_layout
13440
13441 \end_inset
13442 </cell>
13443 </row>
13444 <row topline="true">
13445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13446 \begin_inset Text
13447
13448 \begin_layout Standard
13449 b
13450 \end_layout
13451
13452 \end_inset
13453 </cell>
13454 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13455 \begin_inset Text
13456
13457 \begin_layout Standard
13458 e
13459 \end_layout
13460
13461 \end_inset
13462 </cell>
13463 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13464 \begin_inset Text
13465
13466 \begin_layout Standard
13467 h
13468 \end_layout
13469
13470 \end_inset
13471 </cell>
13472 </row>
13473 <row topline="true" bottomline="true">
13474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13475 \begin_inset Text
13476
13477 \begin_layout Standard
13478 c
13479 \end_layout
13480
13481 \end_inset
13482 </cell>
13483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13484 \begin_inset Text
13485
13486 \begin_layout Standard
13487 f
13488 \end_layout
13489
13490 \end_inset
13491 </cell>
13492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13493 \begin_inset Text
13494
13495 \begin_layout Standard
13496 i
13497 \end_layout
13498
13499 \end_inset
13500 </cell>
13501 </row>
13502 </lyxtabular>
13503
13504 \end_inset
13505
13506
13507 \end_layout
13508
13509 \end_inset
13510
13511  test 
13512 \begin_inset ERT
13513 status collapsed
13514
13515 \begin_layout Standard
13516
13517
13518 \backslash
13519 raisebox{-0.32
13520 \backslash
13521 baselineskip}{
13522 \end_layout
13523
13524 \end_inset
13525
13526
13527 \begin_inset Box Frameless
13528 position "b"
13529 hor_pos "c"
13530 has_inner_box 1
13531 inner_pos "c"
13532 use_parbox 0
13533 width "15col%"
13534 special "none"
13535 height "1in"
13536 height_special "totalheight"
13537 status collapsed
13538
13539 \begin_layout Standard
13540 \begin_inset Tabular
13541 <lyxtabular version="3" rows="3" columns="3">
13542 <features>
13543 <column alignment="center" valignment="top" leftline="true" width="0">
13544 <column alignment="center" valignment="top" leftline="true" width="0">
13545 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13546 <row topline="true">
13547 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13548 \begin_inset Text
13549
13550 \begin_layout Standard
13551 a
13552 \end_layout
13553
13554 \end_inset
13555 </cell>
13556 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13557 \begin_inset Text
13558
13559 \begin_layout Standard
13560 d
13561 \end_layout
13562
13563 \end_inset
13564 </cell>
13565 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13566 \begin_inset Text
13567
13568 \begin_layout Standard
13569 g
13570 \end_layout
13571
13572 \end_inset
13573 </cell>
13574 </row>
13575 <row topline="true">
13576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13577 \begin_inset Text
13578
13579 \begin_layout Standard
13580 b
13581 \end_layout
13582
13583 \end_inset
13584 </cell>
13585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13586 \begin_inset Text
13587
13588 \begin_layout Standard
13589 e
13590 \end_layout
13591
13592 \end_inset
13593 </cell>
13594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13595 \begin_inset Text
13596
13597 \begin_layout Standard
13598 h
13599 \end_layout
13600
13601 \end_inset
13602 </cell>
13603 </row>
13604 <row topline="true" bottomline="true">
13605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13606 \begin_inset Text
13607
13608 \begin_layout Standard
13609 c
13610 \end_layout
13611
13612 \end_inset
13613 </cell>
13614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13615 \begin_inset Text
13616
13617 \begin_layout Standard
13618 f
13619 \end_layout
13620
13621 \end_inset
13622 </cell>
13623 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13624 \begin_inset Text
13625
13626 \begin_layout Standard
13627 i
13628 \end_layout
13629
13630 \end_inset
13631 </cell>
13632 </row>
13633 </lyxtabular>
13634
13635 \end_inset
13636
13637
13638 \end_layout
13639
13640 \end_inset
13641
13642
13643 \begin_inset ERT
13644 status collapsed
13645
13646 \begin_layout Standard
13647
13648 }
13649 \end_layout
13650
13651 \end_inset
13652
13653
13654 \end_layout
13655
13656 \begin_layout Standard
13657 As you can see, the content of the first and last table row is not correctly
13658  aligned with the text line where the table is in.
13659  To get this alignment, the minipage box must be set into a raisebox
13660 \begin_inset Foot
13661 status collapsed
13662
13663 \begin_layout Standard
13664 Raiseboxes are described in section\InsetSpace ~
13665
13666 \begin_inset LatexCommand ref
13667 reference "sub:Vertical-Alignment"
13668
13669 \end_inset
13670
13671 .
13672 \end_layout
13673
13674 \end_inset
13675
13676 .
13677  In the example above the second table in the first item is aligned using
13678  the TeX-Code-command
13679 \end_layout
13680
13681 \begin_layout Standard
13682
13683 \series bold
13684
13685 \backslash
13686 raisebox{0.85
13687 \backslash
13688 baselineskip}{
13689 \end_layout
13690
13691 \begin_layout Standard
13692 before the box.
13693  Behind the box the closing brace 
13694 \series bold
13695 }
13696 \series default
13697  is inserted as TeX-Code.
13698  For the second table in the last item the command
13699 \end_layout
13700
13701 \begin_layout Standard
13702
13703 \series bold
13704
13705 \backslash
13706 raisebox{-0.32
13707 \backslash
13708 baselineskip}{
13709 \end_layout
13710
13711 \begin_layout Standard
13712 is used.
13713 \end_layout
13714
13715 \begin_layout Standard
13716 \begin_inset Note Greyedout
13717 status open
13718
13719 \begin_layout Standard
13720
13721 \series bold
13722 Note:
13723 \series default
13724  The alignment of the table row content to the surrounding text line is
13725  not exact.
13726  The needed factor of the 
13727 \series bold
13728
13729 \backslash
13730 raisebox
13731 \series default
13732  command for this alignment depends on the document font, the font size,
13733  and the table line thickness.
13734 \end_layout
13735
13736 \end_inset
13737
13738
13739 \end_layout
13740
13741 \begin_layout Section
13742 Colored Tables
13743 \begin_inset LatexCommand label
13744 name "sec:Colored-Tables"
13745
13746 \end_inset
13747
13748
13749 \begin_inset LatexCommand index
13750 name "Table ! Color"
13751
13752 \end_inset
13753
13754
13755 \end_layout
13756
13757 \begin_layout Subsection
13758 Colored Cells
13759 \begin_inset LatexCommand index
13760 name "Table Color ! for Cells"
13761
13762 \end_inset
13763
13764
13765 \begin_inset LatexCommand index
13766 name "Color ! for Table Cells"
13767
13768 \end_inset
13769
13770
13771 \end_layout
13772
13773 \begin_layout Standard
13774 \begin_inset Float table
13775 placement h
13776 wide false
13777 sideways false
13778 status open
13779
13780 \begin_layout Standard
13781 \begin_inset Caption
13782
13783 \begin_layout Standard
13784 \begin_inset LatexCommand label
13785 name "tab:Table-colored-without"
13786
13787 \end_inset
13788
13789 Table colored without using the package 
13790 \series bold
13791 colortbl
13792 \series default
13793
13794 \begin_inset OptArg
13795 status collapsed
13796
13797 \begin_layout Standard
13798 Table without colortbl
13799 \end_layout
13800
13801 \end_inset
13802
13803
13804 \end_layout
13805
13806 \end_inset
13807
13808
13809 \end_layout
13810
13811 \begin_layout Standard
13812 \align center
13813 \begin_inset Tabular
13814 <lyxtabular version="3" rows="3" columns="3">
13815 <features>
13816 <column alignment="center" valignment="top" leftline="true" width="0">
13817 <column alignment="center" valignment="top" leftline="true" width="0">
13818 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13819 <row topline="true">
13820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13821 \begin_inset Text
13822
13823 \begin_layout Standard
13824
13825 \color green
13826 a
13827 \end_layout
13828
13829 \end_inset
13830 </cell>
13831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13832 \begin_inset Text
13833
13834 \begin_layout Standard
13835
13836 \color red
13837 b
13838 \end_layout
13839
13840 \end_inset
13841 </cell>
13842 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13843 \begin_inset Text
13844
13845 \begin_layout Standard
13846
13847 \color red
13848 c
13849 \end_layout
13850
13851 \end_inset
13852 </cell>
13853 </row>
13854 <row topline="true">
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Standard
13859
13860 \color green
13861 d
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13867 \begin_inset Text
13868
13869 \begin_layout Standard
13870
13871 \color blue
13872 e
13873 \end_layout
13874
13875 \end_inset
13876 </cell>
13877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13878 \begin_inset Text
13879
13880 \begin_layout Standard
13881
13882 \color blue
13883 f
13884 \end_layout
13885
13886 \end_inset
13887 </cell>
13888 </row>
13889 <row topline="true" bottomline="true">
13890 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13891 \begin_inset Text
13892
13893 \begin_layout Standard
13894
13895 \color green
13896 g
13897 \end_layout
13898
13899 \end_inset
13900 </cell>
13901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13902 \begin_inset Text
13903
13904 \begin_layout Standard
13905
13906 \color blue
13907 h
13908 \end_layout
13909
13910 \end_inset
13911 </cell>
13912 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13913 \begin_inset Text
13914
13915 \begin_layout Standard
13916
13917 \color blue
13918 i
13919 \end_layout
13920
13921 \end_inset
13922 </cell>
13923 </row>
13924 </lyxtabular>
13925
13926 \end_inset
13927
13928
13929 \end_layout
13930
13931 \end_inset
13932
13933
13934 \end_layout
13935
13936 \begin_layout Standard
13937 If you only need colored text, mark the cells and choose a color in the
13938  menu 
13939 \family sans
13940 Edit\SpecialChar \menuseparator
13941 Text\InsetSpace ~
13942 Style
13943 \family default
13944 .
13945  This was used to create Table\InsetSpace ~
13946
13947 \begin_inset LatexCommand ref
13948 reference "tab:Table-colored-without"
13949
13950 \end_inset
13951
13952 .
13953  In any other case you have to use the LaTeX-package 
13954 \series bold
13955 colortbl
13956 \series default
13957 .
13958 \begin_inset LatexCommand index
13959 name "LaTeX-packages ! colortbl"
13960
13961 \end_inset
13962
13963
13964 \end_layout
13965
13966 \begin_layout Standard
13967 \begin_inset ERT
13968 status collapsed
13969
13970 \begin_layout Standard
13971
13972
13973 \backslash
13974 ifcolortbl
13975 \end_layout
13976
13977 \end_inset
13978
13979
13980 \begin_inset Note Note
13981 status open
13982
13983 \begin_layout Standard
13984 The following section part will only be displayed when the LaTeX-package
13985  
13986 \series bold
13987 colortbl
13988 \series default
13989  is installed.
13990 \end_layout
13991
13992 \end_inset
13993
13994
13995 \end_layout
13996
13997 \begin_layout Standard
13998 To create colored tables, 
13999 \series bold
14000 colortbl
14001 \series default
14002  must be loaded in the preamble with the line
14003 \end_layout
14004
14005 \begin_layout Standard
14006
14007 \series bold
14008
14009 \backslash
14010 usepackage{colortbl}
14011 \end_layout
14012
14013 \begin_layout Standard
14014 The color of a column is adjusted with the command
14015 \end_layout
14016
14017 \begin_layout Standard
14018
14019 \series bold
14020
14021 \backslash
14022 columncolor{name of color}
14023 \end_layout
14024
14025 \begin_layout Standard
14026 inside the command 
14027 \series bold
14028 >{ }
14029 \series default
14030 .
14031  More about the command 
14032 \series bold
14033 >{}
14034 \series default
14035  is described in section\InsetSpace ~
14036
14037 \begin_inset LatexCommand ref
14038 reference "sub:Multicolumn-Calculations"
14039
14040 \end_inset
14041
14042 .
14043 \end_layout
14044
14045 \begin_layout Standard
14046 The following color names are predefined:
14047 \end_layout
14048
14049 \begin_layout Standard
14050
14051 \family sans
14052 red
14053 \family default
14054
14055 \family sans
14056 green
14057 \family default
14058
14059 \family sans
14060 yellow
14061 \family default
14062
14063 \family sans
14064 blue
14065 \family default
14066
14067 \family sans
14068 cyan
14069 \family default
14070
14071 \family sans
14072 magenta
14073 \family default
14074
14075 \family sans
14076 black
14077 \family default
14078  and 
14079 \family sans
14080 white
14081 \end_layout
14082
14083 \begin_layout Standard
14084 \begin_inset VSpace medskip
14085 \end_inset
14086
14087
14088 \end_layout
14089
14090 \begin_layout Standard
14091 You can also define your own color with the command
14092 \end_layout
14093
14094 \begin_layout Standard
14095
14096 \series bold
14097
14098 \backslash
14099 def\SpecialChar \textcompwordmark{}
14100 inecolor{color name}{color model}{color values}
14101 \end_layout
14102
14103 \begin_layout Standard
14104 The color model can be
14105 \end_layout
14106
14107 \begin_layout Labeling
14108 \labelwidthstring 00.00.0000
14109 cmyk: cyan, magenta, yellow, black
14110 \end_layout
14111
14112 \begin_layout Labeling
14113 \labelwidthstring 00.00.0000
14114 rgb: red, green blue
14115 \end_layout
14116
14117 \begin_layout Labeling
14118 \labelwidthstring 00.00.0000
14119 gray gray
14120 \end_layout
14121
14122 \begin_layout Standard
14123 and the color values are comma separated numbers between 0 and 1 describing
14124  the factor for the corresponding color of the color model.
14125 \end_layout
14126
14127 \begin_layout Standard
14128 You can e.\InsetSpace \thinspace{}
14129 g.\InsetSpace ~
14130 define the color "
14131 \emph on
14132 darkgreen
14133 \emph default
14134 " in the preamble with
14135 \end_layout
14136
14137 \begin_layout Standard
14138
14139 \series bold
14140
14141 \backslash
14142 def\SpecialChar \textcompwordmark{}
14143 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14144 \end_layout
14145
14146 \begin_layout Standard
14147 and the color "
14148 \emph on
14149 lightgray
14150 \emph default
14151 " with
14152 \end_layout
14153
14154 \begin_layout Standard
14155
14156 \series bold
14157
14158 \backslash
14159 def\SpecialChar \textcompwordmark{}
14160 inecolor{lightgray}{gray}{0.8}
14161 \end_layout
14162
14163 \begin_layout Standard
14164 \begin_inset VSpace medskip
14165 \end_inset
14166
14167
14168 \end_layout
14169
14170 \begin_layout Standard
14171 Lines are colored with the command
14172 \end_layout
14173
14174 \begin_layout Standard
14175
14176 \series bold
14177
14178 \backslash
14179 rowcolor{name of color}
14180 \end_layout
14181
14182 \begin_layout Standard
14183 and cells are colored with the command
14184 \end_layout
14185
14186 \begin_layout Standard
14187
14188 \series bold
14189
14190 \backslash
14191 cellcolor{name of color}
14192 \end_layout
14193
14194 \begin_layout Standard
14195 Both commands are inserted at the beginning of a cell as TeX-Code.
14196 \end_layout
14197
14198 \begin_layout Standard
14199 To color characters in the table, mark the cells and use the LyX menu 
14200 \family sans
14201 Edit\SpecialChar \menuseparator
14202 Text\InsetSpace ~
14203 Style
14204 \family default
14205 .
14206  If a cell contains TeX-Code mark only the characters, otherwise the colored
14207  TeX-Code will cause LaTeX-errors.
14208 \end_layout
14209
14210 \begin_layout Standard
14211 \begin_inset Note Greyedout
14212 status open
14213
14214 \begin_layout Standard
14215
14216 \series bold
14217 Note:
14218 \series default
14219  Not all DVI-viewers are able to display self-defined colors.
14220 \end_layout
14221
14222 \end_inset
14223
14224
14225 \end_layout
14226
14227 \begin_layout Standard
14228 \begin_inset VSpace bigskip
14229 \end_inset
14230
14231
14232 \end_layout
14233
14234 \begin_layout Standard
14235 To create Table\InsetSpace ~
14236
14237 \begin_inset LatexCommand ref
14238 reference "tab:Table-colored-using"
14239
14240 \end_inset
14241
14242  do the following: The color of the first column should be 
14243 \emph on
14244 darkgreen
14245 \emph default
14246 .
14247  So insert
14248 \end_layout
14249
14250 \begin_layout Standard
14251
14252 \series bold
14253 >{
14254 \backslash
14255 columncolor{darkgreen}
14256 \backslash
14257 centering}c
14258 \end_layout
14259
14260 \begin_layout Standard
14261 as LaTeX-argument for this column.
14262  The first row should be blue, therefore the TeX-Code command
14263 \end_layout
14264
14265 \begin_layout Standard
14266
14267 \series bold
14268
14269 \backslash
14270 rowcolow{cyan}
14271 \end_layout
14272
14273 \begin_layout Standard
14274 is inserted to the first cell of this row.
14275  Note that this overwrites the column color for the first cell.
14276  The last cell of the last row is colored magenta by inserting the TeX-Code
14277  command
14278 \end_layout
14279
14280 \begin_layout Standard
14281
14282 \series bold
14283
14284 \backslash
14285 cellcolor{magenta}
14286 \end_layout
14287
14288 \begin_layout Standard
14289 The characters could now be colored using the menu 
14290 \family sans
14291 Edit\SpecialChar \menuseparator
14292 Text\InsetSpace ~
14293 Style
14294 \family default
14295 .
14296 \end_layout
14297
14298 \begin_layout Standard
14299 \begin_inset Float table
14300 placement h
14301 wide false
14302 sideways false
14303 status open
14304
14305 \begin_layout Standard
14306 \begin_inset Caption
14307
14308 \begin_layout Standard
14309 \begin_inset LatexCommand label
14310 name "tab:Table-colored-using"
14311
14312 \end_inset
14313
14314 Table colored using the package 
14315 \series bold
14316 colortbl
14317 \series default
14318
14319 \begin_inset OptArg
14320 status collapsed
14321
14322 \begin_layout Standard
14323 Table with colortbl
14324 \end_layout
14325
14326 \end_inset
14327
14328
14329 \end_layout
14330
14331 \end_inset
14332
14333
14334 \end_layout
14335
14336 \begin_layout Standard
14337 \align center
14338 \begin_inset Tabular
14339 <lyxtabular version="3" rows="3" columns="3">
14340 <features>
14341 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14342 <column alignment="center" valignment="top" width="0">
14343 <column alignment="center" valignment="top" width="0">
14344 <row>
14345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14346 \begin_inset Text
14347
14348 \begin_layout Standard
14349 \begin_inset ERT
14350 status collapsed
14351
14352 \begin_layout Standard
14353
14354
14355 \backslash
14356 rowcolor{cyan}
14357 \end_layout
14358
14359 \end_inset
14360
14361
14362 \color magenta
14363 a
14364 \end_layout
14365
14366 \end_inset
14367 </cell>
14368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14369 \begin_inset Text
14370
14371 \begin_layout Standard
14372
14373 \color red
14374 b
14375 \end_layout
14376
14377 \end_inset
14378 </cell>
14379 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14380 \begin_inset Text
14381
14382 \begin_layout Standard
14383
14384 \color red
14385 c
14386 \end_layout
14387
14388 \end_inset
14389 </cell>
14390 </row>
14391 <row>
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14393 \begin_inset Text
14394
14395 \begin_layout Standard
14396
14397 \color yellow
14398 d
14399 \end_layout
14400
14401 \end_inset
14402 </cell>
14403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14404 \begin_inset Text
14405
14406 \begin_layout Standard
14407
14408 \color blue
14409 e
14410 \end_layout
14411
14412 \end_inset
14413 </cell>
14414 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14415 \begin_inset Text
14416
14417 \begin_layout Standard
14418
14419 \color blue
14420 f
14421 \end_layout
14422
14423 \end_inset
14424 </cell>
14425 </row>
14426 <row>
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14428 \begin_inset Text
14429
14430 \begin_layout Standard
14431
14432 \color yellow
14433 g
14434 \end_layout
14435
14436 \end_inset
14437 </cell>
14438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14439 \begin_inset Text
14440
14441 \begin_layout Standard
14442
14443 \color blue
14444 h
14445 \end_layout
14446
14447 \end_inset
14448 </cell>
14449 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14450 \begin_inset Text
14451
14452 \begin_layout Standard
14453 \begin_inset ERT
14454 status collapsed
14455
14456 \begin_layout Standard
14457
14458
14459 \backslash
14460 cellcolor{magenta}
14461 \end_layout
14462
14463 \end_inset
14464
14465
14466 \color green
14467 i
14468 \end_layout
14469
14470 \end_inset
14471 </cell>
14472 </row>
14473 </lyxtabular>
14474
14475 \end_inset
14476
14477
14478 \end_layout
14479
14480 \end_inset
14481
14482
14483 \end_layout
14484
14485 \begin_layout Standard
14486 \begin_inset ERT
14487 status collapsed
14488
14489 \begin_layout Standard
14490
14491
14492 \backslash
14493 else
14494 \end_layout
14495
14496 \end_inset
14497
14498
14499 \begin_inset Note Note
14500 status open
14501
14502 \begin_layout Standard
14503 The following will be displayed when the LaTeX-package 
14504 \series bold
14505 colortbl
14506 \series default
14507  is not installed:
14508 \end_layout
14509
14510 \end_inset
14511
14512
14513 \end_layout
14514
14515 \begin_layout Standard
14516 You need to install the package 
14517 \series bold
14518 colortbl
14519 \series default
14520  to see the content of this section in the output.
14521 \end_layout
14522
14523 \begin_layout Standard
14524 \begin_inset ERT
14525 status collapsed
14526
14527 \begin_layout Standard
14528
14529
14530 \backslash
14531 fi
14532 \end_layout
14533
14534 \end_inset
14535
14536
14537 \end_layout
14538
14539 \begin_layout Subsection
14540 Colored Lines
14541 \begin_inset LatexCommand index
14542 name "Table Color ! for Lines"
14543
14544 \end_inset
14545
14546
14547 \begin_inset LatexCommand index
14548 name "Color ! for Table Lines"
14549
14550 \end_inset
14551
14552
14553 \end_layout
14554
14555 \begin_layout Standard
14556 As described in section\InsetSpace ~
14557
14558 \begin_inset LatexCommand ref
14559 reference "sub:Line-Thickness"
14560
14561 \end_inset
14562
14563 , the line thickness for all lines in a table can be adjusted with the length
14564  
14565 \series bold
14566
14567 \backslash
14568 arrayrulewidth
14569 \series default
14570 .
14571  It is set to 1.5\InsetSpace \thinspace{}
14572 pt for all tables of this section.
14573 \begin_inset ERT
14574 status collapsed
14575
14576 \begin_layout Standard
14577
14578
14579 \backslash
14580 setlength{
14581 \backslash
14582 arrayrulewidth}{1.5pt}
14583 \end_layout
14584
14585 \end_inset
14586
14587
14588 \end_layout
14589
14590 \begin_layout Standard
14591 To color vertical lines for example with green, create the following column
14592  format in the document preamble, according to the description in section\InsetSpace ~
14593
14594 \begin_inset LatexCommand ref
14595 reference "sub:Customized-Format"
14596
14597 \end_inset
14598
14599 :
14600 \end_layout
14601
14602 \begin_layout Standard
14603
14604 \series bold
14605
14606 \backslash
14607 newcolumntype{W}{!{
14608 \backslash
14609 color{green}
14610 \backslash
14611 vline}}
14612 \end_layout
14613
14614 \begin_layout Standard
14615 For Table\InsetSpace ~
14616
14617 \begin_inset LatexCommand ref
14618 reference "tab:Table-with-vertical-colored"
14619
14620 \end_inset
14621
14622  the LaTeX-argument
14623 \series bold
14624  WcW
14625 \series default
14626  was used for the last column and
14627 \series bold
14628  Wc
14629 \series default
14630  for the other columns.
14631 \end_layout
14632
14633 \begin_layout Standard
14634 If you want to have several colors, define more column formats.
14635 \end_layout
14636
14637 \begin_layout Standard
14638 \begin_inset Float table
14639 wide false
14640 sideways false
14641 status open
14642
14643 \begin_layout Standard
14644 \begin_inset Caption
14645
14646 \begin_layout Standard
14647 \begin_inset LatexCommand label
14648 name "tab:Table-with-vertical-colored"
14649
14650 \end_inset
14651
14652 Table with colored vertical lines
14653 \end_layout
14654
14655 \end_inset
14656
14657
14658 \end_layout
14659
14660 \begin_layout Standard
14661 \align center
14662 \begin_inset Tabular
14663 <lyxtabular version="3" rows="3" columns="3">
14664 <features>
14665 <column alignment="center" valignment="top" width="0" special="Wc">
14666 <column alignment="center" valignment="top" width="0" special="Wc">
14667 <column alignment="center" valignment="top" width="0" special="WcW">
14668 <row topline="true">
14669 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14670 \begin_inset Text
14671
14672 \begin_layout Standard
14673 sd
14674 \end_layout
14675
14676 \end_inset
14677 </cell>
14678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14679 \begin_inset Text
14680
14681 \begin_layout Standard
14682
14683 \end_layout
14684
14685 \end_inset
14686 </cell>
14687 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14688 \begin_inset Text
14689
14690 \begin_layout Standard
14691
14692 \end_layout
14693
14694 \end_inset
14695 </cell>
14696 </row>
14697 <row topline="true">
14698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14699 \begin_inset Text
14700
14701 \begin_layout Standard
14702
14703 \end_layout
14704
14705 \end_inset
14706 </cell>
14707 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14708 \begin_inset Text
14709
14710 \begin_layout Standard
14711 sd
14712 \end_layout
14713
14714 \end_inset
14715 </cell>
14716 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14717 \begin_inset Text
14718
14719 \begin_layout Standard
14720
14721 \end_layout
14722
14723 \end_inset
14724 </cell>
14725 </row>
14726 <row topline="true" bottomline="true">
14727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14728 \begin_inset Text
14729
14730 \begin_layout Standard
14731
14732 \end_layout
14733
14734 \end_inset
14735 </cell>
14736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14737 \begin_inset Text
14738
14739 \begin_layout Standard
14740
14741 \end_layout
14742
14743 \end_inset
14744 </cell>
14745 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14746 \begin_inset Text
14747
14748 \begin_layout Standard
14749 sd
14750 \end_layout
14751
14752 \end_inset
14753 </cell>
14754 </row>
14755 </lyxtabular>
14756
14757 \end_inset
14758
14759
14760 \end_layout
14761
14762 \end_inset
14763
14764
14765 \end_layout
14766
14767 \begin_layout Standard
14768 \begin_inset VSpace bigskip
14769 \end_inset
14770
14771 To color horizontal lines for example with red, like in Table\InsetSpace ~
14772
14773 \begin_inset LatexCommand ref
14774 reference "tab:Table-with-horizontal-colored"
14775
14776 \end_inset
14777
14778 , insert these commands in TeX-Code before the table or table float:
14779 \end_layout
14780
14781 \begin_layout Standard
14782
14783 \series bold
14784
14785 \backslash
14786 let
14787 \backslash
14788 myHlineC
14789 \backslash
14790 hline
14791 \newline
14792
14793 \backslash
14794 renewcommand{
14795 \backslash
14796 hline}
14797 \newline
14798
14799 \begin_inset ERT
14800 status collapsed
14801
14802 \begin_layout Standard
14803
14804
14805 \backslash
14806 hphantom{ }
14807 \end_layout
14808
14809 \end_inset
14810
14811 {
14812 \backslash
14813 arrayrulecolor{red}
14814 \backslash
14815 myHlineC
14816 \backslash
14817 arrayrulecolor{black}}
14818 \end_layout
14819
14820 \begin_layout Standard
14821 \begin_inset ERT
14822 status collapsed
14823
14824 \begin_layout Standard
14825
14826
14827 \backslash
14828 let
14829 \backslash
14830 myHlineC
14831 \backslash
14832 hline
14833 \end_layout
14834
14835 \begin_layout Standard
14836
14837
14838 \backslash
14839 renewcommand{
14840 \backslash
14841 hline}
14842 \end_layout
14843
14844 \begin_layout Standard
14845
14846  {
14847 \backslash
14848 arrayrulecolor{red}
14849 \backslash
14850 myHlineC
14851 \backslash
14852 arrayrulecolor{black}}
14853 \end_layout
14854
14855 \end_inset
14856
14857
14858 \begin_inset Float table
14859 wide false
14860 sideways false
14861 status open
14862
14863 \begin_layout Standard
14864 \begin_inset Caption
14865
14866 \begin_layout Standard
14867 \begin_inset LatexCommand label
14868 name "tab:Table-with-horizontal-colored"
14869
14870 \end_inset
14871
14872 Table with colored horizontal lines
14873 \end_layout
14874
14875 \end_inset
14876
14877
14878 \end_layout
14879
14880 \begin_layout Standard
14881 \align center
14882 \begin_inset Tabular
14883 <lyxtabular version="3" rows="3" columns="3">
14884 <features>
14885 <column alignment="center" valignment="top" leftline="true" width="0">
14886 <column alignment="center" valignment="top" leftline="true" width="0">
14887 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14888 <row topline="true">
14889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14890 \begin_inset Text
14891
14892 \begin_layout Standard
14893 sd
14894 \end_layout
14895
14896 \end_inset
14897 </cell>
14898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14899 \begin_inset Text
14900
14901 \begin_layout Standard
14902
14903 \end_layout
14904
14905 \end_inset
14906 </cell>
14907 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14908 \begin_inset Text
14909
14910 \begin_layout Standard
14911
14912 \end_layout
14913
14914 \end_inset
14915 </cell>
14916 </row>
14917 <row topline="true">
14918 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14919 \begin_inset Text
14920
14921 \begin_layout Standard
14922
14923 \end_layout
14924
14925 \end_inset
14926 </cell>
14927 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14928 \begin_inset Text
14929
14930 \begin_layout Standard
14931 sd
14932 \end_layout
14933
14934 \end_inset
14935 </cell>
14936 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14937 \begin_inset Text
14938
14939 \begin_layout Standard
14940
14941 \end_layout
14942
14943 \end_inset
14944 </cell>
14945 </row>
14946 <row topline="true" bottomline="true">
14947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14948 \begin_inset Text
14949
14950 \begin_layout Standard
14951
14952 \end_layout
14953
14954 \end_inset
14955 </cell>
14956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14957 \begin_inset Text
14958
14959 \begin_layout Standard
14960
14961 \end_layout
14962
14963 \end_inset
14964 </cell>
14965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14966 \begin_inset Text
14967
14968 \begin_layout Standard
14969 sd
14970 \end_layout
14971
14972 \end_inset
14973 </cell>
14974 </row>
14975 </lyxtabular>
14976
14977 \end_inset
14978
14979
14980 \end_layout
14981
14982 \end_inset
14983
14984
14985 \end_layout
14986
14987 \begin_layout Standard
14988 \begin_inset ERT
14989 status collapsed
14990
14991 \begin_layout Standard
14992
14993
14994 \backslash
14995 pagebreak 
14996 \end_layout
14997
14998 \end_inset
14999
15000
15001 \end_layout
15002
15003 \begin_layout Standard
15004 To return to the default line color black, insert this command in TeX-Code
15005  behind the table or table float:
15006 \end_layout
15007
15008 \begin_layout Standard
15009
15010 \series bold
15011
15012 \backslash
15013 renewcommand{
15014 \backslash
15015 hline}{
15016 \backslash
15017 myHlineC}
15018 \end_layout
15019
15020 \begin_layout Standard
15021 Table\InsetSpace ~
15022
15023 \begin_inset LatexCommand ref
15024 reference "tab:Table-with-colored"
15025
15026 \end_inset
15027
15028  is an example with colored vertical and horizontal lines.
15029 \end_layout
15030
15031 \begin_layout Standard
15032 \begin_inset Float table
15033 placement h
15034 wide false
15035 sideways false
15036 status open
15037
15038 \begin_layout Standard
15039 \begin_inset Caption
15040
15041 \begin_layout Standard
15042 \begin_inset LatexCommand label
15043 name "tab:Table-with-colored"
15044
15045 \end_inset
15046
15047 Table with colored lines
15048 \end_layout
15049
15050 \end_inset
15051
15052
15053 \end_layout
15054
15055 \begin_layout Standard
15056 \align center
15057 \begin_inset Tabular
15058 <lyxtabular version="3" rows="3" columns="3">
15059 <features>
15060 <column alignment="center" valignment="top" width="0" special="Wc">
15061 <column alignment="center" valignment="top" width="0" special="Wc">
15062 <column alignment="center" valignment="top" width="0" special="WcW">
15063 <row topline="true">
15064 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15065 \begin_inset Text
15066
15067 \begin_layout Standard
15068 sd
15069 \end_layout
15070
15071 \end_inset
15072 </cell>
15073 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15074 \begin_inset Text
15075
15076 \begin_layout Standard
15077
15078 \end_layout
15079
15080 \end_inset
15081 </cell>
15082 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15083 \begin_inset Text
15084
15085 \begin_layout Standard
15086
15087 \end_layout
15088
15089 \end_inset
15090 </cell>
15091 </row>
15092 <row topline="true">
15093 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15094 \begin_inset Text
15095
15096 \begin_layout Standard
15097
15098 \end_layout
15099
15100 \end_inset
15101 </cell>
15102 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15103 \begin_inset Text
15104
15105 \begin_layout Standard
15106 sd
15107 \end_layout
15108
15109 \end_inset
15110 </cell>
15111 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15112 \begin_inset Text
15113
15114 \begin_layout Standard
15115
15116 \end_layout
15117
15118 \end_inset
15119 </cell>
15120 </row>
15121 <row topline="true" bottomline="true" topspace="default">
15122 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15123 \begin_inset Text
15124
15125 \begin_layout Standard
15126
15127 \end_layout
15128
15129 \end_inset
15130 </cell>
15131 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15132 \begin_inset Text
15133
15134 \begin_layout Standard
15135
15136 \end_layout
15137
15138 \end_inset
15139 </cell>
15140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15141 \begin_inset Text
15142
15143 \begin_layout Standard
15144 sd
15145 \end_layout
15146
15147 \end_inset
15148 </cell>
15149 </row>
15150 </lyxtabular>
15151
15152 \end_inset
15153
15154
15155 \end_layout
15156
15157 \end_inset
15158
15159
15160 \end_layout
15161
15162 \begin_layout Standard
15163 \begin_inset ERT
15164 status collapsed
15165
15166 \begin_layout Standard
15167
15168
15169 \backslash
15170 renewcommand{
15171 \backslash
15172 hline}{
15173 \backslash
15174 myHlineC}
15175 \end_layout
15176
15177 \end_inset
15178
15179
15180 \end_layout
15181
15182 \begin_layout Standard
15183 \begin_inset ERT
15184 status collapsed
15185
15186 \begin_layout Standard
15187
15188
15189 \backslash
15190 setlength{
15191 \backslash
15192 arrayrulewidth}{0.4pt}
15193 \end_layout
15194
15195 \end_inset
15196
15197
15198 \end_layout
15199
15200 \begin_layout Section
15201 Table Customization
15202 \begin_inset LatexCommand index
15203 name "Table Customization"
15204
15205 \end_inset
15206
15207
15208 \begin_inset LatexCommand index
15209 name "Table ! Customization"
15210
15211 \end_inset
15212
15213
15214 \end_layout
15215
15216 \begin_layout Subsection
15217 Row Spacing
15218 \begin_inset LatexCommand label
15219 name "sub:Row-Spacing"
15220
15221 \end_inset
15222
15223
15224 \begin_inset LatexCommand index
15225 name "Table Customization ! Row Spacing"
15226
15227 \end_inset
15228
15229
15230 \end_layout
15231
15232 \begin_layout Standard
15233 You can add vertical space to table rows in the 
15234 \family sans
15235 Borders
15236 \family default
15237  tab of the table dialog.
15238  You find there three possibilities:
15239 \end_layout
15240
15241 \begin_layout Description
15242 Top\InsetSpace ~
15243 of\InsetSpace ~
15244 row will add space above the characters of the table row.
15245  If the table is a formal table
15246 \begin_inset Foot
15247 status collapsed
15248
15249 \begin_layout Standard
15250 Formal tables are explained in section\InsetSpace ~
15251
15252 \begin_inset LatexCommand ref
15253 reference "sec:Formal-Tables"
15254
15255 \end_inset
15256
15257 .
15258 \end_layout
15259
15260 \end_inset
15261
15262  LyX will insert as default 0.5\InsetSpace \thinspace{}
15263 em space.
15264  For normal tables the inserted space will unfortunately destroy the vertical
15265  table lines as in the following table:
15266 \begin_inset VSpace medskip
15267 \end_inset
15268
15269
15270 \newline
15271
15272 \begin_inset ERT
15273 status collapsed
15274
15275 \begin_layout Standard
15276
15277
15278 \backslash
15279 hspace*{0pt}
15280 \end_layout
15281
15282 \end_inset
15283
15284
15285 \hfill
15286
15287 \begin_inset Tabular
15288 <lyxtabular version="3" rows="3" columns="1">
15289 <features>
15290 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15291 <row topline="true">
15292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15293 \begin_inset Text
15294
15295 \begin_layout Standard
15296 A
15297 \end_layout
15298
15299 \end_inset
15300 </cell>
15301 </row>
15302 <row topline="true" topspace="3mm">
15303 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15304 \begin_inset Text
15305
15306 \begin_layout Standard
15307 3\InsetSpace \thinspace{}
15308 mm space top of row
15309 \end_layout
15310
15311 \end_inset
15312 </cell>
15313 </row>
15314 <row topline="true" bottomline="true">
15315 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15316 \begin_inset Text
15317
15318 \begin_layout Standard
15319 C
15320 \end_layout
15321
15322 \end_inset
15323 </cell>
15324 </row>
15325 </lyxtabular>
15326
15327 \end_inset
15328
15329
15330 \hfill
15331
15332 \begin_inset ERT
15333 status collapsed
15334
15335 \begin_layout Standard
15336
15337
15338 \backslash
15339 hspace*{0pt}
15340 \end_layout
15341
15342 \end_inset
15343
15344
15345 \begin_inset VSpace medskip
15346 \end_inset
15347
15348
15349 \newline
15350 So inserting space to the top of row for normal tables is only useful when
15351  you don't have vertical lines.
15352 \end_layout
15353
15354 \begin_layout Description
15355 Bottom\InsetSpace ~
15356 of\InsetSpace ~
15357 row will add space below the characters of the table row.
15358  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15359 em space, for
15360  normal tables the default size is 2\InsetSpace \thinspace{}
15361 pt.
15362 \end_layout
15363
15364 \begin_layout Description
15365 Between\InsetSpace ~
15366 rows adds space between the current and the following row.
15367  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15368 em space.
15369  For normal tables the inserted space will unfortunately destroy the vertical
15370  table lines as in the following table:
15371 \begin_inset VSpace medskip
15372 \end_inset
15373
15374
15375 \newline
15376
15377 \begin_inset ERT
15378 status collapsed
15379
15380 \begin_layout Standard
15381
15382
15383 \backslash
15384 hspace*{0pt}
15385 \end_layout
15386
15387 \end_inset
15388
15389
15390 \hfill
15391
15392 \begin_inset Tabular
15393 <lyxtabular version="3" rows="3" columns="1">
15394 <features>
15395 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15396 <row topline="true">
15397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15398 \begin_inset Text
15399
15400 \begin_layout Standard
15401 A
15402 \end_layout
15403
15404 \end_inset
15405 </cell>
15406 </row>
15407 <row topline="true" interlinespace="3mm">
15408 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15409 \begin_inset Text
15410
15411 \begin_layout Standard
15412 \begin_inset Formula $\downarrow$
15413 \end_inset
15414
15415  3\InsetSpace \thinspace{}
15416 mm space between row 
15417 \begin_inset Formula $\downarrow$
15418 \end_inset
15419
15420
15421 \end_layout
15422
15423 \end_inset
15424 </cell>
15425 </row>
15426 <row topline="true" bottomline="true">
15427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15428 \begin_inset Text
15429
15430 \begin_layout Standard
15431 \begin_inset Formula $\uparrow$
15432 \end_inset
15433
15434  3\InsetSpace \thinspace{}
15435 mm space between row 
15436 \begin_inset Formula $\uparrow$
15437 \end_inset
15438
15439
15440 \end_layout
15441
15442 \end_inset
15443 </cell>
15444 </row>
15445 </lyxtabular>
15446
15447 \end_inset
15448
15449
15450 \hfill
15451
15452 \begin_inset ERT
15453 status collapsed
15454
15455 \begin_layout Standard
15456
15457
15458 \backslash
15459 hspace*{0pt}
15460 \end_layout
15461
15462 \end_inset
15463
15464
15465 \begin_inset VSpace medskip
15466 \end_inset
15467
15468
15469 \newline
15470 So inserting space between rows for normal tables is only useful when you
15471  don't have vertical lines.
15472 \end_layout
15473
15474 \begin_layout Standard
15475 \begin_inset VSpace bigskip
15476 \end_inset
15477
15478 When you want to add extra height to all cells of all tables, you can do
15479  this with the following preamble lines:
15480 \end_layout
15481
15482 \begin_layout Standard
15483
15484 \series bold
15485
15486 \backslash
15487 @ifundef\SpecialChar \textcompwordmark{}
15488 ined{extrarowheight}
15489 \newline
15490
15491 \begin_inset ERT
15492 status collapsed
15493
15494 \begin_layout Standard
15495
15496
15497 \backslash
15498 hphantom{ }
15499 \end_layout
15500
15501 \end_inset
15502
15503 {
15504 \backslash
15505 usepackage{array}}{}
15506 \newline
15507
15508 \backslash
15509 setlength{
15510 \backslash
15511 extrarowheight}{height}
15512 \end_layout
15513
15514 \begin_layout Standard
15515 But this has the disadvantage that the cell texts are no longer exactly
15516  vertically centered.
15517  (The package 
15518 \series bold
15519 array
15520 \series default
15521  will be loaded automatically by LyX when you use self defined table formats.
15522  To avoid that it is loaded twice the command 
15523 \series bold
15524
15525 \backslash
15526 @ifundef\SpecialChar \textcompwordmark{}
15527 ined
15528 \series default
15529  is used in the above command.)
15530 \end_layout
15531
15532 \begin_layout Subsection
15533 Special Cell Alignment
15534 \begin_inset LatexCommand index
15535 name "Table Customization ! Special Cell Alignment"
15536
15537 \end_inset
15538
15539
15540 \end_layout
15541
15542 \begin_layout Standard
15543 Sometimes it looks better when the cell entries of a column are aligned
15544  with a special character, e.\InsetSpace \thinspace{}
15545 g.\InsetSpace ~
15546 with the decimal separator as in Table\InsetSpace ~
15547
15548 \begin_inset LatexCommand ref
15549 reference "tab:Table-cells-of"
15550
15551 \end_inset
15552
15553 .
15554 \end_layout
15555
15556 \begin_layout Standard
15557 \begin_inset Float table
15558 placement h
15559 wide false
15560 sideways false
15561 status open
15562
15563 \begin_layout Standard
15564 \begin_inset Caption
15565
15566 \begin_layout Standard
15567 \begin_inset LatexCommand label
15568 name "tab:Table-cells-of"
15569
15570 \end_inset
15571
15572 Table cells of a column aligned with the decimal separator.
15573 \end_layout
15574
15575 \end_inset
15576
15577
15578 \end_layout
15579
15580 \begin_layout Standard
15581 \align center
15582 \begin_inset Tabular
15583 <lyxtabular version="3" rows="4" columns="2">
15584 <features>
15585 <column alignment="right" valignment="top" width="0">
15586 <column alignment="left" valignment="top" width="0" special="@{}l">
15587 <row bottomline="true">
15588 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15589 \begin_inset Text
15590
15591 \begin_layout Standard
15592 heading
15593 \end_layout
15594
15595 \end_inset
15596 </cell>
15597 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15598 \begin_inset Text
15599
15600 \begin_layout Standard
15601
15602 \end_layout
15603
15604 \end_inset
15605 </cell>
15606 </row>
15607 <row>
15608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15609 \begin_inset Text
15610
15611 \begin_layout Standard
15612 12.
15613 \end_layout
15614
15615 \end_inset
15616 </cell>
15617 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15618 \begin_inset Text
15619
15620 \begin_layout Standard
15621 6
15622 \end_layout
15623
15624 \end_inset
15625 </cell>
15626 </row>
15627 <row>
15628 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15629 \begin_inset Text
15630
15631 \begin_layout Standard
15632 0.
15633 \end_layout
15634
15635 \end_inset
15636 </cell>
15637 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15638 \begin_inset Text
15639
15640 \begin_layout Standard
15641 68
15642 \end_layout
15643
15644 \end_inset
15645 </cell>
15646 </row>
15647 <row>
15648 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15649 \begin_inset Text
15650
15651 \begin_layout Standard
15652 -123.
15653 \end_layout
15654
15655 \end_inset
15656 </cell>
15657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15658 \begin_inset Text
15659
15660 \begin_layout Standard
15661 0
15662 \end_layout
15663
15664 \end_inset
15665 </cell>
15666 </row>
15667 </lyxtabular>
15668
15669 \end_inset
15670
15671
15672 \end_layout
15673
15674 \end_inset
15675
15676
15677 \end_layout
15678
15679 \begin_layout Standard
15680 This table was created with a 4×2 table.
15681  The heading is a centered multicolumn.
15682  The first column is right-aligned and contains the digits before the decimal
15683  point and the decimal point.
15684  The second column is left aligned and contains the digits after the decimal
15685  point.
15686  To omit the space that is normally between two table columns, use the following
15687  LaTeX-argument for the second column:
15688 \end_layout
15689
15690 \begin_layout Standard
15691
15692 \series bold
15693 @{}l
15694 \end_layout
15695
15696 \begin_layout Standard
15697 Table\InsetSpace ~
15698
15699 \begin_inset LatexCommand ref
15700 reference "tab:Several-table-cell"
15701
15702 \end_inset
15703
15704  shows some example alignments.
15705  For the alignment with the relation sign, you must add the second smallest
15706  math-space at the beginning of the last column to get the correct space
15707  surrounding the relation sign.
15708 \end_layout
15709
15710 \begin_layout Standard
15711 \begin_inset Float table
15712 wide false
15713 sideways false
15714 status open
15715
15716 \begin_layout Standard
15717 \begin_inset Caption
15718
15719 \begin_layout Standard
15720 \begin_inset LatexCommand label
15721 name "tab:Several-table-cell"
15722
15723 \end_inset
15724
15725 Several table cell alignments.
15726 \end_layout
15727
15728 \end_inset
15729
15730
15731 \end_layout
15732
15733 \begin_layout Standard
15734 \align center
15735 \begin_inset Tabular
15736 <lyxtabular version="3" rows="4" columns="6">
15737 <features>
15738 <column alignment="right" valignment="top" width="0">
15739 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15740 <column alignment="right" valignment="top" width="0">
15741 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15742 <column alignment="right" valignment="top" width="0">
15743 <column alignment="left" valignment="top" width="0" special="@{}l">
15744 <row bottomline="true">
15745 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15746 \begin_inset Text
15747
15748 \begin_layout Standard
15749 units
15750 \end_layout
15751
15752 \end_inset
15753 </cell>
15754 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15755 \begin_inset Text
15756
15757 \begin_layout Standard
15758
15759 \end_layout
15760
15761 \end_inset
15762 </cell>
15763 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15764 \begin_inset Text
15765
15766 \begin_layout Standard
15767 exponents
15768 \end_layout
15769
15770 \end_inset
15771 </cell>
15772 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15773 \begin_inset Text
15774
15775 \begin_layout Standard
15776
15777 \end_layout
15778
15779 \end_inset
15780 </cell>
15781 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15782 \begin_inset Text
15783
15784 \begin_layout Standard
15785 relations
15786 \end_layout
15787
15788 \end_inset
15789 </cell>
15790 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15791 \begin_inset Text
15792
15793 \begin_layout Standard
15794
15795 \end_layout
15796
15797 \end_inset
15798 </cell>
15799 </row>
15800 <row>
15801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15802 \begin_inset Text
15803
15804 \begin_layout Standard
15805 12×
15806 \end_layout
15807
15808 \end_inset
15809 </cell>
15810 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15811 \begin_inset Text
15812
15813 \begin_layout Standard
15814 24\InsetSpace \thinspace{}
15815 bottles
15816 \end_layout
15817
15818 \end_inset
15819 </cell>
15820 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15821 \begin_inset Text
15822
15823 \begin_layout Standard
15824 \begin_inset Formula $10\cdot$
15825 \end_inset
15826
15827
15828 \end_layout
15829
15830 \end_inset
15831 </cell>
15832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15833 \begin_inset Text
15834
15835 \begin_layout Standard
15836 \begin_inset Formula $10^{\mbox{-}17}$
15837 \end_inset
15838
15839
15840 \end_layout
15841
15842 \end_inset
15843 </cell>
15844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15845 \begin_inset Text
15846
15847 \begin_layout Standard
15848 \begin_inset Formula $\Gamma(t)\propto$
15849 \end_inset
15850
15851
15852 \end_layout
15853
15854 \end_inset
15855 </cell>
15856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15857 \begin_inset Text
15858
15859 \begin_layout Standard
15860 \begin_inset Formula $\:\Upsilon(t)$
15861 \end_inset
15862
15863
15864 \end_layout
15865
15866 \end_inset
15867 </cell>
15868 </row>
15869 <row>
15870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15871 \begin_inset Text
15872
15873 \begin_layout Standard
15874 1024×
15875 \end_layout
15876
15877 \end_inset
15878 </cell>
15879 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15880 \begin_inset Text
15881
15882 \begin_layout Standard
15883 768\InsetSpace \thinspace{}
15884 Pixels
15885 \end_layout
15886
15887 \end_inset
15888 </cell>
15889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15890 \begin_inset Text
15891
15892 \begin_layout Standard
15893 \begin_inset Formula $5.78\cdot$
15894 \end_inset
15895
15896
15897 \end_layout
15898
15899 \end_inset
15900 </cell>
15901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15902 \begin_inset Text
15903
15904 \begin_layout Standard
15905 \begin_inset Formula $10^{7}$
15906 \end_inset
15907
15908
15909 \end_layout
15910
15911 \end_inset
15912 </cell>
15913 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15914 \begin_inset Text
15915
15916 \begin_layout Standard
15917 \begin_inset Formula $A\ne$
15918 \end_inset
15919
15920
15921 \end_layout
15922
15923 \end_inset
15924 </cell>
15925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15926 \begin_inset Text
15927
15928 \begin_layout Standard
15929 \begin_inset Formula $\: B_{\mathrm{red}}$
15930 \end_inset
15931
15932
15933 \end_layout
15934
15935 \end_inset
15936 </cell>
15937 </row>
15938 <row>
15939 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15940 \begin_inset Text
15941
15942 \begin_layout Standard
15943 32×
15944 \end_layout
15945
15946 \end_inset
15947 </cell>
15948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15949 \begin_inset Text
15950
15951 \begin_layout Standard
15952 6\InsetSpace \thinspace{}
15953 cm
15954 \end_layout
15955
15956 \end_inset
15957 </cell>
15958 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15959 \begin_inset Text
15960
15961 \begin_layout Standard
15962 -
15963 \begin_inset Formula $33.5\cdot$
15964 \end_inset
15965
15966
15967 \end_layout
15968
15969 \end_inset
15970 </cell>
15971 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15972 \begin_inset Text
15973
15974 \begin_layout Standard
15975 \begin_inset Formula $10^{4}$
15976 \end_inset
15977
15978
15979 \end_layout
15980
15981 \end_inset
15982 </cell>
15983 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15984 \begin_inset Text
15985
15986 \begin_layout Standard
15987 \begin_inset Formula $\sin(\alpha)\ge$
15988 \end_inset
15989
15990
15991 \end_layout
15992
15993 \end_inset
15994 </cell>
15995 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15996 \begin_inset Text
15997
15998 \begin_layout Standard
15999 \begin_inset Formula $\:\sin(\beta)$
16000 \end_inset
16001
16002
16003 \end_layout
16004
16005 \end_inset
16006 </cell>
16007 </row>
16008 </lyxtabular>
16009
16010 \end_inset
16011
16012
16013 \end_layout
16014
16015 \end_inset
16016
16017
16018 \end_layout
16019
16020 \begin_layout Standard
16021 \begin_inset VSpace bigskip
16022 \end_inset
16023
16024 There is also the LaTeX-package 
16025 \series bold
16026 dcolumn
16027 \series default
16028
16029 \begin_inset LatexCommand index
16030 name "LaTeX-packages ! dcolumn"
16031
16032 \end_inset
16033
16034  that provides table cell alignments.
16035  But this unfortunately treats the cell entries as math and doesn't allow
16036  formulas in table cells: The first column of Table\InsetSpace ~
16037
16038 \begin_inset LatexCommand ref
16039 reference "tab:Several-table-cell"
16040
16041 \end_inset
16042
16043  will look with 
16044 \series bold
16045 dcolumn
16046 \series default
16047  like the first column in Table\InsetSpace ~
16048
16049 \begin_inset LatexCommand ref
16050 reference "tab:Alignments-when"
16051
16052 \end_inset
16053
16054  and only with some tricks like the expected.
16055  The alignment of the second and third column of Table\InsetSpace ~
16056
16057 \begin_inset LatexCommand ref
16058 reference "tab:Several-table-cell"
16059
16060 \end_inset
16061
16062  is not possible with 
16063 \series bold
16064 dcolumn
16065 \series default
16066 .
16067 \end_layout
16068
16069 \begin_layout Standard
16070 \begin_inset Float table
16071 placement h
16072 wide false
16073 sideways false
16074 status open
16075
16076 \begin_layout Standard
16077 \begin_inset Caption
16078
16079 \begin_layout Standard
16080 \begin_inset LatexCommand label
16081 name "tab:Alignments-when"
16082
16083 \end_inset
16084
16085 Alignments when LaTeX-package dcolumn is used.
16086  For all column alignments tricks have to be used to get the output.
16087 \end_layout
16088
16089 \end_inset
16090
16091
16092 \end_layout
16093
16094 \begin_layout Standard
16095 \align center
16096 \begin_inset Tabular
16097 <lyxtabular version="3" rows="4" columns="3">
16098 <features>
16099 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
16100 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
16101 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16102 <row bottomline="true">
16103 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16104 \begin_inset Text
16105
16106 \begin_layout Standard
16107 units
16108 \end_layout
16109
16110 \end_inset
16111 </cell>
16112 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16113 \begin_inset Text
16114
16115 \begin_layout Standard
16116 units
16117 \end_layout
16118
16119 \end_inset
16120 </cell>
16121 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16122 \begin_inset Text
16123
16124 \begin_layout Standard
16125 units
16126 \end_layout
16127
16128 \end_inset
16129 </cell>
16130 </row>
16131 <row>
16132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16133 \begin_inset Text
16134
16135 \begin_layout Standard
16136 12x24\InsetSpace \thinspace{}
16137 bottles
16138 \end_layout
16139
16140 \end_inset
16141 </cell>
16142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16143 \begin_inset Text
16144
16145 \begin_layout Standard
16146 12x24\InsetSpace \thinspace{}
16147
16148 \begin_inset Formula $\mbox{bottles}$
16149 \end_inset
16150
16151
16152 \end_layout
16153
16154 \end_inset
16155 </cell>
16156 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16157 \begin_inset Text
16158
16159 \begin_layout Standard
16160 12
16161 \begin_inset ERT
16162 status collapsed
16163
16164 \begin_layout Standard
16165
16166
16167 \backslash
16168 times 
16169 \end_layout
16170
16171 \end_inset
16172
16173 24~
16174 \begin_inset Formula $\mbox{bottles}$
16175 \end_inset
16176
16177
16178 \end_layout
16179
16180 \end_inset
16181 </cell>
16182 </row>
16183 <row>
16184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16185 \begin_inset Text
16186
16187 \begin_layout Standard
16188 1024x768\InsetSpace \thinspace{}
16189 Pixels
16190 \end_layout
16191
16192 \end_inset
16193 </cell>
16194 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16195 \begin_inset Text
16196
16197 \begin_layout Standard
16198 1024x768\InsetSpace \thinspace{}
16199
16200 \begin_inset Formula $\mbox{Pixels}$
16201 \end_inset
16202
16203
16204 \end_layout
16205
16206 \end_inset
16207 </cell>
16208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16209 \begin_inset Text
16210
16211 \begin_layout Standard
16212 1024
16213 \begin_inset ERT
16214 status collapsed
16215
16216 \begin_layout Standard
16217
16218
16219 \backslash
16220 times 
16221 \end_layout
16222
16223 \end_inset
16224
16225 768~
16226 \begin_inset Formula $\mbox{Pixels}$
16227 \end_inset
16228
16229
16230 \end_layout
16231
16232 \end_inset
16233 </cell>
16234 </row>
16235 <row>
16236 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16237 \begin_inset Text
16238
16239 \begin_layout Standard
16240 32x6\InsetSpace \thinspace{}
16241 cm
16242 \end_layout
16243
16244 \end_inset
16245 </cell>
16246 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16247 \begin_inset Text
16248
16249 \begin_layout Standard
16250 32x6\InsetSpace \thinspace{}
16251
16252 \begin_inset Formula $\mbox{cm}$
16253 \end_inset
16254
16255
16256 \end_layout
16257
16258 \end_inset
16259 </cell>
16260 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16261 \begin_inset Text
16262
16263 \begin_layout Standard
16264 32
16265 \begin_inset ERT
16266 status collapsed
16267
16268 \begin_layout Standard
16269
16270
16271 \backslash
16272 times 
16273 \end_layout
16274
16275 \end_inset
16276
16277 6~
16278 \begin_inset Formula $\mbox{cm}$
16279 \end_inset
16280
16281
16282 \end_layout
16283
16284 \end_inset
16285 </cell>
16286 </row>
16287 </lyxtabular>
16288
16289 \end_inset
16290
16291
16292 \end_layout
16293
16294 \end_inset
16295
16296
16297 \end_layout
16298
16299 \begin_layout Subsection
16300 Customized Cell/Column Format
16301 \begin_inset LatexCommand label
16302 name "sub:Customized-Format"
16303
16304 \end_inset
16305
16306
16307 \begin_inset LatexCommand index
16308 name "Table Customization ! Cell/Column Format"
16309
16310 \end_inset
16311
16312
16313 \end_layout
16314
16315 \begin_layout Standard
16316 Calculating the needed width for spanned columns like in section\InsetSpace ~
16317
16318 \begin_inset LatexCommand ref
16319 reference "sub:Multicolumn-Calculations"
16320
16321 \end_inset
16322
16323  is very annoying if you have several tables with multicolumn cells.
16324  To make life easier, you can define a cell/column format in the preamble,
16325  so that it can be used in all tables of the document.
16326  The format is defined with the command
16327 \end_layout
16328
16329 \begin_layout Standard
16330
16331 \series bold
16332
16333 \backslash
16334 newcolumntype{name of format}[number of arguments]{commands}
16335 \end_layout
16336
16337 \begin_layout Standard
16338 The format name may only consist of one letter.
16339  The letters 
16340 \emph on
16341 b
16342 \emph default
16343
16344 \emph on
16345 c
16346 \emph default
16347
16348 \emph on
16349 l
16350 \emph default
16351
16352 \emph on
16353 m
16354 \emph default
16355
16356 \emph on
16357 p
16358 \emph default
16359  and 
16360 \emph on
16361 r
16362 \emph default
16363  are predefined and cannot be used.
16364  But all letters are allowed as capitals.
16365 \end_layout
16366
16367 \begin_layout Standard
16368 \begin_inset VSpace medskip
16369 \end_inset
16370
16371
16372 \end_layout
16373
16374 \begin_layout Standard
16375 For vertically and horizontally centered multicolumn cells with a fixed
16376  width you can define the cell format
16377 \end_layout
16378
16379 \begin_layout Standard
16380
16381 \series bold
16382
16383 \backslash
16384 newcolumntype{M}[1]{>{
16385 \backslash
16386 centering
16387 \backslash
16388 hspace{0pt}}m{#1}}
16389 \end_layout
16390
16391 \begin_layout Standard
16392 where 
16393 \series bold
16394
16395 \backslash
16396 hspace{0pt}
16397 \series default
16398  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
16399
16400 \begin_inset LatexCommand ref
16401 reference "sub:Multiple-Lines-in"
16402
16403 \end_inset
16404
16405 .
16406  Now you can simply enter
16407 \end_layout
16408
16409 \begin_layout Standard
16410
16411 \series bold
16412 M{width}
16413 \end_layout
16414
16415 \begin_layout Standard
16416 as LaTeX-argument in the table dialog to create a multicolumn.
16417 \end_layout
16418
16419 \begin_layout Standard
16420 \begin_inset VSpace bigskip
16421 \end_inset
16422
16423
16424 \end_layout
16425
16426 \begin_layout Standard
16427 For cells spanned by a multicolumn cell, you can define the format
16428 \end_layout
16429
16430 \begin_layout Standard
16431
16432 \series bold
16433
16434 \backslash
16435 newcolumntype{S}[2]{>{
16436 \backslash
16437 centering
16438 \backslash
16439 hspace{0pt}}
16440 \newline
16441
16442 \begin_inset ERT
16443 status collapsed
16444
16445 \begin_layout Standard
16446
16447
16448 \backslash
16449 phantom{
16450 \end_layout
16451
16452 \end_inset
16453
16454
16455 \backslash
16456 newcolumntype
16457 \begin_inset ERT
16458 status collapsed
16459
16460 \begin_layout Standard
16461
16462 }
16463 \end_layout
16464
16465 \end_inset
16466
16467 m{(#1+(2
16468 \backslash
16469 tabcolsep+
16470 \backslash
16471 arrayrulewidth)*(1-#2))/#2}}
16472 \end_layout
16473
16474 \begin_layout Standard
16475 This format uses equation 
16476 \begin_inset LatexCommand eqref
16477 reference "eq:Wgn"
16478
16479 \end_inset
16480
16481  to calculate the needed width so that each spanned cell has the same width.
16482 \end_layout
16483
16484 \begin_layout Standard
16485 You can now enter
16486 \end_layout
16487
16488 \begin_layout Standard
16489
16490 \series bold
16491 S{width of multicolumn cell}{number of spanned columns}
16492 \end_layout
16493
16494 \begin_layout Standard
16495 as LaTeX-argument of the column.
16496 \end_layout
16497
16498 \begin_layout Standard
16499 \begin_inset VSpace bigskip
16500 \end_inset
16501
16502
16503 \end_layout
16504
16505 \begin_layout Standard
16506 For colored columns, you can define
16507 \end_layout
16508
16509 \begin_layout Standard
16510
16511 \series bold
16512
16513 \backslash
16514 newcolumntype{K}[1]{>{
16515 \backslash
16516 columncolor{#1}
16517 \backslash
16518 hspace{0pt}}c}
16519 \end_layout
16520
16521 \begin_layout Standard
16522 The 
16523 \begin_inset Quotes eld
16524 \end_inset
16525
16526 c
16527 \begin_inset Quotes erd
16528 \end_inset
16529
16530  at the end creates a column with a flexible width whose text is horizontally
16531  centered.
16532  You can now enter
16533 \end_layout
16534
16535 \begin_layout Standard
16536
16537 \series bold
16538 K{color name}
16539 \end_layout
16540
16541 \begin_layout Standard
16542 as LaTeX-argument.
16543 \end_layout
16544
16545 \begin_layout Standard
16546 \begin_inset VSpace bigskip
16547 \end_inset
16548
16549
16550 \end_layout
16551
16552 \begin_layout Standard
16553 To create Table\InsetSpace ~
16554
16555 \begin_inset LatexCommand ref
16556 reference "tab:Table-using-user-defined"
16557
16558 \end_inset
16559
16560  use the LaTeX-arguments
16561 \end_layout
16562
16563 \begin_layout Standard
16564
16565 \series bold
16566 M{2.5cm}
16567 \end_layout
16568
16569 \begin_layout Standard
16570 for the first column and the multicolumn,
16571 \end_layout
16572
16573 \begin_layout Standard
16574
16575 \series bold
16576 K{red}
16577 \end_layout
16578
16579 \begin_layout Standard
16580 for the the last column, and
16581 \end_layout
16582
16583 \begin_layout Standard
16584
16585 \series bold
16586 S{2.5cm}{2}
16587 \end_layout
16588
16589 \begin_layout Standard
16590 for the cells in the second column.
16591 \end_layout
16592
16593 \begin_layout Standard
16594 \begin_inset Float table
16595 placement h
16596 wide false
16597 sideways false
16598 status open
16599
16600 \begin_layout Standard
16601 \begin_inset Caption
16602
16603 \begin_layout Standard
16604 \begin_inset LatexCommand label
16605 name "tab:Table-using-user-defined"
16606
16607 \end_inset
16608
16609 Table using user-defined table formats
16610 \end_layout
16611
16612 \end_inset
16613
16614
16615 \end_layout
16616
16617 \begin_layout Standard
16618 \align center
16619 \begin_inset Tabular
16620 <lyxtabular version="3" rows="3" columns="4">
16621 <features>
16622 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16623 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16624 <column alignment="center" valignment="middle" leftline="true" width="0">
16625 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16626 <row topline="true">
16627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16628 \begin_inset Text
16629
16630 \begin_layout Standard
16631 verylongtablecellword
16632 \end_layout
16633
16634 \end_inset
16635 </cell>
16636 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16637 \begin_inset Text
16638
16639 \begin_layout Standard
16640 multiple lines multicolumn
16641 \end_layout
16642
16643 \end_inset
16644 </cell>
16645 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16646 \begin_inset Text
16647
16648 \begin_layout Standard
16649
16650 \end_layout
16651
16652 \end_inset
16653 </cell>
16654 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16655 \begin_inset Text
16656
16657 \begin_layout Standard
16658 c
16659 \end_layout
16660
16661 \end_inset
16662 </cell>
16663 </row>
16664 <row topline="true">
16665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16666 \begin_inset Text
16667
16668 \begin_layout Standard
16669 d
16670 \end_layout
16671
16672 \end_inset
16673 </cell>
16674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16675 \begin_inset Text
16676
16677 \begin_layout Standard
16678 e
16679 \end_layout
16680
16681 \end_inset
16682 </cell>
16683 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16684 \begin_inset Text
16685
16686 \begin_layout Standard
16687 f
16688 \end_layout
16689
16690 \end_inset
16691 </cell>
16692 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16693 \begin_inset Text
16694
16695 \begin_layout Standard
16696 g
16697 \end_layout
16698
16699 \end_inset
16700 </cell>
16701 </row>
16702 <row topline="true" bottomline="true">
16703 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16704 \begin_inset Text
16705
16706 \begin_layout Standard
16707 h
16708 \end_layout
16709
16710 \end_inset
16711 </cell>
16712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16713 \begin_inset Text
16714
16715 \begin_layout Standard
16716 i
16717 \end_layout
16718
16719 \end_inset
16720 </cell>
16721 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16722 \begin_inset Text
16723
16724 \begin_layout Standard
16725 j
16726 \end_layout
16727
16728 \end_inset
16729 </cell>
16730 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16731 \begin_inset Text
16732
16733 \begin_layout Standard
16734 k
16735 \end_layout
16736
16737 \end_inset
16738 </cell>
16739 </row>
16740 </lyxtabular>
16741
16742 \end_inset
16743
16744
16745 \end_layout
16746
16747 \end_inset
16748
16749
16750 \end_layout
16751
16752 \begin_layout Subsection
16753 Line Thickness
16754 \begin_inset LatexCommand label
16755 name "sub:Line-Thickness"
16756
16757 \end_inset
16758
16759
16760 \begin_inset LatexCommand index
16761 name "Table Customization ! Line Thickness"
16762
16763 \end_inset
16764
16765
16766 \end_layout
16767
16768 \begin_layout Standard
16769 The line thickness for all lines in a table can be adjusted with the length
16770  
16771 \series bold
16772
16773 \backslash
16774 arrayrulewidth
16775 \series default
16776 .
16777  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16778 pt, like in Table\InsetSpace ~
16779
16780 \begin_inset LatexCommand ref
16781 reference "tab:Table-with-1.5"
16782
16783 \end_inset
16784
16785 , insert the command
16786 \end_layout
16787
16788 \begin_layout Standard
16789
16790 \series bold
16791
16792 \backslash
16793 setlength{
16794 \backslash
16795 arrayrulewidth}{1.5pt}
16796 \end_layout
16797
16798 \begin_layout Standard
16799 in TeX-Code before the table or table float.
16800  The changed thickness is valid for all following tables.
16801  To use the default value again, set 
16802 \series bold
16803
16804 \backslash
16805 arrayrulewidth
16806 \series default
16807  to 0.4\InsetSpace \thinspace{}
16808 pt in TeX-Code behind the table or table float.
16809 \end_layout
16810
16811 \begin_layout Standard
16812 \begin_inset ERT
16813 status collapsed
16814
16815 \begin_layout Standard
16816
16817
16818 \backslash
16819 setlength{
16820 \backslash
16821 arrayrulewidth}{1.5pt}
16822 \end_layout
16823
16824 \end_inset
16825
16826
16827 \begin_inset Float table
16828 wide false
16829 sideways false
16830 status open
16831
16832 \begin_layout Standard
16833 \begin_inset Caption
16834
16835 \begin_layout Standard
16836 \begin_inset LatexCommand label
16837 name "tab:Table-with-1.5"
16838
16839 \end_inset
16840
16841 Table with 1.5\InsetSpace \thinspace{}
16842 pt thick lines
16843 \end_layout
16844
16845 \end_inset
16846
16847
16848 \end_layout
16849
16850 \begin_layout Standard
16851 \align center
16852 \begin_inset Tabular
16853 <lyxtabular version="3" rows="3" columns="3">
16854 <features>
16855 <column alignment="center" valignment="top" leftline="true" width="0">
16856 <column alignment="center" valignment="top" leftline="true" width="0">
16857 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16858 <row topline="true">
16859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16860 \begin_inset Text
16861
16862 \begin_layout Standard
16863 sd
16864 \end_layout
16865
16866 \end_inset
16867 </cell>
16868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16869 \begin_inset Text
16870
16871 \begin_layout Standard
16872
16873 \end_layout
16874
16875 \end_inset
16876 </cell>
16877 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16878 \begin_inset Text
16879
16880 \begin_layout Standard
16881
16882 \end_layout
16883
16884 \end_inset
16885 </cell>
16886 </row>
16887 <row topline="true">
16888 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16889 \begin_inset Text
16890
16891 \begin_layout Standard
16892
16893 \end_layout
16894
16895 \end_inset
16896 </cell>
16897 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16898 \begin_inset Text
16899
16900 \begin_layout Standard
16901 sd
16902 \end_layout
16903
16904 \end_inset
16905 </cell>
16906 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16907 \begin_inset Text
16908
16909 \begin_layout Standard
16910
16911 \end_layout
16912
16913 \end_inset
16914 </cell>
16915 </row>
16916 <row topline="true" bottomline="true">
16917 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16918 \begin_inset Text
16919
16920 \begin_layout Standard
16921
16922 \end_layout
16923
16924 \end_inset
16925 </cell>
16926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16927 \begin_inset Text
16928
16929 \begin_layout Standard
16930
16931 \end_layout
16932
16933 \end_inset
16934 </cell>
16935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16936 \begin_inset Text
16937
16938 \begin_layout Standard
16939 sd
16940 \end_layout
16941
16942 \end_inset
16943 </cell>
16944 </row>
16945 </lyxtabular>
16946
16947 \end_inset
16948
16949
16950 \end_layout
16951
16952 \end_inset
16953
16954
16955 \begin_inset ERT
16956 status collapsed
16957
16958 \begin_layout Standard
16959
16960
16961 \backslash
16962 setlength{
16963 \backslash
16964 arrayrulewidth}{0.4pt}
16965 \end_layout
16966
16967 \end_inset
16968
16969
16970 \end_layout
16971
16972 \begin_layout Standard
16973 \begin_inset VSpace bigskip
16974 \end_inset
16975
16976 To set the line thickness to 1.5\InsetSpace \thinspace{}
16977 pt only for horizontal lines, like in Table\InsetSpace ~
16978
16979 \begin_inset LatexCommand ref
16980 reference "tab:Table-with-horizontal"
16981
16982 \end_inset
16983
16984 , insert these commands in TeX-Code before the table or table float:
16985 \end_layout
16986
16987 \begin_layout Standard
16988
16989 \series bold
16990
16991 \backslash
16992 let
16993 \backslash
16994 myHline
16995 \backslash
16996 hline
16997 \newline
16998
16999 \backslash
17000 renewcommand{
17001 \backslash
17002 hline}
17003 \newline
17004  {
17005 \backslash
17006 noalign{
17007 \backslash
17008 global
17009 \backslash
17010 arrayrulewidth 1.5pt}
17011 \newline
17012  
17013 \backslash
17014 myHline
17015 \backslash
17016 noalign{
17017 \backslash
17018 global
17019 \backslash
17020 arrayrulewidth 0.4pt}}
17021 \end_layout
17022
17023 \begin_layout Standard
17024 To return to the default line thickness, insert this command in TeX-Code
17025  behind the table or table float:
17026 \end_layout
17027
17028 \begin_layout Standard
17029
17030 \series bold
17031
17032 \backslash
17033 renewcommand{
17034 \backslash
17035 hline}{
17036 \backslash
17037 myHline}
17038 \end_layout
17039
17040 \begin_layout Standard
17041 \begin_inset ERT
17042 status collapsed
17043
17044 \begin_layout Standard
17045
17046
17047 \backslash
17048 let
17049 \backslash
17050 myHline
17051 \backslash
17052 hline
17053 \end_layout
17054
17055 \begin_layout Standard
17056
17057
17058 \backslash
17059 renewcommand{
17060 \backslash
17061 hline}
17062 \end_layout
17063
17064 \begin_layout Standard
17065
17066  {
17067 \backslash
17068 noalign{
17069 \backslash
17070 global
17071 \backslash
17072 arrayrulewidth 1.5pt}
17073 \end_layout
17074
17075 \begin_layout Standard
17076
17077   
17078 \backslash
17079 myHline
17080 \backslash
17081 noalign{
17082 \backslash
17083 global
17084 \backslash
17085 arrayrulewidth 0.4pt}}
17086 \end_layout
17087
17088 \end_inset
17089
17090
17091 \begin_inset Float table
17092 wide false
17093 sideways false
17094 status open
17095
17096 \begin_layout Standard
17097 \begin_inset Caption
17098
17099 \begin_layout Standard
17100 \begin_inset LatexCommand label
17101 name "tab:Table-with-horizontal"
17102
17103 \end_inset
17104
17105 Table with 1.5\InsetSpace \thinspace{}
17106 pt thick horizontal lines
17107 \end_layout
17108
17109 \end_inset
17110
17111
17112 \end_layout
17113
17114 \begin_layout Standard
17115 \align center
17116 \begin_inset Tabular
17117 <lyxtabular version="3" rows="3" columns="3">
17118 <features>
17119 <column alignment="center" valignment="top" leftline="true" width="0">
17120 <column alignment="center" valignment="top" leftline="true" width="0">
17121 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17122 <row topline="true">
17123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17124 \begin_inset Text
17125
17126 \begin_layout Standard
17127 sd
17128 \end_layout
17129
17130 \end_inset
17131 </cell>
17132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17133 \begin_inset Text
17134
17135 \begin_layout Standard
17136
17137 \end_layout
17138
17139 \end_inset
17140 </cell>
17141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17142 \begin_inset Text
17143
17144 \begin_layout Standard
17145
17146 \end_layout
17147
17148 \end_inset
17149 </cell>
17150 </row>
17151 <row topline="true">
17152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17153 \begin_inset Text
17154
17155 \begin_layout Standard
17156
17157 \end_layout
17158
17159 \end_inset
17160 </cell>
17161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17162 \begin_inset Text
17163
17164 \begin_layout Standard
17165 sd
17166 \end_layout
17167
17168 \end_inset
17169 </cell>
17170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17171 \begin_inset Text
17172
17173 \begin_layout Standard
17174
17175 \end_layout
17176
17177 \end_inset
17178 </cell>
17179 </row>
17180 <row topline="true" bottomline="true">
17181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17182 \begin_inset Text
17183
17184 \begin_layout Standard
17185
17186 \end_layout
17187
17188 \end_inset
17189 </cell>
17190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17191 \begin_inset Text
17192
17193 \begin_layout Standard
17194
17195 \end_layout
17196
17197 \end_inset
17198 </cell>
17199 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17200 \begin_inset Text
17201
17202 \begin_layout Standard
17203 sd
17204 \end_layout
17205
17206 \end_inset
17207 </cell>
17208 </row>
17209 </lyxtabular>
17210
17211 \end_inset
17212
17213
17214 \end_layout
17215
17216 \end_inset
17217
17218
17219 \begin_inset ERT
17220 status collapsed
17221
17222 \begin_layout Standard
17223
17224
17225 \backslash
17226 renewcommand{
17227 \backslash
17228 hline}{
17229 \backslash
17230 myHline}
17231 \end_layout
17232
17233 \end_inset
17234
17235
17236 \end_layout
17237
17238 \begin_layout Standard
17239 \begin_inset VSpace bigskip
17240 \end_inset
17241
17242 To set the line thickness to 1.5\InsetSpace \thinspace{}
17243 pt only for vertical lines, create the following
17244  column format in the document preamble, according to the description in
17245  section\InsetSpace ~
17246
17247 \begin_inset LatexCommand ref
17248 reference "sub:Customized-Format"
17249
17250 \end_inset
17251
17252 :
17253 \end_layout
17254
17255 \begin_layout Standard
17256
17257 \series bold
17258
17259 \backslash
17260 newcolumntype{V}{!{
17261 \backslash
17262 vrule width 1.5pt}}
17263 \end_layout
17264
17265 \begin_layout Standard
17266 For Table\InsetSpace ~
17267
17268 \begin_inset LatexCommand ref
17269 reference "tab:Table-with-vertical"
17270
17271 \end_inset
17272
17273  the LaTeX-argument
17274 \end_layout
17275
17276 \begin_layout Standard
17277
17278 \series bold
17279 VcV
17280 \end_layout
17281
17282 \begin_layout Standard
17283 was used for the last column and
17284 \end_layout
17285
17286 \begin_layout Standard
17287
17288 \series bold
17289 Vc
17290 \end_layout
17291
17292 \begin_layout Standard
17293 for the other columns.
17294 \end_layout
17295
17296 \begin_layout Standard
17297 \begin_inset Float table
17298 wide false
17299 sideways false
17300 status open
17301
17302 \begin_layout Standard
17303 \begin_inset Caption
17304
17305 \begin_layout Standard
17306 \begin_inset LatexCommand label
17307 name "tab:Table-with-vertical"
17308
17309 \end_inset
17310
17311 Table with 1.5\InsetSpace \thinspace{}
17312 pt thick vertical lines
17313 \end_layout
17314
17315 \end_inset
17316
17317
17318 \end_layout
17319
17320 \begin_layout Standard
17321 \align center
17322 \begin_inset Tabular
17323 <lyxtabular version="3" rows="3" columns="3">
17324 <features>
17325 <column alignment="center" valignment="top" width="0" special="Vc">
17326 <column alignment="center" valignment="top" width="0" special="Vc">
17327 <column alignment="center" valignment="top" width="0" special="VcV">
17328 <row topline="true">
17329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17330 \begin_inset Text
17331
17332 \begin_layout Standard
17333 sd
17334 \end_layout
17335
17336 \end_inset
17337 </cell>
17338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17339 \begin_inset Text
17340
17341 \begin_layout Standard
17342
17343 \end_layout
17344
17345 \end_inset
17346 </cell>
17347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17348 \begin_inset Text
17349
17350 \begin_layout Standard
17351
17352 \end_layout
17353
17354 \end_inset
17355 </cell>
17356 </row>
17357 <row topline="true">
17358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17359 \begin_inset Text
17360
17361 \begin_layout Standard
17362
17363 \end_layout
17364
17365 \end_inset
17366 </cell>
17367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17368 \begin_inset Text
17369
17370 \begin_layout Standard
17371 sd
17372 \end_layout
17373
17374 \end_inset
17375 </cell>
17376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17377 \begin_inset Text
17378
17379 \begin_layout Standard
17380
17381 \end_layout
17382
17383 \end_inset
17384 </cell>
17385 </row>
17386 <row topline="true" bottomline="true">
17387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17388 \begin_inset Text
17389
17390 \begin_layout Standard
17391
17392 \end_layout
17393
17394 \end_inset
17395 </cell>
17396 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17397 \begin_inset Text
17398
17399 \begin_layout Standard
17400
17401 \end_layout
17402
17403 \end_inset
17404 </cell>
17405 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17406 \begin_inset Text
17407
17408 \begin_layout Standard
17409 sd
17410 \end_layout
17411
17412 \end_inset
17413 </cell>
17414 </row>
17415 </lyxtabular>
17416
17417 \end_inset
17418
17419
17420 \end_layout
17421
17422 \end_inset
17423
17424
17425 \end_layout
17426
17427 \begin_layout Subsection
17428 Dashed Lines
17429 \begin_inset LatexCommand index
17430 name "Table Customization ! Dashed Lines"
17431
17432 \end_inset
17433
17434
17435 \end_layout
17436
17437 \begin_layout Standard
17438 \begin_inset ERT
17439 status collapsed
17440
17441 \begin_layout Standard
17442
17443
17444 \backslash
17445 ifarydshln
17446 \end_layout
17447
17448 \end_inset
17449
17450
17451 \begin_inset Note Note
17452 status open
17453
17454 \begin_layout Standard
17455 The following section will only be displayed when the LaTeX-package 
17456 \series bold
17457 arydshln
17458 \series default
17459  is installed.
17460 \end_layout
17461
17462 \end_inset
17463
17464
17465 \end_layout
17466
17467 \begin_layout Standard
17468 \begin_inset Float table
17469 placement H
17470 wide false
17471 sideways false
17472 status open
17473
17474 \begin_layout Standard
17475 \begin_inset Caption
17476
17477 \begin_layout Standard
17478 \begin_inset LatexCommand label
17479 name "tab:Table-with-dashed"
17480
17481 \end_inset
17482
17483 Table with dashed lines
17484 \end_layout
17485
17486 \end_inset
17487
17488
17489 \end_layout
17490
17491 \begin_layout Standard
17492 \align center
17493 \begin_inset Tabular
17494 <lyxtabular version="3" rows="5" columns="5">
17495 <features>
17496 <column alignment="center" valignment="top" leftline="true" width="0">
17497 <column alignment="center" valignment="top" leftline="true" width="0">
17498 <column alignment="center" valignment="top" width="0" special=":c">
17499 <column alignment="center" valignment="top" leftline="true" width="0">
17500 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17501 <row topline="true" bottomline="true">
17502 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17503 \begin_inset Text
17504
17505 \begin_layout Standard
17506 a
17507 \end_layout
17508
17509 \end_inset
17510 </cell>
17511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17512 \begin_inset Text
17513
17514 \begin_layout Standard
17515 b
17516 \end_layout
17517
17518 \end_inset
17519 </cell>
17520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17521 \begin_inset Text
17522
17523 \begin_layout Standard
17524 c
17525 \end_layout
17526
17527 \end_inset
17528 </cell>
17529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17530 \begin_inset Text
17531
17532 \begin_layout Standard
17533 d
17534 \end_layout
17535
17536 \end_inset
17537 </cell>
17538 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17539 \begin_inset Text
17540
17541 \begin_layout Standard
17542 e
17543 \end_layout
17544
17545 \end_inset
17546 </cell>
17547 </row>
17548 <row topline="true">
17549 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17550 \begin_inset Text
17551
17552 \begin_layout Standard
17553 f
17554 \end_layout
17555
17556 \end_inset
17557 </cell>
17558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17559 \begin_inset Text
17560
17561 \begin_layout Standard
17562 g
17563 \end_layout
17564
17565 \end_inset
17566 </cell>
17567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17568 \begin_inset Text
17569
17570 \begin_layout Standard
17571 h
17572 \end_layout
17573
17574 \end_inset
17575 </cell>
17576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17577 \begin_inset Text
17578
17579 \begin_layout Standard
17580 i
17581 \end_layout
17582
17583 \end_inset
17584 </cell>
17585 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17586 \begin_inset Text
17587
17588 \begin_layout Standard
17589 j
17590 \end_layout
17591
17592 \end_inset
17593 </cell>
17594 </row>
17595 <row>
17596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17597 \begin_inset Text
17598
17599 \begin_layout Standard
17600 \begin_inset ERT
17601 status collapsed
17602
17603 \begin_layout Standard
17604
17605
17606 \backslash
17607 hdashline 
17608 \end_layout
17609
17610 \end_inset
17611
17612 k
17613 \end_layout
17614
17615 \end_inset
17616 </cell>
17617 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17618 \begin_inset Text
17619
17620 \begin_layout Standard
17621 l
17622 \end_layout
17623
17624 \end_inset
17625 </cell>
17626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17627 \begin_inset Text
17628
17629 \begin_layout Standard
17630 m
17631 \end_layout
17632
17633 \end_inset
17634 </cell>
17635 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17636 \begin_inset Text
17637
17638 \begin_layout Standard
17639 n
17640 \end_layout
17641
17642 \end_inset
17643 </cell>
17644 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17645 \begin_inset Text
17646
17647 \begin_layout Standard
17648 o
17649 \end_layout
17650
17651 \end_inset
17652 </cell>
17653 </row>
17654 <row topline="true">
17655 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17656 \begin_inset Text
17657
17658 \begin_layout Standard
17659 \begin_inset ERT
17660 status collapsed
17661
17662 \begin_layout Standard
17663
17664
17665 \backslash
17666 cdashline{4-5}
17667 \end_layout
17668
17669 \end_inset
17670
17671 p
17672 \end_layout
17673
17674 \end_inset
17675 </cell>
17676 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17677 \begin_inset Text
17678
17679 \begin_layout Standard
17680 q
17681 \end_layout
17682
17683 \end_inset
17684 </cell>
17685 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17686 \begin_inset Text
17687
17688 \begin_layout Standard
17689 r
17690 \end_layout
17691
17692 \end_inset
17693 </cell>
17694 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17695 \begin_inset Text
17696
17697 \begin_layout Standard
17698 s
17699 \end_layout
17700
17701 \end_inset
17702 </cell>
17703 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17704 \begin_inset Text
17705
17706 \begin_layout Standard
17707
17708 \end_layout
17709
17710 \end_inset
17711 </cell>
17712 </row>
17713 <row topline="true" bottomline="true">
17714 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17715 \begin_inset Text
17716
17717 \begin_layout Standard
17718 t
17719 \end_layout
17720
17721 \end_inset
17722 </cell>
17723 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17724 \begin_inset Text
17725
17726 \begin_layout Standard
17727 u
17728 \end_layout
17729
17730 \end_inset
17731 </cell>
17732 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17733 \begin_inset Text
17734
17735 \begin_layout Standard
17736 v
17737 \end_layout
17738
17739 \end_inset
17740 </cell>
17741 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17742 \begin_inset Text
17743
17744 \begin_layout Standard
17745 w
17746 \end_layout
17747
17748 \end_inset
17749 </cell>
17750 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17751 \begin_inset Text
17752
17753 \begin_layout Standard
17754 x
17755 \end_layout
17756
17757 \end_inset
17758 </cell>
17759 </row>
17760 </lyxtabular>
17761
17762 \end_inset
17763
17764
17765 \end_layout
17766
17767 \end_inset
17768
17769
17770 \end_layout
17771
17772 \begin_layout Standard
17773 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
17774  As prerequisite the LaTeX-package 
17775 \series bold
17776 arydshln
17777 \series default
17778
17779 \begin_inset LatexCommand index
17780 name "LaTeX-packages ! arydshln"
17781
17782 \end_inset
17783
17784  must be loaded in the document preamble with the command
17785 \end_layout
17786
17787 \begin_layout Standard
17788
17789 \series bold
17790
17791 \backslash
17792 usepackage{arydshln}
17793 \end_layout
17794
17795 \begin_layout Standard
17796 To make a vertical line dashed, enter the colon 
17797 \begin_inset Quotes eld
17798 \end_inset
17799
17800 :
17801 \begin_inset Quotes erd
17802 \end_inset
17803
17804  together with the character for the horizontal alignment as LaTeX-argument
17805  in the table cell dialog.
17806 \end_layout
17807
17808 \begin_layout Standard
17809 For a horizontal dashed line add the command
17810 \end_layout
17811
17812 \begin_layout Standard
17813
17814 \series bold
17815
17816 \backslash
17817 hdashline
17818 \end_layout
17819
17820 \begin_layout Standard
17821 in TeX-Code as first element of the first cell in the table row.
17822 \end_layout
17823
17824 \begin_layout Standard
17825 For dashed multicolumn lines use the command
17826 \end_layout
17827
17828 \begin_layout Standard
17829
17830 \series bold
17831
17832 \backslash
17833 cdashline{line number
17834 \series default
17835 }
17836 \end_layout
17837
17838 \begin_layout Standard
17839 in TeX-Code as first element of the first cell in the table row.
17840  If you have for example a multicolumn spanning over columns 2 to 4 and
17841  you want to have a dashed line above, add the command
17842 \end_layout
17843
17844 \begin_layout Standard
17845
17846 \series bold
17847
17848 \backslash
17849 cdashline{2-4}
17850 \end_layout
17851
17852 \begin_layout Standard
17853 as first element of the first cell in the row of the multicolumn.
17854 \end_layout
17855
17856 \begin_layout Standard
17857 \begin_inset VSpace bigskip
17858 \end_inset
17859
17860
17861 \end_layout
17862
17863 \begin_layout Standard
17864 Table\InsetSpace ~
17865
17866 \begin_inset LatexCommand ref
17867 reference "tab:Table-with-dashed"
17868
17869 \end_inset
17870
17871  was created using 
17872 \begin_inset Quotes eld
17873 \end_inset
17874
17875
17876 \series bold
17877 :c
17878 \series default
17879
17880 \begin_inset Quotes erd
17881 \end_inset
17882
17883  as LaTeX-argument of the third column.
17884  The TeX-Code command 
17885 \series bold
17886
17887 \backslash
17888 hdashline
17889 \series default
17890  was inserted to the first cell of the third row and the the TeX-Code command
17891 \newline
17892
17893  
17894 \series bold
17895
17896 \backslash
17897 cdashline{4-5}
17898 \series default
17899  was inserted to the first cell of the fourth row.
17900 \end_layout
17901
17902 \begin_layout Standard
17903 \begin_inset Note Greyedout
17904 status open
17905
17906 \begin_layout Standard
17907
17908 \series bold
17909 Note:
17910 \series default
17911  The used LaTeX-package 
17912 \series bold
17913 arydshln
17914 \series default
17915  is apparently not compatible with the LaTeX-package 
17916 \series bold
17917 colortbl
17918 \series default
17919
17920 \begin_inset LatexCommand index
17921 name "LaTeX-packages ! colortbl"
17922
17923 \end_inset
17924
17925  that is used for colored tables in section\InsetSpace ~
17926
17927 \begin_inset LatexCommand ref
17928 reference "sec:Colored-Tables"
17929
17930 \end_inset
17931
17932 .
17933  That means colored tables cannot have dashed lines.
17934 \end_layout
17935
17936 \end_inset
17937
17938
17939 \end_layout
17940
17941 \begin_layout Standard
17942 \begin_inset ERT
17943 status collapsed
17944
17945 \begin_layout Standard
17946
17947
17948 \backslash
17949 else
17950 \end_layout
17951
17952 \end_inset
17953
17954
17955 \begin_inset Note Note
17956 status open
17957
17958 \begin_layout Standard
17959 The following will be displayed when the LaTeX-package 
17960 \series bold
17961 arydshln
17962 \series default
17963  is not installed:
17964 \end_layout
17965
17966 \end_inset
17967
17968
17969 \end_layout
17970
17971 \begin_layout Standard
17972 You need to install the package 
17973 \series bold
17974 arydshln
17975 \series default
17976  to see the content of this section in the output.
17977 \end_layout
17978
17979 \begin_layout Standard
17980 \begin_inset ERT
17981 status collapsed
17982
17983 \begin_layout Standard
17984
17985
17986 \backslash
17987 fi
17988 \end_layout
17989
17990 \end_inset
17991
17992
17993 \end_layout
17994
17995 \begin_layout Chapter
17996 Floats
17997 \begin_inset LatexCommand index
17998 name "Floats"
17999
18000 \end_inset
18001
18002
18003 \begin_inset LatexCommand label
18004 name "cha:Floats"
18005
18006 \end_inset
18007
18008
18009 \end_layout
18010
18011 \begin_layout Section
18012 Introduction
18013 \begin_inset LatexCommand label
18014 name "sec:FloatIntroduction"
18015
18016 \end_inset
18017
18018
18019 \begin_inset LatexCommand index
18020 name "Floats ! Introduction"
18021
18022 \end_inset
18023
18024
18025 \end_layout
18026
18027 \begin_layout Standard
18028 A float is a block of text associated with some sort of label, which doesn't
18029  have a fixed location.
18030  It can 
18031 \begin_inset Quotes eld
18032 \end_inset
18033
18034 float
18035 \begin_inset Quotes erd
18036 \end_inset
18037
18038  forward or backward a page or two, to wherever it fits best.
18039  
18040 \family sans
18041 Footnotes
18042 \family default
18043  and 
18044 \family sans
18045 Margin\InsetSpace ~
18046 Notes
18047 \family default
18048  are also floats, because they can float to the next page when there are
18049  too many notes at the page.
18050 \end_layout
18051
18052 \begin_layout Standard
18053 Floats allow a high quality layout.
18054  Images and tables can evenly be spread to the pages to avoid white space
18055  and pages without text.
18056  As the floating often destroys the context between the text and the image/table
18057 , every float can be referenced in the text.
18058  Floats are therefore numbered.
18059  Referencing is described in section\InsetSpace ~
18060
18061 \begin_inset LatexCommand ref
18062 reference "sec:Referencing-Floats"
18063
18064 \end_inset
18065
18066 .
18067 \end_layout
18068
18069 \begin_layout Standard
18070 To insert a float, use the menu 
18071 \family sans
18072 Insert\SpecialChar \menuseparator
18073 Float
18074 \family default
18075 .
18076  This inserts the 
18077 \family sans
18078 Caption
18079 \family default
18080  inset, a box with a label.
18081  The label will automatically be translated to the document language in
18082  the output.
18083  Behind the label you can insert the caption text.
18084  The image or table is inserted above or below the caption in a separate
18085  paragraph within the float.
18086  More about the caption placement is described in section\InsetSpace ~
18087
18088 \begin_inset LatexCommand ref
18089 reference "sec:Caption-Placement"
18090
18091 \end_inset
18092
18093 .
18094  To keep your LyX-document readable, you can open and close the float box
18095  by left-clicking on the box label.
18096  A closed float box looks like this: 
18097 \begin_inset Graphics
18098         filename clipart/floatQt4.png
18099         scale 70
18100         scaleBeforeRotation
18101
18102 \end_inset
18103
18104  -- a gray button with a red label.
18105 \end_layout
18106
18107 \begin_layout Standard
18108 It is recommended to insert floats as a separate paragraph to avoid possible
18109  LaTeX-errors that can occur when the surrounding text is specially formatted.
18110 \end_layout
18111
18112 \begin_layout Standard
18113 Existing figures or tables can be put into a float by marking them and then
18114  pressing the corresponding toolbar button for a new float.
18115 \end_layout
18116
18117 \begin_layout Section
18118 Float Types
18119 \end_layout
18120
18121 \begin_layout Standard
18122 Besides figure and table floats that are described in section\InsetSpace ~
18123
18124 \begin_inset LatexCommand ref
18125 reference "sec:Figure-Floats"
18126
18127 \end_inset
18128
18129  and 
18130 \begin_inset LatexCommand ref
18131 reference "sec:Table-Floats"
18132
18133 \end_inset
18134
18135 , respectively, LyX offers the float types 
18136 \series bold
18137 Algorithm
18138 \series default
18139  and 
18140 \series bold
18141 Text\InsetSpace ~
18142 Wrap\InsetSpace ~
18143 Float
18144 \series default
18145 .
18146 \end_layout
18147
18148 \begin_layout Subsection
18149 Algorithm Floats
18150 \begin_inset LatexCommand index
18151 name "Floats ! Algorithms"
18152
18153 \end_inset
18154
18155
18156 \begin_inset LatexCommand label
18157 name "sub:Algorithm-Floats"
18158
18159 \end_inset
18160
18161
18162 \end_layout
18163
18164 \begin_layout Standard
18165 \begin_inset Float algorithm
18166 placement h
18167 wide false
18168 sideways false
18169 status open
18170
18171 \begin_layout Standard
18172 \begin_inset Caption
18173
18174 \begin_layout Standard
18175 \begin_inset LatexCommand label
18176 name "alg:Example-Algorithm-float"
18177
18178 \end_inset
18179
18180 Example Algorithm float
18181 \end_layout
18182
18183 \end_inset
18184
18185
18186 \end_layout
18187
18188 \begin_layout LyX-Code
18189 for I in 1..N loop
18190 \newline
18191  Sum:= Sum + A(I); /*comment*/
18192 \newline
18193 end loop
18194 \begin_inset VSpace -4mm
18195 \end_inset
18196
18197
18198 \end_layout
18199
18200 \end_inset
18201
18202
18203 \end_layout
18204
18205 \begin_layout Standard
18206 This float type is inserted with the menu 
18207 \family sans
18208 Insert\SpecialChar \menuseparator
18209 Floats\SpecialChar \menuseparator
18210 Algorithm
18211 \family default
18212 .
18213  It is used for program codes and descriptions of algorithms.
18214  A possible environment for algorithms is the 
18215 \family sans
18216 LyX-Code
18217 \family default
18218 , described in LyX's 
18219 \emph on
18220 Userguide
18221 \emph default
18222 .
18223  Algorithm\InsetSpace ~
18224
18225 \begin_inset LatexCommand ref
18226 reference "alg:Example-Algorithm-float"
18227
18228 \end_inset
18229
18230  is an example of an algorithm float where -4\InsetSpace \thinspace{}
18231 mm vertical space was added
18232  at the end of the float to have the bottom rule exactly below the last
18233  text line.
18234 \end_layout
18235
18236 \begin_layout Standard
18237 The float label is not automatically translated into the document language.
18238  If your document is not in English, you have to do this manually by adding
18239  the following line to the document preamble
18240 \series bold
18241 :
18242 \end_layout
18243
18244 \begin_layout Standard
18245
18246 \series bold
18247
18248 \backslash
18249 floatname{algorithm}{your\InsetSpace ~
18250 name}
18251 \end_layout
18252
18253 \begin_layout Standard
18254
18255 \family sans
18256 your\InsetSpace ~
18257 name
18258 \family default
18259  is the word 
18260 \begin_inset Quotes eld
18261 \end_inset
18262
18263
18264 \emph on
18265 algorithm
18266 \emph default
18267
18268 \begin_inset Quotes erd
18269 \end_inset
18270
18271  in your language.
18272 \end_layout
18273
18274 \begin_layout Description
18275
18276 \series bold
18277 Note:
18278 \series default
18279  When the LaTeX-package 
18280 \series bold
18281 hyperref
18282 \series default
18283
18284 \begin_inset LatexCommand index
18285 name "LaTeX-packages ! hyperref"
18286
18287 \end_inset
18288
18289  is used to link cross-references to floats in the PDF-output, it must be
18290  loaded in the document preamble before the definition of floats to be able
18291  to reference floats.
18292  As LyX sets the float definition for algorithm floats automatically before
18293  the user editable part of the document preamble, you need to insert the
18294  following preamble lines 
18295 \emph on
18296 after
18297 \emph default
18298  the loading command of 
18299 \series bold
18300 hyperref
18301 \series default
18302 :
18303 \begin_inset VSpace defskip
18304 \end_inset
18305
18306
18307 \series bold
18308
18309 \newline
18310
18311 \backslash
18312 newfloat{Xalgorithm}{tbp}{loa}
18313 \newline
18314
18315 \backslash
18316 floatname{Xalgorithm}{your\InsetSpace ~
18317 name}
18318 \newline
18319
18320 \backslash
18321 newcommand{
18322 \backslash
18323 theHalgorithm}{
18324 \backslash
18325 theHXalgorithm}
18326 \newline
18327
18328 \backslash
18329 renewenvironment{algorithm}[1][tbp]
18330 \newline
18331
18332 \begin_inset ERT
18333 status collapsed
18334
18335 \begin_layout Standard
18336
18337
18338 \backslash
18339 hphantom{ }
18340 \end_layout
18341
18342 \end_inset
18343
18344 {
18345 \backslash
18346 begin{Xalgorithm}[#1]}{
18347 \backslash
18348 end{Xalgorithm}}
18349 \series default
18350
18351 \begin_inset VSpace defskip
18352 \end_inset
18353
18354
18355 \newline
18356 To insert the list of algorithms you can in this case not use the menu 
18357 \family sans
18358 Insert\SpecialChar \menuseparator
18359 List\InsetSpace \thinspace{}
18360 /\InsetSpace \thinspace{}
18361 TOC\SpecialChar \menuseparator
18362 List of Algorithms
18363 \family default
18364  but have to use this command in TeX-Code instead:
18365 \newline
18366
18367 \series bold
18368
18369 \backslash
18370 listof{Xalgorithm}{List of Algorithms}
18371 \series default
18372
18373 \begin_inset Note Note
18374 status collapsed
18375
18376 \begin_layout Standard
18377
18378 \series medium
18379 is used at the end of this document
18380 \end_layout
18381
18382 \end_inset
18383
18384
18385 \end_layout
18386
18387 \begin_layout Standard
18388 Algorithm floats are not by default numbered in the scheme 
18389 \begin_inset Quotes eld
18390 \end_inset
18391
18392 chapter.algorithm
18393 \begin_inset Quotes erd
18394 \end_inset
18395
18396  like it is the case for table and figure floats in many document-classes.
18397  To number algorithm floats in the same scheme, add this command to your
18398  document preamble:
18399 \end_layout
18400
18401 \begin_layout Standard
18402
18403 \series bold
18404
18405 \backslash
18406 numberwithin{algorithm}{chapter}
18407 \end_layout
18408
18409 \begin_layout Standard
18410 If you use the LaTeX-package 
18411 \series bold
18412 hyperref
18413 \series default
18414 , add this line instead 
18415 \emph on
18416 after
18417 \emph default
18418  the definition of 
18419 \family sans
18420 Xalgorithm
18421 \family default
18422  (the commands from above) to the preamble:
18423 \end_layout
18424
18425 \begin_layout Standard
18426
18427 \series bold
18428
18429 \backslash
18430 numberwithin{Xalgorithm}{chapter}
18431 \end_layout
18432
18433 \begin_layout Standard
18434 To be able to use the command 
18435 \series bold
18436
18437 \backslash
18438 numberwithin
18439 \series default
18440 , set in the tab 
18441 \family sans
18442 Math\InsetSpace ~
18443 Options
18444 \family default
18445  in the document settings the option 
18446 \family sans
18447 Use\InsetSpace ~
18448 AMS\InsetSpace ~
18449 math\InsetSpace ~
18450 package
18451 \family default
18452 .
18453 \end_layout
18454
18455 \begin_layout Subsection
18456 Text Wrap Floats
18457 \begin_inset LatexCommand index
18458 name "Floats ! Text Wrap Floats"
18459
18460 \end_inset
18461
18462
18463 \begin_inset LatexCommand label
18464 name "sub:floatflt-wrap-float"
18465
18466 \end_inset
18467
18468
18469 \end_layout
18470
18471 \begin_layout Standard
18472 This float type is used if you want to 
18473 \begin_inset Quotes eld
18474 \end_inset
18475
18476 wrap
18477 \begin_inset Quotes erd
18478 \end_inset
18479
18480  text around a figure so that it only occupies some fraction of the column
18481  width.
18482  It can be inserted using the menu 
18483 \begin_inset Wrap figure
18484 placement l
18485 width "40col%"
18486 status open
18487
18488 \begin_layout Standard
18489 \begin_inset Graphics
18490         filename clipart/mobius.eps
18491         display color
18492         width 40col%
18493         scaleBeforeRotation
18494         rotateOrigin center
18495
18496 \end_inset
18497
18498
18499 \end_layout
18500
18501 \begin_layout Standard
18502 \begin_inset Caption
18503
18504 \begin_layout Standard
18505 \begin_inset LatexCommand label
18506 name "fig:This-is-a"
18507
18508 \end_inset
18509
18510 This is a wrapped figure, and this is the brilliant caption that describes
18511  it.
18512 \begin_inset VSpace medskip
18513 \end_inset
18514
18515
18516 \end_layout
18517
18518 \end_inset
18519
18520
18521 \end_layout
18522
18523 \end_inset
18524
18525  
18526 \family sans
18527 Insert\SpecialChar \menuseparator
18528 Floats\SpecialChar \menuseparator
18529 Text\InsetSpace ~
18530 Wrap\InsetSpace ~
18531 Float
18532 \family default
18533  if the LaTeX-package 
18534 \series bold
18535 f\SpecialChar \textcompwordmark{}
18536 loatf\SpecialChar \textcompwordmark{}
18537 lt
18538 \series default
18539
18540 \begin_inset LatexCommand index
18541 name "LaTeX-packages ! floatflt"
18542
18543 \end_inset
18544
18545  is installed.
18546 \begin_inset Foot
18547 status collapsed
18548
18549 \begin_layout Standard
18550 Installing a LaTeX-package is explained it in the 
18551 \emph on
18552 LaTeX\InsetSpace ~
18553 Configuration
18554 \emph default
18555  manual.
18556 \end_layout
18557
18558 \end_inset
18559
18560  The width and placement of the float is adjusted by right-clicking on the
18561  float box.
18562  Figure\InsetSpace ~
18563
18564 \begin_inset LatexCommand ref
18565 reference "fig:This-is-a"
18566
18567 \end_inset
18568
18569  is an example text wrap float with a width of 40
18570 \begin_inset Formula $\,$
18571 \end_inset
18572
18573 col%.
18574 \begin_inset Foot
18575 status collapsed
18576
18577 \begin_layout Standard
18578 Available units are explained in 
18579 \begin_inset LatexCommand ref
18580 reference "cha:Units-available-in"
18581
18582 \end_inset
18583
18584 .
18585 \end_layout
18586
18587 \end_inset
18588
18589  Some space was added under the caption to separate it better from the surroundi
18590 ng text.
18591 \end_layout
18592
18593 \begin_layout Standard
18594 The LaTeX-package 
18595 \series bold
18596 f\SpecialChar \textcompwordmark{}
18597 loatf\SpecialChar \textcompwordmark{}
18598 lt
18599 \series default
18600  also supports table wrap floats, but they are not yet supported by LyX.
18601  If you need this, read the documentation of 
18602 \series bold
18603 f\SpecialChar \textcompwordmark{}
18604 loatf\SpecialChar \textcompwordmark{}
18605 lt
18606 \series default
18607  
18608 \begin_inset LatexCommand cite
18609 key "floatflt"
18610
18611 \end_inset
18612
18613 .
18614 \end_layout
18615
18616 \begin_layout Standard
18617 \begin_inset Note Greyedout
18618 status open
18619
18620 \begin_layout Standard
18621
18622 \series bold
18623 Note:
18624 \series default
18625  Text\InsetSpace ~
18626 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18627 g.\InsetSpace ~
18628 having a figure too close to the bottom
18629  of the page can mess things up in the way that the float doesn't appear
18630  in the output or that it is placed over some other text.
18631 \begin_inset Foot
18632 status open
18633
18634 \begin_layout Standard
18635 The better solution is to use the LaTeX-package 
18636 \series bold
18637 wrapf\SpecialChar \textcompwordmark{}
18638 ig
18639 \series default
18640
18641 \begin_inset LatexCommand index
18642 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18643
18644 \end_inset
18645
18646  instead of 
18647 \series bold
18648 f\SpecialChar \textcompwordmark{}
18649 loatf\SpecialChar \textcompwordmark{}
18650 lt
18651 \series default
18652 , but it is currently not supported by LyX.
18653 \end_layout
18654
18655 \end_inset
18656
18657
18658 \end_layout
18659
18660 \end_inset
18661
18662
18663 \end_layout
18664
18665 \begin_layout Standard
18666 In general:
18667 \end_layout
18668
18669 \begin_layout Itemize
18670 Wrap floats should not be placed in paragraphs that run over a page break.
18671  That means that wrap floats should better be inserted to the exact place
18672  when the document is nearly finished and you are able to estimate where
18673  page breaks will appear.
18674 \end_layout
18675
18676 \begin_layout Itemize
18677 Wrap floats should either be placed in an own paragraph before the paragraph
18678  where they should wrap into or within a paragraph.
18679 \end_layout
18680
18681 \begin_layout Itemize
18682 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18683  there is a text paragraph between them as separator.
18684 \end_layout
18685
18686 \begin_layout Itemize
18687 Wrap floats are not allowed in section headings or tables.
18688 \end_layout
18689
18690 \begin_layout Section
18691 Float Numbering
18692 \begin_inset LatexCommand label
18693 name "sec:Float-Numbering"
18694
18695 \end_inset
18696
18697
18698 \begin_inset LatexCommand index
18699 name "Floats ! Numbering"
18700
18701 \end_inset
18702
18703
18704 \end_layout
18705
18706 \begin_layout Standard
18707 Floats are usually numbered either independent from the sections the floats
18708  are in, or in the scheme 
18709 \begin_inset Quotes eld
18710 \end_inset
18711
18712 chapter.number
18713 \begin_inset Quotes erd
18714 \end_inset
18715
18716  or 
18717 \begin_inset Quotes eld
18718 \end_inset
18719
18720 section.number
18721 \begin_inset Quotes erd
18722 \end_inset
18723
18724 .
18725  This depends on the used document class.
18726 \end_layout
18727
18728 \begin_layout Standard
18729 To change the section independent numbering, you can use this command in
18730  the document preamble:
18731 \end_layout
18732
18733 \begin_layout Standard
18734
18735 \series bold
18736
18737 \backslash
18738 renewcommand{
18739 \backslash
18740 thetable}{
18741 \backslash
18742 roman{table}}
18743 \end_layout
18744
18745 \begin_layout Standard
18746
18747 \series bold
18748
18749 \backslash
18750 thetable
18751 \series default
18752  is the command that prints the table number, for figure floats, the command
18753  would be 
18754 \series bold
18755
18756 \backslash
18757 thefigure
18758 \series default
18759 .
18760  The command 
18761 \series bold
18762
18763 \backslash
18764 roman
18765 \series default
18766  prints in the command above the table number as small roman number.
18767 \end_layout
18768
18769 \begin_layout Standard
18770 To change the numbering scheme for example to 
18771 \begin_inset Quotes eld
18772 \end_inset
18773
18774 subsection.number
18775 \begin_inset Quotes erd
18776 \end_inset
18777
18778 , use this command in the preamble:
18779 \end_layout
18780
18781 \begin_layout Standard
18782
18783 \series bold
18784
18785 \backslash
18786 numberwithin{table}{subsection}
18787 \end_layout
18788
18789 \begin_layout Standard
18790 To be able to use the command 
18791 \series bold
18792
18793 \backslash
18794 numberwithin
18795 \series default
18796 , set in the tab 
18797 \family sans
18798 Math\InsetSpace ~
18799 Options
18800 \family default
18801  in the document settings the option 
18802 \family sans
18803 Use\InsetSpace ~
18804 AMS\InsetSpace ~
18805 math\InsetSpace ~
18806 package
18807 \family default
18808 .
18809 \end_layout
18810
18811 \begin_layout Standard
18812 Please also have a look at section\InsetSpace ~
18813
18814 \begin_inset LatexCommand ref
18815 reference "sub:Footnote-Numbering"
18816
18817 \end_inset
18818
18819  for the details and important notes about the numbering commands.
18820 \end_layout
18821
18822 \begin_layout Section
18823 Referencing Floats
18824 \begin_inset LatexCommand label
18825 name "sec:Referencing-Floats"
18826
18827 \end_inset
18828
18829
18830 \begin_inset LatexCommand index
18831 name "Floats ! References"
18832
18833 \end_inset
18834
18835
18836 \begin_inset LatexCommand index
18837 name "References"
18838
18839 \end_inset
18840
18841
18842 \end_layout
18843
18844 \begin_layout Standard
18845 To reference a float, insert a label into its caption using the menu 
18846 \family sans
18847 Insert\SpecialChar \menuseparator
18848 Label
18849 \family default
18850  or the toolbar button 
18851 \begin_inset Graphics
18852         filename ../images/label-insert.png
18853         scale 85
18854         scaleBeforeRotation
18855
18856 \end_inset
18857
18858 .
18859  A grey label box like this one: 
18860 \begin_inset Graphics
18861         filename clipart/labelQt4.png
18862         scale 85
18863         scaleBeforeRotation
18864
18865 \end_inset
18866
18867  will be inserted and the label window pops up asking for the label text.
18868  LyX offers as text the first words of the caption with a prefix.
18869  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18870 g.\InsetSpace ~
18871 for figure floats the prefix will
18872  be "
18873 \family sans
18874 fig:
18875 \family default
18876 ".
18877 \end_layout
18878
18879 \begin_layout Standard
18880 The label is used as anchor and name for the reference.
18881  You can refer to the label using the menu 
18882 \family sans
18883 Insert\SpecialChar \menuseparator
18884 Cross-reference
18885 \family default
18886  or the toolbar button 
18887 \begin_inset Graphics
18888         filename ../images/dialog-show-new-inset_ref.png
18889         scale 85
18890         scaleBeforeRotation
18891
18892 \end_inset
18893
18894 .
18895  A grey cross-reference box like this one: 
18896 \begin_inset Graphics
18897         filename clipart/referenceQt4.png
18898         scale 85
18899         scaleBeforeRotation
18900
18901 \end_inset
18902
18903  will be inserted and the cross-reference window appear showing all labels
18904  of the document.
18905  If you have multiple LyX-documents opened, choose the one you are working
18906  on from the drop-list at the top of the dialog.
18907  You can now sort the labels alphabetically and then choose one.
18908  At the position of the cross-reference box the float number will appear
18909  in the output.
18910 \end_layout
18911
18912 \begin_layout Standard
18913 It is recommended to use a protected space between the cross-reference name
18914  and its number to avoid line breaks between them.
18915  If a cross-reference refers to a non-existing label, you will see two question
18916  marks in the output instead of the reference.
18917 \end_layout
18918
18919 \begin_layout Standard
18920 You can change labels at any time by clicking on the label box.
18921  References to the changed label will automatically change its link to the
18922  new label text, so that you don't need to take care about this.
18923 \end_layout
18924
18925 \begin_layout Standard
18926 The button 
18927 \family sans
18928 Go\InsetSpace ~
18929 to\InsetSpace ~
18930 Label
18931 \family default
18932  in the cross-reference window sets the cursor before the referred label.
18933  The button text changes then to Go\InsetSpace ~
18934 Back and you can use it to set the cursor
18935  back to the cross-reference.
18936  Right-clicking on a cross-reference box also sets the cursor before the
18937  referenced label but without a possibility to go back.
18938 \end_layout
18939
18940 \begin_layout Subsection
18941 Cross-Reference Formats
18942 \begin_inset LatexCommand label
18943 name "sub:Cross-Reference-Formats"
18944
18945 \end_inset
18946
18947
18948 \begin_inset LatexCommand index
18949 name "References ! Formats"
18950
18951 \end_inset
18952
18953
18954 \end_layout
18955
18956 \begin_layout Standard
18957 There are six varieties of cross-references:
18958 \end_layout
18959
18960 \begin_layout Description
18961 <reference>: prints the float number, this is the default: 
18962 \begin_inset LatexCommand ref
18963 reference "fig:Two-distorted-images"
18964
18965 \end_inset
18966
18967
18968 \end_layout
18969
18970 \begin_layout Description
18971 (<reference>): prints the float number within two parentheses, this is the
18972  style normally used to reference formulas, especially when the reference
18973  name 
18974 \begin_inset Quotes eld
18975 \end_inset
18976
18977 Equation
18978 \begin_inset Quotes erd
18979 \end_inset
18980
18981  is omitted: 
18982 \begin_inset LatexCommand eqref
18983 reference "eq:Wgn"
18984
18985 \end_inset
18986
18987
18988 \end_layout
18989
18990 \begin_layout Description
18991 <page>: prints the page number: Page\InsetSpace ~
18992
18993 \begin_inset LatexCommand pageref
18994 reference "fig:Two-distorted-images"
18995
18996 \end_inset
18997
18998
18999 \end_layout
19000
19001 \begin_layout Description
19002 on\InsetSpace ~
19003 page\InsetSpace ~
19004 <page>: prints the text "on page" and the page number: 
19005 \begin_inset LatexCommand vpageref
19006 reference "fig:Two-distorted-images"
19007
19008 \end_inset
19009
19010
19011 \end_layout
19012
19013 \begin_layout Description
19014 <reference>\InsetSpace ~
19015 on\InsetSpace ~
19016 page\InsetSpace ~
19017 <page>: prints the float number, the text "on page", and
19018  the page number: 
19019 \begin_inset LatexCommand vref
19020 reference "fig:Two-distorted-images"
19021
19022 \end_inset
19023
19024
19025 \end_layout
19026
19027 \begin_layout Description
19028 Formatted\InsetSpace ~
19029 reference: prints a self defined cross-reference format.
19030  
19031 \begin_inset Note Greyedout
19032 status open
19033
19034 \begin_layout Standard
19035
19036 \series bold
19037 Note:
19038 \series default
19039  This feature is only available when you have the LaTeX-package 
19040 \series bold
19041 prettyref
19042 \series default
19043  installed.
19044 \end_layout
19045
19046 \end_inset
19047
19048
19049 \end_layout
19050
19051 \begin_layout Standard
19052 Note that the style <page> won't print the page number if the label is on
19053  the previous, the same, or the next page.
19054  You will e.\InsetSpace \thinspace{}
19055 g.\InsetSpace ~
19056 see the text 
19057 \begin_inset Quotes eld
19058 \end_inset
19059
19060
19061 \family sans
19062 on this page
19063 \family default
19064
19065 \begin_inset Quotes erd
19066 \end_inset
19067
19068  instead.
19069 \end_layout
19070
19071 \begin_layout Standard
19072 The number and current page of the referred document part in the output,
19073  is automatically calculated by LaTeX.
19074  The varieties are adjusted in the field 
19075 \family sans
19076 Format
19077 \family default
19078  of the cross-reference window, that appear when you click on the cross-referenc
19079 e box.
19080 \end_layout
19081
19082 \begin_layout Subsection
19083 Referencing Subfigures
19084 \begin_inset LatexCommand label
19085 name "sub:Referencing-Subfigures"
19086
19087 \end_inset
19088
19089
19090 \begin_inset LatexCommand index
19091 name "References ! to Subfigures"
19092
19093 \end_inset
19094
19095
19096 \end_layout
19097
19098 \begin_layout Standard
19099 Currently referencing subfigures is not supported by LyX, so you have to
19100  use LaTeX-commands.
19101  The label is the created with the command
19102 \end_layout
19103
19104 \begin_layout Standard
19105
19106 \series bold
19107
19108 \backslash
19109 label{fig:YourLabelName}
19110 \end_layout
19111
19112 \begin_layout Standard
19113 that is directly inserted into the subfigure caption field.
19114  To reference the label add this command in TeX-Code
19115 \end_layout
19116
19117 \begin_layout Standard
19118
19119 \series bold
19120
19121 \backslash
19122 ref{fig:YourLabelName}
19123 \end_layout
19124
19125 \begin_layout Standard
19126 to the position in your document where the reference should be placed.
19127  Here is a reference to a subfigure: Subfigure\InsetSpace ~
19128
19129 \begin_inset ERT
19130 status collapsed
19131
19132 \begin_layout Standard
19133
19134
19135 \backslash
19136 ref{fig:Platypus}
19137 \end_layout
19138
19139 \end_inset
19140
19141 .
19142 \end_layout
19143
19144 \begin_layout Subsection
19145 Automatic Reference Naming
19146 \begin_inset LatexCommand index
19147 name "References ! Automatic Reference Naming"
19148
19149 \end_inset
19150
19151
19152 \end_layout
19153
19154 \begin_layout Standard
19155 The LaTeX-package 
19156 \series bold
19157 hyperref
19158 \series default
19159  provides a very useful feature that cross-references automatically include
19160  the name of the referenced floats (or text parts like sections).
19161  You save to write e.\InsetSpace \thinspace{}
19162 g.\InsetSpace ~
19163 the name 
19164 \begin_inset Quotes eld
19165 \end_inset
19166
19167 Figure
19168 \begin_inset Quotes erd
19169 \end_inset
19170
19171  before every reference box.
19172  To get this automatic reference naming, you have to load the LaTeX-package
19173  
19174 \series bold
19175 hyperref
19176 \series default
19177
19178 \begin_inset LatexCommand index
19179 name "LaTeX-packages ! hyperref"
19180
19181 \end_inset
19182
19183  in the document preamble with
19184 \end_layout
19185
19186 \begin_layout Standard
19187
19188 \series bold
19189
19190 \backslash
19191 usepackage[pdfborder={0 0 0}]{hyperref}
19192 \newline
19193
19194 \backslash
19195 AtBeginDocument{
19196 \backslash
19197 renewcommand{
19198 \backslash
19199 ref}[1]{
19200 \backslash
19201 mbox{
19202 \backslash
19203 autoref{#1}}}}
19204 \end_layout
19205
19206 \begin_layout Standard
19207
19208 \series bold
19209 hyperref
19210 \series default
19211  is used to link cross-references in the DVI- and PDF-output, this means
19212  that the reader of your document will be able to click on a table of content
19213  (TOC) entry or on a reference and he will be shown the referenced document
19214  part.
19215  
19216 \series bold
19217 hyperref
19218 \series default
19219  also creates PDF-bookmarks for every section of your document to make it
19220  easier for readers to navigate through the document.
19221  This is also used in this document but when you have a look in the document
19222  preamble you will find various options in the load command of 
19223 \series bold
19224 hyperref
19225 \series default
19226 .
19227  To learn more about the 
19228 \series bold
19229 hyperref
19230 \series default
19231  package, we refer to its documentation 
19232 \begin_inset LatexCommand cite
19233 key "hyperref"
19234
19235 \end_inset
19236
19237 .
19238 \end_layout
19239
19240 \begin_layout Standard
19241 \begin_inset Note Greyedout
19242 status open
19243
19244 \begin_layout Standard
19245
19246 \series bold
19247 Note:
19248 \series default
19249  Automatic reference naming cannot be used when you use cross-references
19250  in the 
19251 \family sans
19252 Formatted\InsetSpace ~
19253 reference
19254 \family default
19255  style, described in section\InsetSpace ~
19256
19257 \begin_inset LatexCommand ref
19258 reference "sub:Cross-Reference-Formats"
19259
19260 \end_inset
19261
19262 .
19263 \end_layout
19264
19265 \end_inset
19266
19267
19268 \end_layout
19269
19270 \begin_layout Subsection
19271 Reference Position
19272 \begin_inset LatexCommand label
19273 name "sub:Reference-Position"
19274
19275 \end_inset
19276
19277
19278 \begin_inset LatexCommand index
19279 name "References ! Reference Position"
19280
19281 \end_inset
19282
19283
19284 \end_layout
19285
19286 \begin_layout Standard
19287 If you use 
19288 \series bold
19289 hyperref
19290 \series default
19291
19292 \begin_inset LatexCommand index
19293 name "LaTeX-packages ! hyperref"
19294
19295 \end_inset
19296
19297  to link cross-references in the output, you will see that clicking on an
19298  image float reference jumps to the image label.
19299  The caption will be the first text part on the screen, so that you cannot
19300  see the image without scrolling.
19301  This is because the reference link anchor is placed at the position of
19302  the label.
19303  With the use of the package 
19304 \series bold
19305 hypcap
19306 \series default
19307
19308 \begin_inset LatexCommand index
19309 name "LaTeX-packages ! hypcap"
19310
19311 \end_inset
19312
19313 , which is part of the LaTeX-package 
19314 \series bold
19315 oberdiek
19316 \series default
19317
19318 \begin_inset LatexCommand index
19319 name "LaTeX-packages ! oberdiek"
19320
19321 \end_inset
19322
19323 , the link anchor is placed at the beginning of a float.
19324  To use this feature for figure floats, load 
19325 \series bold
19326 hypcap
19327 \series default
19328  in the document preamble with the line
19329 \end_layout
19330
19331 \begin_layout Standard
19332
19333 \series bold
19334
19335 \backslash
19336 usepackage[figure]{hypcap}
19337 \end_layout
19338
19339 \begin_layout Standard
19340 You can also use 
19341 \series bold
19342 hypcap
19343 \series default
19344  for all floats but this isn't recommended for stability reasons.
19345  For more informations, have a look at 
19346 \series bold
19347 hypcap
19348 \series default
19349 's manual 
19350 \begin_inset LatexCommand cite
19351 key "hypcap"
19352
19353 \end_inset
19354
19355 .
19356 \end_layout
19357
19358 \begin_layout Standard
19359 \begin_inset Note Greyedout
19360 status open
19361
19362 \begin_layout Standard
19363
19364 \series bold
19365 Note:
19366 \series default
19367  
19368 \series bold
19369 hypcap
19370 \series default
19371  must be loaded after 
19372 \series bold
19373 hyperref
19374 \series default
19375  in the document preamble.
19376 \end_layout
19377
19378 \end_inset
19379
19380
19381 \end_layout
19382
19383 \begin_layout Standard
19384 \begin_inset Note Greyedout
19385 status open
19386
19387 \begin_layout Standard
19388
19389 \series bold
19390 Note:
19391 \series default
19392  
19393 \series bold
19394 hypcap
19395 \series default
19396  has no effect for references to subfigures.
19397 \end_layout
19398
19399 \end_inset
19400
19401
19402 \end_layout
19403
19404 \begin_layout Section
19405 Float Placement
19406 \begin_inset LatexCommand label
19407 name "sec:Float-Placement"
19408
19409 \end_inset
19410
19411
19412 \begin_inset LatexCommand index
19413 name "Floats ! Placement"
19414
19415 \end_inset
19416
19417
19418 \end_layout
19419
19420 \begin_layout Standard
19421 Right-clicking on a float-box opens a dialog where you can alter the placement
19422  options that LaTeX uses for positioning the float.
19423 \newline
19424 The option 
19425 \family sans
19426 Span\InsetSpace ~
19427 columns
19428 \family default
19429  is only useful for two-column documents: If you select it, the float will
19430  span across both columns on the page instead of being confined to just
19431  one.
19432 \newline
19433 The option 
19434 \family sans
19435 Rotate\InsetSpace ~
19436 sideways
19437 \family default
19438  is used to rotate floats, see section 
19439 \begin_inset LatexCommand ref
19440 reference "sec:Rotated-Floats"
19441
19442 \end_inset
19443
19444 .
19445 \end_layout
19446
19447 \begin_layout Standard
19448 You can use one ore more of the following options in the float dialog to
19449  set the placement for a particular float when you uncheck the option 
19450 \family sans
19451 Use\InsetSpace ~
19452 default\InsetSpace ~
19453 placement
19454 \family default
19455 :
19456 \end_layout
19457
19458 \begin_layout Description
19459 Here\InsetSpace ~
19460 if\InsetSpace ~
19461 possible try to place the float on the position where it is inserted
19462 \end_layout
19463
19464 \begin_layout Description
19465 Top\InsetSpace ~
19466 of\InsetSpace ~
19467 page try to place the float on the top of the current page
19468 \end_layout
19469
19470 \begin_layout Description
19471 Bottom\InsetSpace ~
19472 of\InsetSpace ~
19473 page try to place the float on the bottom of the current page
19474 \end_layout
19475
19476 \begin_layout Description
19477 Page\InsetSpace ~
19478 of\InsetSpace ~
19479 floats try to place the float on an own page 
19480 \end_layout
19481
19482 \begin_layout Standard
19483 The order of the above option is 
19484 \emph on
19485 always
19486 \emph default
19487  used by LaTeX.
19488  That means, if you use the default placement, LaTeX will first try out
19489  
19490 \family sans
19491 Here\InsetSpace ~
19492 if\InsetSpace ~
19493 possible
19494 \family default
19495 , then 
19496 \family sans
19497 Top\InsetSpace ~
19498 of\InsetSpace ~
19499 page
19500 \family default
19501 , and then the others.
19502  If you don't use the default, LaTeX will try only the checked options but
19503  in the same order.
19504  If none of the 4 placements are possible the procedure is internally repeated
19505  but it is tried to put the float on the following page.
19506 \end_layout
19507
19508 \begin_layout Standard
19509 By default, each option has its own rules:
19510 \end_layout
19511
19512 \begin_layout Labeling
19513 \labelwidthstring 00.00.0000
19514
19515 \family sans
19516 Top\InsetSpace ~
19517 of\InsetSpace ~
19518 page
19519 \family default
19520  only floats occupying less than 70\InsetSpace \thinspace{}
19521 % of the page can be placed at the top
19522  of a page (
19523 \series bold
19524
19525 \backslash
19526 topfraction
19527 \series default
19528 )
19529 \end_layout
19530
19531 \begin_layout Labeling
19532 \labelwidthstring 00.00.0000
19533
19534 \family sans
19535 Bottom\InsetSpace ~
19536 of\InsetSpace ~
19537 page
19538 \family default
19539 : only floats occupying less than 30\InsetSpace \thinspace{}
19540 % of the page can be placed at the bottom
19541  of a page.
19542  (
19543 \series bold
19544
19545 \backslash
19546 bottomfraction
19547 \series default
19548 )
19549 \end_layout
19550
19551 \begin_layout Labeling
19552 \labelwidthstring 00.00.0000
19553
19554 \family sans
19555 Page\InsetSpace ~
19556 of\InsetSpace ~
19557 floats
19558 \family default
19559 : only if more than 50\InsetSpace \thinspace{}
19560 % of the page are occupied by floats, several floats
19561  can be set together on a page.
19562  (
19563 \series bold
19564
19565 \backslash
19566 floatpagefraction
19567 \series default
19568 )
19569 \end_layout
19570
19571 \begin_layout Standard
19572 If you don't like these rules, you can ignore them by using the additional
19573  option 
19574 \family sans
19575 Ignore\InsetSpace ~
19576 LaTeX\InsetSpace ~
19577 rules
19578 \family default
19579 .
19580 \newline
19581 You can also redefine the rules with LaTeX-commands that are given in parenthese
19582 s behind the rules description above.
19583  To increase for example the often too small default of the bottom-rule
19584  to 50\InsetSpace \thinspace{}
19585 % of the page, add this line to your document preamble:
19586 \end_layout
19587
19588 \begin_layout Standard
19589
19590 \series bold
19591
19592 \backslash
19593 renewcommand{
19594 \backslash
19595 bottomfraction}{0.5}
19596 \end_layout
19597
19598 \begin_layout Standard
19599 Sometimes you might need, under all circumstances, a float to be placed
19600  exactly at the position where it is inserted.
19601  For this case you can use the option 
19602 \family sans
19603 Here\InsetSpace ~
19604 definitely
19605 \family default
19606 .
19607  Use this option very rarely and only if the document is nearly ready to
19608  be printed.
19609  Because the float is then no longer able to 
19610 \begin_inset Quotes eld
19611 \end_inset
19612
19613 float
19614 \begin_inset Quotes erd
19615 \end_inset
19616
19617  when you change your document and this will often destroy the page layout.
19618 \end_layout
19619
19620 \begin_layout Standard
19621 There are no placement options for text wrap floats, because they are always
19622  surrounded by the text of a certain paragraph.
19623 \begin_inset VSpace bigskip
19624 \end_inset
19625
19626
19627 \end_layout
19628
19629 \begin_layout Standard
19630 Sometimes you have the problem that a float is placed at the top of a page
19631  while its corresponding section starts at the middle of the page, so that
19632  the reader could think the float is part of the previous section.
19633  To avoid this the LaTeX-command 
19634 \series bold
19635
19636 \backslash
19637 suppressfloats
19638 \series default
19639  can be used.
19640  It suppresses a given float placement for the page where it is inserted
19641  and can therefore be used to avoid that floats could be set before a section
19642  starts.
19643  To get this, add these commands to your document preamble:
19644 \end_layout
19645
19646 \begin_layout Standard
19647
19648 \series bold
19649
19650 \backslash
19651 let
19652 \backslash
19653 mySection
19654 \backslash
19655 section
19656 \newline
19657
19658 \backslash
19659 renewcommand{
19660 \backslash
19661 section}{
19662 \backslash
19663 suppressfloats[t]
19664 \backslash
19665 mySection}
19666 \end_layout
19667
19668 \begin_layout Standard
19669 You can define the same for all section headings, like chapters and subsections.
19670  This definition is not recommended to be used for small text parts like
19671  subsubsections because LaTeX may then have problems to find a suitable
19672  placement.
19673 \end_layout
19674
19675 \begin_layout Standard
19676 \begin_inset VSpace bigskip
19677 \end_inset
19678
19679 In some cases it is required to have all figures/tables at the end of the
19680  document.
19681  For this purpose the LaTeX-package 
19682 \series bold
19683 endfloat
19684 \series default
19685
19686 \begin_inset LatexCommand index
19687 name "LaTeX-packages ! endfloat"
19688
19689 \end_inset
19690
19691  was developed.
19692  It puts all figure and table floats at the end of the document into own
19693  sections.
19694  At the original float position a text hint like 
19695 \begin_inset Quotes eld
19696 \end_inset
19697
19698
19699 \family sans
19700 [Figure\InsetSpace ~
19701 3.2 about here.]
19702 \family default
19703
19704 \begin_inset Quotes erd
19705 \end_inset
19706
19707  is inserted.
19708  The endfloat-package is loaded in the preamble with the line
19709 \end_layout
19710
19711 \begin_layout Standard
19712
19713 \series bold
19714
19715 \backslash
19716 usepackage[options]{endfloat}
19717 \end_layout
19718
19719 \begin_layout Standard
19720 There are various package options to format the created figure/table sections.
19721  For more information we refer to the 
19722 \series bold
19723 endfloat
19724 \series default
19725  documentation 
19726 \begin_inset LatexCommand cite
19727 key "endfloat"
19728
19729 \end_inset
19730
19731 .
19732 \newline
19733
19734 \begin_inset Note Greyedout
19735 status open
19736
19737 \begin_layout Standard
19738
19739 \series bold
19740 Note: endfloat
19741 \series default
19742  doesn't provide an automatic translation for the text hint, you have to
19743  do this manually, see section\InsetSpace ~
19744 4 in 
19745 \begin_inset LatexCommand cite
19746 key "endfloat"
19747
19748 \end_inset
19749
19750 .
19751 \end_layout
19752
19753 \end_inset
19754
19755
19756 \newline
19757
19758 \begin_inset Note Greyedout
19759 status open
19760
19761 \begin_layout Standard
19762
19763 \series bold
19764 Note:
19765 \series default
19766  There is currently a bug in 
19767 \series bold
19768 endfloat
19769 \series default
19770  when the caption contains a German 
19771 \begin_inset Quotes eld
19772 \end_inset
19773
19774 ß
19775 \begin_inset Quotes erd
19776 \end_inset
19777
19778 .
19779  Use in this case the command 
19780 \begin_inset Quotes eld
19781 \end_inset
19782
19783
19784 \series bold
19785
19786 \backslash
19787 ss
19788 \series default
19789
19790 \begin_inset Quotes erd
19791 \end_inset
19792
19793  in TeX-Code instead of 
19794 \begin_inset Quotes eld
19795 \end_inset
19796
19797 ß
19798 \begin_inset Quotes erd
19799 \end_inset
19800
19801 .
19802 \end_layout
19803
19804 \end_inset
19805
19806
19807 \end_layout
19808
19809 \begin_layout Standard
19810 \begin_inset VSpace bigskip
19811 \end_inset
19812
19813 For more details about float placements, have a look at LaTeX books, 
19814 \begin_inset LatexCommand cite
19815 key "latexcompanion,latexguide,latexbook"
19816
19817 \end_inset
19818
19819 .
19820 \end_layout
19821
19822 \begin_layout Section
19823 Rotated Floats
19824 \begin_inset LatexCommand label
19825 name "sec:Rotated-Floats"
19826
19827 \end_inset
19828
19829
19830 \begin_inset LatexCommand index
19831 name "Floats ! Rotating"
19832
19833 \end_inset
19834
19835
19836 \end_layout
19837
19838 \begin_layout Standard
19839 Especially for wide tables you might have floats rotated.
19840  To rotate a whole float including the caption, right-click on the float-box
19841  and use the option 
19842 \family sans
19843 Rotate\InsetSpace ~
19844 sideways
19845 \family default
19846 .
19847 \end_layout
19848
19849 \begin_layout Standard
19850 Rotated floats are always placed on its own page (or column, when you have
19851  a two-column document).
19852  They are rotated so that you can read them from the outside margin.
19853  To force a certain rotation direction for all pages, you can add either
19854  the option 
19855 \series bold
19856 figuresleft
19857 \series default
19858  or 
19859 \series bold
19860 figuresright
19861 \series default
19862  to the document class options.
19863 \end_layout
19864
19865 \begin_layout Standard
19866 Referencing rotated floats is the same like for normal floats, the caption
19867  format is also the same: Table\InsetSpace ~
19868
19869 \begin_inset LatexCommand ref
19870 reference "tab:Rotated-table"
19871
19872 \end_inset
19873
19874  is an example of a rotated table float.
19875 \end_layout
19876
19877 \begin_layout Standard
19878 \begin_inset Note Greyedout
19879 status open
19880
19881 \begin_layout Standard
19882
19883 \series bold
19884 Note:
19885 \series default
19886  Not all DVI-viewers are able to display rotated floats.
19887 \end_layout
19888
19889 \end_inset
19890
19891
19892 \end_layout
19893
19894 \begin_layout Standard
19895 \begin_inset Float table
19896 wide false
19897 sideways true
19898 status open
19899
19900 \begin_layout Standard
19901 \begin_inset Caption
19902
19903 \begin_layout Standard
19904 \begin_inset LatexCommand label
19905 name "tab:Rotated-table"
19906
19907 \end_inset
19908
19909  Rotated table
19910 \end_layout
19911
19912 \end_inset
19913
19914
19915 \end_layout
19916
19917 \begin_layout Standard
19918 \align center
19919 \begin_inset Tabular
19920 <lyxtabular version="3" rows="1" columns="5">
19921 <features>
19922 <column alignment="center" valignment="top" leftline="true" width="0">
19923 <column alignment="center" valignment="top" leftline="true" width="0">
19924 <column alignment="center" valignment="top" leftline="true" width="0">
19925 <column alignment="center" valignment="top" leftline="true" width="0">
19926 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19927 <row topline="true" bottomline="true">
19928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19929 \begin_inset Text
19930
19931 \begin_layout Standard
19932 test
19933 \end_layout
19934
19935 \end_inset
19936 </cell>
19937 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19938 \begin_inset Text
19939
19940 \begin_layout Standard
19941 b
19942 \end_layout
19943
19944 \end_inset
19945 </cell>
19946 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19947 \begin_inset Text
19948
19949 \begin_layout Standard
19950 c
19951 \end_layout
19952
19953 \end_inset
19954 </cell>
19955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19956 \begin_inset Text
19957
19958 \begin_layout Standard
19959 d
19960 \end_layout
19961
19962 \end_inset
19963 </cell>
19964 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19965 \begin_inset Text
19966
19967 \begin_layout Standard
19968 e
19969 \end_layout
19970
19971 \end_inset
19972 </cell>
19973 </row>
19974 </lyxtabular>
19975
19976 \end_inset
19977
19978
19979 \end_layout
19980
19981 \end_inset
19982
19983
19984 \end_layout
19985
19986 \begin_layout Section
19987 Floats Side by Side
19988 \begin_inset LatexCommand index
19989 name "Floats ! Side by side"
19990
19991 \end_inset
19992
19993
19994 \end_layout
19995
19996 \begin_layout Standard
19997 To place floats side by side, like for Figure\InsetSpace ~
19998
19999 \begin_inset LatexCommand ref
20000 reference "fig:Float-left"
20001
20002 \end_inset
20003
20004  and 
20005 \begin_inset LatexCommand ref
20006 reference "fig:Float-right"
20007
20008 \end_inset
20009
20010 , only 
20011 \emph on
20012 one
20013 \emph default
20014  float is used.
20015  In it two minipage boxes are inserted.
20016 \begin_inset Foot
20017 status collapsed
20018
20019 \begin_layout Standard
20020 Minipages are explained in section\InsetSpace ~
20021
20022 \begin_inset LatexCommand ref
20023 reference "sec:Minipages"
20024
20025 \end_inset
20026
20027 .
20028 \end_layout
20029
20030 \end_inset
20031
20032  The width is set to 45\InsetSpace \thinspace{}
20033 -50\InsetSpace \thinspace{}
20034 column% and the box alignment to 
20035 \family sans
20036 Bottom
20037 \family default
20038  for each minipage.
20039  The minipage boxes contain the image and the caption in the same way as
20040  they are in a float.
20041  The only difference is that the image unit 
20042 \family sans
20043 Column\InsetSpace ~
20044 Width\InsetSpace ~
20045 %
20046 \family default
20047  is now calculated according to the width of the minipage boxes.
20048 \end_layout
20049
20050 \begin_layout Standard
20051 \begin_inset Float figure
20052 wide false
20053 sideways false
20054 status open
20055
20056 \begin_layout Standard
20057 \begin_inset Box Frameless
20058 position "b"
20059 hor_pos "c"
20060 has_inner_box 1
20061 inner_pos "t"
20062 use_parbox 0
20063 width "45col%"
20064 special "none"
20065 height "1in"
20066 height_special "totalheight"
20067 status open
20068
20069 \begin_layout Standard
20070 \align center
20071 \begin_inset Graphics
20072         filename clipart/mobius.eps
20073         lyxscale 50
20074         width 100col%
20075         scaleBeforeRotation
20076
20077 \end_inset
20078
20079
20080 \end_layout
20081
20082 \begin_layout Standard
20083 \begin_inset Caption
20084
20085 \begin_layout Standard
20086 \begin_inset LatexCommand label
20087 name "fig:Float-left"
20088
20089 \end_inset
20090
20091 Float on the left side.
20092 \end_layout
20093
20094 \end_inset
20095
20096
20097 \end_layout
20098
20099 \end_inset
20100
20101
20102 \hfill
20103
20104 \begin_inset Box Frameless
20105 position "b"
20106 hor_pos "c"
20107 has_inner_box 1
20108 inner_pos "t"
20109 use_parbox 0
20110 width "45col%"
20111 special "none"
20112 height "1in"
20113 height_special "totalheight"
20114 status open
20115
20116 \begin_layout Standard
20117 \align center
20118 \begin_inset Graphics
20119         filename clipart/platypus.eps
20120         lyxscale 50
20121         width 100col%
20122         scaleBeforeRotation
20123
20124 \end_inset
20125
20126
20127 \end_layout
20128
20129 \begin_layout Standard
20130 \begin_inset Caption
20131
20132 \begin_layout Standard
20133 \begin_inset LatexCommand label
20134 name "fig:Float-right"
20135
20136 \end_inset
20137
20138 Float on the right side.
20139 \end_layout
20140
20141 \end_inset
20142
20143
20144 \end_layout
20145
20146 \end_inset
20147
20148
20149 \end_layout
20150
20151 \begin_layout Standard
20152
20153 \end_layout
20154
20155 \end_inset
20156
20157
20158 \end_layout
20159
20160 \begin_layout Section
20161 Caption Formatting
20162 \begin_inset LatexCommand index
20163 name "Caption ! Formatting"
20164
20165 \end_inset
20166
20167
20168 \begin_inset LatexCommand index
20169 name "Floats ! Caption Formatting"
20170
20171 \end_inset
20172
20173
20174 \begin_inset LatexCommand index
20175 name "LaTeX-packages ! caption"
20176
20177 \end_inset
20178
20179
20180 \begin_inset LatexCommand label
20181 name "sec:Caption-Formatting"
20182
20183 \end_inset
20184
20185
20186 \end_layout
20187
20188 \begin_layout Standard
20189 The 
20190 \family sans
20191 Caption
20192 \family default
20193  environment is the default paragraph environment for 
20194 \family sans
20195 Floats
20196 \family default
20197 .
20198  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
20199 g.\InsetSpace ~
20200
20201 \begin_inset Quotes eld
20202 \end_inset
20203
20204
20205 \family sans
20206 Figure #:
20207 \family default
20208
20209 \begin_inset Quotes erd
20210 \end_inset
20211
20212  followed by the caption text.
20213  
20214 \begin_inset Quotes eld
20215 \end_inset
20216
20217 #
20218 \begin_inset Quotes erd
20219 \end_inset
20220
20221  is the actual reference number.
20222  By default the label and the number are in the same font as the caption
20223  text and a colon follows the number to divide the label from the text.
20224  This caption format is not suitable for all document formats.
20225  
20226 \end_layout
20227
20228 \begin_layout Standard
20229 To change the default caption format, load the LaTeX-package 
20230 \series bold
20231 caption
20232 \series default
20233
20234 \begin_inset LatexCommand index
20235 name "LaTeX-packages ! caption"
20236
20237 \end_inset
20238
20239  in the document preamble with this line:
20240 \end_layout
20241
20242 \begin_layout Standard
20243
20244 \series bold
20245
20246 \backslash
20247 usepackage[format definition]{caption}
20248 \end_layout
20249
20250 \begin_layout Standard
20251 To have for example the label and the number in sans-serif bold font and
20252  the table captions always above the table like in this document, use the
20253  following command:
20254 \end_layout
20255
20256 \begin_layout Standard
20257
20258 \series bold
20259
20260 \backslash
20261 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20262 \end_layout
20263
20264 \begin_layout Standard
20265 You can also define different caption formats for the different float types.
20266  In this case load the 
20267 \series bold
20268 caption
20269 \series default
20270  package without format specific options and define the different formats
20271  with the help of the command
20272 \end_layout
20273
20274 \begin_layout Standard
20275
20276 \series bold
20277
20278 \backslash
20279 captionsetup[float type]{format definition}
20280 \end_layout
20281
20282 \begin_layout Standard
20283 in the document preamble.
20284  For example the caption formats of Figure\InsetSpace ~
20285
20286 \begin_inset LatexCommand ref
20287 reference "fig:This-is-an-fig"
20288
20289 \end_inset
20290
20291  and Table\InsetSpace ~
20292
20293 \begin_inset LatexCommand ref
20294 reference "tab:This-is-an-tab"
20295
20296 \end_inset
20297
20298  can be created using these commands in the document preamble:
20299 \end_layout
20300
20301 \begin_layout Standard
20302
20303 \series bold
20304
20305 \backslash
20306 usepackage[tableposition=top]{caption}
20307 \series default
20308
20309 \newline
20310
20311 \series bold
20312
20313 \backslash
20314 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
20315 \newline
20316
20317 \begin_inset ERT
20318 status collapsed
20319
20320 \begin_layout Standard
20321
20322
20323 \backslash
20324 hphantom{
20325 \backslash
20326
20327 \backslash
20328 captionsetup[figure]
20329 \backslash
20330 {}
20331 \end_layout
20332
20333 \end_inset
20334
20335  labelsep=period}
20336 \newline
20337
20338 \backslash
20339 captionsetup[table]{labelfont={bf,sf}}
20340 \end_layout
20341
20342 \begin_layout Standard
20343 \begin_inset Note Greyedout
20344 status open
20345
20346 \begin_layout Standard
20347
20348 \series bold
20349 Note:
20350 \series default
20351  The option 
20352 \series bold
20353 tableposition=top
20354 \series default
20355  has no effect when a 
20356 \series bold
20357 koma-script
20358 \series default
20359
20360 \begin_inset LatexCommand index
20361 name "LaTeX-packages ! koma-script"
20362
20363 \end_inset
20364
20365  document class is used.
20366  In this case the document class option 
20367 \series bold
20368 tablecaptionabove
20369 \series default
20370  must be used.
20371 \end_layout
20372
20373 \end_inset
20374
20375
20376 \end_layout
20377
20378 \begin_layout Standard
20379 For more information about the package 
20380 \series bold
20381 caption
20382 \series default
20383  we refer to its documentation 
20384 \begin_inset LatexCommand cite
20385 key "caption,caption-de"
20386
20387 \end_inset
20388
20389 .
20390 \end_layout
20391
20392 \begin_layout Standard
20393 To change the label name from e.g.
20394  
20395 \begin_inset Quotes eld
20396 \end_inset
20397
20398 Figure
20399 \begin_inset Quotes erd
20400 \end_inset
20401
20402  to 
20403 \begin_inset Quotes eld
20404 \end_inset
20405
20406 Image
20407 \begin_inset Quotes erd
20408 \end_inset
20409
20410  use this preamble command:
20411 \end_layout
20412
20413 \begin_layout Standard
20414
20415 \series bold
20416
20417 \backslash
20418 renewcommand{
20419 \backslash
20420 fnum@figure}{Image~
20421 \backslash
20422 thefigure}
20423 \end_layout
20424
20425 \begin_layout Standard
20426 where 
20427 \series bold
20428
20429 \backslash
20430 thefigure
20431 \series default
20432  inserts the figure number and
20433 \series bold
20434  
20435 \begin_inset Quotes eld
20436 \end_inset
20437
20438 ~
20439 \series default
20440
20441 \begin_inset Quotes erd
20442 \end_inset
20443
20444  creates a protected space.
20445 \end_layout
20446
20447 \begin_layout Standard
20448 \begin_inset VSpace bigskip
20449 \end_inset
20450
20451 If you are using a 
20452 \series bold
20453 koma-script
20454 \series default
20455
20456 \begin_inset LatexCommand index
20457 name "LaTeX-packages ! koma-script"
20458
20459 \end_inset
20460
20461  document class (
20462 \family sans
20463 article (koma-script)
20464 \family default
20465
20466 \family sans
20467 book (koma-script)
20468 \family default
20469
20470 \family sans
20471 letter (koma-script)
20472 \family default
20473 , or 
20474 \family sans
20475 report (koma-script)
20476 \family default
20477 \InsetSpace \thinspace{}
20478 ), you can alternatively to the 
20479 \series bold
20480 caption
20481 \series default
20482  package use 
20483 \series bold
20484 koma-script
20485 \series default
20486 's built-in command 
20487 \series bold
20488
20489 \backslash
20490 setkomafont
20491 \series default
20492 .
20493  For example, to have the caption label in bold, add this command to your
20494  document preamble:
20495 \end_layout
20496
20497 \begin_layout Standard
20498
20499 \series bold
20500
20501 \backslash
20502 setkomafont{captionlabel}{
20503 \backslash
20504 bfseries}
20505 \end_layout
20506
20507 \begin_layout Standard
20508 For more information about 
20509 \series bold
20510
20511 \backslash
20512 setkomafont
20513 \series default
20514  we refer to the 
20515 \series bold
20516 koma-script
20517 \series default
20518  documentation 
20519 \begin_inset LatexCommand cite
20520 key "koma-script,koma-script-de"
20521
20522 \end_inset
20523
20524 .
20525 \end_layout
20526
20527 \begin_layout Standard
20528 \begin_inset ERT
20529 status collapsed
20530
20531 \begin_layout Standard
20532
20533
20534 \backslash
20535 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20536 }
20537 \end_layout
20538
20539 \end_inset
20540
20541
20542 \begin_inset Note Note
20543 status open
20544
20545 \begin_layout Standard
20546 The caption format is changed only for this example.
20547 \end_layout
20548
20549 \end_inset
20550
20551
20552 \end_layout
20553
20554 \begin_layout Standard
20555 \begin_inset Float figure
20556 placement !p
20557 wide false
20558 sideways false
20559 status open
20560
20561 \begin_layout Standard
20562 \align center
20563 \begin_inset Graphics
20564         filename clipart/mobius.eps
20565         lyxscale 50
20566         scale 50
20567         scaleBeforeRotation
20568
20569 \end_inset
20570
20571
20572 \end_layout
20573
20574 \begin_layout Standard
20575 \begin_inset Caption
20576
20577 \begin_layout Standard
20578 \begin_inset LatexCommand label
20579 name "fig:This-is-an-fig"
20580
20581 \end_inset
20582
20583 This is an example figure caption that is longer than one line to show the
20584  different caption format.
20585  Here a self-defined caption format is used.
20586 \end_layout
20587
20588 \end_inset
20589
20590
20591 \end_layout
20592
20593 \end_inset
20594
20595
20596 \end_layout
20597
20598 \begin_layout Standard
20599 \begin_inset ERT
20600 status collapsed
20601
20602 \begin_layout Standard
20603
20604
20605 \backslash
20606 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20607 on}
20608 \end_layout
20609
20610 \end_inset
20611
20612
20613 \end_layout
20614
20615 \begin_layout Standard
20616 \begin_inset Float table
20617 placement !p
20618 wide false
20619 sideways false
20620 status open
20621
20622 \begin_layout Standard
20623 \begin_inset Caption
20624
20625 \begin_layout Standard
20626 \begin_inset LatexCommand label
20627 name "tab:This-is-an-tab"
20628
20629 \end_inset
20630
20631 This is an example table caption that is longer than one line to show the
20632  different caption format.
20633  Here the standard caption format for tables in this document is used.
20634 \end_layout
20635
20636 \end_inset
20637
20638
20639 \end_layout
20640
20641 \begin_layout Standard
20642 \align center
20643 \begin_inset Tabular
20644 <lyxtabular version="3" rows="1" columns="5">
20645 <features>
20646 <column alignment="center" valignment="top" leftline="true" width="0">
20647 <column alignment="center" valignment="top" leftline="true" width="0">
20648 <column alignment="center" valignment="top" leftline="true" width="0">
20649 <column alignment="center" valignment="top" leftline="true" width="0">
20650 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20651 <row topline="true" bottomline="true">
20652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20653 \begin_inset Text
20654
20655 \begin_layout Standard
20656 a
20657 \end_layout
20658
20659 \end_inset
20660 </cell>
20661 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20662 \begin_inset Text
20663
20664 \begin_layout Standard
20665 b
20666 \end_layout
20667
20668 \end_inset
20669 </cell>
20670 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20671 \begin_inset Text
20672
20673 \begin_layout Standard
20674 c
20675 \end_layout
20676
20677 \end_inset
20678 </cell>
20679 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20680 \begin_inset Text
20681
20682 \begin_layout Standard
20683 d
20684 \end_layout
20685
20686 \end_inset
20687 </cell>
20688 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20689 \begin_inset Text
20690
20691 \begin_layout Standard
20692 e
20693 \end_layout
20694
20695 \end_inset
20696 </cell>
20697 </row>
20698 </lyxtabular>
20699
20700 \end_inset
20701
20702
20703 \end_layout
20704
20705 \end_inset
20706
20707
20708 \end_layout
20709
20710 \begin_layout Section
20711 Caption Placement
20712 \begin_inset LatexCommand index
20713 name "Caption ! Placement"
20714
20715 \end_inset
20716
20717
20718 \begin_inset LatexCommand index
20719 name "Floats ! Caption Placement"
20720
20721 \end_inset
20722
20723
20724 \begin_inset LatexCommand label
20725 name "sec:Caption-Placement"
20726
20727 \end_inset
20728
20729
20730 \end_layout
20731
20732 \begin_layout Standard
20733 The common caption placement rule is:
20734 \end_layout
20735
20736 \begin_layout Description
20737 Figure: Caption is set below the figure
20738 \end_layout
20739
20740 \begin_layout Description
20741 Table: Caption is set above the table
20742 \end_layout
20743
20744 \begin_layout Standard
20745 Having the caption above the table is unfortunately not supported in LaTeX's
20746  standard classes.
20747  That means if you are using the document classes 
20748 \family sans
20749 article
20750 \family default
20751
20752 \family sans
20753 book
20754 \family default
20755
20756 \family sans
20757 letter
20758 \family default
20759 , or 
20760 \family sans
20761 report
20762 \family default
20763  there will be no space between the caption and the table.
20764  To insert the needed space, add the following option to the load command
20765  of the LaTeX-package 
20766 \series bold
20767 caption
20768 \series default
20769  in your document preamble
20770 \begin_inset Foot
20771 status collapsed
20772
20773 \begin_layout Standard
20774 See section\InsetSpace ~
20775
20776 \begin_inset LatexCommand ref
20777 reference "sec:Caption-Formatting"
20778
20779 \end_inset
20780
20781  for more information of the package 
20782 \series bold
20783 caption
20784 \series default
20785 .
20786 \end_layout
20787
20788 \end_inset
20789
20790 :
20791 \end_layout
20792
20793 \begin_layout Standard
20794
20795 \series bold
20796 tableposition=top
20797 \end_layout
20798
20799 \begin_layout Standard
20800 If you are using a 
20801 \series bold
20802 koma-script
20803 \series default
20804
20805 \begin_inset LatexCommand index
20806 name "LaTeX-packages ! koma-script"
20807
20808 \end_inset
20809
20810  document class (
20811 \family sans
20812 article (koma-script)
20813 \family default
20814
20815 \family sans
20816 book (koma-script)
20817 \family default
20818
20819 \family sans
20820 letter (koma-script)
20821 \family default
20822 , or 
20823 \family sans
20824 report (koma-script)
20825 \family default
20826 \InsetSpace \thinspace{}
20827 ), you can alternatively to the 
20828 \series bold
20829 caption
20830 \series default
20831  package set the document class option 
20832 \series bold
20833 tablecaptionabove
20834 \series default
20835 .
20836 \end_layout
20837
20838 \begin_layout Standard
20839 \begin_inset VSpace bigskip
20840 \end_inset
20841
20842 It is also possible to set the caption beside a figure or table.
20843  To get this the LaTeX-package 
20844 \series bold
20845 sidecap
20846 \series default
20847
20848 \begin_inset LatexCommand index
20849 name "LaTeX-packages ! sidecap"
20850
20851 \end_inset
20852
20853  has to be loaded in the document preamble with the line
20854 \end_layout
20855
20856 \begin_layout Standard
20857
20858 \series bold
20859
20860 \backslash
20861 usepackage[option]{sidecap}
20862 \end_layout
20863
20864 \begin_layout Standard
20865 If you set no option, the caption is placed on the side of the outer page
20866  margin -- to the right on odd pages, to the left on even pages.
20867  You can change the placement to inner margin with the option 
20868 \series bold
20869 innercaption
20870 \series default
20871 .
20872  To force the placement always to the right or left, use the option 
20873 \series bold
20874 rightcaption
20875 \series default
20876  or 
20877 \series bold
20878 leftcaption
20879 \series default
20880 , respectively.
20881 \end_layout
20882
20883 \begin_layout Standard
20884 To place in LyX the caption of a float on the side, it is necessary to add
20885  these commands to the document preamble:
20886 \end_layout
20887
20888 \begin_layout Standard
20889
20890 \lyxline
20891
20892 \end_layout
20893
20894 \begin_layout Standard
20895
20896 \series bold
20897
20898 \backslash
20899 newcommand{
20900 \backslash
20901 TabBesBeg}{%
20902 \newline
20903
20904 \begin_inset ERT
20905 status collapsed
20906
20907 \begin_layout Standard
20908
20909
20910 \backslash
20911 hphantom{ }
20912 \end_layout
20913
20914 \end_inset
20915
20916
20917 \backslash
20918 let
20919 \backslash
20920 MyTable
20921 \backslash
20922 table
20923 \newline
20924
20925 \begin_inset ERT
20926 status collapsed
20927
20928 \begin_layout Standard
20929
20930
20931 \backslash
20932 hphantom{ }
20933 \end_layout
20934
20935 \end_inset
20936
20937
20938 \backslash
20939 let
20940 \backslash
20941 MyEndtable
20942 \backslash
20943 endtable
20944 \newline
20945
20946 \begin_inset ERT
20947 status collapsed
20948
20949 \begin_layout Standard
20950
20951
20952 \backslash
20953 hphantom{ }
20954 \end_layout
20955
20956 \end_inset
20957
20958
20959 \backslash
20960 renewenvironment{table}{
20961 \backslash
20962 begin{SCtable}}{
20963 \backslash
20964 end{SCtable}}}
20965 \end_layout
20966
20967 \begin_layout Standard
20968
20969 \series bold
20970
20971 \backslash
20972 newcommand{
20973 \backslash
20974 TabBesEnd}{%
20975 \newline
20976
20977 \begin_inset ERT
20978 status collapsed
20979
20980 \begin_layout Standard
20981
20982
20983 \backslash
20984 hphantom{ }
20985 \end_layout
20986
20987 \end_inset
20988
20989
20990 \backslash
20991 let
20992 \backslash
20993 table
20994 \backslash
20995 MyTable
20996 \newline
20997
20998 \begin_inset ERT
20999 status collapsed
21000
21001 \begin_layout Standard
21002
21003
21004 \backslash
21005 hphantom{ }
21006 \end_layout
21007
21008 \end_inset
21009
21010
21011 \backslash
21012 let
21013 \backslash
21014 endtable
21015 \backslash
21016 MyEndtable
21017 \end_layout
21018
21019 \begin_layout Standard
21020
21021 \series bold
21022
21023 \backslash
21024 newcommand{
21025 \backslash
21026 FigBesBeg}{%
21027 \newline
21028
21029 \begin_inset ERT
21030 status collapsed
21031
21032 \begin_layout Standard
21033
21034
21035 \backslash
21036 hphantom{ }
21037 \end_layout
21038
21039 \end_inset
21040
21041
21042 \backslash
21043 let
21044 \backslash
21045 MyFigure
21046 \backslash
21047 figure
21048 \newline
21049
21050 \begin_inset ERT
21051 status collapsed
21052
21053 \begin_layout Standard
21054
21055
21056 \backslash
21057 hphantom{ }
21058 \end_layout
21059
21060 \end_inset
21061
21062
21063 \backslash
21064 let
21065 \backslash
21066 MyEndfigure
21067 \backslash
21068 endfigure
21069 \newline
21070
21071 \begin_inset ERT
21072 status collapsed
21073
21074 \begin_layout Standard
21075
21076
21077 \backslash
21078 hphantom{ }
21079 \end_layout
21080
21081 \end_inset
21082
21083
21084 \backslash
21085 renewenvironment{figure}{
21086 \backslash
21087 begin{SCfigure}}{
21088 \backslash
21089 end{SCfigure}}}
21090 \end_layout
21091
21092 \begin_layout Standard
21093
21094 \series bold
21095
21096 \backslash
21097 newcommand{
21098 \backslash
21099 FigBesEnd}{%
21100 \newline
21101
21102 \begin_inset ERT
21103 status collapsed
21104
21105 \begin_layout Standard
21106
21107
21108 \backslash
21109 hphantom{ }
21110 \end_layout
21111
21112 \end_inset
21113
21114
21115 \backslash
21116 let
21117 \backslash
21118 figure
21119 \backslash
21120 MyFigure
21121 \newline
21122
21123 \begin_inset ERT
21124 status collapsed
21125
21126 \begin_layout Standard
21127
21128
21129 \backslash
21130 hphantom{ }
21131 \end_layout
21132
21133 \end_inset
21134
21135
21136 \backslash
21137 let
21138 \backslash
21139 endfigure
21140 \backslash
21141 MyEndfigure}
21142 \end_layout
21143
21144 \begin_layout Standard
21145
21146 \lyxline
21147
21148 \end_layout
21149
21150 \begin_layout Standard
21151 The commands allow you to redefine the floats so that the caption is set
21152  on the side.
21153  For figure floats use the command
21154 \end_layout
21155
21156 \begin_layout Standard
21157
21158 \series bold
21159
21160 \backslash
21161 FigBesBeg
21162 \end_layout
21163
21164 \begin_layout Standard
21165 in TeX-Code before the float.
21166  Behind the float insert the command
21167 \end_layout
21168
21169 \begin_layout Standard
21170
21171 \series bold
21172
21173 \backslash
21174 FigBesEnd
21175 \end_layout
21176
21177 \begin_layout Standard
21178 in TeX-Code to get back to the original float definition.
21179 \end_layout
21180
21181 \begin_layout Standard
21182 For table floats use the corresponding commands
21183 \end_layout
21184
21185 \begin_layout Standard
21186
21187 \series bold
21188
21189 \backslash
21190 TabBesBeg
21191 \series default
21192  and 
21193 \series bold
21194
21195 \backslash
21196 TabBesEnd
21197 \end_layout
21198
21199 \begin_layout Standard
21200 Figure\InsetSpace ~
21201
21202 \begin_inset LatexCommand ref
21203 reference "fig:cap-beside-fig"
21204
21205 \end_inset
21206
21207  and Table\InsetSpace ~
21208
21209 \begin_inset LatexCommand ref
21210 reference "tab:cap-beside-tab"
21211
21212 \end_inset
21213
21214  are examples where the caption is set beside.
21215 \end_layout
21216
21217 \begin_layout Standard
21218 You can see in the examples that the caption text appears at the top of
21219  the floats for table floats and at the bottom for figure floats.
21220  To change this, you can use the command
21221 \end_layout
21222
21223 \begin_layout Standard
21224
21225 \series bold
21226
21227 \backslash
21228 sidecaptionvpos{float type}{placement}
21229 \end_layout
21230
21231 \begin_layout Standard
21232 in the document preamble or in TeX-Code before the float.
21233  The float type is either 
21234 \family sans
21235 figure
21236 \family default
21237  or 
21238 \family sans
21239 table
21240 \family default
21241 , the placement can be 
21242 \begin_inset Quotes eld
21243 \end_inset
21244
21245
21246 \family sans
21247 t
21248 \family default
21249
21250 \begin_inset Quotes erd
21251 \end_inset
21252
21253  for top, 
21254 \begin_inset Quotes eld
21255 \end_inset
21256
21257
21258 \family sans
21259 c
21260 \family default
21261
21262 \begin_inset Quotes erd
21263 \end_inset
21264
21265  for center, or 
21266 \begin_inset Quotes eld
21267 \end_inset
21268
21269
21270 \family sans
21271 b
21272 \family default
21273
21274 \begin_inset Quotes erd
21275 \end_inset
21276
21277  for bottom.
21278  To have for example the caption of figure floats vertically centered, use
21279  the command
21280 \end_layout
21281
21282 \begin_layout Standard
21283
21284 \series bold
21285
21286 \backslash
21287 sidecaptionvpos{figure}{c}
21288 \end_layout
21289
21290 \begin_layout Standard
21291 This was used for Figure\InsetSpace ~
21292
21293 \begin_inset LatexCommand ref
21294 reference "fig:cap-beside-fig-2"
21295
21296 \end_inset
21297
21298 .
21299 \end_layout
21300
21301 \begin_layout Standard
21302 \begin_inset VSpace medskip
21303 \end_inset
21304
21305 For more information about the package 
21306 \series bold
21307 sidecap
21308 \series default
21309  we refer to its documentation 
21310 \begin_inset LatexCommand cite
21311 key "sidecap"
21312
21313 \end_inset
21314
21315 .
21316 \end_layout
21317
21318 \begin_layout Standard
21319 \begin_inset Note Greyedout
21320 status open
21321
21322 \begin_layout Standard
21323
21324 \series bold
21325 Note:
21326 \series default
21327  The LaTeX-package 
21328 \series bold
21329 hypcap
21330 \series default
21331
21332 \begin_inset LatexCommand index
21333 name "LaTeX-packages ! hypcap"
21334
21335 \end_inset
21336
21337 , described in section\InsetSpace ~
21338
21339 \begin_inset LatexCommand ref
21340 reference "sub:Reference-Position"
21341
21342 \end_inset
21343
21344 , has no effect on floats with the caption set beside.
21345 \end_layout
21346
21347 \end_inset
21348
21349
21350 \end_layout
21351
21352 \begin_layout Standard
21353 \begin_inset ERT
21354 status collapsed
21355
21356 \begin_layout Standard
21357
21358
21359 \backslash
21360 FigBesBeg 
21361 \end_layout
21362
21363 \end_inset
21364
21365
21366 \end_layout
21367
21368 \begin_layout Standard
21369 \begin_inset Float figure
21370 wide false
21371 sideways false
21372 status open
21373
21374 \begin_layout Standard
21375 \begin_inset Graphics
21376         filename clipart/escher-lsd.eps
21377         scale 75
21378         scaleBeforeRotation
21379
21380 \end_inset
21381
21382
21383 \end_layout
21384
21385 \begin_layout Standard
21386 \begin_inset Caption
21387
21388 \begin_layout Standard
21389 \begin_inset LatexCommand label
21390 name "fig:cap-beside-fig"
21391
21392 \end_inset
21393
21394 This is a caption beside a figure.
21395 \end_layout
21396
21397 \end_inset
21398
21399
21400 \end_layout
21401
21402 \end_inset
21403
21404
21405 \end_layout
21406
21407 \begin_layout Standard
21408 \begin_inset ERT
21409 status collapsed
21410
21411 \begin_layout Standard
21412
21413
21414 \backslash
21415 TabBesBeg 
21416 \end_layout
21417
21418 \end_inset
21419
21420
21421 \end_layout
21422
21423 \begin_layout Standard
21424 \begin_inset Float table
21425 wide false
21426 sideways false
21427 status open
21428
21429 \begin_layout Standard
21430 \begin_inset Caption
21431
21432 \begin_layout Standard
21433 \begin_inset LatexCommand label
21434 name "tab:cap-beside-tab"
21435
21436 \end_inset
21437
21438 This is a caption beside a table.
21439 \end_layout
21440
21441 \end_inset
21442
21443
21444 \end_layout
21445
21446 \begin_layout Standard
21447 \begin_inset Tabular
21448 <lyxtabular version="3" rows="4" columns="5">
21449 <features>
21450 <column alignment="center" valignment="top" leftline="true" width="0">
21451 <column alignment="center" valignment="top" leftline="true" width="0">
21452 <column alignment="center" valignment="top" leftline="true" width="0">
21453 <column alignment="center" valignment="top" leftline="true" width="0">
21454 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21455 <row topline="true">
21456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21457 \begin_inset Text
21458
21459 \begin_layout Standard
21460 a
21461 \end_layout
21462
21463 \end_inset
21464 </cell>
21465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21466 \begin_inset Text
21467
21468 \begin_layout Standard
21469
21470 \end_layout
21471
21472 \end_inset
21473 </cell>
21474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21475 \begin_inset Text
21476
21477 \begin_layout Standard
21478 b
21479 \end_layout
21480
21481 \end_inset
21482 </cell>
21483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21484 \begin_inset Text
21485
21486 \begin_layout Standard
21487
21488 \end_layout
21489
21490 \end_inset
21491 </cell>
21492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21493 \begin_inset Text
21494
21495 \begin_layout Standard
21496 c
21497 \end_layout
21498
21499 \end_inset
21500 </cell>
21501 </row>
21502 <row topline="true">
21503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21504 \begin_inset Text
21505
21506 \begin_layout Standard
21507
21508 \end_layout
21509
21510 \end_inset
21511 </cell>
21512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21513 \begin_inset Text
21514
21515 \begin_layout Standard
21516 d
21517 \end_layout
21518
21519 \end_inset
21520 </cell>
21521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21522 \begin_inset Text
21523
21524 \begin_layout Standard
21525
21526 \end_layout
21527
21528 \end_inset
21529 </cell>
21530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21531 \begin_inset Text
21532
21533 \begin_layout Standard
21534 e
21535 \end_layout
21536
21537 \end_inset
21538 </cell>
21539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21540 \begin_inset Text
21541
21542 \begin_layout Standard
21543
21544 \end_layout
21545
21546 \end_inset
21547 </cell>
21548 </row>
21549 <row topline="true">
21550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21551 \begin_inset Text
21552
21553 \begin_layout Standard
21554 f
21555 \end_layout
21556
21557 \end_inset
21558 </cell>
21559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21560 \begin_inset Text
21561
21562 \begin_layout Standard
21563
21564 \end_layout
21565
21566 \end_inset
21567 </cell>
21568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21569 \begin_inset Text
21570
21571 \begin_layout Standard
21572 g
21573 \end_layout
21574
21575 \end_inset
21576 </cell>
21577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21578 \begin_inset Text
21579
21580 \begin_layout Standard
21581
21582 \end_layout
21583
21584 \end_inset
21585 </cell>
21586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21587 \begin_inset Text
21588
21589 \begin_layout Standard
21590 h
21591 \end_layout
21592
21593 \end_inset
21594 </cell>
21595 </row>
21596 <row topline="true" bottomline="true">
21597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21598 \begin_inset Text
21599
21600 \begin_layout Standard
21601
21602 \end_layout
21603
21604 \end_inset
21605 </cell>
21606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21607 \begin_inset Text
21608
21609 \begin_layout Standard
21610 i
21611 \end_layout
21612
21613 \end_inset
21614 </cell>
21615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21616 \begin_inset Text
21617
21618 \begin_layout Standard
21619
21620 \end_layout
21621
21622 \end_inset
21623 </cell>
21624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21625 \begin_inset Text
21626
21627 \begin_layout Standard
21628 j
21629 \end_layout
21630
21631 \end_inset
21632 </cell>
21633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21634 \begin_inset Text
21635
21636 \begin_layout Standard
21637
21638 \end_layout
21639
21640 \end_inset
21641 </cell>
21642 </row>
21643 </lyxtabular>
21644
21645 \end_inset
21646
21647
21648 \end_layout
21649
21650 \end_inset
21651
21652
21653 \end_layout
21654
21655 \begin_layout Standard
21656 \begin_inset ERT
21657 status collapsed
21658
21659 \begin_layout Standard
21660
21661
21662 \backslash
21663 TabBesEnd
21664 \end_layout
21665
21666 \end_inset
21667
21668
21669 \end_layout
21670
21671 \begin_layout Standard
21672 \begin_inset ERT
21673 status collapsed
21674
21675 \begin_layout Standard
21676
21677
21678 \backslash
21679 sidecaptionvpos{figure}{c}
21680 \end_layout
21681
21682 \end_inset
21683
21684
21685 \begin_inset Float figure
21686 wide false
21687 sideways false
21688 status open
21689
21690 \begin_layout Standard
21691 \begin_inset Graphics
21692         filename clipart/escher-lsd.eps
21693         scale 75
21694         scaleBeforeRotation
21695
21696 \end_inset
21697
21698
21699 \end_layout
21700
21701 \begin_layout Standard
21702 \begin_inset Caption
21703
21704 \begin_layout Standard
21705 \begin_inset LatexCommand label
21706 name "fig:cap-beside-fig-2"
21707
21708 \end_inset
21709
21710 This is a vertically centered caption beside a figure.
21711 \end_layout
21712
21713 \end_inset
21714
21715
21716 \end_layout
21717
21718 \end_inset
21719
21720
21721 \end_layout
21722
21723 \begin_layout Standard
21724 \begin_inset ERT
21725 status collapsed
21726
21727 \begin_layout Standard
21728
21729
21730 \backslash
21731 FigBesEnd
21732 \end_layout
21733
21734 \end_inset
21735
21736
21737 \end_layout
21738
21739 \begin_layout Section
21740 Listings of Floats
21741 \begin_inset LatexCommand label
21742 name "sec:Listings-of-Floats"
21743
21744 \end_inset
21745
21746
21747 \begin_inset LatexCommand index
21748 name "Floats ! Float Lists"
21749
21750 \end_inset
21751
21752
21753 \end_layout
21754
21755 \begin_layout Standard
21756 Similar to the the table of contents where the sections of the document
21757  are listed, there are listings for all float types, like the figures of
21758  the documents.
21759  You can insert them via the 
21760 \family sans
21761 Insert\SpecialChar \menuseparator
21762 List\InsetSpace ~
21763 /\InsetSpace ~
21764 TOC
21765 \family default
21766  sub menus.
21767 \end_layout
21768
21769 \begin_layout Standard
21770 The list entries are the float captions or its short title, the float number,
21771  and the page number where they appear in the document.
21772 \end_layout
21773
21774 \begin_layout Standard
21775 You can find the list of figures and tables at the end of this document.
21776 \end_layout
21777
21778 \begin_layout Chapter
21779 Notes
21780 \end_layout
21781
21782 \begin_layout Section
21783 LyX Notes
21784 \begin_inset LatexCommand label
21785 name "sec:LyX-Notes"
21786
21787 \end_inset
21788
21789
21790 \begin_inset LatexCommand index
21791 name "Notes ! LyX Notes"
21792
21793 \end_inset
21794
21795
21796 \end_layout
21797
21798 \begin_layout Standard
21799 Notes are inserted with the toolbar button 
21800 \begin_inset Graphics
21801         filename ../images/note-insert.png
21802         scale 85
21803         scaleBeforeRotation
21804
21805 \end_inset
21806
21807  or the menu 
21808 \family sans
21809 Insert\SpecialChar \menuseparator
21810 Note
21811 \family default
21812 .
21813  There are five types of notes:
21814 \end_layout
21815
21816 \begin_layout Description
21817 LyX\InsetSpace ~
21818 Note This note type is for internal notes that won't appear in the output.
21819  Its note-box looks like this:
21820 \newline
21821
21822 \newline
21823
21824 \begin_inset Graphics
21825         filename clipart/LyXNoteImageQt4.png
21826         display none
21827         scale 85
21828         scaleBeforeRotation
21829
21830 \end_inset
21831
21832  
21833 \begin_inset Note Note
21834 status open
21835
21836 \begin_layout Standard
21837 This is text in a note box that doesn't appear in the output.
21838 \end_layout
21839
21840 \end_inset
21841
21842
21843 \end_layout
21844
21845 \begin_layout Description
21846 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21847 ent, when you export the document to LaTeX via the menu 
21848 \family sans
21849 File\SpecialChar \menuseparator
21850 Export\SpecialChar \menuseparator
21851 LaTeX (pdflatex) / (plain)
21852 \family default
21853 .
21854  Its note-box looks like this:
21855 \newline
21856
21857 \newline
21858
21859 \begin_inset Graphics
21860         filename clipart/CommentNoteImageQt4.png
21861         display none
21862         scale 85
21863         scaleBeforeRotation
21864
21865 \end_inset
21866
21867  
21868 \begin_inset Note Comment
21869 status open
21870
21871 \begin_layout Standard
21872 This is text in a note box that only appears as comment in LaTeX-files.
21873 \end_layout
21874
21875 \end_inset
21876
21877
21878 \end_layout
21879
21880 \begin_layout Description
21881 Greyed\InsetSpace ~
21882 Out This note will appear in the output as grey text.
21883  Its note-box looks like this:
21884 \newline
21885
21886 \newline
21887
21888 \begin_inset Graphics
21889         filename clipart/GreyedOutNoteImageQt4.png
21890         display none
21891         scale 85
21892         scaleBeforeRotation
21893
21894 \end_inset
21895
21896
21897 \newline
21898
21899 \begin_inset ERT
21900 status collapsed
21901
21902 \begin_layout Standard
21903
21904
21905 \backslash
21906 renewenvironment{lyxgreyedout}
21907 \end_layout
21908
21909 \begin_layout Standard
21910
21911 {
21912 \backslash
21913 textcolor[gray]{0.8}
21914 \backslash
21915 bgroup}{
21916 \backslash
21917 egroup}
21918 \end_layout
21919
21920 \end_inset
21921
21922
21923 \begin_inset Note Greyedout
21924 status open
21925
21926 \begin_layout Standard
21927 This is text
21928 \begin_inset Foot
21929 status open
21930
21931 \begin_layout Standard
21932 This is an example footnote within a greyed out note.
21933 \end_layout
21934
21935 \end_inset
21936
21937  of a comment that appears in the output as grey text.
21938 \end_layout
21939
21940 \end_inset
21941
21942
21943 \begin_inset ERT
21944 status collapsed
21945
21946 \begin_layout Standard
21947
21948
21949 \backslash
21950 renewenvironment{lyxgreyedout}
21951 \end_layout
21952
21953 \begin_layout Standard
21954
21955 {
21956 \backslash
21957 textcolor{blue}
21958 \backslash
21959 bgroup}{
21960 \backslash
21961 egroup}
21962 \end_layout
21963
21964 \end_inset
21965
21966
21967 \begin_inset Note Note
21968 status collapsed
21969
21970 \begin_layout Standard
21971 The greyed out note is here redefined to show it with the original LyX definitio
21972 n because greyed out notes are redefined in the preamble of this document,
21973  as described below, to have blue text.
21974 \end_layout
21975
21976 \end_inset
21977
21978
21979 \newline
21980
21981 \newline
21982 As you can see in the example, the first line of greyed out notes is a bit
21983  indented and greyed out notes can have footnotes.
21984 \end_layout
21985
21986 \begin_layout Description
21987 Framed This note will appear in the output as framed text.
21988  Its note-box looks like this:
21989 \newline
21990
21991 \newline
21992
21993 \begin_inset Graphics
21994         filename clipart/FramedNoteImageQt4.png
21995         display none
21996         scale 85
21997         scaleBeforeRotation
21998
21999 \end_inset
22000
22001  
22002 \begin_inset Note Framed
22003 status open
22004
22005 \begin_layout Standard
22006 This is text in a note box that appears framed in the output.
22007 \end_layout
22008
22009 \end_inset
22010
22011  In contrary to framed boxes
22012 \begin_inset Foot
22013 status collapsed
22014
22015 \begin_layout Standard
22016 Framed boxes are described in section\InsetSpace ~
22017
22018 \begin_inset LatexCommand ref
22019 reference "sec:Framed-Boxes"
22020
22021 \end_inset
22022
22023 .
22024 \end_layout
22025
22026 \end_inset
22027
22028  the frame uses always the whole text width and the note is set into its
22029  own paragraph.
22030 \end_layout
22031
22032 \begin_layout Description
22033 Shaded This note will appear in the output with red background color.
22034  Its note box looks like this:
22035 \newline
22036
22037 \newline
22038
22039 \begin_inset Graphics
22040         filename clipart/ShadedNoteImageQt4.png
22041         display none
22042         scale 85
22043         scaleBeforeRotation
22044
22045 \end_inset
22046
22047
22048 \begin_inset Note Shaded
22049 status open
22050
22051 \begin_layout Standard
22052 This text in a note box appears in the output with red background.
22053 \end_layout
22054
22055 \end_inset
22056
22057 In contrary to colored boxes
22058 \begin_inset Foot
22059 status collapsed
22060
22061 \begin_layout Standard
22062 Colored boxes are described in section\InsetSpace ~
22063
22064 \begin_inset LatexCommand ref
22065 reference "sec:Colored-Boxes"
22066
22067 \end_inset
22068
22069 .
22070 \end_layout
22071
22072 \end_inset
22073
22074  the note uses always the whole text width and the note is set into its
22075  own paragraph.
22076 \end_layout
22077
22078 \begin_layout Standard
22079 \begin_inset VSpace bigskip
22080 \end_inset
22081
22082 When you use the toolbar button 
22083 \begin_inset Graphics
22084         filename ../images/note-insert.png
22085         scale 85
22086         scaleBeforeRotation
22087
22088 \end_inset
22089
22090  to insert notes, a 
22091 \family sans
22092 LyX\InsetSpace ~
22093 Note
22094 \family default
22095  is inserted.
22096  You can switch between the five note types by right-clicking on the note-box.
22097  
22098 \family roman
22099 \series medium
22100 \bar no
22101 If you want to turn existing text into a note, mark it and click on the
22102  note
22103 \family default
22104 \series default
22105 \bar default
22106  toolbar 
22107 \family roman
22108 \series medium
22109 \bar no
22110 button
22111 \family default
22112 \series default
22113 \bar default
22114 .
22115  To change a note to text, press the backspace key when the cursor is in
22116  the first position of a note, or press the deletey key when the cursor
22117  is in the very last position of the note, respectively.
22118 \end_layout
22119
22120 \begin_layout Standard
22121 \begin_inset VSpace bigskip
22122 \end_inset
22123
22124 You can change the text color of the greyed out notes in the preamble with
22125  the following command:
22126 \end_layout
22127
22128 \begin_layout Standard
22129
22130 \series bold
22131
22132 \backslash
22133 renewenvironment{lyxgreyedout}
22134 \newline
22135
22136 \begin_inset ERT
22137 status collapsed
22138
22139 \begin_layout Standard
22140
22141
22142 \backslash
22143 hphantom{ }
22144 \end_layout
22145
22146 \end_inset
22147
22148 {
22149 \backslash
22150 textcolor{color}
22151 \backslash
22152 bgroup}{
22153 \backslash
22154 egroup}
22155 \end_layout
22156
22157 \begin_layout Standard
22158 The available colors and the method to define own colors is explained in
22159  section\InsetSpace ~
22160
22161 \begin_inset LatexCommand ref
22162 reference "sec:Colored-Tables"
22163
22164 \end_inset
22165
22166 .
22167 \end_layout
22168
22169 \begin_layout Standard
22170 Notes that appear in blue in this document are set using greyed out notes
22171  with blue text.
22172 \end_layout
22173
22174 \begin_layout Standard
22175 \begin_inset VSpace bigskip
22176 \end_inset
22177
22178
22179 \end_layout
22180
22181 \begin_layout Standard
22182 The text style of 
22183 \family sans
22184 Framed
22185 \family default
22186  and 
22187 \family sans
22188 Shaded
22189 \family default
22190  notes can be set in the 
22191 \family sans
22192 Text Style
22193 \family default
22194  dialog.
22195 \end_layout
22196
22197 \begin_layout Standard
22198 The default frame width for 
22199 \family sans
22200 Framed
22201 \family default
22202  notes is 0.4\InsetSpace \thinspace{}
22203 pt; it can be changed by changing the size 
22204 \series bold
22205
22206 \backslash
22207 FrameRule
22208 \series default
22209 .
22210  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22211 pt; it can
22212  be changed by changing the size 
22213 \series bold
22214
22215 \backslash
22216 FrameSep
22217 \series default
22218 .
22219  For example the frame appearance of the following 
22220 \family sans
22221 Framed
22222 \family default
22223  note is set with the TeX-Code commands
22224 \end_layout
22225
22226 \begin_layout Standard
22227
22228 \series bold
22229
22230 \backslash
22231 FrameRule 5pt 
22232 \backslash
22233 FrameSep 0.5cm
22234 \end_layout
22235
22236 \begin_layout Standard
22237 \begin_inset ERT
22238 status collapsed
22239
22240 \begin_layout Standard
22241
22242
22243 \backslash
22244 FrameRule 5pt 
22245 \backslash
22246 FrameSep 0.5cm
22247 \end_layout
22248
22249 \end_inset
22250
22251
22252 \begin_inset Note Framed
22253 status open
22254
22255 \begin_layout Standard
22256 This is text in a 
22257 \family sans
22258 Framed
22259 \family default
22260  note.
22261 \end_layout
22262
22263 \end_inset
22264
22265
22266 \begin_inset ERT
22267 status collapsed
22268
22269 \begin_layout Standard
22270
22271
22272 \backslash
22273 FrameRule 0.4pt 
22274 \backslash
22275 FrameSep 9pt
22276 \end_layout
22277
22278 \end_inset
22279
22280
22281 \end_layout
22282
22283 \begin_layout Standard
22284 \begin_inset VSpace bigskip
22285 \end_inset
22286
22287
22288 \end_layout
22289
22290 \begin_layout Standard
22291 For 
22292 \family sans
22293 Shaded
22294 \family default
22295  notes the default space between the note content and the note border is
22296  3\InsetSpace \thinspace{}
22297 pt; it can be changed by changing the size 
22298 \series bold
22299
22300 \backslash
22301 fboxsep
22302 \series default
22303 .
22304 \newline
22305 The default background color red can be changed with the command 
22306 \series bold
22307
22308 \backslash
22309 def\SpecialChar \textcompwordmark{}
22310 inecolor{shadebox}
22311 \series default
22312 .
22313  The scheme of the 
22314 \series bold
22315
22316 \backslash
22317 def\SpecialChar \textcompwordmark{}
22318 inecolor
22319 \series default
22320  command is explained in section\InsetSpace ~
22321
22322 \begin_inset LatexCommand ref
22323 reference "sec:Colored-Tables"
22324
22325 \end_inset
22326
22327
22328 \begin_inset Foot
22329 status collapsed
22330
22331 \begin_layout Standard
22332 Note that 
22333 \series bold
22334
22335 \backslash
22336 def
22337 \series default
22338 \SpecialChar \textcompwordmark{}
22339
22340 \series bold
22341 inecolor
22342 \series default
22343  requires the LaTeX-package 
22344 \series bold
22345 color
22346 \series default
22347  in the preamble, see section\InsetSpace ~
22348
22349 \begin_inset LatexCommand ref
22350 reference "sec:Colored-Boxes"
22351
22352 \end_inset
22353
22354 .
22355 \end_layout
22356
22357 \end_inset
22358
22359 .
22360 \end_layout
22361
22362 \begin_layout Standard
22363 For example the appearance of the following 
22364 \family sans
22365 Shaded
22366 \family default
22367  note is set with the TeX-Code commands
22368 \end_layout
22369
22370 \begin_layout Standard
22371
22372 \series bold
22373
22374 \backslash
22375 fboxsep 0.5cm
22376 \series default
22377
22378 \newline
22379
22380 \series bold
22381
22382 \backslash
22383 def\SpecialChar \textcompwordmark{}
22384 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22385 \end_layout
22386
22387 \begin_layout Standard
22388 \begin_inset ERT
22389 status collapsed
22390
22391 \begin_layout Standard
22392
22393
22394 \backslash
22395 fboxsep 0.5cm
22396 \end_layout
22397
22398 \end_inset
22399
22400
22401 \begin_inset ERT
22402 status collapsed
22403
22404 \begin_layout Standard
22405
22406
22407 \backslash
22408 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22409 \end_layout
22410
22411 \end_inset
22412
22413
22414 \begin_inset Note Shaded
22415 status open
22416
22417 \begin_layout Standard
22418
22419 \color yellow
22420 This is yellow text in a
22421 \color none
22422  
22423 \family sans
22424 \color yellow
22425 Shaded
22426 \family default
22427 \color none
22428  
22429 \color yellow
22430 note with darkgreen background.
22431 \end_layout
22432
22433 \end_inset
22434
22435
22436 \begin_inset ERT
22437 status collapsed
22438
22439 \begin_layout Standard
22440
22441
22442 \backslash
22443 fboxsep 3pt
22444 \end_layout
22445
22446 \end_inset
22447
22448
22449 \begin_inset ERT
22450 status collapsed
22451
22452 \begin_layout Standard
22453
22454
22455 \backslash
22456 definecolor{shadecolor}{rgb}{1,0,0}
22457 \end_layout
22458
22459 \end_inset
22460
22461
22462 \end_layout
22463
22464 \begin_layout Section
22465 Footnotes
22466 \begin_inset LatexCommand label
22467 name "sec:Footnotes"
22468
22469 \end_inset
22470
22471
22472 \begin_inset LatexCommand index
22473 name "Notes ! Footnotes"
22474
22475 \end_inset
22476
22477
22478 \begin_inset LatexCommand index
22479 name "Footnotes"
22480
22481 \end_inset
22482
22483
22484 \end_layout
22485
22486 \begin_layout Standard
22487 Footnotes can be inserted using the toolbar button 
22488 \begin_inset Graphics
22489         filename ../images/footnote-insert.png
22490         scale 85
22491         scaleBeforeRotation
22492
22493 \end_inset
22494
22495  or the menu 
22496 \family sans
22497 Insert\SpecialChar \menuseparator
22498 Footnote
22499 \family default
22500 .
22501  
22502 \family roman
22503 \series medium
22504 \bar no
22505 You'll see
22506 \family default
22507 \series default
22508 \bar default
22509  then the following footnote-box: 
22510 \begin_inset Graphics
22511         filename clipart/footnoteQt4.png
22512         scale 80
22513         scaleBeforeRotation
22514
22515 \end_inset
22516
22517  
22518 \family roman
22519 \series medium
22520 \bar no
22521 where you can enter the footnote text.
22522  If you want to turn existing text into a footnote, mark it and click on
22523  the footnote
22524 \family default
22525 \series default
22526 \bar default
22527  toolbar 
22528 \family roman
22529 \series medium
22530 \bar no
22531 button
22532 \family default
22533 \series default
22534 \bar default
22535 .
22536  To change a 
22537 \family roman
22538 \series medium
22539 \bar no
22540 footnote
22541 \family default
22542 \series default
22543 \bar default
22544  to text, press the Backspace key when the cursor is in the first position
22545  of a 
22546 \family roman
22547 \series medium
22548 \bar no
22549 footnote
22550 \family default
22551 \series default
22552 \bar default
22553 , or press the Delete key when the cursor is in the very last position of
22554  the 
22555 \family roman
22556 \series medium
22557 \bar no
22558 footnote
22559 \family default
22560 \series default
22561 \bar default
22562 , respectively.
22563 \end_layout
22564
22565 \begin_layout Standard
22566 Here is an example footnote:
22567 \family roman
22568 \series medium
22569 \bar no
22570
22571 \begin_inset Foot
22572 status open
22573
22574 \begin_layout Standard
22575 \begin_inset LatexCommand label
22576 name "foot:This-is-an"
22577
22578 \end_inset
22579
22580 This is an example footnote.
22581 \end_layout
22582
22583 \end_inset
22584
22585
22586 \family default
22587 \series default
22588 \bar default
22589
22590 \begin_inset ERT
22591 status collapsed
22592
22593 \begin_layout Standard
22594
22595
22596 \backslash
22597 newcounter{MyRepeatFoot}
22598 \end_layout
22599
22600 \begin_layout Standard
22601
22602
22603 \backslash
22604 setcounter{MyRepeatFoot}{
22605 \backslash
22606 thefootnote}
22607 \end_layout
22608
22609 \end_inset
22610
22611
22612 \end_layout
22613
22614 \begin_layout Standard
22615 The footnote will appear in the output as a superscript number at the text
22616  position where the footnote box is placed.
22617  The footnote text is placed at the bottom of the current page.
22618  The footnote number is calculated by LaTeX, the numbers are consecutive.
22619  It depends on your document-class, if the footnote number is reset for
22620  every chapter.
22621 \end_layout
22622
22623 \begin_layout Standard
22624 Footnotes can be referenced like floats: Insert a label into the footnote
22625  and cross-reference this label in the text as described in section\InsetSpace ~
22626
22627 \begin_inset LatexCommand ref
22628 reference "sec:Referencing-Floats"
22629
22630 \end_inset
22631
22632 .
22633 \newline
22634 This is a cross-reference of Footnote\InsetSpace ~
22635
22636 \begin_inset LatexCommand ref
22637 reference "foot:This-is-an"
22638
22639 \end_inset
22640
22641 .
22642 \end_layout
22643
22644 \begin_layout Standard
22645 \begin_inset VSpace defskip
22646 \end_inset
22647
22648 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22649
22650 \begin_inset LatexCommand ref
22651 reference "sec:Minipages"
22652
22653 \end_inset
22654
22655 .
22656  Footnotes within longtables are described in section\InsetSpace ~
22657
22658 \begin_inset LatexCommand ref
22659 reference "sub:Footnotes-in-Longtables"
22660
22661 \end_inset
22662
22663 .
22664 \end_layout
22665
22666 \begin_layout Standard
22667 \begin_inset VSpace defskip
22668 \end_inset
22669
22670 To create only a mark for a footnote, use the command 
22671 \series bold
22672
22673 \backslash
22674 footnotemark[number]
22675 \series default
22676  in TeX-Code.
22677  This is used when you have the same annotation several times in a text
22678  but doesn't want to print the footnote text every time.
22679 \newline
22680 As you don't know
22681  the number of the repeating footnote while you are writing the text, you
22682  have to store its number.
22683  For the following footnote mark example, these commands were inserted in
22684  TeX-Code behind Footnote\InsetSpace ~
22685
22686 \begin_inset LatexCommand ref
22687 reference "foot:This-is-an"
22688
22689 \end_inset
22690
22691  to store the footnote number:
22692 \end_layout
22693
22694 \begin_layout Standard
22695
22696 \series bold
22697
22698 \backslash
22699 newcounter{MyRepeatFoot}
22700 \newline
22701
22702 \backslash
22703 setcounter{MyRepeatFoot}{
22704 \backslash
22705 thefootnote}
22706 \end_layout
22707
22708 \begin_layout Standard
22709 The footnote mark was then created with this command:
22710 \end_layout
22711
22712 \begin_layout Standard
22713
22714 \series bold
22715
22716 \backslash
22717 footnotemark[
22718 \backslash
22719 theMyRepeatFoot]
22720 \end_layout
22721
22722 \begin_layout Standard
22723 Here is an example footnote mark:
22724 \family roman
22725 \series medium
22726 \bar no
22727
22728 \begin_inset ERT
22729 status collapsed
22730
22731 \begin_layout Standard
22732
22733
22734 \backslash
22735 footnotemark[
22736 \backslash
22737 theMyRepeatFoot]
22738 \end_layout
22739
22740 \end_inset
22741
22742
22743 \end_layout
22744
22745 \begin_layout Subsection
22746 Footnote Numbering
22747 \begin_inset LatexCommand label
22748 name "sub:Footnote-Numbering"
22749
22750 \end_inset
22751
22752
22753 \begin_inset LatexCommand index
22754 name "Footnotes ! Numbering"
22755
22756 \end_inset
22757
22758
22759 \end_layout
22760
22761 \begin_layout Standard
22762 To reset the footnote number back to 1 after each section
22763 \family roman
22764 , add this command to your document preamble:
22765 \end_layout
22766
22767 \begin_layout Standard
22768
22769 \series bold
22770
22771 \backslash
22772 @addtoreset{footnote}{section}
22773 \end_layout
22774
22775 \begin_layout Standard
22776 \begin_inset VSpace bigskip
22777 \end_inset
22778
22779 The following preamble command changes the footnote numbering style to small
22780  roman numerals:
22781 \end_layout
22782
22783 \begin_layout Standard
22784
22785 \series bold
22786
22787 \backslash
22788 renewcommand{
22789 \backslash
22790 thefootnote}{
22791 \backslash
22792 roman{footnote}}
22793 \end_layout
22794
22795 \begin_layout Standard
22796 \begin_inset ERT
22797 status collapsed
22798
22799 \begin_layout Standard
22800
22801
22802 \backslash
22803 renewcommand{
22804 \backslash
22805 thefootnote}{
22806 \backslash
22807 roman{footnote}}
22808 \end_layout
22809
22810 \end_inset
22811
22812  This is a footnote with roman numbering:
22813 \begin_inset Foot
22814 status open
22815
22816 \begin_layout Standard
22817 This is an example footnote with roman numbering.
22818 \end_layout
22819
22820 \end_inset
22821
22822
22823 \end_layout
22824
22825 \begin_layout Standard
22826 To change the numbering style to capital roman numerals replace in the command
22827  above 
22828 \series bold
22829
22830 \backslash
22831 roman
22832 \series default
22833  by 
22834 \series bold
22835
22836 \backslash
22837 Roman
22838 \series default
22839 .
22840  To 
22841 \begin_inset Quotes eld
22842 \end_inset
22843
22844 number
22845 \begin_inset Quotes erd
22846 \end_inset
22847
22848  footnotes with capital or small Latin letters use 
22849 \series bold
22850
22851 \backslash
22852 Alph
22853 \series default
22854  or 
22855 \series bold
22856
22857 \backslash
22858 alph
22859 \series default
22860 , respectively.
22861  To 
22862 \begin_inset Quotes eld
22863 \end_inset
22864
22865 number
22866 \begin_inset Quotes erd
22867 \end_inset
22868
22869  footnotes with symbols use 
22870 \series bold
22871
22872 \backslash
22873 fnsymbol
22874 \series default
22875 .
22876 \end_layout
22877
22878 \begin_layout Standard
22879 \begin_inset Note Greyedout
22880 status open
22881
22882 \begin_layout Standard
22883
22884 \series bold
22885 Note:
22886 \series default
22887  You can only number 26 footnotes with Latin letters, because this numbering
22888  is limited to single letters.
22889 \end_layout
22890
22891 \end_inset
22892
22893
22894 \newline
22895
22896 \begin_inset Note Greyedout
22897 status open
22898
22899 \begin_layout Standard
22900
22901 \series bold
22902 Note:
22903 \series default
22904  You can only number 9 footnotes with symbols.
22905 \end_layout
22906
22907 \end_inset
22908
22909
22910 \end_layout
22911
22912 \begin_layout Standard
22913 To return to the default numbering style when you changed to another one,
22914  use 
22915 \series bold
22916
22917 \backslash
22918 arabic
22919 \series default
22920  instead of 
22921 \series bold
22922
22923 \backslash
22924 roman
22925 \series default
22926  in the command above.
22927 \begin_inset ERT
22928 status collapsed
22929
22930 \begin_layout Standard
22931
22932
22933 \backslash
22934 renewcommand{
22935 \backslash
22936 thefootnote}{
22937 \backslash
22938 arabic{footnote}}
22939 \end_layout
22940
22941 \end_inset
22942
22943
22944 \end_layout
22945
22946 \begin_layout Standard
22947 \begin_inset VSpace bigskip
22948 \end_inset
22949
22950
22951 \end_layout
22952
22953 \begin_layout Standard
22954 If you want to have footnotes numbered in the scheme 
22955 \begin_inset Quotes eld
22956 \end_inset
22957
22958 chapter.footnote
22959 \begin_inset Quotes erd
22960 \end_inset
22961
22962 , add the following command to your document preamble:
22963 \end_layout
22964
22965 \begin_layout Standard
22966
22967 \series bold
22968
22969 \backslash
22970 numberwithin{footnote}{chapter}
22971 \end_layout
22972
22973 \begin_layout Standard
22974 To be able to use the command 
22975 \series bold
22976
22977 \backslash
22978 numberwithin
22979 \series default
22980 , set in the tab 
22981 \family sans
22982 Math\InsetSpace ~
22983 Options
22984 \family default
22985  in the document settings the option 
22986 \family sans
22987 Use\InsetSpace ~
22988 AMS\InsetSpace ~
22989 math\InsetSpace ~
22990 package
22991 \family default
22992 .
22993 \end_layout
22994
22995 \begin_layout Standard
22996 \begin_inset ERT
22997 status collapsed
22998
22999 \begin_layout Standard
23000
23001
23002 \backslash
23003 numberwithin{footnote}{chapter}
23004 \end_layout
23005
23006 \end_inset
23007
23008 This is another example footnote:
23009 \series bold
23010
23011 \begin_inset Foot
23012 status open
23013
23014 \begin_layout Standard
23015 This is a footnote numbered in the scheme 
23016 \begin_inset Quotes eld
23017 \end_inset
23018
23019 chapter.footnote
23020 \begin_inset Quotes erd
23021 \end_inset
23022
23023 .
23024 \end_layout
23025
23026 \end_inset
23027
23028
23029 \series default
23030
23031 \begin_inset ERT
23032 status collapsed
23033
23034 \begin_layout Standard
23035
23036
23037 \backslash
23038 renewcommand{
23039 \backslash
23040 thefootnote}{
23041 \backslash
23042 arabic{footnote}}
23043 \end_layout
23044
23045 \end_inset
23046
23047
23048 \end_layout
23049
23050 \begin_layout Standard
23051 \begin_inset Note Greyedout
23052 status open
23053
23054 \begin_layout Standard
23055
23056 \series bold
23057 Note:
23058 \series default
23059  
23060 \series bold
23061
23062 \backslash
23063 numberwithin
23064 \series default
23065  always prints out the footnote number as arabic number; previous redefinitions
23066  to get non-arabic numbers are overwritten.
23067 \end_layout
23068
23069 \end_inset
23070
23071
23072 \end_layout
23073
23074 \begin_layout Standard
23075 So to get for example the scheme 
23076 \begin_inset Quotes eld
23077 \end_inset
23078
23079 chapter.
23080 \backslash
23081 Roman{footnote}
23082 \begin_inset Quotes erd
23083 \end_inset
23084
23085 , use this command instead of 
23086 \series bold
23087
23088 \backslash
23089 numberwithin
23090 \series default
23091 :
23092 \end_layout
23093
23094 \begin_layout Standard
23095
23096 \series bold
23097
23098 \backslash
23099 renewcommand{
23100 \backslash
23101 thefootnote}{
23102 \backslash
23103 thechapter.
23104 \backslash
23105 Roman{footnote}}
23106 \end_layout
23107
23108 \begin_layout Subsection
23109 Footnote Placement
23110 \begin_inset LatexCommand index
23111 name "Footnotes ! Placement"
23112
23113 \end_inset
23114
23115
23116 \end_layout
23117
23118 \begin_layout Standard
23119 If you have several footnotes in one page, they appear without vertical
23120  space between them at the bottom of the page.
23121  To make them better readable you can e.\InsetSpace \thinspace{}
23122 g.\InsetSpace ~
23123 add 1.5\InsetSpace \thinspace{}
23124 mm space with the following
23125  preamble command:
23126 \end_layout
23127
23128 \begin_layout Standard
23129
23130 \series bold
23131
23132 \backslash
23133 let
23134 \backslash
23135 myFoot
23136 \backslash
23137 footnote
23138 \newline
23139
23140 \backslash
23141 renewcommand{
23142 \backslash
23143 footnote}[1]{
23144 \backslash
23145 myFoot{#1
23146 \backslash
23147 vspace{1.5mm}}}
23148 \end_layout
23149
23150 \begin_layout Standard
23151 \begin_inset VSpace bigskip
23152 \end_inset
23153
23154 In a two-column document the footnotes appear at the bottom of every column,
23155  see Figure\InsetSpace ~
23156
23157 \begin_inset LatexCommand ref
23158 reference "fig:Standard-footnote-placement"
23159
23160 \end_inset
23161
23162 .
23163  If the footnotes should only appear at the bottom of the right column,
23164  as in Figure\InsetSpace ~
23165
23166 \begin_inset LatexCommand ref
23167 reference "fig:Footnote-placement-in"
23168
23169 \end_inset
23170
23171 , use the LaTeX-package 
23172 \series bold
23173 ftnright
23174 \series default
23175
23176 \begin_inset LatexCommand index
23177 name "LaTeX-packages ! ftnright"
23178
23179 \end_inset
23180
23181  with this command in the document preamble:
23182 \end_layout
23183
23184 \begin_layout Standard
23185
23186 \series bold
23187
23188 \backslash
23189 usepackage{ftnright}
23190 \end_layout
23191
23192 \begin_layout Standard
23193 \begin_inset Float figure
23194 placement !h
23195 wide false
23196 sideways false
23197 status open
23198
23199 \begin_layout Standard
23200 \begin_inset ERT
23201 status collapsed
23202
23203 \begin_layout Standard
23204
23205
23206 \backslash
23207 framebox{
23208 \end_layout
23209
23210 \end_inset
23211
23212
23213 \begin_inset Graphics
23214         filename clipart/without_fntright.pdf
23215         width 100col%
23216         scaleBeforeRotation
23217
23218 \end_inset
23219
23220
23221 \begin_inset ERT
23222 status collapsed
23223
23224 \begin_layout Standard
23225
23226 }
23227 \end_layout
23228
23229 \end_inset
23230
23231
23232 \end_layout
23233
23234 \begin_layout Standard
23235 \begin_inset Caption
23236
23237 \begin_layout Standard
23238 \begin_inset LatexCommand label
23239 name "fig:Standard-footnote-placement"
23240
23241 \end_inset
23242
23243 Standard footnote placement in two-column documents.
23244 \end_layout
23245
23246 \end_inset
23247
23248
23249 \end_layout
23250
23251 \end_inset
23252
23253
23254 \end_layout
23255
23256 \begin_layout Standard
23257 \begin_inset Float figure
23258 placement !h
23259 wide false
23260 sideways false
23261 status open
23262
23263 \begin_layout Standard
23264 \begin_inset ERT
23265 status collapsed
23266
23267 \begin_layout Standard
23268
23269
23270 \backslash
23271 framebox{
23272 \end_layout
23273
23274 \end_inset
23275
23276
23277 \begin_inset Graphics
23278         filename clipart/with_fntright.pdf
23279         width 100col%
23280         scaleBeforeRotation
23281
23282 \end_inset
23283
23284
23285 \begin_inset ERT
23286 status collapsed
23287
23288 \begin_layout Standard
23289
23290 }
23291 \end_layout
23292
23293 \end_inset
23294
23295
23296 \end_layout
23297
23298 \begin_layout Standard
23299 \begin_inset Caption
23300
23301 \begin_layout Standard
23302 \begin_inset LatexCommand label
23303 name "fig:Footnote-placement-in"
23304
23305 \end_inset
23306
23307 Footnote placement in two-column documents when the LaTeX-package 
23308 \series bold
23309 ftnright
23310 \series default
23311  is used.
23312 \end_layout
23313
23314 \end_inset
23315
23316
23317 \end_layout
23318
23319 \end_inset
23320
23321
23322 \end_layout
23323
23324 \begin_layout Standard
23325 \begin_inset VSpace bigskip
23326 \end_inset
23327
23328 In some scientific literature it is usual to collect the footnotes and print
23329  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23330
23331 \begin_inset LatexCommand ref
23332 reference "fig:Endnotes----footnotes"
23333
23334 \end_inset
23335
23336 .
23337  They are then so called 
23338 \begin_inset Quotes eld
23339 \end_inset
23340
23341 endnotes
23342 \begin_inset Quotes erd
23343 \end_inset
23344
23345 .
23346  To use endnotes instead of footnotes in your document, load the LaTeX-package
23347  
23348 \series bold
23349 endnotes
23350 \series default
23351
23352 \begin_inset LatexCommand index
23353 name "LaTeX-packages ! endnotes"
23354
23355 \end_inset
23356
23357  with the document preamble lines
23358 \end_layout
23359
23360 \begin_layout Standard
23361
23362 \series bold
23363
23364 \backslash
23365 usepackage{endnotes}
23366 \newline
23367
23368 \backslash
23369 let
23370 \backslash
23371 footnote
23372 \backslash
23373 endnote
23374 \end_layout
23375
23376 \begin_layout Standard
23377 To insert the collected footnotes, insert the command
23378 \end_layout
23379
23380 \begin_layout Standard
23381
23382 \series bold
23383
23384 \backslash
23385 theendnotes
23386 \end_layout
23387
23388 \begin_layout Standard
23389 in TeX-Code at the the end of a section or chapter.
23390 \end_layout
23391
23392 \begin_layout Standard
23393 \begin_inset Float figure
23394 wide false
23395 sideways false
23396 status open
23397
23398 \begin_layout Standard
23399 \align center
23400 \begin_inset ERT
23401 status collapsed
23402
23403 \begin_layout Standard
23404
23405
23406 \backslash
23407 framebox{
23408 \end_layout
23409
23410 \end_inset
23411
23412
23413 \begin_inset Graphics
23414         filename clipart/endnotes.pdf
23415         scaleBeforeRotation
23416
23417 \end_inset
23418
23419
23420 \begin_inset ERT
23421 status collapsed
23422
23423 \begin_layout Standard
23424
23425 }
23426 \end_layout
23427
23428 \end_inset
23429
23430
23431 \end_layout
23432
23433 \begin_layout Standard
23434 \begin_inset Caption
23435
23436 \begin_layout Standard
23437 \begin_inset LatexCommand label
23438 name "fig:Endnotes----footnotes"
23439
23440 \end_inset
23441
23442 Endnotes -- footnotes are printed in a separate paragraph at the end of
23443  sections or chapters.
23444 \end_layout
23445
23446 \end_inset
23447
23448
23449 \end_layout
23450
23451 \end_inset
23452
23453
23454 \end_layout
23455
23456 \begin_layout Standard
23457 \begin_inset VSpace medskip
23458 \end_inset
23459
23460 The paragraph heading for the endnotes isn't automatically translated into
23461  the document language, this must be done manually.
23462  The following preamble command translate the default English name 
23463 \begin_inset Quotes eld
23464 \end_inset
23465
23466 Notes
23467 \begin_inset Quotes erd
23468 \end_inset
23469
23470  to the German translation 
23471 \begin_inset Quotes eld
23472 \end_inset
23473
23474 Anmerkungen
23475 \begin_inset Quotes erd
23476 \end_inset
23477
23478 :
23479 \end_layout
23480
23481 \begin_layout Standard
23482
23483 \series bold
23484
23485 \backslash
23486 renewcommand{
23487 \backslash
23488 notesname}{Anmerkungen}
23489 \end_layout
23490
23491 \begin_layout Standard
23492 \begin_inset VSpace medskip
23493 \end_inset
23494
23495 The numbering of endnotes can be changed like the footnote numbering as
23496  described in section\InsetSpace ~
23497
23498 \begin_inset LatexCommand ref
23499 reference "sub:Footnote-Numbering"
23500
23501 \end_inset
23502
23503 ; just replace the command 
23504 \series bold
23505
23506 \backslash
23507 thefootnote
23508 \series default
23509  by 
23510 \series bold
23511
23512 \backslash
23513 theendnote
23514 \series default
23515 .
23516  To reset the endnote number use the command 
23517 \series bold
23518
23519 \backslash
23520 @addtoreset
23521 \series default
23522  as described in section\InsetSpace ~
23523
23524 \begin_inset LatexCommand ref
23525 reference "sub:Footnote-Numbering"
23526
23527 \end_inset
23528
23529  and replace the command parameter 
23530 \series bold
23531 footnote
23532 \series default
23533  by 
23534 \series bold
23535 endnote
23536 \series default
23537 .
23538 \end_layout
23539
23540 \begin_layout Standard
23541 To create only a mark for an endnote, use the command 
23542 \series bold
23543
23544 \backslash
23545 endnotemark[number]
23546 \series default
23547  similar to the command 
23548 \series bold
23549
23550 \backslash
23551 footnotemark
23552 \series default
23553 , described in section\InsetSpace ~
23554
23555 \begin_inset LatexCommand ref
23556 reference "sec:Footnotes"
23557
23558 \end_inset
23559
23560 .
23561 \end_layout
23562
23563 \begin_layout Standard
23564 \begin_inset VSpace bigskip
23565 \end_inset
23566
23567 Footnotes can also be placed in the page margin and the footnote text alignment
23568  can be changed, see the LaTeX-package 
23569 \series bold
23570 footmisc
23571 \series default
23572
23573 \begin_inset LatexCommand index
23574 name "LaTeX-packages ! footmisc"
23575
23576 \end_inset
23577
23578
23579 \begin_inset LatexCommand cite
23580 key "footmisc"
23581
23582 \end_inset
23583
23584  for more information about this.
23585 \end_layout
23586
23587 \begin_layout Standard
23588 For various further footnote formatting issues have a look at LaTeX-books,
23589  
23590 \begin_inset LatexCommand cite
23591 key "latexcompanion,latexguide,latexbook"
23592
23593 \end_inset
23594
23595 .
23596 \end_layout
23597
23598 \begin_layout Section
23599 Margin Notes
23600 \begin_inset LatexCommand index
23601 name "Notes ! Margin Notes"
23602
23603 \end_inset
23604
23605
23606 \end_layout
23607
23608 \begin_layout Standard
23609 Margin notes look and behave in LyX like footnotes.
23610  They are inserted via the menu 
23611 \family sans
23612 Insert\SpecialChar \menuseparator
23613 Marginal\InsetSpace ~
23614 Note
23615 \family default
23616  or the toolbar button 
23617 \begin_inset Graphics
23618         filename ../images/marginalnote-insert.png
23619         scale 85
23620         scaleBeforeRotation
23621
23622 \end_inset
23623
23624 .
23625  A grey 
23626 \family roman
23627 \series medium
23628 box with the
23629 \family default
23630 \series default
23631  red 
23632 \family roman
23633 \series medium
23634 label 
23635 \begin_inset Quotes eld
23636 \end_inset
23637
23638 margin
23639 \begin_inset Quotes erd
23640 \end_inset
23641
23642  appears where you can enter the text of the margin note.
23643 \end_layout
23644
23645 \begin_layout Standard
23646 At the side is an example margin note.
23647 \family roman
23648 \series medium
23649
23650 \begin_inset Marginal
23651 status open
23652
23653 \begin_layout Standard
23654 This is a margin note.
23655 \end_layout
23656
23657 \end_inset
23658
23659
23660 \end_layout
23661
23662 \begin_layout Standard
23663 Margin notes appear at the right side in single-sided documents.
23664  In double-sided documents they appear in the outer margin -- left on even
23665  pages, right on odd pages.
23666  The text of margin notes is aligned opposite to the outer margin -- right-align
23667 ed when the note appears in the left margin.
23668  The first line of the margin note is placed at the position of the text
23669  line where it is inserted in the document.
23670 \end_layout
23671
23672 \begin_layout Standard
23673 \begin_inset VSpace bigskip
23674 \end_inset
23675
23676 To place the margin note in the inner margin, add the command
23677 \end_layout
23678
23679 \begin_layout Standard
23680
23681 \series bold
23682
23683 \backslash
23684 reversemarginpar
23685 \end_layout
23686
23687 \begin_layout Standard
23688 in TeX-Code before a margin note.
23689  The new placement is valid for all following margin notes.
23690 \begin_inset ERT
23691 status collapsed
23692
23693 \begin_layout Standard
23694
23695
23696 \backslash
23697 reversemarginpar 
23698 \end_layout
23699
23700 \end_inset
23701
23702
23703 \begin_inset Marginal
23704 status open
23705
23706 \begin_layout Standard
23707 This is a margin note in the inner margin.
23708 \end_layout
23709
23710 \end_inset
23711
23712
23713 \series bold
23714
23715 \newline
23716
23717 \series default
23718
23719 \begin_inset Note Greyedout
23720 status open
23721
23722 \begin_layout Standard
23723
23724 \series bold
23725 Note:
23726 \series default
23727  There is often not enough space in the inner margin so that the notes are
23728  not correctly displayed in the output.
23729 \end_layout
23730
23731 \end_inset
23732
23733
23734 \end_layout
23735
23736 \begin_layout Standard
23737 To return to the default placement insert the command
23738 \end_layout
23739
23740 \begin_layout Standard
23741
23742 \series bold
23743
23744 \backslash
23745 normalmarginpar
23746 \end_layout
23747
23748 \begin_layout Standard
23749 in TeX-Code.
23750 \begin_inset ERT
23751 status collapsed
23752
23753 \begin_layout Standard
23754
23755
23756 \backslash
23757 normalmarginpar 
23758 \end_layout
23759
23760 \end_inset
23761
23762  
23763 \begin_inset Note Greyedout
23764 status open
23765
23766 \begin_layout Standard
23767
23768 \series bold
23769 Note:
23770 \series default
23771  The command is ignored when it is within a paragraph where also the command
23772  
23773 \series bold
23774
23775 \backslash
23776 reversemarginpar
23777 \series default
23778  is inserted.
23779 \end_layout
23780
23781 \end_inset
23782
23783
23784 \end_layout
23785
23786 \begin_layout Standard
23787 \begin_inset VSpace bigskip
23788 \end_inset
23789
23790
23791 \family roman
23792 \series medium
23793
23794 \begin_inset Marginal
23795 status open
23796
23797 \begin_layout Standard
23798 AVeryLongMarginParWord that isn't hyphenated.
23799 \end_layout
23800
23801 \end_inset
23802
23803
23804 \family default
23805 \series default
23806 Similar to the case described in section\InsetSpace ~
23807
23808 \begin_inset LatexCommand ref
23809 reference "sub:Multiple-Lines-in"
23810
23811 \end_inset
23812
23813 , long words cannot be hyphenated when they are the first word in a margin
23814  note.
23815  To avoid this, insert the command
23816 \end_layout
23817
23818 \begin_layout Standard
23819
23820 \series bold
23821
23822 \backslash
23823 hspace{0pt}
23824 \end_layout
23825
23826 \begin_layout Standard
23827 in TeX-Code before the word
23828 \family roman
23829 \series medium
23830 .
23831 \begin_inset Marginal
23832 status open
23833
23834 \begin_layout Standard
23835 \begin_inset ERT
23836 status collapsed
23837
23838 \begin_layout Standard
23839
23840
23841 \backslash
23842 hspace{0pt}
23843 \end_layout
23844
23845 \end_inset
23846
23847 AVeryLongMarginParWord that is hyphenated.
23848 \end_layout
23849
23850 \end_inset
23851
23852
23853 \end_layout
23854
23855 \begin_layout Standard
23856 \begin_inset VSpace bigskip
23857 \end_inset
23858
23859
23860 \end_layout
23861
23862 \begin_layout Standard
23863 \begin_inset Note Greyedout
23864 status open
23865
23866 \begin_layout Standard
23867
23868 \series bold
23869 Note:
23870 \series default
23871  Margin notes can normally not be used inside tables, floats, and footnotes.
23872 \end_layout
23873
23874 \end_inset
23875
23876
23877 \end_layout
23878
23879 \begin_layout Standard
23880 \begin_inset VSpace bigskip
23881 \end_inset
23882
23883
23884 \end_layout
23885
23886 \begin_layout Standard
23887 \begin_inset ERT
23888 status collapsed
23889
23890 \begin_layout Standard
23891
23892
23893 \backslash
23894 ifmarginnote
23895 \end_layout
23896
23897 \end_inset
23898
23899
23900 \begin_inset Note Note
23901 status open
23902
23903 \begin_layout Standard
23904 The following section will only be displayed when the LaTeX-package 
23905 \series bold
23906 marginnote
23907 \series default
23908  is installed.
23909 \end_layout
23910
23911 \end_inset
23912
23913
23914 \end_layout
23915
23916 \begin_layout Standard
23917 This restriction can be evaded by using the LaTeX-package 
23918 \series bold
23919 marginnote
23920 \series default
23921
23922 \begin_inset LatexCommand index
23923 name "LaTeX-packages ! marginnote"
23924
23925 \end_inset
23926
23927 .
23928  By adding these two lines to your document preamble, the command used by
23929  LyX for margin notes is redefined to use the command provided by the 
23930 \series bold
23931 marginnote
23932 \series default
23933 -package:
23934 \end_layout
23935
23936 \begin_layout Standard
23937
23938 \series bold
23939
23940 \backslash
23941 usepackage{marginnote}
23942 \newline
23943
23944 \backslash
23945 let
23946 \backslash
23947 marginpar
23948 \backslash
23949 marginnote
23950 \end_layout
23951
23952 \begin_layout Standard
23953 This is also used in this document because 
23954 \series bold
23955 marginnote
23956 \series default
23957  has another useful feature: You can set a vertical offset for the note.
23958  This is often needed when too many margin notes are too close together
23959  or for a better page layout.
23960  The offset is set in LyX as TeX-Code directly behind the margin note in
23961  the scheme
23962 \end_layout
23963
23964 \begin_layout Standard
23965
23966 \series bold
23967 [offset]
23968 \end_layout
23969
23970 \begin_layout Standard
23971 where the offset is a length with one of the units listed in Table\InsetSpace ~
23972
23973 \begin_inset LatexCommand ref
23974 reference "tab:Units"
23975
23976 \end_inset
23977
23978 .
23979  A negative value shifts the note up, a positive value shifts it down.
23980  
23981 \family roman
23982 \series medium
23983 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23984 cm with
23985  the TeX-Code-command 
23986 \begin_inset Quotes eld
23987 \end_inset
23988
23989
23990 \family default
23991 \series bold
23992 [-1.5cm]
23993 \family roman
23994 \series medium
23995
23996 \begin_inset Quotes erd
23997 \end_inset
23998
23999
24000 \begin_inset Marginal
24001 status open
24002
24003 \begin_layout Standard
24004 This margin note is shifted up 1.5\InsetSpace \thinspace{}
24005 cm from its original position.
24006 \end_layout
24007
24008 \end_inset
24009
24010
24011 \family default
24012 \series default
24013
24014 \begin_inset ERT
24015 status collapsed
24016
24017 \begin_layout Standard
24018
24019 [-1.5cm]
24020 \end_layout
24021
24022 \end_inset
24023
24024
24025 \end_layout
24026
24027 \begin_layout Standard
24028 \begin_inset VSpace medskip
24029 \end_inset
24030
24031 With 
24032 \series bold
24033 marginnote
24034 \series default
24035  you can also change the alignment of the text in the margin note.
24036  For example the commands
24037 \end_layout
24038
24039 \begin_layout Standard
24040
24041 \series bold
24042
24043 \backslash
24044 renewcommand*{
24045 \backslash
24046 raggedleftmarginnote}{
24047 \backslash
24048 centering}
24049 \newline
24050
24051 \backslash
24052 renewcommand*{
24053 \backslash
24054 raggedrightmarginnote}{
24055 \backslash
24056 centering}
24057 \end_layout
24058
24059 \begin_layout Standard
24060 set the alignment to centered.
24061  
24062 \series bold
24063
24064 \backslash
24065 raggedleftmarginnote
24066 \series default
24067  denotes margin notes that appear at the left side.
24068 \family roman
24069 \series medium
24070
24071 \begin_inset ERT
24072 status collapsed
24073
24074 \begin_layout Standard
24075
24076
24077 \backslash
24078 renewcommand*{
24079 \backslash
24080 raggedleftmarginnote}{
24081 \backslash
24082 centering}
24083 \end_layout
24084
24085 \begin_layout Standard
24086
24087
24088 \backslash
24089 renewcommand*{
24090 \backslash
24091 raggedrightmarginnote}{
24092 \backslash
24093 centering}
24094 \end_layout
24095
24096 \end_inset
24097
24098
24099 \begin_inset Marginal
24100 status open
24101
24102 \begin_layout Standard
24103 The text of this margin note is centered.
24104 \end_layout
24105
24106 \end_inset
24107
24108
24109 \family default
24110 \series default
24111  The default is
24112 \end_layout
24113
24114 \begin_layout Standard
24115
24116 \series bold
24117
24118 \backslash
24119 renewcommand*{
24120 \backslash
24121 raggedleftmarginnote}{
24122 \backslash
24123 raggedleft}
24124 \newline
24125
24126 \backslash
24127 renewcommand*{
24128 \backslash
24129 raggedrightmarginnote}{
24130 \backslash
24131 raggedright}
24132 \family roman
24133 \series medium
24134
24135 \begin_inset ERT
24136 status collapsed
24137
24138 \begin_layout Standard
24139
24140
24141 \backslash
24142 renewcommand*{
24143 \backslash
24144 raggedleftmarginnote}{
24145 \backslash
24146 raggedleft}
24147 \end_layout
24148
24149 \begin_layout Standard
24150
24151
24152 \backslash
24153 renewcommand*{
24154 \backslash
24155 raggedrightmarginnote}{
24156 \backslash
24157 raggedright}
24158 \end_layout
24159
24160 \end_inset
24161
24162
24163 \end_layout
24164
24165 \begin_layout Standard
24166 \begin_inset VSpace medskip
24167 \end_inset
24168
24169 For the other features of 
24170 \series bold
24171 marginnote
24172 \series default
24173  we refer to its documentation 
24174 \begin_inset LatexCommand cite
24175 key "marginnote"
24176
24177 \end_inset
24178
24179 .
24180 \end_layout
24181
24182 \begin_layout Standard
24183 \begin_inset VSpace bigskip
24184 \end_inset
24185
24186 You can adjust the layout of margin notes by changing its definition.
24187  To create for example a header for all margin notes with the underlined,
24188  sans-serif, and bold header text 
24189 \begin_inset Quotes eld
24190 \end_inset
24191
24192
24193 \family sans
24194 \series bold
24195 \bar under
24196 Attention!
24197 \family default
24198 \series default
24199 \bar default
24200
24201 \begin_inset Quotes erd
24202 \end_inset
24203
24204 , add this to your document preamble:
24205 \end_layout
24206
24207 \begin_layout Standard
24208
24209 \series bold
24210
24211 \backslash
24212 let
24213 \backslash
24214 myMarginpar
24215 \backslash
24216 marginpar
24217 \newline
24218
24219 \backslash
24220 renewcommand{
24221 \backslash
24222 marginpar}[1]{
24223 \backslash
24224 myMarginpar{%
24225 \newline
24226
24227 \begin_inset ERT
24228 status collapsed
24229
24230 \begin_layout Standard
24231
24232
24233 \backslash
24234 hphantom{ }
24235 \end_layout
24236
24237 \end_inset
24238
24239
24240 \backslash
24241 hspace{0pt}
24242 \backslash
24243 textsf{
24244 \backslash
24245 textbf{
24246 \backslash
24247 underbar{Attention!}}}%
24248 \newline
24249
24250 \begin_inset ERT
24251 status collapsed
24252
24253 \begin_layout Standard
24254
24255
24256 \backslash
24257 hphantom{ }
24258 \end_layout
24259
24260 \end_inset
24261
24262
24263 \backslash
24264 vspace{1.5mm}
24265 \backslash
24266
24267 \backslash
24268 #1}}
24269 \end_layout
24270
24271 \begin_layout Standard
24272
24273 \family roman
24274 \series medium
24275 \begin_inset ERT
24276 status collapsed
24277
24278 \begin_layout Standard
24279
24280
24281 \backslash
24282 let
24283 \backslash
24284 myMarginpar
24285 \backslash
24286 marginpar
24287 \end_layout
24288
24289 \begin_layout Standard
24290
24291
24292 \backslash
24293 renewcommand{
24294 \backslash
24295 marginpar}[1]{
24296 \backslash
24297 myMarginpar{%
24298 \end_layout
24299
24300 \begin_layout Standard
24301
24302    
24303 \backslash
24304 textsf{
24305 \backslash
24306 textbf{
24307 \backslash
24308 underbar{Attention!}}}%
24309 \end_layout
24310
24311 \begin_layout Standard
24312
24313    
24314 \backslash
24315 vspace{1.5mm}
24316 \backslash
24317
24318 \backslash
24319 #1}}
24320 \end_layout
24321
24322 \end_inset
24323
24324
24325 \begin_inset Marginal
24326 status open
24327
24328 \begin_layout Standard
24329 This is a margin note with a defined heading.
24330 \end_layout
24331
24332 \end_inset
24333
24334
24335 \family default
24336 \series default
24337
24338 \begin_inset ERT
24339 status collapsed
24340
24341 \begin_layout Standard
24342
24343 [-1.5cm]
24344 \end_layout
24345
24346 \end_inset
24347
24348
24349 \family roman
24350 \series medium
24351
24352 \begin_inset ERT
24353 status collapsed
24354
24355 \begin_layout Standard
24356
24357
24358 \backslash
24359 renewcommand{
24360 \backslash
24361 marginpar}[1]{
24362 \backslash
24363 myMarginpar{#1}}
24364 \end_layout
24365
24366 \end_inset
24367
24368
24369 \family default
24370 \series default
24371
24372 \begin_inset Note Note
24373 status collapsed
24374
24375 \begin_layout Standard
24376 The margin note format is changed only for this example.
24377 \end_layout
24378
24379 \end_inset
24380
24381
24382 \end_layout
24383
24384 \begin_layout Standard
24385 \begin_inset ERT
24386 status collapsed
24387
24388 \begin_layout Standard
24389
24390
24391 \backslash
24392 else
24393 \end_layout
24394
24395 \end_inset
24396
24397
24398 \begin_inset Note Note
24399 status open
24400
24401 \begin_layout Standard
24402 The following will be displayed when the LaTeX-package 
24403 \series bold
24404 marginnote
24405 \series default
24406  is not installed:
24407 \end_layout
24408
24409 \end_inset
24410
24411
24412 \end_layout
24413
24414 \begin_layout Standard
24415 You need to install the LaTeX-package 
24416 \series bold
24417 marginnote
24418 \series default
24419  to see the following part of this section in the output.
24420 \end_layout
24421
24422 \begin_layout Standard
24423 \begin_inset ERT
24424 status collapsed
24425
24426 \begin_layout Standard
24427
24428
24429 \backslash
24430 fi
24431 \end_layout
24432
24433 \end_inset
24434
24435
24436 \end_layout
24437
24438 \begin_layout Chapter
24439 Boxes
24440 \end_layout
24441
24442 \begin_layout Section
24443 Introduction
24444 \begin_inset LatexCommand index
24445 name "Boxes ! Introduction"
24446
24447 \end_inset
24448
24449
24450 \end_layout
24451
24452 \begin_layout Standard
24453 Boxes are used to format a block of text.
24454  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24455
24456 \begin_inset LatexCommand ref
24457 reference "sec:Minipages"
24458
24459 \end_inset
24460
24461 , to frame texts, see section\InsetSpace ~
24462
24463 \begin_inset LatexCommand ref
24464 reference "sec:Framed-Boxes"
24465
24466 \end_inset
24467
24468 , to prevent words to be hyphenated, see section\InsetSpace ~
24469
24470 \begin_inset LatexCommand ref
24471 reference "sec:Prevent-Hyphenation"
24472
24473 \end_inset
24474
24475 , to align text, see section\InsetSpace ~
24476
24477 \begin_inset LatexCommand ref
24478 reference "sub:Vertical-Alignment"
24479
24480 \end_inset
24481
24482 , or to set the background color of texts, see section\InsetSpace ~
24483
24484 \begin_inset LatexCommand ref
24485 reference "sec:Colored-Boxes"
24486
24487 \end_inset
24488
24489 .
24490 \end_layout
24491
24492 \begin_layout Standard
24493 Boxes can be inserted with the menu 
24494 \family sans
24495 Insert\SpecialChar \menuseparator
24496 Box
24497 \family default
24498  or the toolbar button 
24499 \begin_inset Graphics
24500         filename ../images/box-insert.png
24501         scale 85
24502         scaleBeforeRotation
24503
24504 \end_inset
24505
24506 .
24507  A grey box with the label 
24508 \family sans
24509 Box (Minipage)
24510 \family default
24511
24512 \begin_inset Graphics
24513         filename clipart/BoxInsetDefaultQt4.png
24514         scale 85
24515         scaleBeforeRotation
24516
24517 \end_inset
24518
24519 , will be inserted.
24520  The box type can be specified by right-clicking on the box.
24521  The appearing box dialog offers the 
24522 \family sans
24523 Inner\InsetSpace ~
24524 Box
24525 \family default
24526  types 
24527 \family sans
24528 Parbox
24529 \family default
24530  and 
24531 \family sans
24532 Minipage
24533 \family default
24534 .
24535  The type 
24536 \family sans
24537 Minipage
24538 \family default
24539  is the default for new boxes and is explained in section\InsetSpace ~
24540
24541 \begin_inset LatexCommand ref
24542 reference "sec:Minipages"
24543
24544 \end_inset
24545
24546 ; the type 
24547 \family sans
24548 Parbox
24549 \family default
24550  is described in section\InsetSpace ~
24551
24552 \begin_inset LatexCommand ref
24553 reference "sec:Parboxes"
24554
24555 \end_inset
24556
24557 .
24558 \end_layout
24559
24560 \begin_layout Standard
24561 Boxes aren't numbered and can therefore not be referenced like floats or
24562  footnotes.
24563 \end_layout
24564
24565 \begin_layout Standard
24566 \begin_inset Note Greyedout
24567 status open
24568
24569 \begin_layout Standard
24570
24571 \series bold
24572 Note:
24573 \series default
24574  Boxes must not be the item in an 
24575 \family sans
24576 Itemize
24577 \family default
24578  or 
24579 \family sans
24580 Description
24581 \family default
24582  environment.
24583 \end_layout
24584
24585 \end_inset
24586
24587
24588 \end_layout
24589
24590 \begin_layout Standard
24591 \begin_inset Note Greyedout
24592 status open
24593
24594 \begin_layout Standard
24595
24596 \series bold
24597 Note:
24598 \series default
24599  For an unknown reason you can only set the 
24600 \family sans
24601 Inner\InsetSpace ~
24602 Box
24603 \family default
24604  type to 
24605 \family sans
24606 None
24607 \family default
24608  when you use a framed box.
24609  Boxes without an 
24610 \family sans
24611 Inner\InsetSpace ~
24612 Box
24613 \family default
24614  type and without frames are explained in section\InsetSpace ~
24615
24616 \begin_inset LatexCommand ref
24617 reference "sec:Prevent-Hyphenation"
24618
24619 \end_inset
24620
24621 .
24622 \end_layout
24623
24624 \end_inset
24625
24626
24627 \end_layout
24628
24629 \begin_layout Section
24630 Box Dialog
24631 \begin_inset LatexCommand label
24632 name "sec:Box-Dialog"
24633
24634 \end_inset
24635
24636
24637 \begin_inset LatexCommand index
24638 name "Boxes ! Box Dialog"
24639
24640 \end_inset
24641
24642
24643 \begin_inset LatexCommand index
24644 name "Boxes ! Alignment"
24645
24646 \end_inset
24647
24648
24649 \end_layout
24650
24651 \begin_layout Standard
24652 In the box dialog you can adjust the box geometry in the fields 
24653 \family sans
24654 Width
24655 \family default
24656  and 
24657 \family sans
24658 Height
24659 \family default
24660 .
24661  The available units for the geometry are explained in Table\InsetSpace ~
24662
24663 \begin_inset LatexCommand ref
24664 reference "tab:Units"
24665
24666 \end_inset
24667
24668 .
24669  The field 
24670 \family sans
24671 Heigth
24672 \family default
24673  offers the following additional sizes:
24674 \end_layout
24675
24676 \begin_layout Description
24677 Depth This is the plain text 
24678 \begin_inset Quotes eld
24679 \end_inset
24680
24681 height
24682 \begin_inset Quotes erd
24683 \end_inset
24684
24685 .
24686  It ignores the total depth when there are multiple text lines in the box:
24687 \newline
24688
24689 \newline
24690
24691 \newline
24692
24693 \begin_inset Box Boxed
24694 position "c"
24695 hor_pos "c"
24696 has_inner_box 1
24697 inner_pos "c"
24698 use_parbox 0
24699 width "12col%"
24700 special "none"
24701 height "1in"
24702 height_special "depth"
24703 status collapsed
24704
24705 \begin_layout Standard
24706 \align center
24707 Box height set to 1\InsetSpace \thinspace{}
24708 Depth
24709 \end_layout
24710
24711 \end_inset
24712
24713
24714 \newline
24715
24716 \newline
24717
24718 \end_layout
24719
24720 \begin_layout Description
24721 Height This is the heigth of the text that is inside the box.
24722  A value of e.\InsetSpace \thinspace{}
24723 g.\InsetSpace ~
24724 2 for this size will set the box heigth to 2 times the text
24725  height: 
24726 \begin_inset Box Boxed
24727 position "c"
24728 hor_pos "c"
24729 has_inner_box 1
24730 inner_pos "c"
24731 use_parbox 0
24732 width "20col%"
24733 special "none"
24734 height "2in"
24735 height_special "height"
24736 status collapsed
24737
24738 \begin_layout Standard
24739 \align center
24740 Box height set to 2\InsetSpace \thinspace{}
24741 Height
24742 \end_layout
24743
24744 \end_inset
24745
24746
24747 \end_layout
24748
24749 \begin_layout Description
24750 Total\InsetSpace ~
24751 Height This is the Height\InsetSpace \thinspace{}
24752 +\InsetSpace \thinspace{}
24753 Depth: 
24754 \begin_inset Box Boxed
24755 position "c"
24756 hor_pos "c"
24757 has_inner_box 1
24758 inner_pos "c"
24759 use_parbox 0
24760 width "20col%"
24761 special "none"
24762 height "1in"
24763 height_special "totalheight"
24764 status collapsed
24765
24766 \begin_layout Standard
24767 \align center
24768 Box height set to 1\InsetSpace \thinspace{}
24769 Total\InsetSpace ~
24770 Height
24771 \end_layout
24772
24773 \end_inset
24774
24775
24776 \end_layout
24777
24778 \begin_layout Description
24779 Width This sets the width of the box as heigth: 
24780 \begin_inset Box Boxed
24781 position "c"
24782 hor_pos "c"
24783 has_inner_box 1
24784 inner_pos "c"
24785 use_parbox 0
24786 width "12col%"
24787 special "none"
24788 height "1in"
24789 height_special "width"
24790 status collapsed
24791
24792 \begin_layout Standard
24793 \align center
24794 Box height set to 1\InsetSpace \thinspace{}
24795 Width
24796 \end_layout
24797
24798 \end_inset
24799
24800
24801 \end_layout
24802
24803 \begin_layout Standard
24804 \begin_inset VSpace bigskip
24805 \end_inset
24806
24807 When you have chosen an 
24808 \family sans
24809 Inner\InsetSpace ~
24810 Box
24811 \family default
24812 , the vertical box alignment can be:
24813 \end_layout
24814
24815 \begin_layout Description
24816 Top This is an example text line.
24817  
24818 \begin_inset Box Boxed
24819 position "t"
24820 hor_pos "c"
24821 has_inner_box 1
24822 inner_pos "c"
24823 use_parbox 0
24824 width "12col%"
24825 special "none"
24826 height "1in"
24827 height_special "totalheight"
24828 status collapsed
24829
24830 \begin_layout Standard
24831 \align center
24832 This box is top-aligned.
24833 \end_layout
24834
24835 \end_inset
24836
24837  This is an example text line.
24838 \end_layout
24839
24840 \begin_layout Description
24841 Middle This is an example text line.
24842  
24843 \begin_inset Box Boxed
24844 position "c"
24845 hor_pos "c"
24846 has_inner_box 1
24847 inner_pos "c"
24848 use_parbox 0
24849 width "12col%"
24850 special "none"
24851 height "1in"
24852 height_special "totalheight"
24853 status collapsed
24854
24855 \begin_layout Standard
24856 \align center
24857 This box is middle-aligned.
24858 \end_layout
24859
24860 \end_inset
24861
24862  This is an example text line.
24863 \end_layout
24864
24865 \begin_layout Description
24866 Bottom This is an example text line.
24867  
24868 \begin_inset Box Boxed
24869 position "b"
24870 hor_pos "c"
24871 has_inner_box 1
24872 inner_pos "c"
24873 use_parbox 0
24874 width "12col%"
24875 special "none"
24876 height "1in"
24877 height_special "totalheight"
24878 status collapsed
24879
24880 \begin_layout Standard
24881 \align center
24882 This box is bottom-aligned.
24883 \end_layout
24884
24885 \end_inset
24886
24887  This is an example text line.
24888 \end_layout
24889
24890 \begin_layout Standard
24891 The horizontal box alignment can be set via LyX's paragraph dialog when
24892  you set the box into its own paragraph.
24893 \end_layout
24894
24895 \begin_layout Standard
24896 \begin_inset VSpace bigskip
24897 \end_inset
24898
24899 When you have chosen an 
24900 \family sans
24901 Inner\InsetSpace ~
24902 Box
24903 \family default
24904 , the box content can be vertical aligned to:
24905 \end_layout
24906
24907 \begin_layout Description
24908 top This is an example text line.
24909  
24910 \begin_inset Box Boxed
24911 position "c"
24912 hor_pos "c"
24913 has_inner_box 1
24914 inner_pos "t"
24915 use_parbox 0
24916 width "12col%"
24917 special "none"
24918 height "1.5in"
24919 height_special "totalheight"
24920 status collapsed
24921
24922 \begin_layout Standard
24923 \align center
24924 This box text is top-aligned.
24925 \end_layout
24926
24927 \end_inset
24928
24929  This is an example text line.
24930 \end_layout
24931
24932 \begin_layout Description
24933 middle This is an example text line.
24934  
24935 \begin_inset Box Boxed
24936 position "c"
24937 hor_pos "c"
24938 has_inner_box 1
24939 inner_pos "c"
24940 use_parbox 0
24941 width "12col%"
24942 special "none"
24943 height "1.5in"
24944 height_special "totalheight"
24945 status collapsed
24946
24947 \begin_layout Standard
24948 \align center
24949 This box text is middle-aligned.
24950 \end_layout
24951
24952 \end_inset
24953
24954  This is an example text line.
24955 \end_layout
24956
24957 \begin_layout Description
24958 bottom This is an example text line.
24959  
24960 \begin_inset Box Boxed
24961 position "c"
24962 hor_pos "c"
24963 has_inner_box 1
24964 inner_pos "b"
24965 use_parbox 0
24966 width "12col%"
24967 special "none"
24968 height "1.5in"
24969 height_special "totalheight"
24970 status collapsed
24971
24972 \begin_layout Standard
24973 \align center
24974 This box text is bottom-aligned.
24975 \end_layout
24976
24977 \end_inset
24978
24979  This is an example text line.
24980 \end_layout
24981
24982 \begin_layout Description
24983 stretch This is an example text line.
24984  
24985 \begin_inset Box Boxed
24986 position "c"
24987 hor_pos "c"
24988 has_inner_box 1
24989 inner_pos "s"
24990 use_parbox 0
24991 width "12col%"
24992 special "none"
24993 height "1.5in"
24994 height_special "totalheight"
24995 status collapsed
24996
24997 \begin_layout Standard
24998 \align center
24999 This box
25000 \end_layout
25001
25002 \begin_layout Standard
25003 \align center
25004 text is
25005 \end_layout
25006
25007 \begin_layout Standard
25008 \align center
25009 stretched.
25010 \end_layout
25011
25012 \end_inset
25013
25014  This is an example text line.
25015 \end_layout
25016
25017 \begin_layout Standard
25018 To stretch the box content, it must consist of more than one paragraph.
25019  In the example above every text line is in an own paragraph.
25020 \end_layout
25021
25022 \begin_layout Standard
25023 \begin_inset VSpace bigskip
25024 \end_inset
25025
25026 To align the box content horizontally you can use LyX's paragraph dialog
25027  when you have chosen an 
25028 \family sans
25029 Inner\InsetSpace ~
25030 Box
25031 \family default
25032 .
25033 \end_layout
25034
25035 \begin_layout Standard
25036 \align center
25037 \begin_inset Box Boxed
25038 position "c"
25039 hor_pos "c"
25040 has_inner_box 1
25041 inner_pos "s"
25042 use_parbox 0
25043 width "15col%"
25044 special "none"
25045 height "1.25in"
25046 height_special "totalheight"
25047 status collapsed
25048
25049 \begin_layout Standard
25050 \align left
25051 This box
25052 \end_layout
25053
25054 \begin_layout Standard
25055 \align center
25056 text is
25057 \end_layout
25058
25059 \begin_layout Standard
25060 \align right
25061 stretched.
25062 \end_layout
25063
25064 \end_inset
25065
25066
25067 \end_layout
25068
25069 \begin_layout Standard
25070 If you haven't set an 
25071 \family sans
25072 Inner\InsetSpace ~
25073 Box
25074 \family default
25075 , you can align the box content horizontally in the box dialog.
25076 \end_layout
25077
25078 \begin_layout Standard
25079 \align center
25080 \begin_inset Box Boxed
25081 position "c"
25082 hor_pos "s"
25083 has_inner_box 0
25084 inner_pos "s"
25085 use_parbox 0
25086 width "90col%"
25087 special "none"
25088 height "1.25in"
25089 height_special "totalheight"
25090 status collapsed
25091
25092 \begin_layout Standard
25093 \align left
25094 This box text is horizontally stretched.
25095 \end_layout
25096
25097 \end_inset
25098
25099
25100 \end_layout
25101
25102 \begin_layout Section
25103 Framed Boxes
25104 \begin_inset LatexCommand label
25105 name "sec:Framed-Boxes"
25106
25107 \end_inset
25108
25109
25110 \begin_inset LatexCommand index
25111 name "Boxes ! Frames"
25112
25113 \end_inset
25114
25115
25116 \end_layout
25117
25118 \begin_layout Standard
25119 The frame style of the box can be specified in the box-dialog in the drop-down
25120  list 
25121 \family sans
25122 Type
25123 \family default
25124 .
25125  The following frame types are possible:
25126 \end_layout
25127
25128 \begin_layout Description
25129 Rectangular\InsetSpace ~
25130 box This draws a rectangle frame around the box.
25131  The frame line thickness has the size of 
25132 \series bold
25133
25134 \backslash
25135 fboxrule
25136 \series default
25137 .
25138  
25139 \begin_inset Box Boxed
25140 position "c"
25141 hor_pos "c"
25142 has_inner_box 1
25143 inner_pos "c"
25144 use_parbox 0
25145 width "20col%"
25146 special "none"
25147 height "1in"
25148 height_special "totalheight"
25149 status collapsed
25150
25151 \begin_layout Standard
25152 \align center
25153 Rectangular box
25154 \end_layout
25155
25156 \end_inset
25157
25158
25159 \end_layout
25160
25161 \begin_layout Description
25162 Oval\InsetSpace ~
25163 box,\InsetSpace ~
25164 thin This draws an oval frame around the box.
25165  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
25166 pt.
25167  
25168 \begin_inset Box ovalbox
25169 position "c"
25170 hor_pos "c"
25171 has_inner_box 1
25172 inner_pos "c"
25173 use_parbox 0
25174 width "20col%"
25175 special "none"
25176 height "1in"
25177 height_special "totalheight"
25178 status collapsed
25179
25180 \begin_layout Standard
25181 \align center
25182 Oval box, thin
25183 \end_layout
25184
25185 \end_inset
25186
25187
25188 \end_layout
25189
25190 \begin_layout Description
25191 Oval\InsetSpace ~
25192 box,\InsetSpace ~
25193 thick This draws an oval frame around the box.
25194  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25195 pt.
25196  
25197 \begin_inset Box Ovalbox
25198 position "c"
25199 hor_pos "c"
25200 has_inner_box 1
25201 inner_pos "c"
25202 use_parbox 0
25203 width "20col%"
25204 special "none"
25205 height "1in"
25206 height_special "totalheight"
25207 status collapsed
25208
25209 \begin_layout Standard
25210 \align center
25211 Oval box, thick
25212 \end_layout
25213
25214 \end_inset
25215
25216
25217 \end_layout
25218
25219 \begin_layout Description
25220 Shadow\InsetSpace ~
25221 box This draws a rectangle frame with a shadow around the box.
25222  The frame line thickness has the size of 
25223 \series bold
25224
25225 \backslash
25226 fboxrule
25227 \series default
25228 , the shadow has a width of 4\InsetSpace \thinspace{}
25229 pt.
25230  
25231 \begin_inset Box Shadowbox
25232 position "c"
25233 hor_pos "c"
25234 has_inner_box 1
25235 inner_pos "c"
25236 use_parbox 0
25237 width "20col%"
25238 special "none"
25239 height "1in"
25240 height_special "totalheight"
25241 status collapsed
25242
25243 \begin_layout Standard
25244 \align center
25245 Shadow box
25246 \end_layout
25247
25248 \end_inset
25249
25250
25251 \end_layout
25252
25253 \begin_layout Description
25254 Double\InsetSpace ~
25255 box This draws a double-line rectangle frame around the box.
25256  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25257
25258 \series bold
25259
25260 \backslash
25261 fboxrule
25262 \series default
25263 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25264
25265 \series bold
25266
25267 \backslash
25268 fboxrule
25269 \series default
25270 .
25271  The distance between the lines is 1.5\InsetSpace \thinspace{}
25272
25273 \series bold
25274
25275 \backslash
25276 fboxrule
25277 \series default
25278 \InsetSpace \thinspace{}
25279 +\InsetSpace \thinspace{}
25280 0.5\InsetSpace \thinspace{}
25281 pt.
25282  
25283 \begin_inset Box Doublebox
25284 position "c"
25285 hor_pos "c"
25286 has_inner_box 1
25287 inner_pos "c"
25288 use_parbox 0
25289 width "20col%"
25290 special "none"
25291 height "1in"
25292 height_special "totalheight"
25293 status collapsed
25294
25295 \begin_layout Standard
25296 \align center
25297 Double box
25298 \end_layout
25299
25300 \end_inset
25301
25302
25303 \end_layout
25304
25305 \begin_layout Standard
25306 \begin_inset VSpace bigskip
25307 \end_inset
25308
25309 LyX's box label will change to the used frame style when you set a frame.
25310  To be able to use the different frame styles, the LaTeX-package 
25311 \series bold
25312 fancybox
25313 \series default
25314
25315 \begin_inset LatexCommand index
25316 name "LaTeX-packages ! fancybox"
25317
25318 \end_inset
25319
25320  must be installed.
25321 \end_layout
25322
25323 \begin_layout Standard
25324 \begin_inset VSpace bigskip
25325 \end_inset
25326
25327 The default value for the size 
25328 \series bold
25329
25330 \backslash
25331 fboxrule
25332 \series default
25333  is 0.4\InsetSpace \thinspace{}
25334 pt.
25335  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25336 g.\InsetSpace ~
25337 2\InsetSpace \thinspace{}
25338 pt:
25339 \end_layout
25340
25341 \begin_layout Standard
25342
25343 \series bold
25344
25345 \backslash
25346 setlength{
25347 \backslash
25348 fboxrule}{2pt}
25349 \end_layout
25350
25351 \begin_layout Standard
25352 \begin_inset ERT
25353 status collapsed
25354
25355 \begin_layout Standard
25356
25357
25358 \backslash
25359 setlength{
25360 \backslash
25361 fboxrule}{2pt}
25362 \end_layout
25363
25364 \end_inset
25365
25366
25367 \begin_inset Box Boxed
25368 position "c"
25369 hor_pos "c"
25370 has_inner_box 1
25371 inner_pos "c"
25372 use_parbox 0
25373 width "25col%"
25374 special "none"
25375 height "1in"
25376 height_special "totalheight"
25377 status collapsed
25378
25379 \begin_layout Standard
25380 \align center
25381 Rectangular box with 
25382 \series bold
25383
25384 \backslash
25385 fboxrule
25386 \series default
25387 \InsetSpace \thinspace{}
25388 =\InsetSpace \thinspace{}
25389 2\InsetSpace \thinspace{}
25390 pt
25391 \end_layout
25392
25393 \end_inset
25394
25395
25396 \begin_inset ERT
25397 status collapsed
25398
25399 \begin_layout Standard
25400
25401
25402 \backslash
25403 setlength{
25404 \backslash
25405 fboxrule}{0.4pt}
25406 \end_layout
25407
25408 \end_inset
25409
25410
25411 \end_layout
25412
25413 \begin_layout Standard
25414 \begin_inset VSpace bigskip
25415 \end_inset
25416
25417 The space between the frame and the box content is for all frame styles
25418  by default 3\InsetSpace \thinspace{}
25419 pt.
25420  You can change it by setting the length 
25421 \series bold
25422
25423 \backslash
25424 fboxsep
25425 \series default
25426  to another value.
25427  For example the command
25428 \end_layout
25429
25430 \begin_layout Standard
25431
25432 \series bold
25433
25434 \backslash
25435 setlength{
25436 \backslash
25437 fboxsep}{10pt}
25438 \end_layout
25439
25440 \begin_layout Standard
25441 sets the value to 10\InsetSpace \thinspace{}
25442 pt, like for the following box:
25443 \end_layout
25444
25445 \begin_layout Standard
25446 \begin_inset ERT
25447 status collapsed
25448
25449 \begin_layout Standard
25450
25451
25452 \backslash
25453 setlength{
25454 \backslash
25455 fboxsep}{10pt}
25456 \end_layout
25457
25458 \end_inset
25459
25460
25461 \begin_inset Box Boxed
25462 position "c"
25463 hor_pos "c"
25464 has_inner_box 1
25465 inner_pos "c"
25466 use_parbox 0
25467 width "25col%"
25468 special "none"
25469 height "1in"
25470 height_special "totalheight"
25471 status collapsed
25472
25473 \begin_layout Standard
25474 \align center
25475 Rectangular box with 
25476 \series bold
25477
25478 \backslash
25479 fboxsep
25480 \series default
25481 \InsetSpace \thinspace{}
25482 =\InsetSpace \thinspace{}
25483 10\InsetSpace \thinspace{}
25484 pt
25485 \end_layout
25486
25487 \end_inset
25488
25489
25490 \begin_inset ERT
25491 status collapsed
25492
25493 \begin_layout Standard
25494
25495
25496 \backslash
25497 setlength{
25498 \backslash
25499 fboxsep}{3pt}
25500 \end_layout
25501
25502 \end_inset
25503
25504
25505 \end_layout
25506
25507 \begin_layout Standard
25508 \begin_inset VSpace bigskip
25509 \end_inset
25510
25511 The diameter of the round corners of the oval boxes can be set with the
25512  command 
25513 \series bold
25514
25515 \backslash
25516 cornersize
25517 \series default
25518 .
25519  The command
25520 \end_layout
25521
25522 \begin_layout Standard
25523
25524 \series bold
25525
25526 \backslash
25527 cornersize*{1cm}
25528 \end_layout
25529
25530 \begin_layout Standard
25531 sets the diameter to 1\InsetSpace \thinspace{}
25532 cm.
25533  The command
25534 \end_layout
25535
25536 \begin_layout Standard
25537
25538 \series bold
25539
25540 \backslash
25541 cornersize{num}
25542 \end_layout
25543
25544 \begin_layout Standard
25545 sets the diameter to 
25546 \family sans
25547 num\InsetSpace \thinspace{}
25548 ×\InsetSpace \thinspace{}
25549 minimum(width and heigth of box)
25550 \family default
25551 .
25552  The default is 
25553 \series bold
25554
25555 \backslash
25556 cornersize{0.5}
25557 \series default
25558 .
25559 \end_layout
25560
25561 \begin_layout Standard
25562 \begin_inset ERT
25563 status collapsed
25564
25565 \begin_layout Standard
25566
25567
25568 \backslash
25569 cornersize*{1.5cm}
25570 \end_layout
25571
25572 \end_inset
25573
25574
25575 \begin_inset Box Ovalbox
25576 position "c"
25577 hor_pos "c"
25578 has_inner_box 1
25579 inner_pos "c"
25580 use_parbox 0
25581 width "25col%"
25582 special "none"
25583 height "1in"
25584 height_special "totalheight"
25585 status collapsed
25586
25587 \begin_layout Standard
25588 \align center
25589 Oval box with 
25590 \series bold
25591
25592 \backslash
25593 cornersize
25594 \series default
25595 \InsetSpace \thinspace{}
25596 =\InsetSpace \thinspace{}
25597 1.5\InsetSpace \thinspace{}
25598 cm
25599 \end_layout
25600
25601 \end_inset
25602
25603
25604 \begin_inset ERT
25605 status collapsed
25606
25607 \begin_layout Standard
25608
25609
25610 \backslash
25611 cornersize{0.5}
25612 \end_layout
25613
25614 \end_inset
25615
25616
25617 \end_layout
25618
25619 \begin_layout Standard
25620 \begin_inset VSpace bigskip
25621 \end_inset
25622
25623 The size of the shadow can be adjusted by changing the length 
25624 \series bold
25625
25626 \backslash
25627 shadowsize
25628 \series default
25629 .
25630  It it set to 2\InsetSpace \thinspace{}
25631 pt for the following box by this command:
25632 \end_layout
25633
25634 \begin_layout Standard
25635
25636 \series bold
25637
25638 \backslash
25639 setlength{
25640 \backslash
25641 shadowsize}{2pt}
25642 \end_layout
25643
25644 \begin_layout Standard
25645 \begin_inset ERT
25646 status collapsed
25647
25648 \begin_layout Standard
25649
25650
25651 \backslash
25652 setlength{
25653 \backslash
25654 shadowsize}{2pt}
25655 \end_layout
25656
25657 \end_inset
25658
25659
25660 \begin_inset Box Shadowbox
25661 position "c"
25662 hor_pos "c"
25663 has_inner_box 1
25664 inner_pos "c"
25665 use_parbox 0
25666 width "25col%"
25667 special "none"
25668 height "1in"
25669 height_special "totalheight"
25670 status collapsed
25671
25672 \begin_layout Standard
25673 \align center
25674 Shadow box with 
25675 \series bold
25676
25677 \backslash
25678 shadowsize
25679 \series default
25680 \InsetSpace \thinspace{}
25681 =\InsetSpace \thinspace{}
25682 2\InsetSpace \thinspace{}
25683 pt
25684 \end_layout
25685
25686 \end_inset
25687
25688
25689 \begin_inset ERT
25690 status collapsed
25691
25692 \begin_layout Standard
25693
25694
25695 \backslash
25696 setlength{
25697 \backslash
25698 shadowsize}{4pt}
25699 \end_layout
25700
25701 \end_inset
25702
25703
25704 \end_layout
25705
25706 \begin_layout Standard
25707 \begin_inset VSpace bigskip
25708 \end_inset
25709
25710 Changed lengths and widths are valid for all boxes following the commands
25711  that change them.
25712 \end_layout
25713
25714 \begin_layout Section
25715 Minipages
25716 \begin_inset LatexCommand label
25717 name "sec:Minipages"
25718
25719 \end_inset
25720
25721
25722 \begin_inset LatexCommand index
25723 name "Boxes ! Minipages"
25724
25725 \end_inset
25726
25727
25728 \end_layout
25729
25730 \begin_layout Standard
25731 Minipages are treated by LaTeX as pages within pages and can therefore for
25732  example have their own footnotes.
25733 \end_layout
25734
25735 \begin_layout Standard
25736 Minipages are useful when you write documents with different languages.
25737 \end_layout
25738
25739 \begin_layout Standard
25740 Below are two example minipages side by side.
25741  Their width is set to 45\InsetSpace \thinspace{}
25742 col% and they are separated by a horizontal fill,
25743  that was inserted via the menu 
25744 \family sans
25745 Insert\SpecialChar \menuseparator
25746 Special\InsetSpace ~
25747 Formatting\SpecialChar \menuseparator
25748 Horizontal\InsetSpace ~
25749 Fill
25750 \family default
25751 .
25752 \end_layout
25753
25754 \begin_layout Standard
25755 \begin_inset Box Frameless
25756 position "t"
25757 hor_pos "c"
25758 has_inner_box 1
25759 inner_pos "c"
25760 use_parbox 0
25761 width "45col%"
25762 special "none"
25763 height "1in"
25764 height_special "totalheight"
25765 status open
25766
25767 \begin_layout Standard
25768
25769 \lang german
25770 Dies ist ein deutscher Text.
25771  Dies ist ein deutscher Text.
25772  Dies ist ein deutscher Text.
25773  Dies ist ein deutscher Text.
25774  Dies ist ein deutscher Text.
25775  Dies ist ein deutscher Text.
25776  Dies ist ein deutscher Text.
25777  Dies ist ein deutscher Text.
25778  Dies ist ein deutscher Text.
25779  Dies ist ein deutscher Text.
25780  Dies ist ein deutscher Text.
25781  Dies ist ein deutscher Text.
25782  Dies ist ein deutscher Text
25783 \begin_inset Foot
25784 status collapsed
25785
25786 \begin_layout Standard
25787
25788 \lang german
25789 Dies ist eine deutsche Fußnote.
25790 \end_layout
25791
25792 \end_inset
25793
25794 .
25795  Dies ist ein deutscher Text.
25796  Dies ist ein deutscher Text.
25797 \end_layout
25798
25799 \end_inset
25800
25801
25802 \hfill
25803
25804 \begin_inset Box Frameless
25805 position "t"
25806 hor_pos "c"
25807 has_inner_box 1
25808 inner_pos "c"
25809 use_parbox 0
25810 width "45col%"
25811 special "none"
25812 height "1in"
25813 height_special "totalheight"
25814 status open
25815
25816 \begin_layout Standard
25817 This is an English Text.
25818  This is an English Text.
25819  This is an English Text.
25820  This is an English Text.
25821  This is an English Text.
25822  This is an English Text.
25823  This is an English Text.
25824  This is an English Text.
25825  This is an English Text.
25826  This is an English Text.
25827  This is an English Text.
25828  This is an English Text.
25829  This is an English Text.
25830  This is an English Text.
25831  This is an English Text.
25832  This is an English Text.
25833 \begin_inset Foot
25834 status collapsed
25835
25836 \begin_layout Standard
25837 This is an English footnote.
25838 \end_layout
25839
25840 \end_inset
25841
25842  This is an English Text.
25843  
25844 \end_layout
25845
25846 \end_inset
25847
25848
25849 \end_layout
25850
25851 \begin_layout Standard
25852 \begin_inset VSpace bigskip
25853 \end_inset
25854
25855 Another application for minipages are footnotes within tables.
25856  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25857  bottom of the current page.
25858  But when you put the table with the footnote to a minipage, the footnote
25859  will appear at its bottom, numbered with Latin letters.
25860  The footnote number is reset to 1 in every minipage but not outside the
25861  minipages.
25862 \end_layout
25863
25864 \begin_layout Standard
25865 The footnote of this table doesn't appear: 
25866 \begin_inset Tabular
25867 <lyxtabular version="3" rows="3" columns="4">
25868 <features>
25869 <column alignment="center" valignment="top" leftline="true" width="0pt">
25870 <column alignment="center" valignment="top" leftline="true" width="0pt">
25871 <column alignment="center" valignment="top" leftline="true" width="0pt">
25872 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25873 <row topline="true">
25874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25875 \begin_inset Text
25876
25877 \begin_layout Standard
25878 1
25879 \end_layout
25880
25881 \end_inset
25882 </cell>
25883 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25884 \begin_inset Text
25885
25886 \begin_layout Standard
25887 2
25888 \end_layout
25889
25890 \end_inset
25891 </cell>
25892 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25893 \begin_inset Text
25894
25895 \begin_layout Standard
25896 3
25897 \begin_inset Foot
25898 status collapsed
25899
25900 \begin_layout Standard
25901 This is a footnote within a table.
25902 \end_layout
25903
25904 \end_inset
25905
25906
25907 \end_layout
25908
25909 \end_inset
25910 </cell>
25911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25912 \begin_inset Text
25913
25914 \begin_layout Standard
25915 4
25916 \end_layout
25917
25918 \end_inset
25919 </cell>
25920 </row>
25921 <row topline="true">
25922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25923 \begin_inset Text
25924
25925 \begin_layout Standard
25926 a
25927 \end_layout
25928
25929 \end_inset
25930 </cell>
25931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25932 \begin_inset Text
25933
25934 \begin_layout Standard
25935 b
25936 \end_layout
25937
25938 \end_inset
25939 </cell>
25940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25941 \begin_inset Text
25942
25943 \begin_layout Standard
25944 c
25945 \end_layout
25946
25947 \end_inset
25948 </cell>
25949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25950 \begin_inset Text
25951
25952 \begin_layout Standard
25953 d
25954 \end_layout
25955
25956 \end_inset
25957 </cell>
25958 </row>
25959 <row topline="true" bottomline="true">
25960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25961 \begin_inset Text
25962
25963 \begin_layout Standard
25964 e
25965 \end_layout
25966
25967 \end_inset
25968 </cell>
25969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25970 \begin_inset Text
25971
25972 \begin_layout Standard
25973 f
25974 \end_layout
25975
25976 \end_inset
25977 </cell>
25978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25979 \begin_inset Text
25980
25981 \begin_layout Standard
25982 g
25983 \end_layout
25984
25985 \end_inset
25986 </cell>
25987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25988 \begin_inset Text
25989
25990 \begin_layout Standard
25991 h
25992 \end_layout
25993
25994 \end_inset
25995 </cell>
25996 </row>
25997 </lyxtabular>
25998
25999 \end_inset
26000
26001
26002 \end_layout
26003
26004 \begin_layout Standard
26005 \align center
26006 \begin_inset Box Frameless
26007 position "t"
26008 hor_pos "c"
26009 has_inner_box 1
26010 inner_pos "c"
26011 use_parbox 0
26012 width "30col%"
26013 special "none"
26014 height "1in"
26015 height_special "totalheight"
26016 status open
26017
26018 \begin_layout Standard
26019 \align center
26020 \begin_inset Tabular
26021 <lyxtabular version="3" rows="3" columns="4">
26022 <features>
26023 <column alignment="center" valignment="top" leftline="true" width="0pt">
26024 <column alignment="center" valignment="top" leftline="true" width="0pt">
26025 <column alignment="center" valignment="top" leftline="true" width="0pt">
26026 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
26027 <row topline="true">
26028 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26029 \begin_inset Text
26030
26031 \begin_layout Standard
26032 1
26033 \end_layout
26034
26035 \end_inset
26036 </cell>
26037 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26038 \begin_inset Text
26039
26040 \begin_layout Standard
26041 2
26042 \end_layout
26043
26044 \end_inset
26045 </cell>
26046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26047 \begin_inset Text
26048
26049 \begin_layout Standard
26050 3
26051 \begin_inset Foot
26052 status collapsed
26053
26054 \begin_layout Standard
26055 This is a footnote within a table.
26056 \end_layout
26057
26058 \end_inset
26059
26060
26061 \end_layout
26062
26063 \end_inset
26064 </cell>
26065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26066 \begin_inset Text
26067
26068 \begin_layout Standard
26069 4
26070 \end_layout
26071
26072 \end_inset
26073 </cell>
26074 </row>
26075 <row topline="true">
26076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26077 \begin_inset Text
26078
26079 \begin_layout Standard
26080 a
26081 \end_layout
26082
26083 \end_inset
26084 </cell>
26085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26086 \begin_inset Text
26087
26088 \begin_layout Standard
26089 b
26090 \end_layout
26091
26092 \end_inset
26093 </cell>
26094 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26095 \begin_inset Text
26096
26097 \begin_layout Standard
26098 c
26099 \end_layout
26100
26101 \end_inset
26102 </cell>
26103 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26104 \begin_inset Text
26105
26106 \begin_layout Standard
26107 d
26108 \end_layout
26109
26110 \end_inset
26111 </cell>
26112 </row>
26113 <row topline="true" bottomline="true">
26114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26115 \begin_inset Text
26116
26117 \begin_layout Standard
26118 e
26119 \end_layout
26120
26121 \end_inset
26122 </cell>
26123 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26124 \begin_inset Text
26125
26126 \begin_layout Standard
26127 f
26128 \end_layout
26129
26130 \end_inset
26131 </cell>
26132 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26133 \begin_inset Text
26134
26135 \begin_layout Standard
26136 g
26137 \end_layout
26138
26139 \end_inset
26140 </cell>
26141 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26142 \begin_inset Text
26143
26144 \begin_layout Standard
26145 h
26146 \end_layout
26147
26148 \end_inset
26149 </cell>
26150 </row>
26151 </lyxtabular>
26152
26153 \end_inset
26154
26155
26156 \end_layout
26157
26158 \end_inset
26159
26160
26161 \end_layout
26162
26163 \begin_layout Standard
26164 \begin_inset VSpace bigskip
26165 \end_inset
26166
26167 The document-wide paragraph settings are ignored within minipages.
26168  That means that there will be no space between paragraphs in minipages
26169  although you set it to e.\InsetSpace \thinspace{}
26170 g.\InsetSpace ~
26171
26172 \family sans
26173 MedSkip
26174 \family default
26175  in the document settings.
26176 \end_layout
26177
26178 \begin_layout Standard
26179 Minipages can also be used to set a background color for text parts, see
26180  section\InsetSpace ~
26181
26182 \begin_inset LatexCommand ref
26183 reference "sub:Color-for-Paragraphs"
26184
26185 \end_inset
26186
26187 .
26188 \end_layout
26189
26190 \begin_layout Standard
26191 \begin_inset Note Greyedout
26192 status open
26193
26194 \begin_layout Standard
26195
26196 \series bold
26197 Note:
26198 \series default
26199  You cannot have floats or margin notes inside minipages but minipages can
26200  be used inside tables, floats, and other boxes.
26201 \end_layout
26202
26203 \end_inset
26204
26205
26206 \end_layout
26207
26208 \begin_layout Section
26209 Parboxes
26210 \begin_inset LatexCommand label
26211 name "sec:Parboxes"
26212
26213 \end_inset
26214
26215
26216 \begin_inset LatexCommand index
26217 name "Boxes ! Parboxes"
26218
26219 \end_inset
26220
26221
26222 \end_layout
26223
26224 \begin_layout Standard
26225 Parboxes are very similar to minipages with the difference that they cannot
26226  have footnotes.
26227  The main difference to minipages is that minipages are in contrary to parboxes
26228  no real boxes but LaTeX-environments.
26229 \end_layout
26230
26231 \begin_layout Standard
26232 \align center
26233 \begin_inset Box Frameless
26234 position "t"
26235 hor_pos "c"
26236 has_inner_box 1
26237 inner_pos "t"
26238 use_parbox 1
26239 width "33col%"
26240 special "none"
26241 height "1in"
26242 height_special "totalheight"
26243 status collapsed
26244
26245 \begin_layout Standard
26246 This a text within a parbox.
26247  This a text within a parbox.
26248 \end_layout
26249
26250 \begin_layout Standard
26251 This footnote won't appear:
26252 \begin_inset Foot
26253 status collapsed
26254
26255 \begin_layout Standard
26256 This footnote is inside a parbox and will therefore not appear.
26257 \end_layout
26258
26259 \end_inset
26260
26261
26262 \end_layout
26263
26264 \end_inset
26265
26266
26267 \end_layout
26268
26269 \begin_layout Section
26270 Boxes for Words and Characters
26271 \begin_inset LatexCommand index
26272 name "Boxes ! for Characters"
26273
26274 \end_inset
26275
26276
26277 \end_layout
26278
26279 \begin_layout Subsection
26280 Prevent Hyphenation
26281 \begin_inset LatexCommand label
26282 name "sec:Prevent-Hyphenation"
26283
26284 \end_inset
26285
26286
26287 \begin_inset LatexCommand index
26288 name "Boxes ! to Prevent Hyphenation"
26289
26290 \end_inset
26291
26292
26293 \end_layout
26294
26295 \begin_layout Standard
26296 You can use a special kind of boxes to prevent words or text to be hyphenated.
26297 \newline
26298 Her
26299 e is an example text:
26300 \end_layout
26301
26302 \begin_layout Standard
26303 This line is an example to show how you can prevent the hyphenation of 
26304 \begin_inset Quotes eld
26305 \end_inset
26306
26307 veryverylongword
26308 \begin_inset Quotes erd
26309 \end_inset
26310
26311 .
26312 \end_layout
26313
26314 \begin_layout Standard
26315 To prevent the hyphenation of the word 
26316 \begin_inset Quotes eld
26317 \end_inset
26318
26319 veryverylongword
26320 \begin_inset Quotes erd
26321 \end_inset
26322
26323 , add the command
26324 \end_layout
26325
26326 \begin_layout Standard
26327
26328 \series bold
26329
26330 \backslash
26331 mbox{
26332 \end_layout
26333
26334 \begin_layout Standard
26335 in TeX-Code before the word.
26336  Behind the word insert a closing brace 
26337 \begin_inset Quotes eld
26338 \end_inset
26339
26340
26341 \series bold
26342 }
26343 \series default
26344
26345 \begin_inset Quotes erd
26346 \end_inset
26347
26348  in TeX-Code.
26349 \begin_inset ERT
26350 status collapsed
26351
26352 \begin_layout Standard
26353
26354
26355 \backslash
26356 pagebreak 
26357 \end_layout
26358
26359 \end_inset
26360
26361
26362 \end_layout
26363
26364 \begin_layout Standard
26365 This is the result:
26366 \end_layout
26367
26368 \begin_layout Standard
26369 This line is an example to show how you can prevent the hyphenation of 
26370 \begin_inset ERT
26371 status collapsed
26372
26373 \begin_layout Standard
26374
26375
26376 \backslash
26377 mbox{
26378 \end_layout
26379
26380 \end_inset
26381
26382
26383 \begin_inset Quotes eld
26384 \end_inset
26385
26386 veryverylongword
26387 \begin_inset Quotes erd
26388 \end_inset
26389
26390 .
26391 \begin_inset ERT
26392 status collapsed
26393
26394 \begin_layout Standard
26395
26396 }
26397 \end_layout
26398
26399 \end_inset
26400
26401
26402 \end_layout
26403
26404 \begin_layout Standard
26405 You can alternatively set the command 
26406 \begin_inset Quotes eld
26407 \end_inset
26408
26409
26410 \series bold
26411
26412 \backslash
26413 -
26414 \series default
26415
26416 \begin_inset Quotes grd
26417 \end_inset
26418
26419  as TeX-Code directly before the word:
26420 \end_layout
26421
26422 \begin_layout Standard
26423 This line is an example to show how you can prevent the hyphenation of 
26424 \begin_inset Quotes eld
26425 \end_inset
26426
26427
26428 \begin_inset ERT
26429 status collapsed
26430
26431 \begin_layout Standard
26432
26433
26434 \backslash
26435 -
26436 \end_layout
26437
26438 \end_inset
26439
26440 veryverylongword
26441 \begin_inset Quotes erd
26442 \end_inset
26443
26444 .
26445 \end_layout
26446
26447 \begin_layout Standard
26448 Of course the word now protrudes over the side margin.
26449  To avoid this, add via the menu 
26450 \family sans
26451 Insert\SpecialChar \menuseparator
26452 Special\InsetSpace ~
26453 Formatting\SpecialChar \menuseparator
26454 Line\InsetSpace ~
26455 Break
26456 \family default
26457  (shortcut 
26458 \series bold
26459 Ctrl-Return
26460 \series default
26461 ) a line break before the word:
26462 \end_layout
26463
26464 \begin_layout Standard
26465 This line is an example to show how you can prevent the hyphenation of 
26466 \newline
26467
26468 \begin_inset ERT
26469 status collapsed
26470
26471 \begin_layout Standard
26472
26473
26474 \backslash
26475 mbox{
26476 \end_layout
26477
26478 \end_inset
26479
26480
26481 \begin_inset Quotes eld
26482 \end_inset
26483
26484 veryverylongword
26485 \begin_inset Quotes erd
26486 \end_inset
26487
26488 .
26489 \begin_inset ERT
26490 status collapsed
26491
26492 \begin_layout Standard
26493
26494 }
26495 \end_layout
26496
26497 \end_inset
26498
26499
26500 \end_layout
26501
26502 \begin_layout Subsection
26503 Vertical Alignment
26504 \begin_inset LatexCommand label
26505 name "sub:Vertical-Alignment"
26506
26507 \end_inset
26508
26509
26510 \begin_inset LatexCommand index
26511 name "Boxes ! for Vertical Alignment"
26512
26513 \end_inset
26514
26515
26516 \begin_inset LatexCommand index
26517 name "Boxes ! Raiseboxes"
26518
26519 \end_inset
26520
26521
26522 \end_layout
26523
26524 \begin_layout Standard
26525 With the help of the command 
26526 \series bold
26527
26528 \backslash
26529 raisebox
26530 \series default
26531  you can align words, characters or other boxes vertically to the surrounding
26532  text.
26533  
26534 \series bold
26535
26536 \backslash
26537 raisebox
26538 \series default
26539  is used with the following scheme:
26540 \end_layout
26541
26542 \begin_layout Standard
26543
26544 \series bold
26545
26546 \backslash
26547 raisebox{lift}[height][depth]{box content}
26548 \end_layout
26549
26550 \begin_layout Standard
26551 The lift can be a positive value to raise the box or a negative value to
26552  lower the box.
26553 \end_layout
26554
26555 \begin_layout Standard
26556 To align for example the word 
26557 \begin_inset Quotes eld
26558 \end_inset
26559
26560 preventing
26561 \begin_inset Quotes erd
26562 \end_inset
26563
26564  so that the bottom of the 
26565 \begin_inset Quotes eld
26566 \end_inset
26567
26568 deepest
26569 \begin_inset Quotes erd
26570 \end_inset
26571
26572  character 
26573 \begin_inset Quotes eld
26574 \end_inset
26575
26576 p
26577 \begin_inset Quotes erd
26578 \end_inset
26579
26580  is at the baseline, insert the command
26581 \end_layout
26582
26583 \begin_layout Standard
26584
26585 \series bold
26586
26587 \backslash
26588 raisebox{
26589 \backslash
26590 depth}{
26591 \end_layout
26592
26593 \begin_layout Standard
26594 in TeX-Code before the word.
26595  Behind the word insert a closing brace 
26596 \begin_inset Quotes eld
26597 \end_inset
26598
26599
26600 \series bold
26601 }
26602 \series default
26603
26604 \begin_inset Quotes erd
26605 \end_inset
26606
26607  in TeX-Code.
26608 \newline
26609 This is the result:
26610 \end_layout
26611
26612 \begin_layout Standard
26613 This is a text line with the word 
26614 \begin_inset ERT
26615 status collapsed
26616
26617 \begin_layout Standard
26618
26619
26620 \backslash
26621 raisebox{
26622 \backslash
26623 depth}{
26624 \end_layout
26625
26626 \end_inset
26627
26628
26629 \begin_inset Quotes eld
26630 \end_inset
26631
26632 preventing
26633 \begin_inset Quotes erd
26634 \end_inset
26635
26636
26637 \begin_inset ERT
26638 status collapsed
26639
26640 \begin_layout Standard
26641
26642 }
26643 \end_layout
26644
26645 \end_inset
26646
26647  as raised word.
26648 \end_layout
26649
26650 \begin_layout Standard
26651 \begin_inset VSpace bigskip
26652 \end_inset
26653
26654 When you raise or lower characters in a line, the line distance will be
26655  spread:
26656 \end_layout
26657
26658 \begin_layout Standard
26659 This is a text line with the word 
26660 \begin_inset ERT
26661 status collapsed
26662
26663 \begin_layout Standard
26664
26665
26666 \backslash
26667 raisebox{-
26668 \backslash
26669 depth}{
26670 \end_layout
26671
26672 \end_inset
26673
26674
26675 \begin_inset Quotes eld
26676 \end_inset
26677
26678 preventing
26679 \begin_inset Quotes erd
26680 \end_inset
26681
26682
26683 \begin_inset ERT
26684 status collapsed
26685
26686 \begin_layout Standard
26687
26688 }
26689 \end_layout
26690
26691 \end_inset
26692
26693  as lowered word.
26694 \newline
26695 This is a text line with the word 
26696 \begin_inset ERT
26697 status collapsed
26698
26699 \begin_layout Standard
26700
26701
26702 \backslash
26703 raisebox{0.5cm}{
26704 \end_layout
26705
26706 \end_inset
26707
26708
26709 \begin_inset Quotes eld
26710 \end_inset
26711
26712 testing
26713 \begin_inset Quotes erd
26714 \end_inset
26715
26716
26717 \begin_inset ERT
26718 status collapsed
26719
26720 \begin_layout Standard
26721
26722 }
26723 \end_layout
26724
26725 \end_inset
26726
26727  as raised word.
26728 \end_layout
26729
26730 \begin_layout Standard
26731 If you want to prevent this for a certain reason, set the box height to
26732  a zero value.
26733  For example use
26734 \end_layout
26735
26736 \begin_layout Standard
26737
26738 \series bold
26739
26740 \backslash
26741 raisebox{-
26742 \backslash
26743 depth}[0pt]{
26744 \end_layout
26745
26746 \begin_layout Standard
26747 This is a text line with the word 
26748 \begin_inset ERT
26749 status collapsed
26750
26751 \begin_layout Standard
26752
26753
26754 \backslash
26755 raisebox{-
26756 \backslash
26757 depth}[0pt]{
26758 \end_layout
26759
26760 \end_inset
26761
26762
26763 \begin_inset Quotes eld
26764 \end_inset
26765
26766 preventing
26767 \begin_inset Quotes erd
26768 \end_inset
26769
26770
26771 \begin_inset ERT
26772 status collapsed
26773
26774 \begin_layout Standard
26775
26776 }
26777 \end_layout
26778
26779 \end_inset
26780
26781  as lowered word.
26782 \newline
26783 This is a text line with the word 
26784 \begin_inset ERT
26785 status collapsed
26786
26787 \begin_layout Standard
26788
26789
26790 \backslash
26791 raisebox{0.5cm}[0pt]{
26792 \end_layout
26793
26794 \end_inset
26795
26796
26797 \begin_inset Quotes eld
26798 \end_inset
26799
26800 testing
26801 \begin_inset Quotes erd
26802 \end_inset
26803
26804
26805 \begin_inset ERT
26806 status collapsed
26807
26808 \begin_layout Standard
26809
26810 }
26811 \end_layout
26812
26813 \end_inset
26814
26815  as raised word.
26816 \end_layout
26817
26818 \begin_layout Section
26819 Colored Boxes
26820 \begin_inset LatexCommand label
26821 name "sec:Colored-Boxes"
26822
26823 \end_inset
26824
26825
26826 \begin_inset LatexCommand index
26827 name "Boxes ! Color"
26828
26829 \end_inset
26830
26831
26832 \end_layout
26833
26834 \begin_layout Subsection
26835 Color for Text
26836 \begin_inset LatexCommand index
26837 name "Color ! for Text"
26838
26839 \end_inset
26840
26841
26842 \end_layout
26843
26844 \begin_layout Standard
26845 To color the background of text the text must be put into a so called 
26846 \begin_inset Quotes eld
26847 \end_inset
26848
26849 colorbox
26850 \begin_inset Quotes erd
26851 \end_inset
26852
26853 .
26854  This requires that the LaTeX-package 
26855 \series bold
26856 color
26857 \series default
26858
26859 \begin_inset LatexCommand index
26860 name "LaTeX-packages ! color"
26861
26862 \end_inset
26863
26864  is loaded in the document preamble with the command
26865 \end_layout
26866
26867 \begin_layout Standard
26868
26869 \series bold
26870
26871 \backslash
26872 @ifundefined{textcolor}
26873 \newline
26874
26875 \begin_inset ERT
26876 status collapsed
26877
26878 \begin_layout Standard
26879
26880
26881 \backslash
26882 hphantom{ }
26883 \end_layout
26884
26885 \end_inset
26886
26887 {
26888 \backslash
26889 usepackage{color}}{}
26890 \end_layout
26891
26892 \begin_layout Standard
26893 The package 
26894 \series bold
26895 color
26896 \series default
26897  will be loaded automatically by LyX when you color text
26898 \begin_inset Foot
26899 status collapsed
26900
26901 \begin_layout Standard
26902 To avoid that it is loaded twice the command 
26903 \series bold
26904
26905 \backslash
26906 @ifundef\SpecialChar \textcompwordmark{}
26907 ined
26908 \series default
26909  is used.
26910 \end_layout
26911
26912 \end_inset
26913
26914 .
26915 \end_layout
26916
26917 \begin_layout Standard
26918 \begin_inset VSpace medskip
26919 \end_inset
26920
26921 Colorboxes are created with the command 
26922 \series bold
26923
26924 \backslash
26925 colorbox
26926 \series default
26927 .
26928  This will be used with the following scheme:
26929 \end_layout
26930
26931 \begin_layout Standard
26932
26933 \series bold
26934
26935 \backslash
26936 colorbox{color}{box content}
26937 \end_layout
26938
26939 \begin_layout Standard
26940 The box content can also be a box and colorboxes can also be within other
26941  boxes.
26942 \end_layout
26943
26944 \begin_layout Standard
26945 The following colors are predefined:
26946 \newline
26947
26948 \family sans
26949 black
26950 \family default
26951
26952 \family sans
26953 blue
26954 \family default
26955
26956 \family sans
26957 cyan
26958 \family default
26959 \series bold
26960 ,
26961 \series default
26962  
26963 \family sans
26964 green
26965 \family default
26966
26967 \family sans
26968 magenta
26969 \family default
26970
26971 \family sans
26972 red
26973 \family default
26974
26975 \family sans
26976 white
26977 \family default
26978 , and 
26979 \family sans
26980 yellow
26981 \family default
26982 .
26983 \newline
26984 You can also define your own color as described in section\InsetSpace ~
26985
26986 \begin_inset LatexCommand ref
26987 reference "sec:Colored-Tables"
26988
26989 \end_inset
26990
26991 .
26992 \end_layout
26993
26994 \begin_layout Standard
26995 To have e.\InsetSpace \thinspace{}
26996 g.\InsetSpace ~
26997 a red background for a word, insert the command
26998 \end_layout
26999
27000 \begin_layout Standard
27001
27002 \series bold
27003
27004 \backslash
27005 colorbox{red}{
27006 \end_layout
27007
27008 \begin_layout Standard
27009 before the word in TeX-Code.
27010  Behind the word insert a closing brace 
27011 \begin_inset Quotes eld
27012 \end_inset
27013
27014
27015 \series bold
27016 }
27017 \series default
27018
27019 \begin_inset Quotes erd
27020 \end_inset
27021
27022  in TeX-Code.
27023 \newline
27024 This is the result:
27025 \end_layout
27026
27027 \begin_layout Standard
27028 This is a line where the word 
27029 \begin_inset ERT
27030 status collapsed
27031
27032 \begin_layout Standard
27033
27034
27035 \backslash
27036 colorbox{red}{
27037 \end_layout
27038
27039 \end_inset
27040
27041
27042 \begin_inset Quotes eld
27043 \end_inset
27044
27045 Attention!
27046 \begin_inset Quotes erd
27047 \end_inset
27048
27049
27050 \begin_inset ERT
27051 status collapsed
27052
27053 \begin_layout Standard
27054
27055 }
27056 \end_layout
27057
27058 \end_inset
27059
27060  has a red background.
27061 \end_layout
27062
27063 \begin_layout Standard
27064 \begin_inset VSpace bigskip
27065 \end_inset
27066
27067 If you would have the box frame in a different color, you can use the command
27068  
27069 \series bold
27070
27071 \backslash
27072 fcolorbox
27073 \series default
27074  with the following scheme:
27075 \end_layout
27076
27077 \begin_layout Standard
27078
27079 \series bold
27080
27081 \backslash
27082 fcolorbox{frame color}{box color}{box content}
27083 \end_layout
27084
27085 \begin_layout Standard
27086
27087 \series bold
27088
27089 \backslash
27090 fcolorbox
27091 \series default
27092  is an extension to 
27093 \series bold
27094
27095 \backslash
27096 colorbox
27097 \series default
27098 .
27099  The frame thickness and the space between the frame and the box content
27100  can be adjusted with the lengths 
27101 \series bold
27102
27103 \backslash
27104 fboxrule
27105 \series default
27106  and 
27107 \series bold
27108
27109 \backslash
27110 fboxsep
27111 \series default
27112 , respectively, as described in section\InsetSpace ~
27113
27114 \begin_inset LatexCommand ref
27115 reference "sec:Framed-Boxes"
27116
27117 \end_inset
27118
27119 .
27120 \end_layout
27121
27122 \begin_layout Standard
27123 For the following example the command
27124 \end_layout
27125
27126 \begin_layout Standard
27127
27128 \series bold
27129
27130 \backslash
27131 fcolorbox{cyan}{magenta}{
27132 \end_layout
27133
27134 \begin_layout Standard
27135 was used.
27136 \end_layout
27137
27138 \begin_layout Standard
27139 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
27140 mm:
27141 \newline
27142
27143 \begin_inset ERT
27144 status collapsed
27145
27146 \begin_layout Standard
27147
27148
27149 \backslash
27150 fboxrule 1mm 
27151 \backslash
27152 fboxsep 1mm
27153 \end_layout
27154
27155 \end_inset
27156
27157
27158 \begin_inset ERT
27159 status collapsed
27160
27161 \begin_layout Standard
27162
27163
27164 \backslash
27165 fcolorbox{cyan}{magenta}{
27166 \end_layout
27167
27168 \end_inset
27169
27170 This is text within a colored, framed box.
27171 \begin_inset ERT
27172 status collapsed
27173
27174 \begin_layout Standard
27175
27176 }
27177 \end_layout
27178
27179 \end_inset
27180
27181
27182 \end_layout
27183
27184 \begin_layout Standard
27185 \begin_inset VSpace bigskip
27186 \end_inset
27187
27188 Of course you can also have colored text inside a colorbox:
27189 \newline
27190
27191 \begin_inset ERT
27192 status collapsed
27193
27194 \begin_layout Standard
27195
27196
27197 \backslash
27198 fcolorbox{cyan}{magenta}{
27199 \end_layout
27200
27201 \end_inset
27202
27203
27204 \color yellow
27205 This is colored text within a colored, framed box.
27206 \color none
27207
27208 \begin_inset ERT
27209 status collapsed
27210
27211 \begin_layout Standard
27212
27213 }
27214 \end_layout
27215
27216 \end_inset
27217
27218
27219 \begin_inset ERT
27220 status collapsed
27221
27222 \begin_layout Standard
27223
27224
27225 \backslash
27226 fboxrule 0.4pt 
27227 \backslash
27228 fboxsep 3pt
27229 \end_layout
27230
27231 \end_inset
27232
27233
27234 \end_layout
27235
27236 \begin_layout Standard
27237
27238 \series bold
27239 \begin_inset VSpace medskip
27240 \end_inset
27241
27242
27243 \end_layout
27244
27245 \begin_layout Standard
27246 \begin_inset Note Greyedout
27247 status open
27248
27249 \begin_layout Standard
27250
27251 \series bold
27252 Note:
27253 \series default
27254  Text in colorboxes cannot have line breaks.
27255  To color multiple text lines or paragraphs, use a box inside a colorbox
27256  as described in the following.
27257 \end_layout
27258
27259 \end_inset
27260
27261
27262 \end_layout
27263
27264 \begin_layout Subsection
27265 Color for Paragraphs
27266 \begin_inset LatexCommand label
27267 name "sub:Color-for-Paragraphs"
27268
27269 \end_inset
27270
27271
27272 \begin_inset LatexCommand index
27273 name "Color ! for Paragraphs"
27274
27275 \end_inset
27276
27277
27278 \end_layout
27279
27280 \begin_layout Standard
27281 To set the background color for more than one text line, put the text into
27282  a minipage.
27283  Before the minipage insert the 
27284 \series bold
27285
27286 \backslash
27287 colorbox
27288 \series default
27289  command
27290 \end_layout
27291
27292 \begin_layout Standard
27293
27294 \series bold
27295
27296 \backslash
27297 colorbox{color}{
27298 \end_layout
27299
27300 \begin_layout Standard
27301 in TeX-Code.
27302  Behind the minipage insert a closing brace 
27303 \begin_inset Quotes eld
27304 \end_inset
27305
27306
27307 \series bold
27308 }
27309 \series default
27310
27311 \begin_inset Quotes erd
27312 \end_inset
27313
27314  in TeX-Code.
27315 \end_layout
27316
27317 \begin_layout Standard
27318 \begin_inset ERT
27319 status collapsed
27320
27321 \begin_layout Standard
27322
27323
27324 \backslash
27325 colorbox{lightgrey}{
27326 \end_layout
27327
27328 \end_inset
27329
27330
27331 \begin_inset Box Frameless
27332 position "t"
27333 hor_pos "c"
27334 has_inner_box 1
27335 inner_pos "t"
27336 use_parbox 0
27337 width "100col%"
27338 special "none"
27339 height "1in"
27340 height_special "totalheight"
27341 status collapsed
27342
27343 \begin_layout Standard
27344 This is text with background color.
27345  This is text with background color.
27346 \end_layout
27347
27348 \begin_layout Standard
27349 \begin_inset VSpace defskip
27350 \end_inset
27351
27352 The text can have footnotes
27353 \begin_inset Foot
27354 status collapsed
27355
27356 \begin_layout Standard
27357 Another example footnote
27358 \end_layout
27359
27360 \end_inset
27361
27362  and can include tables and figures.
27363 \end_layout
27364
27365 \begin_layout Standard
27366 \align center
27367 \begin_inset Tabular
27368 <lyxtabular version="3" rows="3" columns="3">
27369 <features>
27370 <column alignment="center" valignment="top" leftline="true" width="0">
27371 <column alignment="center" valignment="top" leftline="true" width="0">
27372 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27373 <row topline="true">
27374 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27375 \begin_inset Text
27376
27377 \begin_layout Standard
27378 a
27379 \end_layout
27380
27381 \end_inset
27382 </cell>
27383 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27384 \begin_inset Text
27385
27386 \begin_layout Standard
27387 !
27388 \end_layout
27389
27390 \end_inset
27391 </cell>
27392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27393 \begin_inset Text
27394
27395 \begin_layout Standard
27396 3
27397 \end_layout
27398
27399 \end_inset
27400 </cell>
27401 </row>
27402 <row topline="true">
27403 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27404 \begin_inset Text
27405
27406 \begin_layout Standard
27407 <
27408 \end_layout
27409
27410 \end_inset
27411 </cell>
27412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27413 \begin_inset Text
27414
27415 \begin_layout Standard
27416 b2
27417 \begin_inset Quotes erd
27418 \end_inset
27419
27420 |
27421 \end_layout
27422
27423 \end_inset
27424 </cell>
27425 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27426 \begin_inset Text
27427
27428 \begin_layout Standard
27429 >
27430 \end_layout
27431
27432 \end_inset
27433 </cell>
27434 </row>
27435 <row topline="true" bottomline="true">
27436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27437 \begin_inset Text
27438
27439 \begin_layout Standard
27440 1
27441 \end_layout
27442
27443 \end_inset
27444 </cell>
27445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27446 \begin_inset Text
27447
27448 \begin_layout Standard
27449 §
27450 \end_layout
27451
27452 \end_inset
27453 </cell>
27454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27455 \begin_inset Text
27456
27457 \begin_layout Standard
27458 c
27459 \end_layout
27460
27461 \end_inset
27462 </cell>
27463 </row>
27464 </lyxtabular>
27465
27466 \end_inset
27467
27468
27469 \end_layout
27470
27471 \end_inset
27472
27473
27474 \begin_inset ERT
27475 status collapsed
27476
27477 \begin_layout Standard
27478
27479 }
27480 \end_layout
27481
27482 \end_inset
27483
27484
27485 \end_layout
27486
27487 \begin_layout Section
27488 Rotated and Scaled Boxes
27489 \end_layout
27490
27491 \begin_layout Standard
27492 To use the the commands described in this section, the LaTeX-package 
27493 \series bold
27494 graphicx
27495 \series default
27496
27497 \begin_inset LatexCommand index
27498 name "LaTeX-packages ! graphicx"
27499
27500 \end_inset
27501
27502  needs to be loaded in the document preamble with the command
27503 \end_layout
27504
27505 \begin_layout Standard
27506
27507 \series bold
27508
27509 \backslash
27510 @ifundefined{rotatebox}
27511 \newline
27512
27513 \begin_inset ERT
27514 status collapsed
27515
27516 \begin_layout Standard
27517
27518
27519 \backslash
27520 hphantom{ }
27521 \end_layout
27522
27523 \end_inset
27524
27525 {
27526 \backslash
27527 usepackage{graphicx}}{}
27528 \end_layout
27529
27530 \begin_layout Standard
27531 \begin_inset Note Greyedout
27532 status open
27533
27534 \begin_layout Standard
27535
27536 \series bold
27537 Note:
27538 \series default
27539  Some DVI-viewers can't display rotated or scaled material.
27540 \end_layout
27541
27542 \end_inset
27543
27544
27545 \end_layout
27546
27547 \begin_layout Standard
27548 \begin_inset Note Greyedout
27549 status open
27550
27551 \begin_layout Standard
27552
27553 \series bold
27554 Note:
27555 \series default
27556  Floats mustn't be inside a rotated or scaled box.
27557 \end_layout
27558
27559 \end_inset
27560
27561
27562 \end_layout
27563
27564 \begin_layout Subsection
27565 Rotated Boxes
27566 \begin_inset LatexCommand index
27567 name "Boxes ! rotated"
27568
27569 \end_inset
27570
27571
27572 \begin_inset LatexCommand index
27573 name "Rotated material"
27574
27575 \end_inset
27576
27577
27578 \begin_inset LatexCommand index
27579 name "Figures ! rotated"
27580
27581 \end_inset
27582
27583
27584 \begin_inset LatexCommand index
27585 name "Table Customization ! Rotating"
27586
27587 \end_inset
27588
27589
27590 \end_layout
27591
27592 \begin_layout Standard
27593 To rotate material, you can put it into a rotated box.
27594  Such a box is created using the command 
27595 \series bold
27596
27597 \backslash
27598 rotatebox
27599 \series default
27600  in TeX-Code with the following scheme:
27601 \end_layout
27602
27603 \begin_layout Standard
27604
27605 \series bold
27606
27607 \backslash
27608 rotatebox[rotation origin]{rotation angle}{box content}
27609 \end_layout
27610
27611 \begin_layout Standard
27612 The rotation origin is specified in the form 
27613 \series bold
27614 origin=position
27615 \series default
27616 .
27617  The following positions are possible: 
27618 \emph on
27619 c
27620 \emph default
27621  (center), 
27622 \emph on
27623 l
27624 \emph default
27625  (left), 
27626 \emph on
27627 r
27628 \emph default
27629  (right), 
27630 \emph on
27631 b
27632 \emph default
27633  (bottom), 
27634 \emph on
27635 t
27636 \emph default
27637  (top), and also expedient combinations of the four base positions.
27638  For example 
27639 \emph on
27640 lt
27641 \emph default
27642  means, that the rotation origin is at the top left corner of the box.
27643  When no rotation origin is specified, the position 
27644 \emph on
27645 l
27646 \emph default
27647  will be used.
27648  The rotation angle is a number that can be negative that specifies the
27649  angle in degrees.
27650  The rotation direction is counterclockwise.
27651 \end_layout
27652
27653 \begin_layout Standard
27654 In the following example the command 
27655 \series bold
27656
27657 \backslash
27658 rotatebox[origin=c]{60}{
27659 \series default
27660  was inserted as TeX-Code before the text 
27661 \begin_inset Quotes eld
27662 \end_inset
27663
27664 with rotated
27665 \begin_inset Quotes erd
27666 \end_inset
27667
27668 ; after the text the box was closed by a closing brace 
27669 \series bold
27670 }
27671 \series default
27672  in TeX-Code.
27673 \end_layout
27674
27675 \begin_layout Standard
27676 This is a line 
27677 \begin_inset ERT
27678 status collapsed
27679
27680 \begin_layout Standard
27681
27682
27683 \backslash
27684 rotatebox[origin=c]{60}{
27685 \end_layout
27686
27687 \end_inset
27688
27689 with rotated
27690 \begin_inset ERT
27691 status collapsed
27692
27693 \begin_layout Standard
27694
27695 }
27696 \end_layout
27697
27698 \end_inset
27699
27700  text.
27701 \end_layout
27702
27703 \begin_layout Standard
27704 The box content can also be another box or an inline formula:
27705 \end_layout
27706
27707 \begin_layout Standard
27708 This is a line
27709 \begin_inset ERT
27710 status collapsed
27711
27712 \begin_layout Standard
27713
27714
27715 \backslash
27716 rotatebox[origin=r]{-60}{
27717 \end_layout
27718
27719 \end_inset
27720
27721
27722 \begin_inset Box Doublebox
27723 position "c"
27724 hor_pos "c"
27725 has_inner_box 0
27726 inner_pos "c"
27727 use_parbox 0
27728 width "1in"
27729 special "width"
27730 height "1in"
27731 height_special "totalheight"
27732 status collapsed
27733
27734 \begin_layout Standard
27735 with rotated
27736 \end_layout
27737
27738 \end_inset
27739
27740
27741 \begin_inset ERT
27742 status collapsed
27743
27744 \begin_layout Standard
27745
27746 }
27747 \end_layout
27748
27749 \end_inset
27750
27751  framed text 
27752 \begin_inset ERT
27753 status collapsed
27754
27755 \begin_layout Standard
27756
27757
27758 \backslash
27759 rotatebox[origin=lb]{60}{
27760 \end_layout
27761
27762 \end_inset
27763
27764
27765 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27766 \end_inset
27767
27768
27769 \begin_inset ERT
27770 status collapsed
27771
27772 \begin_layout Standard
27773
27774 }
27775 \end_layout
27776
27777 \end_inset
27778
27779  and a formula.
27780 \end_layout
27781
27782 \begin_layout Standard
27783 or an image or table:
27784 \end_layout
27785
27786 \begin_layout Standard
27787 This is a line
27788 \begin_inset ERT
27789 status collapsed
27790
27791 \begin_layout Standard
27792
27793
27794 \backslash
27795 rotatebox[origin=lb]{90}{
27796 \end_layout
27797
27798 \end_inset
27799
27800
27801 \begin_inset Graphics
27802         filename clipart/platypus.eps
27803         lyxscale 50
27804         width 25col%
27805
27806 \end_inset
27807
27808
27809 \begin_inset ERT
27810 status collapsed
27811
27812 \begin_layout Standard
27813
27814 }
27815 \end_layout
27816
27817 \end_inset
27818
27819  with a rotated image 
27820 \begin_inset ERT
27821 status collapsed
27822
27823 \begin_layout Standard
27824
27825
27826 \backslash
27827 rotatebox[origin=l]{-90}{
27828 \end_layout
27829
27830 \end_inset
27831
27832
27833 \begin_inset Tabular
27834 <lyxtabular version="3" rows="2" columns="2">
27835 <features>
27836 <column alignment="center" valignment="top" leftline="true" width="0">
27837 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27838 <row topline="true">
27839 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27840 \begin_inset Text
27841
27842 \begin_layout Standard
27843 q
27844 \end_layout
27845
27846 \end_inset
27847 </cell>
27848 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27849 \begin_inset Text
27850
27851 \begin_layout Standard
27852 w
27853 \end_layout
27854
27855 \end_inset
27856 </cell>
27857 </row>
27858 <row topline="true" bottomline="true">
27859 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27860 \begin_inset Text
27861
27862 \begin_layout Standard
27863 e
27864 \end_layout
27865
27866 \end_inset
27867 </cell>
27868 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27869 \begin_inset Text
27870
27871 \begin_layout Standard
27872 r
27873 \end_layout
27874
27875 \end_inset
27876 </cell>
27877 </row>
27878 </lyxtabular>
27879
27880 \end_inset
27881
27882
27883 \begin_inset ERT
27884 status collapsed
27885
27886 \begin_layout Standard
27887
27888 }
27889 \end_layout
27890
27891 \end_inset
27892
27893  and table.
27894 \end_layout
27895
27896 \begin_layout Subsection
27897 Scaled Boxes
27898 \begin_inset LatexCommand index
27899 name "Boxes ! scaled"
27900
27901 \end_inset
27902
27903
27904 \begin_inset LatexCommand index
27905 name "Scaled material"
27906
27907 \end_inset
27908
27909
27910 \begin_inset LatexCommand index
27911 name "Figures ! scaled"
27912
27913 \end_inset
27914
27915
27916 \begin_inset LatexCommand index
27917 name "Table Customization ! Scaling"
27918
27919 \end_inset
27920
27921
27922 \end_layout
27923
27924 \begin_layout Standard
27925 To scale material the commands 
27926 \series bold
27927
27928 \backslash
27929 scalebox
27930 \series default
27931  and 
27932 \series bold
27933
27934 \backslash
27935 resizebox
27936 \series default
27937  can be used as TeX-Code.
27938 \end_layout
27939
27940 \begin_layout Standard
27941
27942 \series bold
27943
27944 \backslash
27945 scalebox
27946 \series default
27947  is used with the following scheme:
27948 \end_layout
27949
27950 \begin_layout Standard
27951
27952 \series bold
27953
27954 \backslash
27955 scalebox{horizontal}[vertical]{box content}
27956 \end_layout
27957
27958 \begin_layout Standard
27959 Horizontal and vertical are the corresponding scaling factors.
27960  If no vertical scaling factor is given, the horizontal factor will also
27961  be used as vertical one.
27962 \end_layout
27963
27964 \begin_layout Standard
27965 The command 
27966 \series bold
27967
27968 \backslash
27969 scalebox{2}{Hello}
27970 \series default
27971  creates for example a double size 
27972 \begin_inset ERT
27973 status collapsed
27974
27975 \begin_layout Standard
27976
27977
27978 \backslash
27979 scalebox{2}{
27980 \end_layout
27981
27982 \end_inset
27983
27984 Hello
27985 \begin_inset ERT
27986 status collapsed
27987
27988 \begin_layout Standard
27989
27990 }
27991 \end_layout
27992
27993 \end_inset
27994
27995 , compared to the document text size.
27996 \end_layout
27997
27998 \begin_layout Standard
27999
28000 \series bold
28001
28002 \backslash
28003 scalebox{2}[1]{Hello}
28004 \series default
28005  in contrary distorts the 
28006 \begin_inset ERT
28007 status collapsed
28008
28009 \begin_layout Standard
28010
28011
28012 \backslash
28013 scalebox{2}[1]{
28014 \end_layout
28015
28016 \end_inset
28017
28018 Hello
28019 \begin_inset ERT
28020 status collapsed
28021
28022 \begin_layout Standard
28023
28024 }
28025 \end_layout
28026
28027 \end_inset
28028
28029 .
28030 \end_layout
28031
28032 \begin_layout Standard
28033 If a the scaling factor is negative, the box content will be mirrored.
28034  Therefore the command 
28035 \series bold
28036
28037 \backslash
28038 scalebox{-1}[1]{Hello}
28039 \series default
28040  can be used to create mirror writing: 
28041 \begin_inset ERT
28042 status collapsed
28043
28044 \begin_layout Standard
28045
28046
28047 \backslash
28048 scalebox{-1}[1]{
28049 \end_layout
28050
28051 \end_inset
28052
28053 Hello
28054 \begin_inset ERT
28055 status collapsed
28056
28057 \begin_layout Standard
28058
28059 }
28060 \end_layout
28061
28062 \end_inset
28063
28064
28065 \end_layout
28066
28067 \begin_layout Standard
28068
28069 \series bold
28070
28071 \backslash
28072 scalebox{1}[-1]{Hello}
28073 \series default
28074  reflects the 
28075 \begin_inset ERT
28076 status collapsed
28077
28078 \begin_layout Standard
28079
28080
28081 \backslash
28082 scalebox{1}[-1]{
28083 \end_layout
28084
28085 \end_inset
28086
28087 Hello
28088 \begin_inset ERT
28089 status collapsed
28090
28091 \begin_layout Standard
28092
28093 }
28094 \end_layout
28095
28096 \end_inset
28097
28098  at the base line.
28099 \end_layout
28100
28101 \begin_layout Standard
28102 Equivalent to 
28103 \series bold
28104
28105 \backslash
28106 scalebox{-1}[1]{box content}
28107 \series default
28108  there exists the command
28109 \newline
28110
28111 \series bold
28112
28113 \backslash
28114 reflectbox{box content}
28115 \series default
28116 .
28117 \end_layout
28118
28119 \begin_layout Standard
28120 \begin_inset VSpace bigskip
28121 \end_inset
28122
28123 The command 
28124 \series bold
28125
28126 \backslash
28127 resizebox
28128 \series default
28129  is used to scale the box to a defined width and height.
28130  The command scheme is:
28131 \end_layout
28132
28133 \begin_layout Standard
28134
28135 \series bold
28136
28137 \backslash
28138 resizebox{width}{height}{box content}
28139 \end_layout
28140
28141 \begin_layout Standard
28142 Is one of the two command arguments given as exclamation mark 
28143 \series bold
28144 !
28145 \series default
28146 , the size is set so that the aspect ratio of the box content is kept.
28147 \end_layout
28148
28149 \begin_layout Standard
28150 The command 
28151 \series bold
28152
28153 \backslash
28154 resizebox{2cm}{1cm}{Hello}
28155 \series default
28156  produces: 
28157 \begin_inset ERT
28158 status collapsed
28159
28160 \begin_layout Standard
28161
28162
28163 \backslash
28164 resizebox{2cm}{1cm}{
28165 \end_layout
28166
28167 \end_inset
28168
28169 Hello
28170 \begin_inset ERT
28171 status collapsed
28172
28173 \begin_layout Standard
28174
28175 }
28176 \end_layout
28177
28178 \end_inset
28179
28180
28181 \newline
28182 The command 
28183 \series bold
28184
28185 \backslash
28186 resizebox{2cm}{!}{Hello}
28187 \series default
28188  produces: 
28189 \begin_inset ERT
28190 status collapsed
28191
28192 \begin_layout Standard
28193
28194
28195 \backslash
28196 resizebox{2cm}{!}{
28197 \end_layout
28198
28199 \end_inset
28200
28201 Hello
28202 \begin_inset ERT
28203 status collapsed
28204
28205 \begin_layout Standard
28206
28207 }
28208 \end_layout
28209
28210 \end_inset
28211
28212
28213 \end_layout
28214
28215 \begin_layout Standard
28216 \begin_inset VSpace bigskip
28217 \end_inset
28218
28219
28220 \begin_inset Note Greyedout
28221 status open
28222
28223 \begin_layout Standard
28224
28225 \series bold
28226 Note:
28227 \series default
28228  When arguments of 
28229 \series bold
28230
28231 \backslash
28232 scalebox
28233 \series default
28234  or 
28235 \series bold
28236
28237 \backslash
28238 resizebox
28239 \series default
28240  are set to zero, no LaTeX-errors occur when exporting the document but
28241  the exported files can not or only partly be displayed.
28242 \end_layout
28243
28244 \end_inset
28245
28246
28247 \end_layout
28248
28249 \begin_layout Standard
28250 \begin_inset VSpace bigskip
28251 \end_inset
28252
28253
28254 \end_layout
28255
28256 \begin_layout Standard
28257 The boxes can be combined in any order.
28258  E.\InsetSpace \thinspace{}
28259 g.\InsetSpace ~
28260 the command
28261 \newline
28262
28263 \series bold
28264
28265 \backslash
28266 rotatebox[origin=c]{-45}{
28267 \backslash
28268 resizebox{2cm}{!}{
28269 \backslash
28270 reflectbox{Hello}}}
28271 \newline
28272
28273 \series default
28274 produces:
28275 \end_layout
28276
28277 \begin_layout Standard
28278 \align center
28279 \begin_inset ERT
28280 status collapsed
28281
28282 \begin_layout Standard
28283
28284
28285 \backslash
28286 rotatebox[origin=c]{-45}{
28287 \backslash
28288 resizebox{2cm}{!}{
28289 \backslash
28290 reflectbox{
28291 \end_layout
28292
28293 \end_inset
28294
28295 Hello
28296 \begin_inset ERT
28297 status collapsed
28298
28299 \begin_layout Standard
28300
28301 }}}
28302 \end_layout
28303
28304 \end_inset
28305
28306
28307 \end_layout
28308
28309 \begin_layout Standard
28310 \noindent
28311 Images, tables, and inline formulas are allowed as box content:
28312 \end_layout
28313
28314 \begin_layout Standard
28315 \align center
28316 \begin_inset ERT
28317 status collapsed
28318
28319 \begin_layout Standard
28320
28321
28322 \backslash
28323 rotatebox[origin=c]{-30}{
28324 \backslash
28325 resizebox{2cm}{!}{
28326 \backslash
28327 reflectbox{
28328 \end_layout
28329
28330 \end_inset
28331
28332
28333 \begin_inset Graphics
28334         filename clipart/platypus.eps
28335         lyxscale 50
28336         width 25col%
28337
28338 \end_inset
28339
28340
28341 \begin_inset ERT
28342 status collapsed
28343
28344 \begin_layout Standard
28345
28346 }}}
28347 \end_layout
28348
28349 \end_inset
28350
28351
28352 \begin_inset ERT
28353 status collapsed
28354
28355 \begin_layout Standard
28356
28357
28358 \backslash
28359 rotatebox[origin=c]{-45}{
28360 \backslash
28361 resizebox{2cm}{!}{
28362 \backslash
28363 reflectbox{
28364 \end_layout
28365
28366 \end_inset
28367
28368
28369 \begin_inset Tabular
28370 <lyxtabular version="3" rows="2" columns="2">
28371 <features>
28372 <column alignment="center" valignment="top" leftline="true" width="0">
28373 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28374 <row topline="true">
28375 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28376 \begin_inset Text
28377
28378 \begin_layout Standard
28379 q
28380 \end_layout
28381
28382 \end_inset
28383 </cell>
28384 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28385 \begin_inset Text
28386
28387 \begin_layout Standard
28388 w
28389 \end_layout
28390
28391 \end_inset
28392 </cell>
28393 </row>
28394 <row topline="true" bottomline="true">
28395 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28396 \begin_inset Text
28397
28398 \begin_layout Standard
28399 e
28400 \end_layout
28401
28402 \end_inset
28403 </cell>
28404 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28405 \begin_inset Text
28406
28407 \begin_layout Standard
28408 r
28409 \end_layout
28410
28411 \end_inset
28412 </cell>
28413 </row>
28414 </lyxtabular>
28415
28416 \end_inset
28417
28418
28419 \begin_inset ERT
28420 status collapsed
28421
28422 \begin_layout Standard
28423
28424 }}}
28425 \end_layout
28426
28427 \end_inset
28428
28429
28430 \begin_inset ERT
28431 status collapsed
28432
28433 \begin_layout Standard
28434
28435
28436 \backslash
28437 rotatebox[origin=c]{-45}{
28438 \backslash
28439 resizebox{2cm}{!}{
28440 \backslash
28441 reflectbox{
28442 \end_layout
28443
28444 \end_inset
28445
28446
28447 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28448 \end_inset
28449
28450
28451 \begin_inset ERT
28452 status collapsed
28453
28454 \begin_layout Standard
28455
28456 }}}
28457 \end_layout
28458
28459 \end_inset
28460
28461
28462 \end_layout
28463
28464 \begin_layout Standard
28465 When the global formula style 
28466 \series bold
28467 fleqn
28468 \series default
28469  is used in the document
28470 \begin_inset Foot
28471 status collapsed
28472
28473 \begin_layout Standard
28474 When 
28475 \begin_inset Quotes eld
28476 \end_inset
28477
28478 fleqn
28479 \begin_inset Quotes erd
28480 \end_inset
28481
28482  is added to the document class options.
28483 \end_layout
28484
28485 \end_inset
28486
28487 , also display formulas can be scaled.
28488 \end_layout
28489
28490 \begin_layout Section
28491 URLs (Uniform Resource Locators)
28492 \begin_inset LatexCommand index
28493 name "URLs"
28494
28495 \end_inset
28496
28497
28498 \end_layout
28499
28500 \begin_layout Standard
28501 Links to web pages or email addresses can be inserted via the menu 
28502 \family sans
28503 Insert\SpecialChar \menuseparator
28504 URL
28505 \family default
28506 .
28507  The appearing URL dialog has two fields; the 
28508 \family sans
28509 URL
28510 \family default
28511  field and the 
28512 \family sans
28513 Name
28514 \family default
28515  field for the URL description, which will be typeset as plain text immediately
28516  before the URL.
28517 \end_layout
28518
28519 \begin_layout Standard
28520 Here is an example URL: 
28521 \begin_inset LatexCommand url
28522 name "LyX's homepage"
28523 target "http://www.lyx.org"
28524
28525 \end_inset
28526
28527
28528 \end_layout
28529
28530 \begin_layout Standard
28531 The option 
28532 \family sans
28533 Generate\InsetSpace ~
28534 hyperlink
28535 \family default
28536  in the URL dialog does nothing.
28537  This relict will be removed in the next LyX-version.
28538 \end_layout
28539
28540 \begin_layout Standard
28541 You cannot change the style of the link text.
28542  The text of the 
28543 \family sans
28544 Name
28545 \family default
28546  field will have the default text style of the document while the text of
28547  the 
28548 \family sans
28549 URL
28550 \family default
28551  field will have the style 
28552 \begin_inset Quotes eld
28553 \end_inset
28554
28555
28556 \family sans
28557 Typewriter
28558 \family default
28559
28560 \begin_inset Quotes erd
28561 \end_inset
28562
28563 .
28564 \end_layout
28565
28566 \begin_layout Standard
28567 When you use the LaTeX-package 
28568 \series bold
28569 hyperref
28570 \series default
28571
28572 \begin_inset LatexCommand index
28573 name "LaTeX-packages ! hyperref"
28574
28575 \end_inset
28576
28577  to link cross-references in the output, URLs will automatically become
28578  clickable hyperlinks in DVI and PDF-output.
28579 \end_layout
28580
28581 \begin_layout Standard
28582 \begin_inset Note Greyedout
28583 status open
28584
28585 \begin_layout Standard
28586
28587 \series bold
28588 Note:
28589 \series default
28590  When you use the following characters: "%", "#", "^", you have to write
28591  them with a preceding backslash, e.\InsetSpace \thinspace{}
28592 g.\InsetSpace ~
28593
28594 \begin_inset Quotes eld
28595 \end_inset
28596
28597
28598 \backslash
28599 #
28600 \begin_inset Quotes erd
28601 \end_inset
28602
28603 .
28604  URLs must not end with a backslash.
28605 \end_layout
28606
28607 \end_inset
28608
28609
28610 \end_layout
28611
28612 \begin_layout Standard
28613 \begin_inset VSpace bigskip
28614 \end_inset
28615
28616 To create real hyperlinks without the force to write the link location to
28617  the text, you can use the command
28618 \end_layout
28619
28620 \begin_layout Standard
28621
28622 \series bold
28623
28624 \backslash
28625 href{link location}{link text}
28626 \end_layout
28627
28628 \begin_layout Standard
28629 in TeX-Code.
28630  To get for example a link to LyX's web page, write the command
28631 \end_layout
28632
28633 \begin_layout Standard
28634
28635 \series bold
28636
28637 \backslash
28638 href{http://www.lyx.org}{
28639 \end_layout
28640
28641 \begin_layout Standard
28642 in TeX-Code.
28643  Insert after the command the link text 
28644 \begin_inset Quotes eld
28645 \end_inset
28646
28647 LyX's homepage
28648 \begin_inset Quotes erd
28649 \end_inset
28650
28651  as normal text followed by a closing brace 
28652 \begin_inset Quotes eld
28653 \end_inset
28654
28655
28656 \series bold
28657 }
28658 \series default
28659
28660 \begin_inset Quotes erd
28661 \end_inset
28662
28663  in TeX-Code.
28664  This is the result: 
28665 \begin_inset ERT
28666 status collapsed
28667
28668 \begin_layout Standard
28669
28670
28671 \backslash
28672 href{http://www.lyx.org}{
28673 \end_layout
28674
28675 \end_inset
28676
28677 LyX's homepage
28678 \begin_inset ERT
28679 status collapsed
28680
28681 \begin_layout Standard
28682
28683 }
28684 \end_layout
28685
28686 \end_inset
28687
28688
28689 \end_layout
28690
28691 \begin_layout Standard
28692 To link to email addresses, add the prefix 
28693 \begin_inset Quotes eld
28694 \end_inset
28695
28696
28697 \family sans
28698 mailto:
28699 \family default
28700
28701 \begin_inset Quotes erd
28702 \end_inset
28703
28704  to the link location:
28705 \newline
28706 Email to 
28707 \begin_inset ERT
28708 status collapsed
28709
28710 \begin_layout Standard
28711
28712
28713 \backslash
28714 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
28715 \end_layout
28716
28717 \end_inset
28718
28719 lyx-docs mailing list
28720 \begin_inset ERT
28721 status collapsed
28722
28723 \begin_layout Standard
28724
28725 }
28726 \end_layout
28727
28728 \end_inset
28729
28730 .
28731 \end_layout
28732
28733 \begin_layout Standard
28734 Using 
28735 \series bold
28736
28737 \backslash
28738 href
28739 \series default
28740  instead of LyX's URL box has the advantage that you can specify the text
28741  style of the link text like for all other text parts.
28742  You can then set hyphenation points and forced linebreaks to have long
28743  link text broken at the page margin.
28744  You are furthermore able to change the text style for all URLs in your
28745  document with an option in 
28746 \series bold
28747 hyperref
28748 \series default
28749 's load command and the restrictions mentioned above doesn't apply for 
28750 \series bold
28751
28752 \backslash
28753 href
28754 \series default
28755 .
28756 \end_layout
28757
28758 \begin_layout Chapter
28759 External Stuff
28760 \begin_inset LatexCommand index
28761 name "External Stuff"
28762
28763 \end_inset
28764
28765
28766 \end_layout
28767
28768 \begin_layout Standard
28769 With the menu 
28770 \family sans
28771 Insert\SpecialChar \menuseparator
28772 File
28773 \family default
28774  you can insert external material to your document.
28775  This can be:
28776 \end_layout
28777
28778 \begin_layout Description
28779 LyX\InsetSpace ~
28780 Document Another LyX document; its content is directly inserted to your
28781  document.
28782 \end_layout
28783
28784 \begin_layout Description
28785 Plain\InsetSpace ~
28786 Text A text document; every of its text lines is inserted to your document
28787  as own paragraph.
28788 \end_layout
28789
28790 \begin_layout Description
28791 Plain\InsetSpace ~
28792 Text,\InsetSpace ~
28793 Join\InsetSpace ~
28794 Lines A text document; its text lines are inserted as they
28795  are.
28796  Empty text lines creates a new paragraph in your document.
28797 \end_layout
28798
28799 \begin_layout Description
28800 External\InsetSpace ~
28801 Material Files in various formats.
28802 \end_layout
28803
28804 \begin_layout Description
28805 Child\InsetSpace ~
28806 Document LyX or LaTeX-documents.
28807 \end_layout
28808
28809 \begin_layout Section
28810 External Material
28811 \begin_inset LatexCommand index
28812 name "External Stuff ! External Material"
28813
28814 \end_inset
28815
28816
28817 \end_layout
28818
28819 \begin_layout Standard
28820 The external material feature allows you to insert files to your document
28821  without converting them previously to a format that can be read by the
28822  document output format because LyX takes care of needed conversions.
28823  This is similar to images that can be inserted in various image formats
28824  to LyX documents.
28825 \end_layout
28826
28827 \begin_layout Standard
28828 External material can be inserted via the 
28829 \family sans
28830 External Material
28831 \family default
28832  dialog that is accessible with the menu 
28833 \family sans
28834 Insert\SpecialChar \menuseparator
28835 File\SpecialChar \menuseparator
28836 External\InsetSpace ~
28837 Material
28838 \family default
28839 .
28840  Currently the following file types (
28841 \family sans
28842 Templates
28843 \family default
28844 ) are allowed:
28845 \end_layout
28846
28847 \begin_layout Description
28848 ChessDiagram This template supports chess position diagrams made with the
28849  program 
28850 \begin_inset ERT
28851 status collapsed
28852
28853 \begin_layout Standard
28854
28855
28856 \backslash
28857 href{http://en.wikipedia.org/wiki/XBoard}{
28858 \end_layout
28859
28860 \end_inset
28861
28862
28863 \series bold
28864 XBoard
28865 \series default
28866
28867 \begin_inset ERT
28868 status collapsed
28869
28870 \begin_layout Standard
28871
28872 }
28873 \end_layout
28874
28875 \end_inset
28876
28877 .
28878 \end_layout
28879
28880 \begin_layout Description
28881 Date This inserts the date in the form 
28882 \emph on
28883 Day-Month-Year
28884 \emph default
28885 .
28886  This is a date inserted as external material: 
28887 \begin_inset External
28888         template Date
28889         filename .
28890
28891 \end_inset
28892
28893
28894 \newline
28895 The date is not shown within LyX, only in the output.
28896  There are two other methods of inserting a date: Via menu 
28897 \family sans
28898 Insert\SpecialChar \menuseparator
28899 Date
28900 \family default
28901  and with the LaTeX command 
28902 \series bold
28903
28904 \backslash
28905 today
28906 \series default
28907  as TeX-Code.
28908  The different methods are compared in Table\InsetSpace ~
28909
28910 \begin_inset LatexCommand ref
28911 reference "tab:Comparison-of-the"
28912
28913 \end_inset
28914
28915 .
28916 \end_layout
28917
28918 \begin_layout Description
28919 LilyPond This template is used for music notation typeset with the program
28920 \begin_inset ERT
28921 status collapsed
28922
28923 \begin_layout Standard
28924
28925
28926 \backslash
28927 linebreak 
28928 \end_layout
28929
28930 \end_inset
28931
28932
28933 \begin_inset ERT
28934 status collapsed
28935
28936 \begin_layout Standard
28937
28938
28939 \backslash
28940 href{http://en.wikipedia.org/wiki/LilyPond}{
28941 \end_layout
28942
28943 \end_inset
28944
28945
28946 \series bold
28947 LilyPond
28948 \series default
28949
28950 \begin_inset ERT
28951 status collapsed
28952
28953 \begin_layout Standard
28954
28955 }
28956 \end_layout
28957
28958 \end_inset
28959
28960 .
28961 \begin_inset Note Note
28962 status collapsed
28963
28964 \begin_layout Standard
28965 The command 
28966 \series bold
28967
28968 \backslash
28969 linebreak
28970 \series default
28971  breaks the line while the remaining text in the line is stretched to the
28972  page margin.
28973 \end_layout
28974
28975 \end_inset
28976
28977
28978 \end_layout
28979
28980 \begin_layout Description
28981 RasterImage This can be used for bitmap images.
28982  Nearly all popular image formats are supported.
28983  The image can be treated in the 
28984 \family sans
28985 External material
28986 \family default
28987  dialog like the images that are usually included via the 
28988 \family sans
28989 Graphics
28990 \family default
28991  dialog as described in section\InsetSpace ~
28992
28993 \begin_inset LatexCommand ref
28994 reference "sec:Graphics-Dialog"
28995
28996 \end_inset
28997
28998 .
28999  The difference is that only raster images are allowed, that means that
29000  PDF and EPS-images are not supported.
29001 \end_layout
29002
29003 \begin_layout Description
29004 XFig This template supports images created with the program 
29005 \begin_inset ERT
29006 status collapsed
29007
29008 \begin_layout Standard
29009
29010
29011 \backslash
29012 href{http://en.wikipedia.org/wiki/Xfig}{
29013 \end_layout
29014
29015 \end_inset
29016
29017
29018 \series bold
29019 Xfig
29020 \series default
29021
29022 \begin_inset ERT
29023 status collapsed
29024
29025 \begin_layout Standard
29026
29027 }
29028 \end_layout
29029
29030 \end_inset
29031
29032 .
29033 \end_layout
29034
29035 \begin_layout Standard
29036 \begin_inset Float table
29037 placement h
29038 wide false
29039 sideways false
29040 status open
29041
29042 \begin_layout Standard
29043 \begin_inset Caption
29044
29045 \begin_layout Standard
29046 \begin_inset LatexCommand label
29047 name "tab:Comparison-of-the"
29048
29049 \end_inset
29050
29051 Comparison of the date input methods.
29052 \end_layout
29053
29054 \end_inset
29055
29056
29057 \end_layout
29058
29059 \begin_layout Standard
29060 \align center
29061 \begin_inset Tabular
29062 <lyxtabular version="3" rows="4" columns="4">
29063 <features>
29064 <column alignment="center" valignment="top" leftline="true" width="0">
29065 <column alignment="center" valignment="top" leftline="true" width="0">
29066 <column alignment="center" valignment="top" leftline="true" width="0">
29067 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
29068 <row topline="true">
29069 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29070 \begin_inset Text
29071
29072 \begin_layout Standard
29073 Document format
29074 \end_layout
29075
29076 \end_inset
29077 </cell>
29078 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29079 \begin_inset Text
29080
29081 \begin_layout Standard
29082
29083 \family sans
29084 External Material\SpecialChar \menuseparator
29085 Date
29086 \end_layout
29087
29088 \end_inset
29089 </cell>
29090 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29091 \begin_inset Text
29092
29093 \begin_layout Standard
29094
29095 \family sans
29096 Insert\SpecialChar \menuseparator
29097 Date
29098 \end_layout
29099
29100 \end_inset
29101 </cell>
29102 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29103 \begin_inset Text
29104
29105 \begin_layout Standard
29106 command 
29107 \series bold
29108
29109 \backslash
29110 today
29111 \end_layout
29112
29113 \end_inset
29114 </cell>
29115 </row>
29116 <row topline="true">
29117 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29118 \begin_inset Text
29119
29120 \begin_layout Standard
29121 LyX
29122 \end_layout
29123
29124 \end_inset
29125 </cell>
29126 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29127 \begin_inset Text
29128
29129 \begin_layout Standard
29130 as inset box
29131 \end_layout
29132
29133 \end_inset
29134 </cell>
29135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29136 \begin_inset Text
29137
29138 \begin_layout Standard
29139 as date
29140 \end_layout
29141
29142 \end_inset
29143 </cell>
29144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29145 \begin_inset Text
29146
29147 \begin_layout Standard
29148 as TeX-Code inset box
29149 \end_layout
29150
29151 \end_inset
29152 </cell>
29153 </row>
29154 <row topline="true">
29155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29156 \begin_inset Text
29157
29158 \begin_layout Standard
29159 LaTeX
29160 \end_layout
29161
29162 \end_inset
29163 </cell>
29164 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29165 \begin_inset Text
29166
29167 \begin_layout Standard
29168 as date
29169 \end_layout
29170
29171 \end_inset
29172 </cell>
29173 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29174 \begin_inset Text
29175
29176 \begin_layout Standard
29177 as date
29178 \end_layout
29179
29180 \end_inset
29181 </cell>
29182 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29183 \begin_inset Text
29184
29185 \begin_layout Standard
29186 as command
29187 \end_layout
29188
29189 \end_inset
29190 </cell>
29191 </row>
29192 <row topline="true" bottomline="true">
29193 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29194 \begin_inset Text
29195
29196 \begin_layout Standard
29197 DVI, PDF, PS
29198 \end_layout
29199
29200 \end_inset
29201 </cell>
29202 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29203 \begin_inset Text
29204
29205 \begin_layout Standard
29206 as date
29207 \end_layout
29208
29209 \end_inset
29210 </cell>
29211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29212 \begin_inset Text
29213
29214 \begin_layout Standard
29215 as date
29216 \end_layout
29217
29218 \end_inset
29219 </cell>
29220 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29221 \begin_inset Text
29222
29223 \begin_layout Standard
29224 as date
29225 \end_layout
29226
29227 \end_inset
29228 </cell>
29229 </row>
29230 </lyxtabular>
29231
29232 \end_inset
29233
29234
29235 \end_layout
29236
29237 \end_inset
29238
29239
29240 \end_layout
29241
29242 \begin_layout Standard
29243 When you use the option 
29244 \family sans
29245 Draft
29246 \family default
29247  in the 
29248 \family sans
29249 File
29250 \family default
29251  tab of the 
29252 \family sans
29253 External Material
29254 \family default
29255  dialog, only the path to the inserted file is shown in the output.
29256 \newline
29257 External
29258  material is displayed in LyX either as box like this: 
29259 \begin_inset Graphics
29260         filename clipart/ExternalMaterialQt4.png
29261         scale 85
29262         scaleBeforeRotation
29263
29264 \end_inset
29265
29266  or as image, depending on the setting in the 
29267 \family sans
29268 LyX\InsetSpace ~
29269 View
29270 \family default
29271  tab of the 
29272 \family sans
29273 External Material
29274 \family default
29275  dialog.
29276 \end_layout
29277
29278 \begin_layout Standard
29279 The 
29280 \family sans
29281 \emph on
29282 Customization
29283 \family default
29284 \emph default
29285  manual explains how you can define your own templates.
29286 \end_layout
29287
29288 \begin_layout Section
29289 Child Documents
29290 \begin_inset LatexCommand label
29291 name "sec:Child-Documents"
29292
29293 \end_inset
29294
29295
29296 \begin_inset LatexCommand index
29297 name "External Stuff ! Child Documents"
29298
29299 \end_inset
29300
29301
29302 \begin_inset LatexCommand index
29303 name "Files ! Include"
29304
29305 \end_inset
29306
29307
29308 \end_layout
29309
29310 \begin_layout Standard
29311 Child documents are used when you have a long document consisting of several
29312  larger parts or sections.
29313  For maintenance it is often useful and sometimes even required to split
29314  the document in several files that can be revised separately.
29315  The different documents are then the so called child documents and a master
29316  document connects them to print the full document or parts of it.
29317 \end_layout
29318
29319 \begin_layout Standard
29320 Included documents are displayed in LyX as a box like this: 
29321 \begin_inset Graphics
29322         filename clipart/ChildDocumentQt4.png
29323         scale 85
29324         scaleBeforeRotation
29325
29326 \end_inset
29327
29328  To include child documents to a master document use the menu 
29329 \family sans
29330 Insert\SpecialChar \menuseparator
29331 File\SpecialChar \menuseparator
29332 Child\InsetSpace ~
29333 Documents
29334 \family default
29335 .
29336  A dialog pops up where you can choose between four include methods:
29337 \end_layout
29338
29339 \begin_layout Description
29340 Include You can include LyX and LaTeX-documents.
29341  When you press the 
29342 \family sans
29343 Load
29344 \family default
29345  button in the 
29346 \family sans
29347 Child Document
29348 \family default
29349  dialog, the included documents will be opened in LyX in a new file tab
29350  so that you can modify it.
29351 \newline
29352
29353 \end_layout
29354
29355 \begin_layout Standard
29356 Here is a child document inserted using 
29357 \family sans
29358 Include
29359 \family default
29360
29361 \begin_inset Include \include{DummyDocument1.lyx}
29362 preview false
29363
29364 \end_inset
29365
29366
29367 \end_layout
29368
29369 \begin_layout Standard
29370 The section numbering includes the sections of the included files in the
29371  order they are inserted in the master document.
29372  The included example document has for example a subsection that is numbered
29373  as subsection of this section.
29374  Labels of included documents can be referenced: Subsection\InsetSpace ~
29375
29376 \begin_inset LatexCommand ref
29377 reference "sub:External-Subsection-1"
29378
29379 \end_inset
29380
29381
29382 \end_layout
29383
29384 \begin_layout Standard
29385 The preamble of the child document is ignored, only the preamble of the
29386  master document is used.
29387  Included documents are inserted starting on a new page and end with a pagebreak.
29388 \end_layout
29389
29390 \begin_layout Standard
29391 With the LaTeX-command 
29392 \series bold
29393
29394 \backslash
29395 includeonly 
29396 \series default
29397 you can specify which included child documents are processed when the output
29398  is generated.
29399  This is useful when you are perhaps only working on a certain chapter of
29400  your large document as this saves compiling time.
29401  
29402 \series bold
29403
29404 \backslash
29405 includeonly
29406 \series default
29407  is inserted to the master document preamble.
29408  It takes a comma-separated list of the filenames as argument, e.g.
29409 \end_layout
29410
29411 \begin_layout Standard
29412
29413 \series bold
29414
29415 \backslash
29416 includeonly{chapter1,chapter5}
29417 \end_layout
29418
29419 \begin_layout Standard
29420 will only process the included files named 
29421 \begin_inset Quotes eld
29422 \end_inset
29423
29424 chapter1.lyx
29425 \begin_inset Quotes erd
29426 \end_inset
29427
29428  (or 
29429 \begin_inset Quotes eld
29430 \end_inset
29431
29432 chapter1.tex
29433 \begin_inset Quotes erd
29434 \end_inset
29435
29436 ) and 
29437 \begin_inset Quotes eld
29438 \end_inset
29439
29440 chapter5.lyx
29441 \begin_inset Quotes erd
29442 \end_inset
29443
29444  .
29445 \end_layout
29446
29447 \begin_layout Standard
29448 \begin_inset Note Greyedout
29449 status open
29450
29451 \begin_layout Standard
29452
29453 \series bold
29454 Note:
29455 \series default
29456  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29457 w the document in case that the child document uses another document class
29458  than the master document as this will lead to unexpected outputs.
29459 \end_layout
29460
29461 \end_inset
29462
29463
29464 \end_layout
29465
29466 \begin_layout Description
29467 Input This method is very similar to the Include method.
29468  The differences are:
29469 \end_layout
29470
29471 \begin_deeper
29472 \begin_layout Itemize
29473 Input files don't start with a new page and don't end with a pagebreak.
29474 \end_layout
29475
29476 \begin_layout Itemize
29477 Input files can be previewed in LyX when 
29478 \family sans
29479 Instant\InsetSpace ~
29480 Preview
29481 \family default
29482  is enabled in LyX's preferences under 
29483 \family sans
29484 Look\InsetSpace ~
29485 and\InsetSpace ~
29486 feel\SpecialChar \menuseparator
29487 Graphics
29488 \family default
29489 .
29490 \end_layout
29491
29492 \begin_layout Itemize
29493 The LaTeX-command 
29494 \series bold
29495
29496 \backslash
29497 includeonly
29498 \series default
29499  cannot be used.
29500 \end_layout
29501
29502 \end_deeper
29503 \begin_layout Standard
29504 Here is a child document inserted using 
29505 \family sans
29506 Input
29507 \family default
29508
29509 \begin_inset Include \input{DummyDocument2.lyx}
29510 preview false
29511
29512 \end_inset
29513
29514
29515 \end_layout
29516
29517 \begin_layout Description
29518 Verbatim With this method every text file can be included.
29519  The file is shown in the output with its source code, no command used in
29520  the text is invoked.
29521  You can use the option 
29522 \family sans
29523 Mark spaces in output
29524 \family default
29525  that displays the character 
29526 \begin_inset Quotes eld
29527 \end_inset
29528
29529
29530 \begin_inset ERT
29531 status collapsed
29532
29533 \begin_layout Standard
29534
29535
29536 \backslash
29537 textvisiblespace 
29538 \end_layout
29539
29540 \end_inset
29541
29542
29543 \begin_inset Quotes erd
29544 \end_inset
29545
29546  for every space character in the source code.
29547  The difference to the method via the menu 
29548 \family sans
29549 Insert\SpecialChar \menuseparator
29550 File\SpecialChar \menuseparator
29551 Plain\InsetSpace ~
29552 Text
29553 \family default
29554  is that the document content is not shown in LyX.
29555 \end_layout
29556
29557 \begin_layout Standard
29558 Here is a child document inserted as Verbatim: 
29559 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29560 preview false
29561
29562 \end_inset
29563
29564
29565 \begin_inset VSpace bigskip
29566 \end_inset
29567
29568 Here is a child document inserted as Verbatim using the 
29569 \family sans
29570 Mark spaces in output
29571 \family default
29572  option: 
29573 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29574 preview false
29575
29576 \end_inset
29577
29578
29579 \end_layout
29580
29581 \begin_layout Standard
29582 \begin_inset VSpace bigskip
29583 \end_inset
29584
29585
29586 \end_layout
29587
29588 \begin_layout Standard
29589 \begin_inset Note Greyedout
29590 status open
29591
29592 \begin_layout Standard
29593
29594 \series bold
29595 Note:
29596 \series default
29597  As you can see in the examples above, the text of the documents included
29598  as 
29599 \family sans
29600 verbatim
29601 \family default
29602  is not broken at the end of the document lines.
29603 \end_layout
29604
29605 \end_inset
29606
29607
29608 \end_layout
29609
29610 \begin_layout Description
29611 Listings This type is described in chapter\InsetSpace ~
29612
29613 \begin_inset LatexCommand ref
29614 reference "cha:Program-Code-Listings"
29615
29616 \end_inset
29617
29618 .
29619 \end_layout
29620
29621 \begin_layout Standard
29622 \begin_inset Note Greyedout
29623 status open
29624
29625 \begin_layout Standard
29626
29627 \series bold
29628 Note:
29629 \series default
29630  Including the same document twice in a document using different methods
29631  could cause LaTeX-problems.
29632 \end_layout
29633
29634 \end_inset
29635
29636
29637 \end_layout
29638
29639 \begin_layout Chapter
29640 Program Code Listings
29641 \begin_inset LatexCommand label
29642 name "cha:Program-Code-Listings"
29643
29644 \end_inset
29645
29646
29647 \begin_inset LatexCommand index
29648 name "Listings"
29649
29650 \end_inset
29651
29652
29653 \begin_inset LatexCommand index
29654 name "Program Code"
29655
29656 \end_inset
29657
29658
29659 \begin_inset LatexCommand index
29660 name "Floats ! Listings"
29661
29662 \end_inset
29663
29664
29665 \end_layout
29666
29667 \begin_layout Standard
29668 To include and typeset program code you can use the 
29669 \family sans
29670 Listings
29671 \family default
29672  inset that can be inserted via the menu 
29673 \family sans
29674 Insert\SpecialChar \menuseparator
29675 Program Listing
29676 \family default
29677 .
29678  The LaTeX-package 
29679 \series bold
29680 listings
29681 \series default
29682
29683 \begin_inset LatexCommand index
29684 name "LaTeX-packages ! listings"
29685
29686 \end_inset
29687
29688  provides a powerful and flexible way to insert program source code to your
29689  document.
29690 \end_layout
29691
29692 \begin_layout Standard
29693 When right-clicking on a listings inset a dialog pops up where you can set
29694  the listings format.
29695 \end_layout
29696
29697 \begin_layout Standard
29698 By default, a listing starts a new paragraph in the output.
29699  The placement option 
29700 \family sans
29701 Inline\InsetSpace ~
29702 listing
29703 \family default
29704  prints the listing inline like this: 
29705 \begin_inset listings
29706 lstparams "language={C++}"
29707 inline true
29708 status open
29709
29710 \begin_layout Standard
29711
29712 int a=5;
29713 \end_layout
29714
29715 \end_inset
29716
29717
29718 \newline
29719 The option 
29720 \family sans
29721 Float
29722 \family default
29723  creates a listings float where you can specify the placement options 
29724 \begin_inset Quotes eld
29725 \end_inset
29726
29727
29728 \family sans
29729 h
29730 \family default
29731
29732 \begin_inset Quotes erd
29733 \end_inset
29734
29735
29736 \begin_inset Quotes eld
29737 \end_inset
29738
29739
29740 \family sans
29741 t
29742 \family default
29743
29744 \begin_inset Quotes erd
29745 \end_inset
29746
29747
29748 \begin_inset Quotes eld
29749 \end_inset
29750
29751
29752 \family sans
29753 b
29754 \family default
29755
29756 \begin_inset Quotes erd
29757 \end_inset
29758
29759 , and 
29760 \begin_inset Quotes eld
29761 \end_inset
29762
29763
29764 \family sans
29765 p
29766 \family default
29767
29768 \begin_inset Quotes erd
29769 \end_inset
29770
29771  corresponding to the float placement options described in section\InsetSpace ~
29772
29773 \begin_inset LatexCommand ref
29774 reference "sec:Float-Placement"
29775
29776 \end_inset
29777
29778 .
29779  The placement options can be mixed and are inserted without any separation,
29780  e.\InsetSpace \thinspace{}
29781 g.\InsetSpace ~
29782
29783 \begin_inset Quotes eld
29784 \end_inset
29785
29786
29787 \family sans
29788 htbp
29789 \family default
29790
29791 \begin_inset Quotes erd
29792 \end_inset
29793
29794 .
29795  The option 
29796 \begin_inset Quotes eld
29797 \end_inset
29798
29799 h
29800 \begin_inset Quotes erd
29801 \end_inset
29802
29803  has sometimes no effect, but you don't need to use the 
29804 \family sans
29805 Float
29806 \family default
29807  option in this case as also non-float listings can have captions and be
29808  referenced.
29809 \end_layout
29810
29811 \begin_layout Standard
29812 You can add captions to listings with the menu 
29813 \family sans
29814 Insert\SpecialChar \menuseparator
29815 Caption
29816 \family default
29817 .
29818  Listings can be referenced like floats: Listing\InsetSpace ~
29819
29820 \begin_inset LatexCommand ref
29821 reference "lst:Example-Listing"
29822
29823 \end_inset
29824
29825
29826 \end_layout
29827
29828 \begin_layout Standard
29829 \begin_inset listings
29830 lstparams "language=Python"
29831 inline false
29832 status open
29833
29834 \begin_layout Standard
29835
29836 \begin_inset Caption
29837
29838 \begin_layout Standard
29839 \begin_inset LatexCommand label
29840 name "lst:Example-Listing"
29841
29842 \end_inset
29843
29844 Example Listing float
29845 \end_layout
29846
29847 \end_inset
29848
29849 # Example listing float
29850 \end_layout
29851
29852 \begin_layout Standard
29853
29854 def func(param):
29855 \end_layout
29856
29857 \begin_layout Standard
29858
29859     'this is a python function'
29860 \end_layout
29861
29862 \begin_layout Standard
29863
29864     pass
29865 \end_layout
29866
29867 \end_inset
29868
29869
29870 \end_layout
29871
29872 \begin_layout Standard
29873 When you have set a programming language in the listings dialog, the keywords
29874  of this language will be recognized and specially typeset in the output.
29875  In the example listings the Python keyword 
29876 \begin_inset Quotes eld
29877 \end_inset
29878
29879 def
29880 \begin_inset Quotes erd
29881 \end_inset
29882
29883  is recognized and printed bold in the output.
29884 \end_layout
29885
29886 \begin_layout Standard
29887 \begin_inset Note Greyedout
29888 status open
29889
29890 \begin_layout Standard
29891
29892 \series bold
29893 Note:
29894 \series default
29895  If you don't get bold keywords when using typewriter fonts, your typewriter
29896  font probably doesn't provide a bold shape.
29897  In this case select a different one in the menu 
29898 \family sans
29899 Document\SpecialChar \menuseparator
29900 Settings\SpecialChar \menuseparator
29901 Fonts
29902 \family default
29903 .
29904  (The fonts 
29905 \emph on
29906 LuxiMono, BeraMono
29907 \emph default
29908  and 
29909 \emph on
29910 Courier
29911 \emph default
29912  provide bold shapes.)
29913 \end_layout
29914
29915 \end_inset
29916
29917
29918 \end_layout
29919
29920 \begin_layout Standard
29921 In section 
29922 \family sans
29923 Line\InsetSpace ~
29924 numbering
29925 \family default
29926  of the listings dialog you can specify the line numbering style.
29927  You can insert a number to specify which lines are numbered to the field
29928  
29929 \family sans
29930 Step
29931 \family default
29932 .
29933  When you insert e.g.
29934  
29935 \begin_inset Quotes eld
29936 \end_inset
29937
29938 3
29939 \begin_inset Quotes erd
29940 \end_inset
29941
29942 , only every 3rd line will be numbered.
29943 \end_layout
29944
29945 \begin_layout Standard
29946 You can furthermore specify a range of lines, only these will then appear
29947  in the output.
29948  The option 
29949 \family sans
29950 Extended\InsetSpace ~
29951 chars
29952 \family default
29953  should be used when you use national characters like the German umlauts
29954  in the listing.
29955 \newline
29956 Here is an example listing with left line numbering, step
29957  
29958 \begin_inset Quotes eld
29959 \end_inset
29960
29961 3
29962 \begin_inset Quotes erd
29963 \end_inset
29964
29965 , language 
29966 \begin_inset Quotes eld
29967 \end_inset
29968
29969 Python
29970 \begin_inset Quotes erd
29971 \end_inset
29972
29973 , options 
29974 \begin_inset Quotes eld
29975 \end_inset
29976
29977 Extended\InsetSpace ~
29978 chars
29979 \begin_inset Quotes erd
29980 \end_inset
29981
29982  and 
29983 \begin_inset Quotes eld
29984 \end_inset
29985
29986 Space\InsetSpace ~
29987 as\InsetSpace ~
29988 Symbol
29989 \begin_inset Quotes erd
29990 \end_inset
29991
29992 , range lines 3\InsetSpace \thinspace{}
29993 -\InsetSpace \thinspace{}
29994 8:
29995 \end_layout
29996
29997 \begin_layout Standard
29998 \begin_inset listings
29999 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
30000 inline false
30001 status open
30002
30003 \begin_layout Standard
30004
30005 def func(param):
30006 \end_layout
30007
30008 \begin_layout Standard
30009
30010     'this is a python function'
30011 \end_layout
30012
30013 \begin_layout Standard
30014
30015     pass
30016 \end_layout
30017
30018 \begin_layout Standard
30019
30020 def func(param):
30021 \end_layout
30022
30023 \begin_layout Standard
30024
30025 'This is a German word: Tschüß'
30026 \end_layout
30027
30028 \begin_layout Standard
30029
30030 pass
30031 \end_layout
30032
30033 \begin_layout Standard
30034
30035 def func(param):
30036 \end_layout
30037
30038 \begin_layout Standard
30039
30040 'this is a python function'
30041 \end_layout
30042
30043 \begin_layout Standard
30044
30045 pass
30046 \end_layout
30047
30048 \end_inset
30049
30050
30051 \end_layout
30052
30053 \begin_layout Standard
30054 \begin_inset Note Greyedout
30055 status open
30056
30057 \begin_layout Standard
30058
30059 \series bold
30060 Note:
30061 \series default
30062  Due to a bug in the 
30063 \series bold
30064 listings
30065 \series default
30066  package the line numbering is shifted by a line by every previous listing.
30067  That's the reason why the lines 2 and 5 are numbered in the above listing
30068  and not the lines 3 and 6.
30069 \end_layout
30070
30071 \end_inset
30072
30073
30074 \end_layout
30075
30076 \begin_layout Standard
30077 \begin_inset VSpace bigskip
30078 \end_inset
30079
30080
30081 \end_layout
30082
30083 \begin_layout Standard
30084 It is also possible to print lines from a file as listing.
30085  To do this, use the menu 
30086 \family sans
30087 Insert\SpecialChar \menuseparator
30088 File\SpecialChar \menuseparator
30089 Child Document
30090 \family default
30091  and choose the type 
30092 \family sans
30093 Listings
30094 \family default
30095 .
30096 \begin_inset Foot
30097 status collapsed
30098
30099 \begin_layout Standard
30100 The other child document types are described in section\InsetSpace ~
30101
30102 \begin_inset LatexCommand ref
30103 reference "sec:Child-Documents"
30104
30105 \end_inset
30106
30107 .
30108 \end_layout
30109
30110 \end_inset
30111
30112  In the child document dialog you can specify the listing parameters in
30113  a text box.
30114  To show a list of all available parameters, type in a question mark 
30115 \begin_inset Quotes eld
30116 \end_inset
30117
30118 ?
30119 \begin_inset Quotes erd
30120 \end_inset
30121
30122  in the text box.
30123 \end_layout
30124
30125 \begin_layout Standard
30126 To reference child document listings, write a label text into the corresponding
30127  field of the child document dialog.
30128  The label can then be referenced using the menu 
30129 \family sans
30130 Insert\SpecialChar \menuseparator
30131 Cross-Reference
30132 \family default
30133 .
30134 \end_layout
30135
30136 \begin_layout Standard
30137 Listing\InsetSpace ~
30138
30139 \begin_inset LatexCommand ref
30140 reference "lst:file-listing"
30141
30142 \end_inset
30143
30144  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
30145 -\InsetSpace \thinspace{}
30146 15 of this LyX
30147  file are listed.
30148 \end_layout
30149
30150 \begin_layout Standard
30151 \begin_inset Include \lstinputlisting{EmbeddedObjects.lyx}[breaklines=true,caption={Lines 10 - 15 of this LyX file},firstline=10,label={lst:file-listing},language={[LaTeX]TeX},lastline=15]
30152 preview false
30153
30154 \end_inset
30155
30156
30157 \end_layout
30158
30159 \begin_layout Standard
30160 \begin_inset VSpace bigskip
30161 \end_inset
30162
30163
30164 \end_layout
30165
30166 \begin_layout Standard
30167 Global listings settings can be set in the 
30168 \family sans
30169 Document\SpecialChar \menuseparator
30170 Settings\SpecialChar \menuseparator
30171 Text Layout
30172 \family default
30173  dialog.
30174  To get there a list of available options, type in a question mark 
30175 \begin_inset Quotes eld
30176 \end_inset
30177
30178 ?
30179 \begin_inset Quotes erd
30180 \end_inset
30181
30182  in the 
30183 \family sans
30184 Listings\InsetSpace ~
30185 settings
30186 \family default
30187  field.
30188 \end_layout
30189
30190 \begin_layout Standard
30191 For more information about the 
30192 \series bold
30193 listings
30194 \series default
30195  package, we refer to its documentation 
30196 \begin_inset LatexCommand cite
30197 key "listings"
30198
30199 \end_inset
30200
30201 .
30202 \end_layout
30203
30204 \begin_layout Standard
30205
30206 \newpage
30207
30208 \end_layout
30209
30210 \begin_layout Chapter
30211 \start_of_appendix
30212 Units available in LyX
30213 \begin_inset LatexCommand index
30214 name "Units"
30215
30216 \end_inset
30217
30218
30219 \begin_inset LatexCommand label
30220 name "cha:Units-available-in"
30221
30222 \end_inset
30223
30224
30225 \end_layout
30226
30227 \begin_layout Standard
30228 To understand the units described in this documentation, Table\InsetSpace ~
30229
30230 \begin_inset LatexCommand ref
30231 reference "tab:Units"
30232
30233 \end_inset
30234
30235  explains all units available in LyX.
30236 \end_layout
30237
30238 \begin_layout Standard
30239 \begin_inset Float table
30240 placement h
30241 wide false
30242 sideways false
30243 status open
30244
30245 \begin_layout Standard
30246 \begin_inset Caption
30247
30248 \begin_layout Standard
30249 \begin_inset LatexCommand label
30250 name "tab:Units"
30251
30252 \end_inset
30253
30254 Units
30255 \end_layout
30256
30257 \end_inset
30258
30259
30260 \end_layout
30261
30262 \begin_layout Standard
30263 \begin_inset VSpace medskip
30264 \end_inset
30265
30266
30267 \end_layout
30268
30269 \begin_layout Standard
30270 \align center
30271 \begin_inset Tabular
30272 <lyxtabular version="3" rows="20" columns="2">
30273 <features>
30274 <column alignment="center" valignment="top" leftline="true" width="0">
30275 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30276 <row topline="true" bottomline="true">
30277 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30278 \begin_inset Text
30279
30280 \begin_layout Standard
30281 unit
30282 \end_layout
30283
30284 \end_inset
30285 </cell>
30286 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30287 \begin_inset Text
30288
30289 \begin_layout Standard
30290 name/description
30291 \end_layout
30292
30293 \end_inset
30294 </cell>
30295 </row>
30296 <row topline="true">
30297 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30298 \begin_inset Text
30299
30300 \begin_layout Standard
30301 mm
30302 \end_layout
30303
30304 \end_inset
30305 </cell>
30306 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30307 \begin_inset Text
30308
30309 \begin_layout Standard
30310 millimeter
30311 \end_layout
30312
30313 \end_inset
30314 </cell>
30315 </row>
30316 <row topline="true">
30317 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30318 \begin_inset Text
30319
30320 \begin_layout Standard
30321 cm
30322 \end_layout
30323
30324 \end_inset
30325 </cell>
30326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30327 \begin_inset Text
30328
30329 \begin_layout Standard
30330 centimeter
30331 \end_layout
30332
30333 \end_inset
30334 </cell>
30335 </row>
30336 <row topline="true">
30337 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30338 \begin_inset Text
30339
30340 \begin_layout Standard
30341 in
30342 \end_layout
30343
30344 \end_inset
30345 </cell>
30346 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30347 \begin_inset Text
30348
30349 \begin_layout Standard
30350 inch
30351 \end_layout
30352
30353 \end_inset
30354 </cell>
30355 </row>
30356 <row topline="true">
30357 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30358 \begin_inset Text
30359
30360 \begin_layout Standard
30361 pt
30362 \end_layout
30363
30364 \end_inset
30365 </cell>
30366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30367 \begin_inset Text
30368
30369 \begin_layout Standard
30370 point (72.27\InsetSpace \thinspace{}
30371 pt = 1\InsetSpace \thinspace{}
30372 in)
30373 \end_layout
30374
30375 \end_inset
30376 </cell>
30377 </row>
30378 <row topline="true">
30379 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30380 \begin_inset Text
30381
30382 \begin_layout Standard
30383 pc
30384 \end_layout
30385
30386 \end_inset
30387 </cell>
30388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30389 \begin_inset Text
30390
30391 \begin_layout Standard
30392 pica (1\InsetSpace \thinspace{}
30393 pc = 12\InsetSpace \thinspace{}
30394 pt)
30395 \end_layout
30396
30397 \end_inset
30398 </cell>
30399 </row>
30400 <row topline="true">
30401 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30402 \begin_inset Text
30403
30404 \begin_layout Standard
30405 sp
30406 \end_layout
30407
30408 \end_inset
30409 </cell>
30410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30411 \begin_inset Text
30412
30413 \begin_layout Standard
30414 scaled point (65536\InsetSpace \thinspace{}
30415 sp = 1\InsetSpace \thinspace{}
30416 pt)
30417 \end_layout
30418
30419 \end_inset
30420 </cell>
30421 </row>
30422 <row topline="true">
30423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30424 \begin_inset Text
30425
30426 \begin_layout Standard
30427 bp
30428 \end_layout
30429
30430 \end_inset
30431 </cell>
30432 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30433 \begin_inset Text
30434
30435 \begin_layout Standard
30436 big point (72\InsetSpace \thinspace{}
30437 bp = 1\InsetSpace \thinspace{}
30438 in)
30439 \end_layout
30440
30441 \end_inset
30442 </cell>
30443 </row>
30444 <row topline="true">
30445 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30446 \begin_inset Text
30447
30448 \begin_layout Standard
30449 dd
30450 \end_layout
30451
30452 \end_inset
30453 </cell>
30454 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30455 \begin_inset Text
30456
30457 \begin_layout Standard
30458 didot (1\InsetSpace \thinspace{}
30459 dd 
30460 \begin_inset Formula $\approx$
30461 \end_inset
30462
30463  0.376\InsetSpace \thinspace{}
30464 mm)
30465 \end_layout
30466
30467 \end_inset
30468 </cell>
30469 </row>
30470 <row topline="true">
30471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30472 \begin_inset Text
30473
30474 \begin_layout Standard
30475 cc
30476 \end_layout
30477
30478 \end_inset
30479 </cell>
30480 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30481 \begin_inset Text
30482
30483 \begin_layout Standard
30484 cicero (1\InsetSpace \thinspace{}
30485 cc = 12\InsetSpace \thinspace{}
30486 dd)
30487 \end_layout
30488
30489 \end_inset
30490 </cell>
30491 </row>
30492 <row topline="true">
30493 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30494 \begin_inset Text
30495
30496 \begin_layout Standard
30497 Scale%
30498 \end_layout
30499
30500 \end_inset
30501 </cell>
30502 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30503 \begin_inset Text
30504
30505 \begin_layout Standard
30506 % of original image width
30507 \end_layout
30508
30509 \end_inset
30510 </cell>
30511 </row>
30512 <row topline="true">
30513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30514 \begin_inset Text
30515
30516 \begin_layout Standard
30517 text%
30518 \end_layout
30519
30520 \end_inset
30521 </cell>
30522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30523 \begin_inset Text
30524
30525 \begin_layout Standard
30526 % of text width
30527 \end_layout
30528
30529 \end_inset
30530 </cell>
30531 </row>
30532 <row topline="true">
30533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30534 \begin_inset Text
30535
30536 \begin_layout Standard
30537 col%
30538 \end_layout
30539
30540 \end_inset
30541 </cell>
30542 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30543 \begin_inset Text
30544
30545 \begin_layout Standard
30546 % of column width
30547 \end_layout
30548
30549 \end_inset
30550 </cell>
30551 </row>
30552 <row topline="true">
30553 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30554 \begin_inset Text
30555
30556 \begin_layout Standard
30557 page%
30558 \end_layout
30559
30560 \end_inset
30561 </cell>
30562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30563 \begin_inset Text
30564
30565 \begin_layout Standard
30566 % of paper width
30567 \end_layout
30568
30569 \end_inset
30570 </cell>
30571 </row>
30572 <row topline="true">
30573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30574 \begin_inset Text
30575
30576 \begin_layout Standard
30577 line%
30578 \end_layout
30579
30580 \end_inset
30581 </cell>
30582 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30583 \begin_inset Text
30584
30585 \begin_layout Standard
30586 % of line width
30587 \end_layout
30588
30589 \end_inset
30590 </cell>
30591 </row>
30592 <row topline="true">
30593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30594 \begin_inset Text
30595
30596 \begin_layout Standard
30597 theight%
30598 \end_layout
30599
30600 \end_inset
30601 </cell>
30602 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30603 \begin_inset Text
30604
30605 \begin_layout Standard
30606 % of text height
30607 \end_layout
30608
30609 \end_inset
30610 </cell>
30611 </row>
30612 <row topline="true">
30613 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30614 \begin_inset Text
30615
30616 \begin_layout Standard
30617 pheight%
30618 \end_layout
30619
30620 \end_inset
30621 </cell>
30622 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30623 \begin_inset Text
30624
30625 \begin_layout Standard
30626 % of paper height
30627 \end_layout
30628
30629 \end_inset
30630 </cell>
30631 </row>
30632 <row topline="true">
30633 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30634 \begin_inset Text
30635
30636 \begin_layout Standard
30637 ex
30638 \end_layout
30639
30640 \end_inset
30641 </cell>
30642 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30643 \begin_inset Text
30644
30645 \begin_layout Standard
30646 height of letter 
30647 \emph on
30648 x
30649 \emph default
30650  in current font
30651 \end_layout
30652
30653 \end_inset
30654 </cell>
30655 </row>
30656 <row topline="true">
30657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30658 \begin_inset Text
30659
30660 \begin_layout Standard
30661 em
30662 \end_layout
30663
30664 \end_inset
30665 </cell>
30666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30667 \begin_inset Text
30668
30669 \begin_layout Standard
30670 width of letter 
30671 \emph on
30672 M
30673 \emph default
30674  in current font
30675 \end_layout
30676
30677 \end_inset
30678 </cell>
30679 </row>
30680 <row topline="true" bottomline="true">
30681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30682 \begin_inset Text
30683
30684 \begin_layout Standard
30685 mu
30686 \end_layout
30687
30688 \end_inset
30689 </cell>
30690 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30691 \begin_inset Text
30692
30693 \begin_layout Standard
30694 math unit (1\InsetSpace \thinspace{}
30695 mu = 1/18\InsetSpace \thinspace{}
30696 em)
30697 \end_layout
30698
30699 \end_inset
30700 </cell>
30701 </row>
30702 </lyxtabular>
30703
30704 \end_inset
30705
30706
30707 \end_layout
30708
30709 \end_inset
30710
30711
30712 \end_layout
30713
30714 \begin_layout Chapter
30715 Output File Formats with Graphics
30716 \begin_inset LatexCommand label
30717 name "cha:Output-File-Formats"
30718
30719 \end_inset
30720
30721
30722 \end_layout
30723
30724 \begin_layout Section
30725 DVI
30726 \begin_inset LatexCommand index
30727 name "File Formats ! DVI"
30728
30729 \end_inset
30730
30731
30732 \begin_inset LatexCommand index
30733 name "DVI|see{File Formats}"
30734
30735 \end_inset
30736
30737
30738 \end_layout
30739
30740 \begin_layout Standard
30741 This file type has the extension 
30742 \begin_inset Quotes eld
30743 \end_inset
30744
30745
30746 \family typewriter
30747 .dvi
30748 \family default
30749
30750 \begin_inset Quotes erd
30751 \end_inset
30752
30753 .
30754  It is called 
30755 \begin_inset Quotes eld
30756 \end_inset
30757
30758 device-independent
30759 \begin_inset Quotes erd
30760 \end_inset
30761
30762  (DVI), because it is completely portable; you can move them from one machine
30763  to another without needing to do any sort of conversion.
30764  At the time when this file-format was developed, this was no matter of
30765  course.
30766  DVIs are used for quick previews and as pre-stage for other output formats,
30767  like PostScript.
30768 \end_layout
30769
30770 \begin_layout Standard
30771 \begin_inset Note Greyedout
30772 status open
30773
30774 \begin_layout Standard
30775
30776 \series bold
30777 Note:
30778 \series default
30779  DVI-files doesn't contain images, they will only be a linked.
30780 \end_layout
30781
30782 \end_inset
30783
30784  So don't forget this, if you move your 
30785 \family typewriter
30786 .dvi
30787 \family default
30788  file to another computer.
30789  This property can also slow down your computer when you view the DVI.
30790  Because the DVI-viewer has to convert the image in the background to make
30791  it visible when you scroll in the DVI.
30792  So we recommend to use PDF for files with many images.
30793 \end_layout
30794
30795 \begin_layout Standard
30796 You can export your document to DVI by using the menu 
30797 \family sans
30798 File\SpecialChar \menuseparator
30799 Export\SpecialChar \menuseparator
30800 DVI
30801 \family default
30802 .
30803  You can view your document as DVI via the 
30804 \family sans
30805 View
30806 \family default
30807  menu or by using the toolbar button 
30808 \begin_inset Graphics
30809         filename ../images/buffer-view_dvi.png
30810         scale 85
30811         scaleBeforeRotation
30812
30813 \end_inset
30814
30815 .
30816 \end_layout
30817
30818 \begin_layout Section
30819 PostScript
30820 \begin_inset LatexCommand label
30821 name "sec:PostScript"
30822
30823 \end_inset
30824
30825
30826 \begin_inset LatexCommand index
30827 name "File Formats ! PostScript"
30828
30829 \end_inset
30830
30831
30832 \begin_inset LatexCommand index
30833 name "PostScript|see{File Formats}"
30834
30835 \end_inset
30836
30837
30838 \end_layout
30839
30840 \begin_layout Standard
30841 This file type has the extension 
30842 \begin_inset Quotes eld
30843 \end_inset
30844
30845
30846 \family typewriter
30847 .ps
30848 \family default
30849
30850 \begin_inset Quotes erd
30851 \end_inset
30852
30853 .
30854  PostScript was developed by the company 
30855 \family typewriter
30856 Adobe
30857 \family default
30858  as printer language.
30859  The file contains therefore commands that the printer uses to print the
30860  file.
30861  PostScript can be seen as 
30862 \begin_inset Quotes eld
30863 \end_inset
30864
30865 programming language
30866 \begin_inset Quotes erd
30867 \end_inset
30868
30869 ; you can calculate with it and draw diagrams and images
30870 \begin_inset Foot
30871 status collapsed
30872
30873 \begin_layout Standard
30874 If you are interested to learn more about this, have a look at the LaTeX-package
30875  
30876 \series bold
30877 PSTricks
30878 \series default
30879  
30880 \begin_inset LatexCommand cite
30881 key "pstricks"
30882
30883 \end_inset
30884
30885 .
30886 \end_layout
30887
30888 \end_inset
30889
30890 .
30891  Due to this ability, the files are often bigger than PDFs.
30892 \end_layout
30893
30894 \begin_layout Standard
30895 PostScript can only contain images in the format 
30896 \begin_inset Quotes eld
30897 \end_inset
30898
30899 Encapsulated PostScript
30900 \begin_inset Quotes erd
30901 \end_inset
30902
30903  (EPS, file extension 
30904 \begin_inset Quotes eld
30905 \end_inset
30906
30907
30908 \family typewriter
30909 .eps
30910 \family default
30911
30912 \begin_inset Quotes erd
30913 \end_inset
30914
30915 ).
30916  As LyX allows you to use any known image format in your document, it has
30917  to convert images in the background to EPS.
30918  If you have e.g 50 images in your document, LyX has to do 50 conversions
30919  whenever you view or export your document.
30920  This will slow down your work flow with LyX drastically.
30921  So if you plan to use PostScript, you can insert your images directly as
30922  EPS to avoid this problem.
30923 \end_layout
30924
30925 \begin_layout Standard
30926 You can export your document to PostScript using the menu 
30927 \family sans
30928 File\SpecialChar \menuseparator
30929 Export\SpecialChar \menuseparator
30930 Postscript
30931 \family default
30932 .
30933  You can view your document as PostScript via the 
30934 \family sans
30935 View
30936 \family default
30937  menu or by using the toolbar button 
30938 \begin_inset Graphics
30939         filename ../images/buffer-view_ps.png
30940         scale 85
30941         scaleBeforeRotation
30942
30943 \end_inset
30944
30945 .
30946 \end_layout
30947
30948 \begin_layout Section
30949 PDF
30950 \begin_inset LatexCommand label
30951 name "sec:PDF"
30952
30953 \end_inset
30954
30955
30956 \begin_inset LatexCommand index
30957 name "File Formats ! PDF"
30958
30959 \end_inset
30960
30961
30962 \begin_inset LatexCommand index
30963 name "PDF"
30964
30965 \end_inset
30966
30967
30968 \end_layout
30969
30970 \begin_layout Standard
30971 This file type has the extension 
30972 \begin_inset Quotes eld
30973 \end_inset
30974
30975
30976 \family typewriter
30977 .pdf
30978 \family default
30979
30980 \begin_inset Quotes erd
30981 \end_inset
30982
30983 .
30984  The 
30985 \begin_inset Quotes eld
30986 \end_inset
30987
30988 Portable Document Format
30989 \begin_inset Quotes erd
30990 \end_inset
30991
30992  (PDF) is developed by 
30993 \family typewriter
30994 Adobe
30995 \family default
30996  as derivative from PostScript.
30997  It is more compressed and it uses much less commands than PostScript.
30998  As the name 
30999 \begin_inset Quotes eld
31000 \end_inset
31001
31002 portable
31003 \begin_inset Quotes erd
31004 \end_inset
31005
31006  implies, it can be processed at any computer system and the printed output
31007  looks exactly the same.
31008 \end_layout
31009
31010 \begin_layout Standard
31011 PDF can contain images in its own PDF format, in the format 
31012 \begin_inset Quotes eld
31013 \end_inset
31014
31015 Joint Photographic Experts Group
31016 \begin_inset Quotes erd
31017 \end_inset
31018
31019  (JPG, file extension 
31020 \begin_inset Quotes eld
31021 \end_inset
31022
31023
31024 \family typewriter
31025 .jpg
31026 \family default
31027
31028 \begin_inset Quotes erd
31029 \end_inset
31030
31031  or 
31032 \begin_inset Quotes eld
31033 \end_inset
31034
31035
31036 \family typewriter
31037 .jpeg
31038 \family default
31039
31040 \begin_inset Quotes erd
31041 \end_inset
31042
31043 ), and in the format 
31044 \begin_inset Quotes eld
31045 \end_inset
31046
31047 Portable Network Graphics
31048 \begin_inset Quotes erd
31049 \end_inset
31050
31051  (PNG, file extension 
31052 \begin_inset Quotes eld
31053 \end_inset
31054
31055
31056 \family typewriter
31057 .png
31058 \family default
31059
31060 \begin_inset Quotes erd
31061 \end_inset
31062
31063 ).
31064  Nevertheless you can use any other image format, because LyX converts them
31065  in the background to one of these formats.
31066  But as described in the section about PostScript, the image conversion
31067  will slow down your work flow.
31068  So it is recommended to use images in one of the three mentioned formats.
31069 \end_layout
31070
31071 \begin_layout Standard
31072 You can export your document to PDF via the menu 
31073 \family sans
31074 File\SpecialChar \menuseparator
31075 Export
31076 \family default
31077  in three different ways:
31078 \end_layout
31079
31080 \begin_layout Description
31081 PDF\InsetSpace ~
31082 (ps2pdf) This uses the program 
31083 \family typewriter
31084 ps2pdf
31085 \family default
31086  that creates a PDF from a PostScript-version of your file.
31087  The PostScript-version is produced by the program 
31088 \family typewriter
31089 dvips
31090 \family default
31091  which uses a DVI-version as intermediate step.
31092  So this export variant consist of three conversions.
31093 \end_layout
31094
31095 \begin_layout Description
31096 PDF\InsetSpace ~
31097 (dvipdfm) This uses the program 
31098 \family typewriter
31099 dvipdfm
31100 \family default
31101  that converts your file in the background to DVI and in a second step to
31102  PDF.
31103 \end_layout
31104
31105 \begin_layout Description
31106 PDF\InsetSpace ~
31107 (pdflatex) This uses the program 
31108 \family typewriter
31109 pdftex
31110 \family default
31111  that converts your file directly to PDF.
31112 \end_layout
31113
31114 \begin_layout Standard
31115 It is recommended to use 
31116 \family sans
31117 PDF\InsetSpace ~
31118 (pdflatex)
31119 \family default
31120  because 
31121 \family typewriter
31122 pdftex
31123 \family default
31124  supports all features of actual PDF-versions, is quick and works stable
31125  without problems.
31126  The program 
31127 \family typewriter
31128 dvipdfm
31129 \family default
31130  is not under development and therefore a bit outdated.
31131 \end_layout
31132
31133 \begin_layout Standard
31134 You can view your document as PDF via the 
31135 \family sans
31136 View
31137 \family default
31138  menu or by using the toolbar button 
31139 \begin_inset Graphics
31140         filename ../images/buffer-view_pdf2.png
31141         scale 85
31142         scaleBeforeRotation
31143
31144 \end_inset
31145
31146  
31147 \family sans
31148 (
31149 \family default
31150 that uses 
31151 \family sans
31152 PDF\InsetSpace ~
31153 (pdflatex)
31154 \family default
31155 ).
31156 \end_layout
31157
31158 \begin_layout Chapter
31159 Explanation of Equation\InsetSpace ~
31160
31161 \begin_inset LatexCommand eqref
31162 reference "eq:Wgn"
31163
31164 \end_inset
31165
31166
31167 \begin_inset LatexCommand label
31168 name "cha:Explanation-of-Equation"
31169
31170 \end_inset
31171
31172
31173 \end_layout
31174
31175 \begin_layout Standard
31176 The total width of 
31177 \emph on
31178 n
31179 \emph default
31180  table cells 
31181 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31182 \end_inset
31183
31184  can be calculated to
31185 \end_layout
31186
31187 \begin_layout Standard
31188 \begin_inset Formula \begin{equation}
31189 W_{\mathrm{tot}\, n}=n\cdot(W_{g\, n}+2\cdot\backslash\mbox{tabcolsep})+(n+1)\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_n}\end{equation}
31190
31191 \end_inset
31192
31193
31194 \end_layout
31195
31196 \begin_layout Standard
31197 Where 
31198 \begin_inset Formula $W_{g\, n}$
31199 \end_inset
31200
31201  is the given width of all cells.
31202  
31203 \series bold
31204
31205 \backslash
31206 tabcolsep
31207 \series default
31208  is the LaTeX-length between the cell text and the cell border, its default
31209  value is 6\InsetSpace \thinspace{}
31210 pt.
31211  
31212 \series bold
31213
31214 \backslash
31215 arrayrulewidth
31216 \series default
31217  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31218 pt.
31219 \end_layout
31220
31221 \begin_layout Standard
31222 Following equation\InsetSpace ~
31223
31224 \begin_inset LatexCommand eqref
31225 reference "eq:Wtot_n"
31226
31227 \end_inset
31228
31229 , the total width of a multicolumn 
31230 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31231 \end_inset
31232
31233  is
31234 \end_layout
31235
31236 \begin_layout Standard
31237 \begin_inset Formula \begin{equation}
31238 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31239
31240 \end_inset
31241
31242
31243 \end_layout
31244
31245 \begin_layout Standard
31246 By setting equation\InsetSpace ~
31247
31248 \begin_inset LatexCommand eqref
31249 reference "eq:Wtot_n"
31250
31251 \end_inset
31252
31253  and 
31254 \begin_inset LatexCommand eqref
31255 reference "eq:Wtot_mult"
31256
31257 \end_inset
31258
31259  equal we can calculate the needed given width 
31260 \begin_inset Formula $W_{g\, n}$
31261 \end_inset
31262
31263  when 
31264 \emph on
31265 n
31266 \emph default
31267  columns are spanned, so that each column has a total width of 
31268 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31269 \end_inset
31270
31271 :
31272 \end_layout
31273
31274 \begin_layout Standard
31275 \begin_inset Formula \begin{equation}
31276 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31277
31278 \end_inset
31279
31280
31281 \end_layout
31282
31283 \begin_layout Bibliography
31284 \begin_inset LatexCommand bibitem
31285 key "latexcompanion"
31286
31287 \end_inset
31288
31289 Frank Mittelbach and Michel Goossens: 
31290 \emph on
31291 The LaTeX Companion Second Edition.
31292
31293 \emph default
31294  Addison-Wesley, 2004
31295 \end_layout
31296
31297 \begin_layout Bibliography
31298 \begin_inset LatexCommand bibitem
31299 key "latexguide"
31300
31301 \end_inset
31302
31303 Helmut Kopka and Patrick W.
31304  Daly: 
31305 \emph on
31306 A Guide to LaTeX Fourth Edition.
31307
31308 \emph default
31309  Addison-Wesley, 2003
31310 \end_layout
31311
31312 \begin_layout Bibliography
31313 \begin_inset LatexCommand bibitem
31314 key "latexbook"
31315
31316 \end_inset
31317
31318 Leslie Lamport: 
31319 \emph on
31320 LaTeX: A Document Preparation System.
31321
31322 \emph default
31323  Addison-Wesley, second edition, 1994
31324 \end_layout
31325
31326 \begin_layout Bibliography
31327 \begin_inset LatexCommand bibitem
31328 key "booktabs"
31329
31330 \end_inset
31331
31332
31333 \begin_inset ERT
31334 status collapsed
31335
31336 \begin_layout Standard
31337
31338
31339 \backslash
31340 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31341 {
31342 \end_layout
31343
31344 \end_inset
31345
31346 Documentation
31347 \begin_inset ERT
31348 status collapsed
31349
31350 \begin_layout Standard
31351
31352 }
31353 \end_layout
31354
31355 \end_inset
31356
31357  of the LaTeX-package 
31358 \series bold
31359 booktabs
31360 \series default
31361
31362 \begin_inset LatexCommand index
31363 name "LaTeX-packages ! booktabs"
31364
31365 \end_inset
31366
31367
31368 \end_layout
31369
31370 \begin_layout Bibliography
31371 \begin_inset LatexCommand bibitem
31372 key "caption"
31373
31374 \end_inset
31375
31376
31377 \begin_inset ERT
31378 status collapsed
31379
31380 \begin_layout Standard
31381
31382
31383 \backslash
31384 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31385 \end_layout
31386
31387 \end_inset
31388
31389 Documentation
31390 \begin_inset ERT
31391 status collapsed
31392
31393 \begin_layout Standard
31394
31395 }
31396 \end_layout
31397
31398 \end_inset
31399
31400  of the LaTeX-package 
31401 \series bold
31402 caption
31403 \series default
31404
31405 \begin_inset LatexCommand index
31406 name "LaTeX-packages ! caption"
31407
31408 \end_inset
31409
31410
31411 \end_layout
31412
31413 \begin_layout Bibliography
31414 \begin_inset LatexCommand bibitem
31415 key "caption-de"
31416
31417 \end_inset
31418
31419 German 
31420 \begin_inset ERT
31421 status collapsed
31422
31423 \begin_layout Standard
31424
31425
31426 \backslash
31427 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31428 {
31429 \end_layout
31430
31431 \end_inset
31432
31433 documentation
31434 \begin_inset ERT
31435 status collapsed
31436
31437 \begin_layout Standard
31438
31439 }
31440 \end_layout
31441
31442 \end_inset
31443
31444  of the LaTeX-package 
31445 \series bold
31446 caption
31447 \end_layout
31448
31449 \begin_layout Bibliography
31450 \begin_inset LatexCommand bibitem
31451 key "endfloat"
31452
31453 \end_inset
31454
31455
31456 \begin_inset ERT
31457 status collapsed
31458
31459 \begin_layout Standard
31460
31461
31462 \backslash
31463 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31464 {
31465 \end_layout
31466
31467 \end_inset
31468
31469 Documentation
31470 \begin_inset ERT
31471 status collapsed
31472
31473 \begin_layout Standard
31474
31475 }
31476 \end_layout
31477
31478 \end_inset
31479
31480  of the LaTeX-package 
31481 \series bold
31482 endf\SpecialChar \textcompwordmark{}
31483 loat
31484 \series default
31485
31486 \begin_inset LatexCommand index
31487 name "LaTeX-packages ! endfloat"
31488
31489 \end_inset
31490
31491
31492 \end_layout
31493
31494 \begin_layout Bibliography
31495 \begin_inset LatexCommand bibitem
31496 key "floatflt"
31497
31498 \end_inset
31499
31500
31501 \begin_inset ERT
31502 status collapsed
31503
31504 \begin_layout Standard
31505
31506
31507 \backslash
31508 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
31509 {
31510 \end_layout
31511
31512 \end_inset
31513
31514 Documentation
31515 \begin_inset ERT
31516 status collapsed
31517
31518 \begin_layout Standard
31519
31520 }
31521 \end_layout
31522
31523 \end_inset
31524
31525  of the LaTeX-package 
31526 \series bold
31527 f\SpecialChar \textcompwordmark{}
31528 loatf\SpecialChar \textcompwordmark{}
31529 lt
31530 \series default
31531
31532 \begin_inset LatexCommand index
31533 name "LaTeX-packages ! floatflt"
31534
31535 \end_inset
31536
31537
31538 \end_layout
31539
31540 \begin_layout Bibliography
31541 \begin_inset LatexCommand bibitem
31542 key "footmisc"
31543
31544 \end_inset
31545
31546
31547 \begin_inset ERT
31548 status collapsed
31549
31550 \begin_layout Standard
31551
31552
31553 \backslash
31554 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31555 {
31556 \end_layout
31557
31558 \end_inset
31559
31560 Documentation
31561 \begin_inset ERT
31562 status collapsed
31563
31564 \begin_layout Standard
31565
31566 }
31567 \end_layout
31568
31569 \end_inset
31570
31571  of the LaTeX-package 
31572 \series bold
31573 footmisc
31574 \series default
31575
31576 \begin_inset LatexCommand index
31577 name "LaTeX-packages ! footmisc"
31578
31579 \end_inset
31580
31581
31582 \end_layout
31583
31584 \begin_layout Bibliography
31585 \begin_inset LatexCommand bibitem
31586 key "hypcap"
31587
31588 \end_inset
31589
31590
31591 \begin_inset ERT
31592 status collapsed
31593
31594 \begin_layout Standard
31595
31596
31597 \backslash
31598 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
31599 \end_layout
31600
31601 \end_inset
31602
31603 Documentation
31604 \begin_inset ERT
31605 status collapsed
31606
31607 \begin_layout Standard
31608
31609 }
31610 \end_layout
31611
31612 \end_inset
31613
31614  of the LaTeX-package 
31615 \series bold
31616 hypcap
31617 \series default
31618
31619 \begin_inset LatexCommand index
31620 name "LaTeX-packages ! hyperref"
31621
31622 \end_inset
31623
31624
31625 \end_layout
31626
31627 \begin_layout Bibliography
31628 \begin_inset LatexCommand bibitem
31629 key "hyperref"
31630
31631 \end_inset
31632
31633
31634 \begin_inset ERT
31635 status collapsed
31636
31637 \begin_layout Standard
31638
31639
31640 \backslash
31641 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31642 {
31643 \end_layout
31644
31645 \end_inset
31646
31647 Documentation
31648 \begin_inset ERT
31649 status collapsed
31650
31651 \begin_layout Standard
31652
31653 }
31654 \end_layout
31655
31656 \end_inset
31657
31658  of the LaTeX-package 
31659 \series bold
31660 hyperref
31661 \series default
31662
31663 \begin_inset LatexCommand index
31664 name "LaTeX-packages ! hyperref"
31665
31666 \end_inset
31667
31668
31669 \end_layout
31670
31671 \begin_layout Bibliography
31672 \begin_inset LatexCommand bibitem
31673 key "koma-script"
31674
31675 \end_inset
31676
31677
31678 \begin_inset ERT
31679 status collapsed
31680
31681 \begin_layout Standard
31682
31683
31684 \backslash
31685 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31686 df}{
31687 \end_layout
31688
31689 \end_inset
31690
31691 Documentation
31692 \begin_inset ERT
31693 status collapsed
31694
31695 \begin_layout Standard
31696
31697 }
31698 \end_layout
31699
31700 \end_inset
31701
31702  of the LaTeX-package 
31703 \series bold
31704 koma-script
31705 \series default
31706
31707 \begin_inset LatexCommand index
31708 name "LaTeX-packages ! koma-script"
31709
31710 \end_inset
31711
31712
31713 \end_layout
31714
31715 \begin_layout Bibliography
31716 \begin_inset LatexCommand bibitem
31717 key "koma-script-de"
31718
31719 \end_inset
31720
31721 German 
31722 \begin_inset ERT
31723 status collapsed
31724
31725 \begin_layout Standard
31726
31727
31728 \backslash
31729 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
31730 df}{
31731 \end_layout
31732
31733 \end_inset
31734
31735 documentation
31736 \begin_inset ERT
31737 status collapsed
31738
31739 \begin_layout Standard
31740
31741 }
31742 \end_layout
31743
31744 \end_inset
31745
31746  of the LaTeX-package 
31747 \series bold
31748 koma-script
31749 \series default
31750
31751 \begin_inset LatexCommand index
31752 name "LaTeX-packages ! koma-script"
31753
31754 \end_inset
31755
31756
31757 \end_layout
31758
31759 \begin_layout Bibliography
31760 \begin_inset LatexCommand bibitem
31761 key "listings"
31762
31763 \end_inset
31764
31765
31766 \begin_inset ERT
31767 status collapsed
31768
31769 \begin_layout Standard
31770
31771
31772 \backslash
31773 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31774 {
31775 \end_layout
31776
31777 \end_inset
31778
31779 Documentation
31780 \begin_inset ERT
31781 status collapsed
31782
31783 \begin_layout Standard
31784
31785 }
31786 \end_layout
31787
31788 \end_inset
31789
31790  of the LaTeX-package 
31791 \series bold
31792 listings
31793 \series default
31794
31795 \begin_inset LatexCommand index
31796 name "LaTeX-packages ! listings"
31797
31798 \end_inset
31799
31800
31801 \end_layout
31802
31803 \begin_layout Bibliography
31804 \begin_inset LatexCommand bibitem
31805 key "marginnote"
31806
31807 \end_inset
31808
31809
31810 \begin_inset ERT
31811 status collapsed
31812
31813 \begin_layout Standard
31814
31815
31816 \backslash
31817 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31818 pdf}{
31819 \end_layout
31820
31821 \end_inset
31822
31823 Documentation
31824 \begin_inset ERT
31825 status collapsed
31826
31827 \begin_layout Standard
31828
31829 }
31830 \end_layout
31831
31832 \end_inset
31833
31834  of the LaTeX-package 
31835 \series bold
31836 marginnote
31837 \series default
31838
31839 \begin_inset LatexCommand index
31840 name "LaTeX-packages ! marginnote"
31841
31842 \end_inset
31843
31844
31845 \end_layout
31846
31847 \begin_layout Bibliography
31848 \begin_inset LatexCommand bibitem
31849 key "pstricks"
31850
31851 \end_inset
31852
31853
31854 \begin_inset ERT
31855 status collapsed
31856
31857 \begin_layout Standard
31858
31859
31860 \backslash
31861 href{http://tug.org/PSTricks/main.cgi/}{
31862 \end_layout
31863
31864 \end_inset
31865
31866 Web page
31867 \begin_inset ERT
31868 status collapsed
31869
31870 \begin_layout Standard
31871
31872 }
31873 \end_layout
31874
31875 \end_inset
31876
31877  of the LaTeX-package 
31878 \series bold
31879 PSTricks
31880 \series default
31881
31882 \begin_inset LatexCommand index
31883 name "LaTeX-packages ! PSTricks"
31884
31885 \end_inset
31886
31887
31888 \end_layout
31889
31890 \begin_layout Bibliography
31891 \begin_inset LatexCommand bibitem
31892 key "sidecap"
31893
31894 \end_inset
31895
31896
31897 \begin_inset ERT
31898 status collapsed
31899
31900 \begin_layout Standard
31901
31902
31903 \backslash
31904 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
31905 \end_layout
31906
31907 \end_inset
31908
31909 Documentation
31910 \begin_inset ERT
31911 status collapsed
31912
31913 \begin_layout Standard
31914
31915 }
31916 \end_layout
31917
31918 \end_inset
31919
31920  of the LaTeX-package 
31921 \series bold
31922 sidecap
31923 \series default
31924
31925 \begin_inset LatexCommand index
31926 name "LaTeX-packages ! sidecap"
31927
31928 \end_inset
31929
31930
31931 \end_layout
31932
31933 \begin_layout Bibliography
31934 \begin_inset LatexCommand bibitem
31935 key "NewInLyX15"
31936
31937 \end_inset
31938
31939
31940 \begin_inset ERT
31941 status collapsed
31942
31943 \begin_layout Standard
31944
31945
31946 \backslash
31947 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31948 \end_layout
31949
31950 \end_inset
31951
31952 Wiki page
31953 \begin_inset ERT
31954 status collapsed
31955
31956 \begin_layout Standard
31957
31958 }
31959 \end_layout
31960
31961 \end_inset
31962
31963  about new features in 
31964 \family sans
31965 LyX 1.5.0
31966 \family default
31967 .
31968 \end_layout
31969
31970 \begin_layout Standard
31971 \begin_inset LatexCommand printindex
31972
31973 \end_inset
31974
31975
31976 \end_layout
31977
31978 \begin_layout Standard
31979 \begin_inset FloatList figure
31980
31981 \end_inset
31982
31983
31984 \end_layout
31985
31986 \begin_layout Standard
31987 \begin_inset FloatList table
31988
31989 \end_inset
31990
31991
31992 \end_layout
31993
31994 \begin_layout Standard
31995 \begin_inset ERT
31996 status collapsed
31997
31998 \begin_layout Standard
31999
32000
32001 \backslash
32002 listof{Xalgorithm}{List of Algorithms}
32003 \end_layout
32004
32005 \end_inset
32006
32007
32008 \begin_inset Note Note
32009 status collapsed
32010
32011 \begin_layout Standard
32012 see section\InsetSpace ~
32013
32014 \begin_inset LatexCommand ref
32015 reference "sub:Algorithm-Floats"
32016
32017 \end_inset
32018
32019  for a description
32020 \end_layout
32021
32022 \end_inset
32023
32024
32025 \end_layout
32026
32027 \end_body
32028 \end_document