]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
Customization: tiny update by Hartmut
[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[f\SpecialChar \textcompwordmark{}
19337 igure]{hypcap}
19338 \end_layout
19339
19340 \begin_layout Standard
19341 You can also use 
19342 \series bold
19343 hypcap
19344 \series default
19345  for all floats but this isn't recommended for stability reasons.
19346  For more informations, have a look at 
19347 \series bold
19348 hypcap
19349 \series default
19350 's manual 
19351 \begin_inset LatexCommand cite
19352 key "hypcap"
19353
19354 \end_inset
19355
19356 .
19357 \end_layout
19358
19359 \begin_layout Standard
19360 \begin_inset Note Greyedout
19361 status open
19362
19363 \begin_layout Standard
19364
19365 \series bold
19366 Note:
19367 \series default
19368  
19369 \series bold
19370 hypcap
19371 \series default
19372  must be loaded after 
19373 \series bold
19374 hyperref
19375 \series default
19376  in the document preamble.
19377 \end_layout
19378
19379 \end_inset
19380
19381
19382 \end_layout
19383
19384 \begin_layout Standard
19385 \begin_inset Note Greyedout
19386 status open
19387
19388 \begin_layout Standard
19389
19390 \series bold
19391 Note:
19392 \series default
19393  
19394 \series bold
19395 hypcap
19396 \series default
19397  has no effect for references to subfigures.
19398 \end_layout
19399
19400 \end_inset
19401
19402
19403 \end_layout
19404
19405 \begin_layout Section
19406 Float Placement
19407 \begin_inset LatexCommand label
19408 name "sec:Float-Placement"
19409
19410 \end_inset
19411
19412
19413 \begin_inset LatexCommand index
19414 name "Floats ! Placement"
19415
19416 \end_inset
19417
19418
19419 \end_layout
19420
19421 \begin_layout Standard
19422 Right-clicking on a float-box opens a dialog where you can alter the placement
19423  options that LaTeX uses for positioning the float.
19424 \newline
19425 The option 
19426 \family sans
19427 Span\InsetSpace ~
19428 columns
19429 \family default
19430  is only useful for two-column documents: If you select it, the float will
19431  span across both columns on the page instead of being confined to just
19432  one.
19433 \newline
19434 The option 
19435 \family sans
19436 Rotate\InsetSpace ~
19437 sideways
19438 \family default
19439  is used to rotate floats, see section 
19440 \begin_inset LatexCommand ref
19441 reference "sec:Rotated-Floats"
19442
19443 \end_inset
19444
19445 .
19446 \end_layout
19447
19448 \begin_layout Standard
19449 You can use one ore more of the following options in the float dialog to
19450  set the placement for a particular float when you uncheck the option 
19451 \family sans
19452 Use\InsetSpace ~
19453 default\InsetSpace ~
19454 placement
19455 \family default
19456 :
19457 \end_layout
19458
19459 \begin_layout Description
19460 Here\InsetSpace ~
19461 if\InsetSpace ~
19462 possible try to place the float on the position where it is inserted
19463 \end_layout
19464
19465 \begin_layout Description
19466 Top\InsetSpace ~
19467 of\InsetSpace ~
19468 page try to place the float on the top of the current page
19469 \end_layout
19470
19471 \begin_layout Description
19472 Bottom\InsetSpace ~
19473 of\InsetSpace ~
19474 page try to place the float on the bottom of the current page
19475 \end_layout
19476
19477 \begin_layout Description
19478 Page\InsetSpace ~
19479 of\InsetSpace ~
19480 floats try to place the float on an own page 
19481 \end_layout
19482
19483 \begin_layout Standard
19484 The order of the above option is 
19485 \emph on
19486 always
19487 \emph default
19488  used by LaTeX.
19489  That means, if you use the default placement, LaTeX will first try out
19490  
19491 \family sans
19492 Here\InsetSpace ~
19493 if\InsetSpace ~
19494 possible
19495 \family default
19496 , then 
19497 \family sans
19498 Top\InsetSpace ~
19499 of\InsetSpace ~
19500 page
19501 \family default
19502 , and then the others.
19503  If you don't use the default, LaTeX will try only the checked options but
19504  in the same order.
19505  If none of the 4 placements are possible the procedure is internally repeated
19506  but it is tried to put the float on the following page.
19507 \end_layout
19508
19509 \begin_layout Standard
19510 By default, each option has its own rules:
19511 \end_layout
19512
19513 \begin_layout Labeling
19514 \labelwidthstring 00.00.0000
19515
19516 \family sans
19517 Top\InsetSpace ~
19518 of\InsetSpace ~
19519 page
19520 \family default
19521  only floats occupying less than 70\InsetSpace \thinspace{}
19522 % of the page can be placed at the top
19523  of a page (
19524 \series bold
19525
19526 \backslash
19527 topfraction
19528 \series default
19529 )
19530 \end_layout
19531
19532 \begin_layout Labeling
19533 \labelwidthstring 00.00.0000
19534
19535 \family sans
19536 Bottom\InsetSpace ~
19537 of\InsetSpace ~
19538 page
19539 \family default
19540 : only floats occupying less than 30\InsetSpace \thinspace{}
19541 % of the page can be placed at the bottom
19542  of a page.
19543  (
19544 \series bold
19545
19546 \backslash
19547 bottomfraction
19548 \series default
19549 )
19550 \end_layout
19551
19552 \begin_layout Labeling
19553 \labelwidthstring 00.00.0000
19554
19555 \family sans
19556 Page\InsetSpace ~
19557 of\InsetSpace ~
19558 floats
19559 \family default
19560 : only if more than 50\InsetSpace \thinspace{}
19561 % of the page are occupied by floats, several floats
19562  can be set together on a page.
19563  (
19564 \series bold
19565
19566 \backslash
19567 floatpagefraction
19568 \series default
19569 )
19570 \end_layout
19571
19572 \begin_layout Standard
19573 If you don't like these rules, you can ignore them by using the additional
19574  option 
19575 \family sans
19576 Ignore\InsetSpace ~
19577 LaTeX\InsetSpace ~
19578 rules
19579 \family default
19580 .
19581 \newline
19582 You can also redefine the rules with LaTeX-commands that are given in parenthese
19583 s behind the rules description above.
19584  To increase for example the often too small default of the bottom-rule
19585  to 50\InsetSpace \thinspace{}
19586 % of the page, add this line to your document preamble:
19587 \end_layout
19588
19589 \begin_layout Standard
19590
19591 \series bold
19592
19593 \backslash
19594 renewcommand{
19595 \backslash
19596 bottomfraction}{0.5}
19597 \end_layout
19598
19599 \begin_layout Standard
19600 Sometimes you might need, under all circumstances, a float to be placed
19601  exactly at the position where it is inserted.
19602  For this case you can use the option 
19603 \family sans
19604 Here\InsetSpace ~
19605 definitely
19606 \family default
19607 .
19608  Use this option very rarely and only if the document is nearly ready to
19609  be printed.
19610  Because the float is then no longer able to 
19611 \begin_inset Quotes eld
19612 \end_inset
19613
19614 float
19615 \begin_inset Quotes erd
19616 \end_inset
19617
19618  when you change your document and this will often destroy the page layout.
19619 \end_layout
19620
19621 \begin_layout Standard
19622 There are no placement options for text wrap floats, because they are always
19623  surrounded by the text of a certain paragraph.
19624 \begin_inset VSpace bigskip
19625 \end_inset
19626
19627
19628 \end_layout
19629
19630 \begin_layout Standard
19631 Sometimes you have the problem that a float is placed at the top of a page
19632  while its corresponding section starts at the middle of the page, so that
19633  the reader could think the float is part of the previous section.
19634  To avoid this the LaTeX-command 
19635 \series bold
19636
19637 \backslash
19638 suppressfloats
19639 \series default
19640  can be used.
19641  It suppresses a given float placement for the page where it is inserted
19642  and can therefore be used to avoid that floats could be set before a section
19643  starts.
19644  To get this, add these commands to your document preamble:
19645 \end_layout
19646
19647 \begin_layout Standard
19648
19649 \series bold
19650
19651 \backslash
19652 let
19653 \backslash
19654 mySection
19655 \backslash
19656 section
19657 \newline
19658
19659 \backslash
19660 renewcommand{
19661 \backslash
19662 section}{
19663 \backslash
19664 suppressfloats[t]
19665 \backslash
19666 mySection}
19667 \end_layout
19668
19669 \begin_layout Standard
19670 You can define the same for all section headings, like chapters and subsections.
19671  This definition is not recommended to be used for small text parts like
19672  subsubsections because LaTeX may then have problems to find a suitable
19673  placement.
19674 \end_layout
19675
19676 \begin_layout Standard
19677 \begin_inset VSpace bigskip
19678 \end_inset
19679
19680 In some cases it is required to have all figures/tables at the end of the
19681  document.
19682  For this purpose the LaTeX-package 
19683 \series bold
19684 endfloat
19685 \series default
19686
19687 \begin_inset LatexCommand index
19688 name "LaTeX-packages ! endfloat"
19689
19690 \end_inset
19691
19692  was developed.
19693  It puts all figure and table floats at the end of the document into own
19694  sections.
19695  At the original float position a text hint like 
19696 \begin_inset Quotes eld
19697 \end_inset
19698
19699
19700 \family sans
19701 [Figure\InsetSpace ~
19702 3.2 about here.]
19703 \family default
19704
19705 \begin_inset Quotes erd
19706 \end_inset
19707
19708  is inserted.
19709  The endfloat-package is loaded in the preamble with the line
19710 \end_layout
19711
19712 \begin_layout Standard
19713
19714 \series bold
19715
19716 \backslash
19717 usepackage[options]{endfloat}
19718 \end_layout
19719
19720 \begin_layout Standard
19721 There are various package options to format the created figure/table sections.
19722  For more information we refer to the 
19723 \series bold
19724 endfloat
19725 \series default
19726  documentation 
19727 \begin_inset LatexCommand cite
19728 key "endfloat"
19729
19730 \end_inset
19731
19732 .
19733 \newline
19734
19735 \begin_inset Note Greyedout
19736 status open
19737
19738 \begin_layout Standard
19739
19740 \series bold
19741 Note: endfloat
19742 \series default
19743  doesn't provide an automatic translation for the text hint, you have to
19744  do this manually, see section\InsetSpace ~
19745 4 in 
19746 \begin_inset LatexCommand cite
19747 key "endfloat"
19748
19749 \end_inset
19750
19751 .
19752 \end_layout
19753
19754 \end_inset
19755
19756
19757 \newline
19758
19759 \begin_inset Note Greyedout
19760 status open
19761
19762 \begin_layout Standard
19763
19764 \series bold
19765 Note:
19766 \series default
19767  There is currently a bug in 
19768 \series bold
19769 endfloat
19770 \series default
19771  when the caption contains a German 
19772 \begin_inset Quotes eld
19773 \end_inset
19774
19775 ß
19776 \begin_inset Quotes erd
19777 \end_inset
19778
19779 .
19780  Use in this case the command 
19781 \begin_inset Quotes eld
19782 \end_inset
19783
19784
19785 \series bold
19786
19787 \backslash
19788 ss
19789 \series default
19790
19791 \begin_inset Quotes erd
19792 \end_inset
19793
19794  in TeX-Code instead of 
19795 \begin_inset Quotes eld
19796 \end_inset
19797
19798 ß
19799 \begin_inset Quotes erd
19800 \end_inset
19801
19802 .
19803 \end_layout
19804
19805 \end_inset
19806
19807
19808 \end_layout
19809
19810 \begin_layout Standard
19811 \begin_inset VSpace bigskip
19812 \end_inset
19813
19814 For more details about float placements, have a look at LaTeX books, 
19815 \begin_inset LatexCommand cite
19816 key "latexcompanion,latexguide,latexbook"
19817
19818 \end_inset
19819
19820 .
19821 \end_layout
19822
19823 \begin_layout Section
19824 Rotated Floats
19825 \begin_inset LatexCommand label
19826 name "sec:Rotated-Floats"
19827
19828 \end_inset
19829
19830
19831 \begin_inset LatexCommand index
19832 name "Floats ! Rotating"
19833
19834 \end_inset
19835
19836
19837 \end_layout
19838
19839 \begin_layout Standard
19840 Especially for wide tables you might have floats rotated.
19841  To rotate a whole float including the caption, right-click on the float-box
19842  and use the option 
19843 \family sans
19844 Rotate\InsetSpace ~
19845 sideways
19846 \family default
19847 .
19848 \end_layout
19849
19850 \begin_layout Standard
19851 Rotated floats are always placed on its own page (or column, when you have
19852  a two-column document).
19853  They are rotated so that you can read them from the outside margin.
19854  To force a certain rotation direction for all pages, you can add either
19855  the option 
19856 \series bold
19857 figuresleft
19858 \series default
19859  or 
19860 \series bold
19861 figuresright
19862 \series default
19863  to the document class options.
19864 \end_layout
19865
19866 \begin_layout Standard
19867 Referencing rotated floats is the same like for normal floats, the caption
19868  format is also the same: Table\InsetSpace ~
19869
19870 \begin_inset LatexCommand ref
19871 reference "tab:Rotated-table"
19872
19873 \end_inset
19874
19875  is an example of a rotated table float.
19876 \end_layout
19877
19878 \begin_layout Standard
19879 \begin_inset Note Greyedout
19880 status open
19881
19882 \begin_layout Standard
19883
19884 \series bold
19885 Note:
19886 \series default
19887  Not all DVI-viewers are able to display rotated floats.
19888 \end_layout
19889
19890 \end_inset
19891
19892
19893 \end_layout
19894
19895 \begin_layout Standard
19896 \begin_inset Float table
19897 wide false
19898 sideways true
19899 status open
19900
19901 \begin_layout Standard
19902 \begin_inset Caption
19903
19904 \begin_layout Standard
19905 \begin_inset LatexCommand label
19906 name "tab:Rotated-table"
19907
19908 \end_inset
19909
19910  Rotated table
19911 \end_layout
19912
19913 \end_inset
19914
19915
19916 \end_layout
19917
19918 \begin_layout Standard
19919 \align center
19920 \begin_inset Tabular
19921 <lyxtabular version="3" rows="1" columns="5">
19922 <features>
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" width="0">
19927 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19928 <row topline="true" bottomline="true">
19929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19930 \begin_inset Text
19931
19932 \begin_layout Standard
19933 test
19934 \end_layout
19935
19936 \end_inset
19937 </cell>
19938 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19939 \begin_inset Text
19940
19941 \begin_layout Standard
19942 b
19943 \end_layout
19944
19945 \end_inset
19946 </cell>
19947 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19948 \begin_inset Text
19949
19950 \begin_layout Standard
19951 c
19952 \end_layout
19953
19954 \end_inset
19955 </cell>
19956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19957 \begin_inset Text
19958
19959 \begin_layout Standard
19960 d
19961 \end_layout
19962
19963 \end_inset
19964 </cell>
19965 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19966 \begin_inset Text
19967
19968 \begin_layout Standard
19969 e
19970 \end_layout
19971
19972 \end_inset
19973 </cell>
19974 </row>
19975 </lyxtabular>
19976
19977 \end_inset
19978
19979
19980 \end_layout
19981
19982 \end_inset
19983
19984
19985 \end_layout
19986
19987 \begin_layout Section
19988 Caption Formatting
19989 \begin_inset LatexCommand index
19990 name "Caption ! Formatting"
19991
19992 \end_inset
19993
19994
19995 \begin_inset LatexCommand index
19996 name "Floats ! Caption Formatting"
19997
19998 \end_inset
19999
20000
20001 \begin_inset LatexCommand index
20002 name "LaTeX-packages ! caption"
20003
20004 \end_inset
20005
20006
20007 \begin_inset LatexCommand label
20008 name "sec:Caption-Formatting"
20009
20010 \end_inset
20011
20012
20013 \end_layout
20014
20015 \begin_layout Standard
20016 The 
20017 \family sans
20018 Caption
20019 \family default
20020  environment is the default paragraph environment for 
20021 \family sans
20022 Floats
20023 \family default
20024 .
20025  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
20026 g.\InsetSpace ~
20027
20028 \begin_inset Quotes eld
20029 \end_inset
20030
20031
20032 \family sans
20033 Figure #:
20034 \family default
20035
20036 \begin_inset Quotes erd
20037 \end_inset
20038
20039  followed by the caption text.
20040  
20041 \begin_inset Quotes eld
20042 \end_inset
20043
20044 #
20045 \begin_inset Quotes erd
20046 \end_inset
20047
20048  is the actual reference number.
20049  By default the label and the number are in the same font as the caption
20050  text and a colon follows the number to divide the label from the text.
20051  This caption format is not suitable for all document formats.
20052  
20053 \end_layout
20054
20055 \begin_layout Standard
20056 To change the default caption format, load the LaTeX-package 
20057 \series bold
20058 caption
20059 \series default
20060
20061 \begin_inset LatexCommand index
20062 name "LaTeX-packages ! caption"
20063
20064 \end_inset
20065
20066  in the document preamble with this line:
20067 \end_layout
20068
20069 \begin_layout Standard
20070
20071 \series bold
20072
20073 \backslash
20074 usepackage[format definition]{caption}
20075 \end_layout
20076
20077 \begin_layout Standard
20078 To have for example the label and the number in sans-serif bold font and
20079  the table captions always above the table like in this document, use the
20080  following command:
20081 \end_layout
20082
20083 \begin_layout Standard
20084
20085 \series bold
20086
20087 \backslash
20088 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20089 \end_layout
20090
20091 \begin_layout Standard
20092 You can also define different caption formats for the different float types.
20093  In this case load the 
20094 \series bold
20095 caption
20096 \series default
20097  package without format specific options and define the different formats
20098  with the help of the command
20099 \end_layout
20100
20101 \begin_layout Standard
20102
20103 \series bold
20104
20105 \backslash
20106 captionsetup[float type]{format definition}
20107 \end_layout
20108
20109 \begin_layout Standard
20110 in the document preamble.
20111  For example the caption formats of Figure\InsetSpace ~
20112
20113 \begin_inset LatexCommand ref
20114 reference "fig:This-is-an-fig"
20115
20116 \end_inset
20117
20118  and Table\InsetSpace ~
20119
20120 \begin_inset LatexCommand ref
20121 reference "tab:This-is-an-tab"
20122
20123 \end_inset
20124
20125  can be created using these commands in the document preamble:
20126 \end_layout
20127
20128 \begin_layout Standard
20129
20130 \series bold
20131
20132 \backslash
20133 usepackage[tableposition=top]{caption}
20134 \series default
20135
20136 \newline
20137
20138 \series bold
20139
20140 \backslash
20141 captionsetup[f\SpecialChar \textcompwordmark{}
20142 igure]{labelfont={tt}, textfont=it, indention=1cm,%
20143 \newline
20144
20145 \begin_inset ERT
20146 status collapsed
20147
20148 \begin_layout Standard
20149
20150
20151 \backslash
20152 hphantom{
20153 \backslash
20154
20155 \backslash
20156 captionsetup[figure]
20157 \backslash
20158 {}
20159 \end_layout
20160
20161 \end_inset
20162
20163  labelsep=period}
20164 \newline
20165
20166 \backslash
20167 captionsetup[table]{labelfont={bf,sf}}
20168 \end_layout
20169
20170 \begin_layout Standard
20171 \begin_inset Note Greyedout
20172 status open
20173
20174 \begin_layout Standard
20175
20176 \series bold
20177 Note:
20178 \series default
20179  The option 
20180 \series bold
20181 tableposition=top
20182 \series default
20183  has no effect when a 
20184 \series bold
20185 koma-script
20186 \series default
20187
20188 \begin_inset LatexCommand index
20189 name "LaTeX-packages ! koma-script"
20190
20191 \end_inset
20192
20193  document class is used.
20194  In this case the document class option 
20195 \series bold
20196 tablecaptionabove
20197 \series default
20198  must be used.
20199 \end_layout
20200
20201 \end_inset
20202
20203
20204 \end_layout
20205
20206 \begin_layout Standard
20207 For more information about the package 
20208 \series bold
20209 caption
20210 \series default
20211  we refer to its documentation 
20212 \begin_inset LatexCommand cite
20213 key "caption,caption-de"
20214
20215 \end_inset
20216
20217 .
20218 \end_layout
20219
20220 \begin_layout Standard
20221 To change the label name from e.g.
20222  
20223 \begin_inset Quotes eld
20224 \end_inset
20225
20226 Figure
20227 \begin_inset Quotes erd
20228 \end_inset
20229
20230  to 
20231 \begin_inset Quotes eld
20232 \end_inset
20233
20234 Image
20235 \begin_inset Quotes erd
20236 \end_inset
20237
20238  use this preamble command:
20239 \end_layout
20240
20241 \begin_layout Standard
20242
20243 \series bold
20244
20245 \backslash
20246 renewcommand{
20247 \backslash
20248 fnum@figure}{Image~
20249 \backslash
20250 thefigure}
20251 \end_layout
20252
20253 \begin_layout Standard
20254 where 
20255 \series bold
20256
20257 \backslash
20258 thefigure
20259 \series default
20260  inserts the figure number and
20261 \series bold
20262  
20263 \begin_inset Quotes eld
20264 \end_inset
20265
20266 ~
20267 \series default
20268
20269 \begin_inset Quotes erd
20270 \end_inset
20271
20272  creates a protected space.
20273 \end_layout
20274
20275 \begin_layout Standard
20276 \begin_inset VSpace bigskip
20277 \end_inset
20278
20279 If you are using a 
20280 \series bold
20281 koma-script
20282 \series default
20283
20284 \begin_inset LatexCommand index
20285 name "LaTeX-packages ! koma-script"
20286
20287 \end_inset
20288
20289  document class (
20290 \family sans
20291 article (koma-script)
20292 \family default
20293
20294 \family sans
20295 book (koma-script)
20296 \family default
20297
20298 \family sans
20299 letter (koma-script)
20300 \family default
20301 , or 
20302 \family sans
20303 report (koma-script)
20304 \family default
20305 \InsetSpace \thinspace{}
20306 ), you can alternatively to the 
20307 \series bold
20308 caption
20309 \series default
20310  package use 
20311 \series bold
20312 koma-script
20313 \series default
20314 's built-in command 
20315 \series bold
20316
20317 \backslash
20318 setkomafont
20319 \series default
20320 .
20321  For example, to have the caption label in bold, add this command to your
20322  document preamble:
20323 \end_layout
20324
20325 \begin_layout Standard
20326
20327 \series bold
20328
20329 \backslash
20330 setkomafont{captionlabel}{
20331 \backslash
20332 bfseries}
20333 \end_layout
20334
20335 \begin_layout Standard
20336 For more information about 
20337 \series bold
20338
20339 \backslash
20340 setkomafont
20341 \series default
20342  we refer to the 
20343 \series bold
20344 koma-script
20345 \series default
20346  documentation 
20347 \begin_inset LatexCommand cite
20348 key "koma-script,koma-script-de"
20349
20350 \end_inset
20351
20352 .
20353 \end_layout
20354
20355 \begin_layout Standard
20356 \begin_inset ERT
20357 status collapsed
20358
20359 \begin_layout Standard
20360
20361
20362 \backslash
20363 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20364 }
20365 \end_layout
20366
20367 \end_inset
20368
20369
20370 \begin_inset Note Note
20371 status open
20372
20373 \begin_layout Standard
20374 The caption format is changed only for this example.
20375 \end_layout
20376
20377 \end_inset
20378
20379
20380 \end_layout
20381
20382 \begin_layout Standard
20383 \begin_inset Float figure
20384 placement !p
20385 wide false
20386 sideways false
20387 status open
20388
20389 \begin_layout Standard
20390 \align center
20391 \begin_inset Graphics
20392         filename clipart/mobius.eps
20393         lyxscale 50
20394         scale 50
20395         scaleBeforeRotation
20396
20397 \end_inset
20398
20399
20400 \end_layout
20401
20402 \begin_layout Standard
20403 \begin_inset Caption
20404
20405 \begin_layout Standard
20406 \begin_inset LatexCommand label
20407 name "fig:This-is-an-fig"
20408
20409 \end_inset
20410
20411 This is an example figure caption that is longer than one line to show the
20412  different caption format.
20413  Here a self-defined caption format is used.
20414 \end_layout
20415
20416 \end_inset
20417
20418
20419 \end_layout
20420
20421 \end_inset
20422
20423
20424 \end_layout
20425
20426 \begin_layout Standard
20427 \begin_inset ERT
20428 status collapsed
20429
20430 \begin_layout Standard
20431
20432
20433 \backslash
20434 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20435 on}
20436 \end_layout
20437
20438 \end_inset
20439
20440
20441 \end_layout
20442
20443 \begin_layout Standard
20444 \begin_inset Float table
20445 placement !p
20446 wide false
20447 sideways false
20448 status open
20449
20450 \begin_layout Standard
20451 \begin_inset Caption
20452
20453 \begin_layout Standard
20454 \begin_inset LatexCommand label
20455 name "tab:This-is-an-tab"
20456
20457 \end_inset
20458
20459 This is an example table caption that is longer than one line to show the
20460  different caption format.
20461  Here the standard caption format for tables in this document is used.
20462 \end_layout
20463
20464 \end_inset
20465
20466
20467 \end_layout
20468
20469 \begin_layout Standard
20470 \align center
20471 \begin_inset Tabular
20472 <lyxtabular version="3" rows="1" columns="5">
20473 <features>
20474 <column alignment="center" valignment="top" leftline="true" width="0">
20475 <column alignment="center" valignment="top" leftline="true" width="0">
20476 <column alignment="center" valignment="top" leftline="true" width="0">
20477 <column alignment="center" valignment="top" leftline="true" width="0">
20478 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20479 <row topline="true" bottomline="true">
20480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20481 \begin_inset Text
20482
20483 \begin_layout Standard
20484 a
20485 \end_layout
20486
20487 \end_inset
20488 </cell>
20489 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20490 \begin_inset Text
20491
20492 \begin_layout Standard
20493 b
20494 \end_layout
20495
20496 \end_inset
20497 </cell>
20498 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20499 \begin_inset Text
20500
20501 \begin_layout Standard
20502 c
20503 \end_layout
20504
20505 \end_inset
20506 </cell>
20507 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20508 \begin_inset Text
20509
20510 \begin_layout Standard
20511 d
20512 \end_layout
20513
20514 \end_inset
20515 </cell>
20516 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20517 \begin_inset Text
20518
20519 \begin_layout Standard
20520 e
20521 \end_layout
20522
20523 \end_inset
20524 </cell>
20525 </row>
20526 </lyxtabular>
20527
20528 \end_inset
20529
20530
20531 \end_layout
20532
20533 \end_inset
20534
20535
20536 \end_layout
20537
20538 \begin_layout Section
20539 Caption Placement
20540 \begin_inset LatexCommand index
20541 name "Caption ! Placement"
20542
20543 \end_inset
20544
20545
20546 \begin_inset LatexCommand index
20547 name "Floats ! Caption Placement"
20548
20549 \end_inset
20550
20551
20552 \begin_inset LatexCommand label
20553 name "sec:Caption-Placement"
20554
20555 \end_inset
20556
20557
20558 \end_layout
20559
20560 \begin_layout Standard
20561 The common caption placement rule is:
20562 \end_layout
20563
20564 \begin_layout Description
20565 Figure: Caption is set below the figure
20566 \end_layout
20567
20568 \begin_layout Description
20569 Table: Caption is set above the table
20570 \end_layout
20571
20572 \begin_layout Standard
20573 Having the caption above the table is unfortunately not supported in LaTeX's
20574  standard classes.
20575  That means if you are using the document classes 
20576 \family sans
20577 article
20578 \family default
20579
20580 \family sans
20581 book
20582 \family default
20583
20584 \family sans
20585 letter
20586 \family default
20587 , or 
20588 \family sans
20589 report
20590 \family default
20591  there will be no space between the caption and the table.
20592  To insert the needed space, add the following option to the load command
20593  of the LaTeX-package 
20594 \series bold
20595 caption
20596 \series default
20597  in your document preamble
20598 \begin_inset Foot
20599 status collapsed
20600
20601 \begin_layout Standard
20602 See section\InsetSpace ~
20603
20604 \begin_inset LatexCommand ref
20605 reference "sec:Caption-Formatting"
20606
20607 \end_inset
20608
20609  for more information of the package 
20610 \series bold
20611 caption
20612 \series default
20613 .
20614 \end_layout
20615
20616 \end_inset
20617
20618 :
20619 \end_layout
20620
20621 \begin_layout Standard
20622
20623 \series bold
20624 tableposition=top
20625 \end_layout
20626
20627 \begin_layout Standard
20628 If you are using a 
20629 \series bold
20630 koma-script
20631 \series default
20632
20633 \begin_inset LatexCommand index
20634 name "LaTeX-packages ! koma-script"
20635
20636 \end_inset
20637
20638  document class (
20639 \family sans
20640 article (koma-script)
20641 \family default
20642
20643 \family sans
20644 book (koma-script)
20645 \family default
20646
20647 \family sans
20648 letter (koma-script)
20649 \family default
20650 , or 
20651 \family sans
20652 report (koma-script)
20653 \family default
20654 \InsetSpace \thinspace{}
20655 ), you can alternatively to the 
20656 \series bold
20657 caption
20658 \series default
20659  package set the document class option 
20660 \series bold
20661 tablecaptionabove
20662 \series default
20663 .
20664 \end_layout
20665
20666 \begin_layout Standard
20667 \begin_inset VSpace bigskip
20668 \end_inset
20669
20670 It is also possible to set the caption beside a figure or table.
20671  To get this the LaTeX-package 
20672 \series bold
20673 sidecap
20674 \series default
20675
20676 \begin_inset LatexCommand index
20677 name "LaTeX-packages ! sidecap"
20678
20679 \end_inset
20680
20681  has to be loaded in the document preamble with the line
20682 \end_layout
20683
20684 \begin_layout Standard
20685
20686 \series bold
20687
20688 \backslash
20689 usepackage[option]{sidecap}
20690 \end_layout
20691
20692 \begin_layout Standard
20693 If you set no option, the caption is placed on the side of the outer page
20694  margin -- to the right on odd pages, to the left on even pages.
20695  You can change the placement to inner margin with the option 
20696 \series bold
20697 innercaption
20698 \series default
20699 .
20700  To force the placement always to the right or left, use the option 
20701 \series bold
20702 rightcaption
20703 \series default
20704  or 
20705 \series bold
20706 leftcaption
20707 \series default
20708 , respectively.
20709 \end_layout
20710
20711 \begin_layout Standard
20712 To place in LyX the caption of a float on the side, it is necessary to add
20713  these commands to the document preamble:
20714 \end_layout
20715
20716 \begin_layout Standard
20717
20718 \lyxline
20719
20720 \end_layout
20721
20722 \begin_layout Standard
20723
20724 \series bold
20725
20726 \backslash
20727 newcommand{
20728 \backslash
20729 TabBesBeg}{%
20730 \newline
20731
20732 \begin_inset ERT
20733 status collapsed
20734
20735 \begin_layout Standard
20736
20737
20738 \backslash
20739 hphantom{ }
20740 \end_layout
20741
20742 \end_inset
20743
20744
20745 \backslash
20746 let
20747 \backslash
20748 MyTable
20749 \backslash
20750 table
20751 \newline
20752
20753 \begin_inset ERT
20754 status collapsed
20755
20756 \begin_layout Standard
20757
20758
20759 \backslash
20760 hphantom{ }
20761 \end_layout
20762
20763 \end_inset
20764
20765
20766 \backslash
20767 let
20768 \backslash
20769 MyEndtable
20770 \backslash
20771 endtable
20772 \newline
20773
20774 \begin_inset ERT
20775 status collapsed
20776
20777 \begin_layout Standard
20778
20779
20780 \backslash
20781 hphantom{ }
20782 \end_layout
20783
20784 \end_inset
20785
20786
20787 \backslash
20788 renewenvironment{table}{
20789 \backslash
20790 begin{SCtable}}{
20791 \backslash
20792 end{SCtable}}}
20793 \end_layout
20794
20795 \begin_layout Standard
20796
20797 \series bold
20798
20799 \backslash
20800 newcommand{
20801 \backslash
20802 TabBesEnd}{%
20803 \newline
20804
20805 \begin_inset ERT
20806 status collapsed
20807
20808 \begin_layout Standard
20809
20810
20811 \backslash
20812 hphantom{ }
20813 \end_layout
20814
20815 \end_inset
20816
20817
20818 \backslash
20819 let
20820 \backslash
20821 table
20822 \backslash
20823 MyTable
20824 \newline
20825
20826 \begin_inset ERT
20827 status collapsed
20828
20829 \begin_layout Standard
20830
20831
20832 \backslash
20833 hphantom{ }
20834 \end_layout
20835
20836 \end_inset
20837
20838
20839 \backslash
20840 let
20841 \backslash
20842 endtable
20843 \backslash
20844 MyEndtable
20845 \end_layout
20846
20847 \begin_layout Standard
20848
20849 \series bold
20850
20851 \backslash
20852 newcommand{
20853 \backslash
20854 FigBesBeg}{%
20855 \newline
20856
20857 \begin_inset ERT
20858 status collapsed
20859
20860 \begin_layout Standard
20861
20862
20863 \backslash
20864 hphantom{ }
20865 \end_layout
20866
20867 \end_inset
20868
20869
20870 \backslash
20871 let
20872 \backslash
20873 MyFigure
20874 \backslash
20875 f\SpecialChar \textcompwordmark{}
20876 igure
20877 \newline
20878
20879 \begin_inset ERT
20880 status collapsed
20881
20882 \begin_layout Standard
20883
20884
20885 \backslash
20886 hphantom{ }
20887 \end_layout
20888
20889 \end_inset
20890
20891
20892 \backslash
20893 let
20894 \backslash
20895 MyEndf\SpecialChar \textcompwordmark{}
20896 igure
20897 \backslash
20898 endf\SpecialChar \textcompwordmark{}
20899 igure
20900 \newline
20901
20902 \begin_inset ERT
20903 status collapsed
20904
20905 \begin_layout Standard
20906
20907
20908 \backslash
20909 hphantom{ }
20910 \end_layout
20911
20912 \end_inset
20913
20914
20915 \backslash
20916 renewenvironment{f\SpecialChar \textcompwordmark{}
20917 igure}{
20918 \backslash
20919 begin{SCf\SpecialChar \textcompwordmark{}
20920 igure}}{
20921 \backslash
20922 end{SCf\SpecialChar \textcompwordmark{}
20923 igure}}}
20924 \end_layout
20925
20926 \begin_layout Standard
20927
20928 \series bold
20929
20930 \backslash
20931 newcommand{
20932 \backslash
20933 FigBesEnd}{%
20934 \newline
20935
20936 \begin_inset ERT
20937 status collapsed
20938
20939 \begin_layout Standard
20940
20941
20942 \backslash
20943 hphantom{ }
20944 \end_layout
20945
20946 \end_inset
20947
20948
20949 \backslash
20950 let
20951 \backslash
20952 f\SpecialChar \textcompwordmark{}
20953 igure
20954 \backslash
20955 MyFigure
20956 \newline
20957
20958 \begin_inset ERT
20959 status collapsed
20960
20961 \begin_layout Standard
20962
20963
20964 \backslash
20965 hphantom{ }
20966 \end_layout
20967
20968 \end_inset
20969
20970
20971 \backslash
20972 let
20973 \backslash
20974 endf\SpecialChar \textcompwordmark{}
20975 igure
20976 \backslash
20977 MyEndf\SpecialChar \textcompwordmark{}
20978 igure}
20979 \end_layout
20980
20981 \begin_layout Standard
20982
20983 \lyxline
20984
20985 \end_layout
20986
20987 \begin_layout Standard
20988 The commands allow you to redefine the floats so that the caption is set
20989  on the side.
20990  For figure floats use the command
20991 \end_layout
20992
20993 \begin_layout Standard
20994
20995 \series bold
20996
20997 \backslash
20998 FigBesBeg
20999 \end_layout
21000
21001 \begin_layout Standard
21002 in TeX-Code before the float.
21003  Behind the float insert the command
21004 \end_layout
21005
21006 \begin_layout Standard
21007
21008 \series bold
21009
21010 \backslash
21011 FigBesEnd
21012 \end_layout
21013
21014 \begin_layout Standard
21015 in TeX-Code to get back to the original float definition.
21016 \end_layout
21017
21018 \begin_layout Standard
21019 For table floats use the corresponding commands
21020 \end_layout
21021
21022 \begin_layout Standard
21023
21024 \series bold
21025
21026 \backslash
21027 TabBesBeg
21028 \series default
21029  and 
21030 \series bold
21031
21032 \backslash
21033 TabBesEnd
21034 \end_layout
21035
21036 \begin_layout Standard
21037 Figure\InsetSpace ~
21038
21039 \begin_inset LatexCommand ref
21040 reference "fig:cap-beside-fig"
21041
21042 \end_inset
21043
21044  and Table\InsetSpace ~
21045
21046 \begin_inset LatexCommand ref
21047 reference "tab:cap-beside-tab"
21048
21049 \end_inset
21050
21051  are examples where the caption is set beside.
21052 \end_layout
21053
21054 \begin_layout Standard
21055 You can see in the examples that the caption text appears at the top of
21056  the floats for table floats and at the bottom for figure floats.
21057  To change this, you can use the command
21058 \end_layout
21059
21060 \begin_layout Standard
21061
21062 \series bold
21063
21064 \backslash
21065 sidecaptionvpos{float type}{placement}
21066 \end_layout
21067
21068 \begin_layout Standard
21069 in the document preamble or in TeX-Code before the float.
21070  The float type is either 
21071 \family sans
21072 figure
21073 \family default
21074  or 
21075 \family sans
21076 table
21077 \family default
21078 , the placement can be 
21079 \begin_inset Quotes eld
21080 \end_inset
21081
21082
21083 \family sans
21084 t
21085 \family default
21086
21087 \begin_inset Quotes erd
21088 \end_inset
21089
21090  for top, 
21091 \begin_inset Quotes eld
21092 \end_inset
21093
21094
21095 \family sans
21096 c
21097 \family default
21098
21099 \begin_inset Quotes erd
21100 \end_inset
21101
21102  for center, or 
21103 \begin_inset Quotes eld
21104 \end_inset
21105
21106
21107 \family sans
21108 b
21109 \family default
21110
21111 \begin_inset Quotes erd
21112 \end_inset
21113
21114  for bottom.
21115  To have for example the caption of figure floats vertically centered, use
21116  the command
21117 \end_layout
21118
21119 \begin_layout Standard
21120
21121 \series bold
21122
21123 \backslash
21124 sidecaptionvpos{f\SpecialChar \textcompwordmark{}
21125 igure}{c}
21126 \end_layout
21127
21128 \begin_layout Standard
21129 This was used for Figure\InsetSpace ~
21130
21131 \begin_inset LatexCommand ref
21132 reference "fig:cap-beside-fig-2"
21133
21134 \end_inset
21135
21136 .
21137 \end_layout
21138
21139 \begin_layout Standard
21140 \begin_inset VSpace medskip
21141 \end_inset
21142
21143 For more information about the package 
21144 \series bold
21145 sidecap
21146 \series default
21147  we refer to its documentation 
21148 \begin_inset LatexCommand cite
21149 key "sidecap"
21150
21151 \end_inset
21152
21153 .
21154 \end_layout
21155
21156 \begin_layout Standard
21157 \begin_inset Note Greyedout
21158 status open
21159
21160 \begin_layout Standard
21161
21162 \series bold
21163 Note:
21164 \series default
21165  The LaTeX-package 
21166 \series bold
21167 hypcap
21168 \series default
21169
21170 \begin_inset LatexCommand index
21171 name "LaTeX-packages ! hypcap"
21172
21173 \end_inset
21174
21175 , described in section\InsetSpace ~
21176
21177 \begin_inset LatexCommand ref
21178 reference "sub:Reference-Position"
21179
21180 \end_inset
21181
21182 , has no effect on floats with the caption set beside.
21183 \end_layout
21184
21185 \end_inset
21186
21187
21188 \end_layout
21189
21190 \begin_layout Standard
21191 \begin_inset ERT
21192 status collapsed
21193
21194 \begin_layout Standard
21195
21196
21197 \backslash
21198 FigBesBeg 
21199 \end_layout
21200
21201 \end_inset
21202
21203
21204 \end_layout
21205
21206 \begin_layout Standard
21207 \begin_inset Float figure
21208 wide false
21209 sideways false
21210 status open
21211
21212 \begin_layout Standard
21213 \begin_inset Graphics
21214         filename clipart/escher-lsd.eps
21215         scale 75
21216         scaleBeforeRotation
21217
21218 \end_inset
21219
21220
21221 \end_layout
21222
21223 \begin_layout Standard
21224 \begin_inset Caption
21225
21226 \begin_layout Standard
21227 \begin_inset LatexCommand label
21228 name "fig:cap-beside-fig"
21229
21230 \end_inset
21231
21232 This is a caption beside a figure.
21233 \end_layout
21234
21235 \end_inset
21236
21237
21238 \end_layout
21239
21240 \end_inset
21241
21242
21243 \end_layout
21244
21245 \begin_layout Standard
21246 \begin_inset ERT
21247 status collapsed
21248
21249 \begin_layout Standard
21250
21251
21252 \backslash
21253 TabBesBeg 
21254 \end_layout
21255
21256 \end_inset
21257
21258
21259 \end_layout
21260
21261 \begin_layout Standard
21262 \begin_inset Float table
21263 wide false
21264 sideways false
21265 status open
21266
21267 \begin_layout Standard
21268 \begin_inset Caption
21269
21270 \begin_layout Standard
21271 \begin_inset LatexCommand label
21272 name "tab:cap-beside-tab"
21273
21274 \end_inset
21275
21276 This is a caption beside a table.
21277 \end_layout
21278
21279 \end_inset
21280
21281
21282 \end_layout
21283
21284 \begin_layout Standard
21285 \begin_inset Tabular
21286 <lyxtabular version="3" rows="4" columns="5">
21287 <features>
21288 <column alignment="center" valignment="top" leftline="true" width="0">
21289 <column alignment="center" valignment="top" leftline="true" width="0">
21290 <column alignment="center" valignment="top" leftline="true" width="0">
21291 <column alignment="center" valignment="top" leftline="true" width="0">
21292 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21293 <row topline="true">
21294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21295 \begin_inset Text
21296
21297 \begin_layout Standard
21298 a
21299 \end_layout
21300
21301 \end_inset
21302 </cell>
21303 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21304 \begin_inset Text
21305
21306 \begin_layout Standard
21307
21308 \end_layout
21309
21310 \end_inset
21311 </cell>
21312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21313 \begin_inset Text
21314
21315 \begin_layout Standard
21316 b
21317 \end_layout
21318
21319 \end_inset
21320 </cell>
21321 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21322 \begin_inset Text
21323
21324 \begin_layout Standard
21325
21326 \end_layout
21327
21328 \end_inset
21329 </cell>
21330 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21331 \begin_inset Text
21332
21333 \begin_layout Standard
21334 c
21335 \end_layout
21336
21337 \end_inset
21338 </cell>
21339 </row>
21340 <row topline="true">
21341 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21342 \begin_inset Text
21343
21344 \begin_layout Standard
21345
21346 \end_layout
21347
21348 \end_inset
21349 </cell>
21350 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21351 \begin_inset Text
21352
21353 \begin_layout Standard
21354 d
21355 \end_layout
21356
21357 \end_inset
21358 </cell>
21359 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21360 \begin_inset Text
21361
21362 \begin_layout Standard
21363
21364 \end_layout
21365
21366 \end_inset
21367 </cell>
21368 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21369 \begin_inset Text
21370
21371 \begin_layout Standard
21372 e
21373 \end_layout
21374
21375 \end_inset
21376 </cell>
21377 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21378 \begin_inset Text
21379
21380 \begin_layout Standard
21381
21382 \end_layout
21383
21384 \end_inset
21385 </cell>
21386 </row>
21387 <row topline="true">
21388 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21389 \begin_inset Text
21390
21391 \begin_layout Standard
21392 f
21393 \end_layout
21394
21395 \end_inset
21396 </cell>
21397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21398 \begin_inset Text
21399
21400 \begin_layout Standard
21401
21402 \end_layout
21403
21404 \end_inset
21405 </cell>
21406 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21407 \begin_inset Text
21408
21409 \begin_layout Standard
21410 g
21411 \end_layout
21412
21413 \end_inset
21414 </cell>
21415 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21416 \begin_inset Text
21417
21418 \begin_layout Standard
21419
21420 \end_layout
21421
21422 \end_inset
21423 </cell>
21424 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21425 \begin_inset Text
21426
21427 \begin_layout Standard
21428 h
21429 \end_layout
21430
21431 \end_inset
21432 </cell>
21433 </row>
21434 <row topline="true" bottomline="true">
21435 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21436 \begin_inset Text
21437
21438 \begin_layout Standard
21439
21440 \end_layout
21441
21442 \end_inset
21443 </cell>
21444 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21445 \begin_inset Text
21446
21447 \begin_layout Standard
21448 i
21449 \end_layout
21450
21451 \end_inset
21452 </cell>
21453 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21454 \begin_inset Text
21455
21456 \begin_layout Standard
21457
21458 \end_layout
21459
21460 \end_inset
21461 </cell>
21462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21463 \begin_inset Text
21464
21465 \begin_layout Standard
21466 j
21467 \end_layout
21468
21469 \end_inset
21470 </cell>
21471 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21472 \begin_inset Text
21473
21474 \begin_layout Standard
21475
21476 \end_layout
21477
21478 \end_inset
21479 </cell>
21480 </row>
21481 </lyxtabular>
21482
21483 \end_inset
21484
21485
21486 \end_layout
21487
21488 \end_inset
21489
21490
21491 \end_layout
21492
21493 \begin_layout Standard
21494 \begin_inset ERT
21495 status collapsed
21496
21497 \begin_layout Standard
21498
21499
21500 \backslash
21501 TabBesEnd
21502 \end_layout
21503
21504 \end_inset
21505
21506
21507 \end_layout
21508
21509 \begin_layout Standard
21510 \begin_inset ERT
21511 status collapsed
21512
21513 \begin_layout Standard
21514
21515
21516 \backslash
21517 sidecaptionvpos{figure}{c}
21518 \end_layout
21519
21520 \end_inset
21521
21522
21523 \begin_inset Float figure
21524 wide false
21525 sideways false
21526 status open
21527
21528 \begin_layout Standard
21529 \begin_inset Graphics
21530         filename clipart/escher-lsd.eps
21531         scale 75
21532         scaleBeforeRotation
21533
21534 \end_inset
21535
21536
21537 \end_layout
21538
21539 \begin_layout Standard
21540 \begin_inset Caption
21541
21542 \begin_layout Standard
21543 \begin_inset LatexCommand label
21544 name "fig:cap-beside-fig-2"
21545
21546 \end_inset
21547
21548 This is a vertically centered caption beside a figure.
21549 \end_layout
21550
21551 \end_inset
21552
21553
21554 \end_layout
21555
21556 \end_inset
21557
21558
21559 \end_layout
21560
21561 \begin_layout Standard
21562 \begin_inset ERT
21563 status collapsed
21564
21565 \begin_layout Standard
21566
21567
21568 \backslash
21569 FigBesEnd
21570 \end_layout
21571
21572 \end_inset
21573
21574
21575 \end_layout
21576
21577 \begin_layout Section
21578 Listings of Floats
21579 \begin_inset LatexCommand label
21580 name "sec:Listings-of-Floats"
21581
21582 \end_inset
21583
21584
21585 \begin_inset LatexCommand index
21586 name "Floats ! Float Lists"
21587
21588 \end_inset
21589
21590
21591 \end_layout
21592
21593 \begin_layout Standard
21594 Similar to the the table of contents where the sections of the document
21595  are listed, there are listings for all float types, like the figures of
21596  the documents.
21597  You can insert them via the 
21598 \family sans
21599 Insert\SpecialChar \menuseparator
21600 List\InsetSpace ~
21601 /\InsetSpace ~
21602 TOC
21603 \family default
21604  sub menus.
21605 \end_layout
21606
21607 \begin_layout Standard
21608 The list entries are the float captions or its short title, the float number,
21609  and the page number where they appear in the document.
21610 \end_layout
21611
21612 \begin_layout Standard
21613 You can find the list of figures and tables at the end of this document.
21614 \end_layout
21615
21616 \begin_layout Chapter
21617 Notes
21618 \end_layout
21619
21620 \begin_layout Section
21621 LyX Notes
21622 \begin_inset LatexCommand label
21623 name "sec:LyX-Notes"
21624
21625 \end_inset
21626
21627
21628 \begin_inset LatexCommand index
21629 name "Notes ! LyX Notes"
21630
21631 \end_inset
21632
21633
21634 \end_layout
21635
21636 \begin_layout Standard
21637 Notes are inserted with the toolbar button 
21638 \begin_inset Graphics
21639         filename ../images/note-insert.png
21640         scale 85
21641         scaleBeforeRotation
21642
21643 \end_inset
21644
21645  or the menu 
21646 \family sans
21647 Insert\SpecialChar \menuseparator
21648 Note
21649 \family default
21650 .
21651  There are five types of notes:
21652 \end_layout
21653
21654 \begin_layout Description
21655 LyX\InsetSpace ~
21656 Note This note type is for internal notes that won't appear in the output.
21657  Its note-box looks like this:
21658 \newline
21659
21660 \newline
21661
21662 \begin_inset Graphics
21663         filename clipart/LyXNoteImageQt4.png
21664         display none
21665         scale 85
21666         scaleBeforeRotation
21667
21668 \end_inset
21669
21670  
21671 \begin_inset Note Note
21672 status open
21673
21674 \begin_layout Standard
21675 This is text in a note box that doesn't appear in the output.
21676 \end_layout
21677
21678 \end_inset
21679
21680
21681 \end_layout
21682
21683 \begin_layout Description
21684 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21685 ent, when you export the document to LaTeX via the menu 
21686 \family sans
21687 File\SpecialChar \menuseparator
21688 Export\SpecialChar \menuseparator
21689 LaTeX (pdflatex) / (plain)
21690 \family default
21691 .
21692  Its note-box looks like this:
21693 \newline
21694
21695 \newline
21696
21697 \begin_inset Graphics
21698         filename clipart/CommentNoteImageQt4.png
21699         display none
21700         scale 85
21701         scaleBeforeRotation
21702
21703 \end_inset
21704
21705  
21706 \begin_inset Note Comment
21707 status open
21708
21709 \begin_layout Standard
21710 This is text in a note box that only appears as comment in LaTeX-files.
21711 \end_layout
21712
21713 \end_inset
21714
21715
21716 \end_layout
21717
21718 \begin_layout Description
21719 Greyed\InsetSpace ~
21720 Out This note will appear in the output as grey text.
21721  Its note-box looks like this:
21722 \newline
21723
21724 \newline
21725
21726 \begin_inset Graphics
21727         filename clipart/GreyedOutNoteImageQt4.png
21728         display none
21729         scale 85
21730         scaleBeforeRotation
21731
21732 \end_inset
21733
21734
21735 \newline
21736
21737 \begin_inset ERT
21738 status collapsed
21739
21740 \begin_layout Standard
21741
21742
21743 \backslash
21744 renewenvironment{lyxgreyedout}
21745 \end_layout
21746
21747 \begin_layout Standard
21748
21749 {
21750 \backslash
21751 textcolor[gray]{0.8}
21752 \backslash
21753 bgroup}{
21754 \backslash
21755 egroup}
21756 \end_layout
21757
21758 \end_inset
21759
21760
21761 \begin_inset Note Greyedout
21762 status open
21763
21764 \begin_layout Standard
21765 This is text
21766 \begin_inset Foot
21767 status open
21768
21769 \begin_layout Standard
21770 This is an example footnote within a greyed out note.
21771 \end_layout
21772
21773 \end_inset
21774
21775  of a comment that appears in the output as grey text.
21776 \end_layout
21777
21778 \end_inset
21779
21780
21781 \begin_inset ERT
21782 status collapsed
21783
21784 \begin_layout Standard
21785
21786
21787 \backslash
21788 renewenvironment{lyxgreyedout}
21789 \end_layout
21790
21791 \begin_layout Standard
21792
21793 {
21794 \backslash
21795 textcolor{blue}
21796 \backslash
21797 bgroup}{
21798 \backslash
21799 egroup}
21800 \end_layout
21801
21802 \end_inset
21803
21804
21805 \begin_inset Note Note
21806 status collapsed
21807
21808 \begin_layout Standard
21809 The greyed out note is here redefined to show it with the original LyX definitio
21810 n because greyed out notes are redefined in the preamble of this document,
21811  as described below, to have blue text.
21812 \end_layout
21813
21814 \end_inset
21815
21816
21817 \newline
21818
21819 \newline
21820 As you can see in the example, the first line of greyed out notes is a bit
21821  indented and greyed out notes can have footnotes.
21822 \end_layout
21823
21824 \begin_layout Description
21825 Framed This note will appear in the output as framed text.
21826  Its note-box looks like this:
21827 \newline
21828
21829 \newline
21830
21831 \begin_inset Graphics
21832         filename clipart/FramedNoteImageQt4.png
21833         display none
21834         scale 85
21835         scaleBeforeRotation
21836
21837 \end_inset
21838
21839  
21840 \begin_inset Note Framed
21841 status open
21842
21843 \begin_layout Standard
21844 This is text in a note box that appears framed in the output.
21845 \end_layout
21846
21847 \end_inset
21848
21849  In contrary to framed boxes
21850 \begin_inset Foot
21851 status collapsed
21852
21853 \begin_layout Standard
21854 Framed boxes are described in section\InsetSpace ~
21855
21856 \begin_inset LatexCommand ref
21857 reference "sec:Framed-Boxes"
21858
21859 \end_inset
21860
21861 .
21862 \end_layout
21863
21864 \end_inset
21865
21866  the frame uses always the whole text width and the note is set into its
21867  own paragraph.
21868 \end_layout
21869
21870 \begin_layout Description
21871 Shaded This note will appear in the output with red background color.
21872  Its note box looks like this:
21873 \newline
21874
21875 \newline
21876
21877 \begin_inset Graphics
21878         filename clipart/ShadedNoteImageQt4.png
21879         display none
21880         scale 85
21881         scaleBeforeRotation
21882
21883 \end_inset
21884
21885
21886 \begin_inset Note Shaded
21887 status open
21888
21889 \begin_layout Standard
21890 This text in a note box appears in the output with red background.
21891 \end_layout
21892
21893 \end_inset
21894
21895 In contrary to colored boxes
21896 \begin_inset Foot
21897 status collapsed
21898
21899 \begin_layout Standard
21900 Colored boxes are described in section\InsetSpace ~
21901
21902 \begin_inset LatexCommand ref
21903 reference "sec:Colored-Boxes"
21904
21905 \end_inset
21906
21907 .
21908 \end_layout
21909
21910 \end_inset
21911
21912  the note uses always the whole text width and the note is set into its
21913  own paragraph.
21914 \end_layout
21915
21916 \begin_layout Standard
21917 \begin_inset VSpace bigskip
21918 \end_inset
21919
21920 When you use the toolbar button 
21921 \begin_inset Graphics
21922         filename ../images/note-insert.png
21923         scale 85
21924         scaleBeforeRotation
21925
21926 \end_inset
21927
21928  to insert notes, a 
21929 \family sans
21930 LyX\InsetSpace ~
21931 Note
21932 \family default
21933  is inserted.
21934  You can switch between the five note types by right-clicking on the note-box.
21935  
21936 \family roman
21937 \series medium
21938 \bar no
21939 If you want to turn existing text into a note, mark it and click on the
21940  note
21941 \family default
21942 \series default
21943 \bar default
21944  toolbar 
21945 \family roman
21946 \series medium
21947 \bar no
21948 button
21949 \family default
21950 \series default
21951 \bar default
21952 .
21953  To change a note to text, press the backspace key when the cursor is in
21954  the first position of a note, or press the deletey key when the cursor
21955  is in the very last position of the note, respectively.
21956 \end_layout
21957
21958 \begin_layout Standard
21959 \begin_inset VSpace bigskip
21960 \end_inset
21961
21962 You can change the text color of the greyed out notes in the preamble with
21963  the following command:
21964 \end_layout
21965
21966 \begin_layout Standard
21967
21968 \series bold
21969
21970 \backslash
21971 renewenvironment{lyxgreyedout}
21972 \newline
21973
21974 \begin_inset ERT
21975 status collapsed
21976
21977 \begin_layout Standard
21978
21979
21980 \backslash
21981 hphantom{ }
21982 \end_layout
21983
21984 \end_inset
21985
21986 {
21987 \backslash
21988 textcolor{color}
21989 \backslash
21990 bgroup}{
21991 \backslash
21992 egroup}
21993 \end_layout
21994
21995 \begin_layout Standard
21996 The available colors and the method to define own colors is explained in
21997  section\InsetSpace ~
21998
21999 \begin_inset LatexCommand ref
22000 reference "sec:Colored-Tables"
22001
22002 \end_inset
22003
22004 .
22005 \end_layout
22006
22007 \begin_layout Standard
22008 Notes that appear in blue in this document are set using greyed out notes
22009  with blue text.
22010 \end_layout
22011
22012 \begin_layout Standard
22013 \begin_inset VSpace bigskip
22014 \end_inset
22015
22016
22017 \end_layout
22018
22019 \begin_layout Standard
22020 The text style of 
22021 \family sans
22022 Framed
22023 \family default
22024  and 
22025 \family sans
22026 Shaded
22027 \family default
22028  notes can be set in the 
22029 \family sans
22030 Text Style
22031 \family default
22032  dialog.
22033 \end_layout
22034
22035 \begin_layout Standard
22036 The default frame width for 
22037 \family sans
22038 Framed
22039 \family default
22040  notes is 0.4\InsetSpace \thinspace{}
22041 pt; it can be changed by changing the size 
22042 \series bold
22043
22044 \backslash
22045 FrameRule
22046 \series default
22047 .
22048  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22049 pt; it can
22050  be changed by changing the size 
22051 \series bold
22052
22053 \backslash
22054 FrameSep
22055 \series default
22056 .
22057  For example the frame appearance of the following 
22058 \family sans
22059 Framed
22060 \family default
22061  note is set with the TeX-Code commands
22062 \end_layout
22063
22064 \begin_layout Standard
22065
22066 \series bold
22067
22068 \backslash
22069 FrameRule 5pt 
22070 \backslash
22071 FrameSep 0.5cm
22072 \end_layout
22073
22074 \begin_layout Standard
22075 \begin_inset ERT
22076 status collapsed
22077
22078 \begin_layout Standard
22079
22080
22081 \backslash
22082 FrameRule 5pt 
22083 \backslash
22084 FrameSep 0.5cm
22085 \end_layout
22086
22087 \end_inset
22088
22089
22090 \begin_inset Note Framed
22091 status open
22092
22093 \begin_layout Standard
22094 This is text in a 
22095 \family sans
22096 Framed
22097 \family default
22098  note.
22099 \end_layout
22100
22101 \end_inset
22102
22103
22104 \begin_inset ERT
22105 status collapsed
22106
22107 \begin_layout Standard
22108
22109
22110 \backslash
22111 FrameRule 0.4pt 
22112 \backslash
22113 FrameSep 9pt
22114 \end_layout
22115
22116 \end_inset
22117
22118
22119 \end_layout
22120
22121 \begin_layout Standard
22122 \begin_inset VSpace bigskip
22123 \end_inset
22124
22125
22126 \end_layout
22127
22128 \begin_layout Standard
22129 For 
22130 \family sans
22131 Shaded
22132 \family default
22133  notes the default space between the note content and the note border is
22134  3\InsetSpace \thinspace{}
22135 pt; it can be changed by changing the size 
22136 \series bold
22137
22138 \backslash
22139 fboxsep
22140 \series default
22141 .
22142 \newline
22143 The default background color red can be changed with the command 
22144 \series bold
22145
22146 \backslash
22147 def\SpecialChar \textcompwordmark{}
22148 inecolor{shadebox}
22149 \series default
22150 .
22151  The scheme of the 
22152 \series bold
22153
22154 \backslash
22155 def\SpecialChar \textcompwordmark{}
22156 inecolor
22157 \series default
22158  command is explained in section\InsetSpace ~
22159
22160 \begin_inset LatexCommand ref
22161 reference "sec:Colored-Tables"
22162
22163 \end_inset
22164
22165
22166 \begin_inset Foot
22167 status collapsed
22168
22169 \begin_layout Standard
22170 Note that 
22171 \series bold
22172
22173 \backslash
22174 def
22175 \series default
22176 \SpecialChar \textcompwordmark{}
22177
22178 \series bold
22179 inecolor
22180 \series default
22181  requires the LaTeX-package 
22182 \series bold
22183 color
22184 \series default
22185  in the preamble, see section\InsetSpace ~
22186
22187 \begin_inset LatexCommand ref
22188 reference "sec:Colored-Boxes"
22189
22190 \end_inset
22191
22192 .
22193 \end_layout
22194
22195 \end_inset
22196
22197 .
22198 \end_layout
22199
22200 \begin_layout Standard
22201 For example the appearance of the following 
22202 \family sans
22203 Shaded
22204 \family default
22205  note is set with the TeX-Code commands
22206 \end_layout
22207
22208 \begin_layout Standard
22209
22210 \series bold
22211
22212 \backslash
22213 fboxsep 0.5cm
22214 \series default
22215
22216 \newline
22217
22218 \series bold
22219
22220 \backslash
22221 def\SpecialChar \textcompwordmark{}
22222 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22223 \end_layout
22224
22225 \begin_layout Standard
22226 \begin_inset ERT
22227 status collapsed
22228
22229 \begin_layout Standard
22230
22231
22232 \backslash
22233 fboxsep 0.5cm
22234 \end_layout
22235
22236 \end_inset
22237
22238
22239 \begin_inset ERT
22240 status collapsed
22241
22242 \begin_layout Standard
22243
22244
22245 \backslash
22246 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22247 \end_layout
22248
22249 \end_inset
22250
22251
22252 \begin_inset Note Shaded
22253 status open
22254
22255 \begin_layout Standard
22256
22257 \color yellow
22258 This is yellow text in a
22259 \color none
22260  
22261 \family sans
22262 \color yellow
22263 Shaded
22264 \family default
22265 \color none
22266  
22267 \color yellow
22268 note with darkgreen background.
22269 \end_layout
22270
22271 \end_inset
22272
22273
22274 \begin_inset ERT
22275 status collapsed
22276
22277 \begin_layout Standard
22278
22279
22280 \backslash
22281 fboxsep 3pt
22282 \end_layout
22283
22284 \end_inset
22285
22286
22287 \begin_inset ERT
22288 status collapsed
22289
22290 \begin_layout Standard
22291
22292
22293 \backslash
22294 definecolor{shadecolor}{rgb}{1,0,0}
22295 \end_layout
22296
22297 \end_inset
22298
22299
22300 \end_layout
22301
22302 \begin_layout Section
22303 Footnotes
22304 \begin_inset LatexCommand label
22305 name "sec:Footnotes"
22306
22307 \end_inset
22308
22309
22310 \begin_inset LatexCommand index
22311 name "Notes ! Footnotes"
22312
22313 \end_inset
22314
22315
22316 \begin_inset LatexCommand index
22317 name "Footnotes"
22318
22319 \end_inset
22320
22321
22322 \end_layout
22323
22324 \begin_layout Standard
22325 Footnotes can be inserted using the toolbar button 
22326 \begin_inset Graphics
22327         filename ../images/footnote-insert.png
22328         scale 85
22329         scaleBeforeRotation
22330
22331 \end_inset
22332
22333  or the menu 
22334 \family sans
22335 Insert\SpecialChar \menuseparator
22336 Footnote
22337 \family default
22338 .
22339  
22340 \family roman
22341 \series medium
22342 \bar no
22343 You'll see
22344 \family default
22345 \series default
22346 \bar default
22347  then the following footnote-box: 
22348 \begin_inset Graphics
22349         filename clipart/footnoteQt4.png
22350         scale 80
22351         scaleBeforeRotation
22352
22353 \end_inset
22354
22355  
22356 \family roman
22357 \series medium
22358 \bar no
22359 where you can enter the footnote text.
22360  If you want to turn existing text into a footnote, mark it and click on
22361  the footnote
22362 \family default
22363 \series default
22364 \bar default
22365  toolbar 
22366 \family roman
22367 \series medium
22368 \bar no
22369 button
22370 \family default
22371 \series default
22372 \bar default
22373 .
22374  To change a 
22375 \family roman
22376 \series medium
22377 \bar no
22378 footnote
22379 \family default
22380 \series default
22381 \bar default
22382  to text, press the Backspace key when the cursor is in the first position
22383  of a 
22384 \family roman
22385 \series medium
22386 \bar no
22387 footnote
22388 \family default
22389 \series default
22390 \bar default
22391 , or press the Delete key when the cursor is in the very last position of
22392  the 
22393 \family roman
22394 \series medium
22395 \bar no
22396 footnote
22397 \family default
22398 \series default
22399 \bar default
22400 , respectively.
22401 \end_layout
22402
22403 \begin_layout Standard
22404 Here is an example footnote:
22405 \family roman
22406 \series medium
22407 \bar no
22408
22409 \begin_inset Foot
22410 status open
22411
22412 \begin_layout Standard
22413 \begin_inset LatexCommand label
22414 name "foot:This-is-an"
22415
22416 \end_inset
22417
22418 This is an example footnote.
22419 \end_layout
22420
22421 \end_inset
22422
22423
22424 \family default
22425 \series default
22426 \bar default
22427
22428 \begin_inset ERT
22429 status collapsed
22430
22431 \begin_layout Standard
22432
22433
22434 \backslash
22435 newcounter{MyRepeatFoot}
22436 \end_layout
22437
22438 \begin_layout Standard
22439
22440
22441 \backslash
22442 setcounter{MyRepeatFoot}{
22443 \backslash
22444 thefootnote}
22445 \end_layout
22446
22447 \end_inset
22448
22449
22450 \end_layout
22451
22452 \begin_layout Standard
22453 The footnote will appear in the output as a superscript number at the text
22454  position where the footnote box is placed.
22455  The footnote text is placed at the bottom of the current page.
22456  The footnote number is calculated by LaTeX, the numbers are consecutive.
22457  It depends on your document-class, if the footnote number is reset for
22458  every chapter.
22459 \end_layout
22460
22461 \begin_layout Standard
22462 Footnotes can be referenced like floats: Insert a label into the footnote
22463  and cross-reference this label in the text as described in section\InsetSpace ~
22464
22465 \begin_inset LatexCommand ref
22466 reference "sec:Referencing-Floats"
22467
22468 \end_inset
22469
22470 .
22471 \newline
22472 This is a cross-reference of Footnote\InsetSpace ~
22473
22474 \begin_inset LatexCommand ref
22475 reference "foot:This-is-an"
22476
22477 \end_inset
22478
22479 .
22480 \end_layout
22481
22482 \begin_layout Standard
22483 \begin_inset VSpace defskip
22484 \end_inset
22485
22486 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22487
22488 \begin_inset LatexCommand ref
22489 reference "sec:Minipages"
22490
22491 \end_inset
22492
22493 .
22494  Footnotes within longtables are described in section\InsetSpace ~
22495
22496 \begin_inset LatexCommand ref
22497 reference "sub:Footnotes-in-Longtables"
22498
22499 \end_inset
22500
22501 .
22502 \end_layout
22503
22504 \begin_layout Standard
22505 \begin_inset VSpace defskip
22506 \end_inset
22507
22508 To create only a mark for a footnote, use the command 
22509 \series bold
22510
22511 \backslash
22512 footnotemark[number]
22513 \series default
22514  in TeX-Code.
22515  This is used when you have the same annotation several times in a text
22516  but doesn't want to print the footnote text every time.
22517 \newline
22518 As you don't know
22519  the number of the repeating footnote while you are writing the text, you
22520  have to store its number.
22521  For the following footnote mark example, these commands were inserted in
22522  TeX-Code behind Footnote\InsetSpace ~
22523
22524 \begin_inset LatexCommand ref
22525 reference "foot:This-is-an"
22526
22527 \end_inset
22528
22529  to store the footnote number:
22530 \end_layout
22531
22532 \begin_layout Standard
22533
22534 \series bold
22535
22536 \backslash
22537 newcounter{MyRepeatFoot}
22538 \newline
22539
22540 \backslash
22541 setcounter{MyRepeatFoot}{
22542 \backslash
22543 thefootnote}
22544 \end_layout
22545
22546 \begin_layout Standard
22547 The footnote mark was then created with this command:
22548 \end_layout
22549
22550 \begin_layout Standard
22551
22552 \series bold
22553
22554 \backslash
22555 footnotemark[
22556 \backslash
22557 theMyRepeatFoot]
22558 \end_layout
22559
22560 \begin_layout Standard
22561 Here is an example footnote mark:
22562 \family roman
22563 \series medium
22564 \bar no
22565
22566 \begin_inset ERT
22567 status collapsed
22568
22569 \begin_layout Standard
22570
22571
22572 \backslash
22573 footnotemark[
22574 \backslash
22575 theMyRepeatFoot]
22576 \end_layout
22577
22578 \end_inset
22579
22580
22581 \end_layout
22582
22583 \begin_layout Subsection
22584 Footnote Numbering
22585 \begin_inset LatexCommand label
22586 name "sub:Footnote-Numbering"
22587
22588 \end_inset
22589
22590
22591 \begin_inset LatexCommand index
22592 name "Footnotes ! Numbering"
22593
22594 \end_inset
22595
22596
22597 \end_layout
22598
22599 \begin_layout Standard
22600 To reset the footnote number back to 1 after each section
22601 \family roman
22602 , add this command to your document preamble:
22603 \end_layout
22604
22605 \begin_layout Standard
22606
22607 \series bold
22608
22609 \backslash
22610 @addtoreset{footnote}{section}
22611 \end_layout
22612
22613 \begin_layout Standard
22614 \begin_inset VSpace bigskip
22615 \end_inset
22616
22617 The following preamble command changes the footnote numbering style to small
22618  roman numerals:
22619 \end_layout
22620
22621 \begin_layout Standard
22622
22623 \series bold
22624
22625 \backslash
22626 renewcommand{
22627 \backslash
22628 thefootnote}{
22629 \backslash
22630 roman{footnote}}
22631 \end_layout
22632
22633 \begin_layout Standard
22634 \begin_inset ERT
22635 status collapsed
22636
22637 \begin_layout Standard
22638
22639
22640 \backslash
22641 renewcommand{
22642 \backslash
22643 thefootnote}{
22644 \backslash
22645 roman{footnote}}
22646 \end_layout
22647
22648 \end_inset
22649
22650  This is a footnote with roman numbering:
22651 \begin_inset Foot
22652 status open
22653
22654 \begin_layout Standard
22655 This is an example footnote with roman numbering.
22656 \end_layout
22657
22658 \end_inset
22659
22660
22661 \end_layout
22662
22663 \begin_layout Standard
22664 To change the numbering style to capital roman numerals replace in the command
22665  above 
22666 \series bold
22667
22668 \backslash
22669 roman
22670 \series default
22671  by 
22672 \series bold
22673
22674 \backslash
22675 Roman
22676 \series default
22677 .
22678  To 
22679 \begin_inset Quotes eld
22680 \end_inset
22681
22682 number
22683 \begin_inset Quotes erd
22684 \end_inset
22685
22686  footnotes with capital or small Latin letters use 
22687 \series bold
22688
22689 \backslash
22690 Alph
22691 \series default
22692  or 
22693 \series bold
22694
22695 \backslash
22696 alph
22697 \series default
22698 , respectively.
22699  To 
22700 \begin_inset Quotes eld
22701 \end_inset
22702
22703 number
22704 \begin_inset Quotes erd
22705 \end_inset
22706
22707  footnotes with symbols use 
22708 \series bold
22709
22710 \backslash
22711 fnsymbol
22712 \series default
22713 .
22714 \end_layout
22715
22716 \begin_layout Standard
22717 \begin_inset Note Greyedout
22718 status open
22719
22720 \begin_layout Standard
22721
22722 \series bold
22723 Note:
22724 \series default
22725  You can only number 26 footnotes with Latin letters, because this numbering
22726  is limited to single letters.
22727 \end_layout
22728
22729 \end_inset
22730
22731
22732 \newline
22733
22734 \begin_inset Note Greyedout
22735 status open
22736
22737 \begin_layout Standard
22738
22739 \series bold
22740 Note:
22741 \series default
22742  You can only number 9 footnotes with symbols.
22743 \end_layout
22744
22745 \end_inset
22746
22747
22748 \end_layout
22749
22750 \begin_layout Standard
22751 To return to the default numbering style when you changed to another one,
22752  use 
22753 \series bold
22754
22755 \backslash
22756 arabic
22757 \series default
22758  instead of 
22759 \series bold
22760
22761 \backslash
22762 roman
22763 \series default
22764  in the command above.
22765 \begin_inset ERT
22766 status collapsed
22767
22768 \begin_layout Standard
22769
22770
22771 \backslash
22772 renewcommand{
22773 \backslash
22774 thefootnote}{
22775 \backslash
22776 arabic{footnote}}
22777 \end_layout
22778
22779 \end_inset
22780
22781
22782 \end_layout
22783
22784 \begin_layout Standard
22785 \begin_inset VSpace bigskip
22786 \end_inset
22787
22788
22789 \end_layout
22790
22791 \begin_layout Standard
22792 If you want to have footnotes numbered in the scheme 
22793 \begin_inset Quotes eld
22794 \end_inset
22795
22796 chapter.footnote
22797 \begin_inset Quotes erd
22798 \end_inset
22799
22800 , add the following command to your document preamble:
22801 \end_layout
22802
22803 \begin_layout Standard
22804
22805 \series bold
22806
22807 \backslash
22808 numberwithin{footnote}{chapter}
22809 \end_layout
22810
22811 \begin_layout Standard
22812 To be able to use the command 
22813 \series bold
22814
22815 \backslash
22816 numberwithin
22817 \series default
22818 , set in the tab 
22819 \family sans
22820 Math\InsetSpace ~
22821 Options
22822 \family default
22823  in the document settings the option 
22824 \family sans
22825 Use\InsetSpace ~
22826 AMS\InsetSpace ~
22827 math\InsetSpace ~
22828 package
22829 \family default
22830 .
22831 \end_layout
22832
22833 \begin_layout Standard
22834 \begin_inset ERT
22835 status collapsed
22836
22837 \begin_layout Standard
22838
22839
22840 \backslash
22841 numberwithin{footnote}{chapter}
22842 \end_layout
22843
22844 \end_inset
22845
22846 This is another example footnote:
22847 \series bold
22848
22849 \begin_inset Foot
22850 status open
22851
22852 \begin_layout Standard
22853 This is a footnote numbered in the scheme 
22854 \begin_inset Quotes eld
22855 \end_inset
22856
22857 chapter.footnote
22858 \begin_inset Quotes erd
22859 \end_inset
22860
22861 .
22862 \end_layout
22863
22864 \end_inset
22865
22866
22867 \series default
22868
22869 \begin_inset ERT
22870 status collapsed
22871
22872 \begin_layout Standard
22873
22874
22875 \backslash
22876 renewcommand{
22877 \backslash
22878 thefootnote}{
22879 \backslash
22880 arabic{footnote}}
22881 \end_layout
22882
22883 \end_inset
22884
22885
22886 \end_layout
22887
22888 \begin_layout Standard
22889 \begin_inset Note Greyedout
22890 status open
22891
22892 \begin_layout Standard
22893
22894 \series bold
22895 Note:
22896 \series default
22897  
22898 \series bold
22899
22900 \backslash
22901 numberwithin
22902 \series default
22903  always prints out the footnote number as arabic number; previous redefinitions
22904  to get non-arabic numbers are overwritten.
22905 \end_layout
22906
22907 \end_inset
22908
22909
22910 \end_layout
22911
22912 \begin_layout Standard
22913 So to get for example the scheme 
22914 \begin_inset Quotes eld
22915 \end_inset
22916
22917 chapter.
22918 \backslash
22919 Roman{footnote}
22920 \begin_inset Quotes erd
22921 \end_inset
22922
22923 , use this command instead of 
22924 \series bold
22925
22926 \backslash
22927 numberwithin
22928 \series default
22929 :
22930 \end_layout
22931
22932 \begin_layout Standard
22933
22934 \series bold
22935
22936 \backslash
22937 renewcommand{
22938 \backslash
22939 thefootnote}{
22940 \backslash
22941 thechapter.
22942 \backslash
22943 Roman{footnote}}
22944 \end_layout
22945
22946 \begin_layout Subsection
22947 Footnote Placement
22948 \begin_inset LatexCommand index
22949 name "Footnotes ! Placement"
22950
22951 \end_inset
22952
22953
22954 \end_layout
22955
22956 \begin_layout Standard
22957 If you have several footnotes in one page, they appear without vertical
22958  space between them at the bottom of the page.
22959  To make them better readable you can e.\InsetSpace \thinspace{}
22960 g.\InsetSpace ~
22961 add 1.5\InsetSpace \thinspace{}
22962 mm space with the following
22963  preamble command:
22964 \end_layout
22965
22966 \begin_layout Standard
22967
22968 \series bold
22969
22970 \backslash
22971 let
22972 \backslash
22973 myFoot
22974 \backslash
22975 footnote
22976 \newline
22977
22978 \backslash
22979 renewcommand{
22980 \backslash
22981 footnote}[1]{
22982 \backslash
22983 myFoot{#1
22984 \backslash
22985 vspace{1.5mm}}}
22986 \end_layout
22987
22988 \begin_layout Standard
22989 \begin_inset VSpace bigskip
22990 \end_inset
22991
22992 In a two-column document the footnotes appear at the bottom of every column,
22993  see Figure\InsetSpace ~
22994
22995 \begin_inset LatexCommand ref
22996 reference "fig:Standard-footnote-placement"
22997
22998 \end_inset
22999
23000 .
23001  If the footnotes should only appear at the bottom of the right column,
23002  as in Figure\InsetSpace ~
23003
23004 \begin_inset LatexCommand ref
23005 reference "fig:Footnote-placement-in"
23006
23007 \end_inset
23008
23009 , use the LaTeX-package 
23010 \series bold
23011 ftnright
23012 \series default
23013
23014 \begin_inset LatexCommand index
23015 name "LaTeX-packages ! ftnright"
23016
23017 \end_inset
23018
23019  with this command in the document preamble:
23020 \end_layout
23021
23022 \begin_layout Standard
23023
23024 \series bold
23025
23026 \backslash
23027 usepackage{ftnright}
23028 \end_layout
23029
23030 \begin_layout Standard
23031 \begin_inset Float figure
23032 placement !h
23033 wide false
23034 sideways false
23035 status open
23036
23037 \begin_layout Standard
23038 \begin_inset ERT
23039 status collapsed
23040
23041 \begin_layout Standard
23042
23043
23044 \backslash
23045 framebox{
23046 \end_layout
23047
23048 \end_inset
23049
23050
23051 \begin_inset Graphics
23052         filename clipart/without_fntright.pdf
23053         width 100col%
23054         scaleBeforeRotation
23055
23056 \end_inset
23057
23058
23059 \begin_inset ERT
23060 status collapsed
23061
23062 \begin_layout Standard
23063
23064 }
23065 \end_layout
23066
23067 \end_inset
23068
23069
23070 \end_layout
23071
23072 \begin_layout Standard
23073 \begin_inset Caption
23074
23075 \begin_layout Standard
23076 \begin_inset LatexCommand label
23077 name "fig:Standard-footnote-placement"
23078
23079 \end_inset
23080
23081 Standard footnote placement in two-column documents.
23082 \end_layout
23083
23084 \end_inset
23085
23086
23087 \end_layout
23088
23089 \end_inset
23090
23091
23092 \end_layout
23093
23094 \begin_layout Standard
23095 \begin_inset Float figure
23096 placement !h
23097 wide false
23098 sideways false
23099 status open
23100
23101 \begin_layout Standard
23102 \begin_inset ERT
23103 status collapsed
23104
23105 \begin_layout Standard
23106
23107
23108 \backslash
23109 framebox{
23110 \end_layout
23111
23112 \end_inset
23113
23114
23115 \begin_inset Graphics
23116         filename clipart/with_fntright.pdf
23117         width 100col%
23118         scaleBeforeRotation
23119
23120 \end_inset
23121
23122
23123 \begin_inset ERT
23124 status collapsed
23125
23126 \begin_layout Standard
23127
23128 }
23129 \end_layout
23130
23131 \end_inset
23132
23133
23134 \end_layout
23135
23136 \begin_layout Standard
23137 \begin_inset Caption
23138
23139 \begin_layout Standard
23140 \begin_inset LatexCommand label
23141 name "fig:Footnote-placement-in"
23142
23143 \end_inset
23144
23145 Footnote placement in two-column documents when the LaTeX-package 
23146 \series bold
23147 ftnright
23148 \series default
23149  is used.
23150 \end_layout
23151
23152 \end_inset
23153
23154
23155 \end_layout
23156
23157 \end_inset
23158
23159
23160 \end_layout
23161
23162 \begin_layout Standard
23163 \begin_inset VSpace bigskip
23164 \end_inset
23165
23166 In some scientific literature it is usual to collect the footnotes and print
23167  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23168
23169 \begin_inset LatexCommand ref
23170 reference "fig:Endnotes----footnotes"
23171
23172 \end_inset
23173
23174 .
23175  They are then so called 
23176 \begin_inset Quotes eld
23177 \end_inset
23178
23179 endnotes
23180 \begin_inset Quotes erd
23181 \end_inset
23182
23183 .
23184  To use endnotes instead of footnotes in your document, load the LaTeX-package
23185  
23186 \series bold
23187 endnotes
23188 \series default
23189
23190 \begin_inset LatexCommand index
23191 name "LaTeX-packages ! endnotes"
23192
23193 \end_inset
23194
23195  with the document preamble lines
23196 \end_layout
23197
23198 \begin_layout Standard
23199
23200 \series bold
23201
23202 \backslash
23203 usepackage{endnotes}
23204 \newline
23205
23206 \backslash
23207 let
23208 \backslash
23209 footnote
23210 \backslash
23211 endnote
23212 \end_layout
23213
23214 \begin_layout Standard
23215 To insert the collected footnotes, insert the command
23216 \end_layout
23217
23218 \begin_layout Standard
23219
23220 \series bold
23221
23222 \backslash
23223 theendnotes
23224 \end_layout
23225
23226 \begin_layout Standard
23227 in TeX-Code at the the end of a section or chapter.
23228 \end_layout
23229
23230 \begin_layout Standard
23231 \begin_inset Float figure
23232 wide false
23233 sideways false
23234 status open
23235
23236 \begin_layout Standard
23237 \align center
23238 \begin_inset ERT
23239 status collapsed
23240
23241 \begin_layout Standard
23242
23243
23244 \backslash
23245 framebox{
23246 \end_layout
23247
23248 \end_inset
23249
23250
23251 \begin_inset Graphics
23252         filename clipart/endnotes.pdf
23253         scaleBeforeRotation
23254
23255 \end_inset
23256
23257
23258 \begin_inset ERT
23259 status collapsed
23260
23261 \begin_layout Standard
23262
23263 }
23264 \end_layout
23265
23266 \end_inset
23267
23268
23269 \end_layout
23270
23271 \begin_layout Standard
23272 \begin_inset Caption
23273
23274 \begin_layout Standard
23275 \begin_inset LatexCommand label
23276 name "fig:Endnotes----footnotes"
23277
23278 \end_inset
23279
23280 Endnotes -- footnotes are printed in a separate paragraph at the end of
23281  sections or chapters.
23282 \end_layout
23283
23284 \end_inset
23285
23286
23287 \end_layout
23288
23289 \end_inset
23290
23291
23292 \end_layout
23293
23294 \begin_layout Standard
23295 \begin_inset VSpace medskip
23296 \end_inset
23297
23298 The paragraph heading for the endnotes isn't automatically translated into
23299  the document language, this must be done manually.
23300  The following preamble command translate the default English name 
23301 \begin_inset Quotes eld
23302 \end_inset
23303
23304 Notes
23305 \begin_inset Quotes erd
23306 \end_inset
23307
23308  to the German translation 
23309 \begin_inset Quotes eld
23310 \end_inset
23311
23312 Anmerkungen
23313 \begin_inset Quotes erd
23314 \end_inset
23315
23316 :
23317 \end_layout
23318
23319 \begin_layout Standard
23320
23321 \series bold
23322
23323 \backslash
23324 renewcommand{
23325 \backslash
23326 notesname}{Anmerkungen}
23327 \end_layout
23328
23329 \begin_layout Standard
23330 \begin_inset VSpace medskip
23331 \end_inset
23332
23333 The numbering of endnotes can be changed like the footnote numbering as
23334  described in section\InsetSpace ~
23335
23336 \begin_inset LatexCommand ref
23337 reference "sub:Footnote-Numbering"
23338
23339 \end_inset
23340
23341 ; just replace the command 
23342 \series bold
23343
23344 \backslash
23345 thefootnote
23346 \series default
23347  by 
23348 \series bold
23349
23350 \backslash
23351 theendnote
23352 \series default
23353 .
23354  To reset the endnote number use the command 
23355 \series bold
23356
23357 \backslash
23358 @addtoreset
23359 \series default
23360  as described in section\InsetSpace ~
23361
23362 \begin_inset LatexCommand ref
23363 reference "sub:Footnote-Numbering"
23364
23365 \end_inset
23366
23367  and replace the command parameter 
23368 \series bold
23369 footnote
23370 \series default
23371  by 
23372 \series bold
23373 endnote
23374 \series default
23375 .
23376 \end_layout
23377
23378 \begin_layout Standard
23379 To create only a mark for an endnote, use the command 
23380 \series bold
23381
23382 \backslash
23383 endnotemark[number]
23384 \series default
23385  similar to the command 
23386 \series bold
23387
23388 \backslash
23389 footnotemark
23390 \series default
23391 , described in section\InsetSpace ~
23392
23393 \begin_inset LatexCommand ref
23394 reference "sec:Footnotes"
23395
23396 \end_inset
23397
23398 .
23399 \end_layout
23400
23401 \begin_layout Standard
23402 \begin_inset VSpace bigskip
23403 \end_inset
23404
23405 Footnotes can also be placed in the page margin and the footnote text alignment
23406  can be changed, see the LaTeX-package 
23407 \series bold
23408 footmisc
23409 \series default
23410
23411 \begin_inset LatexCommand index
23412 name "LaTeX-packages ! footmisc"
23413
23414 \end_inset
23415
23416
23417 \begin_inset LatexCommand cite
23418 key "footmisc"
23419
23420 \end_inset
23421
23422  for more information about this.
23423 \end_layout
23424
23425 \begin_layout Standard
23426 For various further footnote formatting issues have a look at LaTeX-books,
23427  
23428 \begin_inset LatexCommand cite
23429 key "latexcompanion,latexguide,latexbook"
23430
23431 \end_inset
23432
23433 .
23434 \end_layout
23435
23436 \begin_layout Section
23437 Margin Notes
23438 \begin_inset LatexCommand index
23439 name "Notes ! Margin Notes"
23440
23441 \end_inset
23442
23443
23444 \end_layout
23445
23446 \begin_layout Standard
23447 Margin notes look and behave in LyX like footnotes.
23448  They are inserted via the menu 
23449 \family sans
23450 Insert\SpecialChar \menuseparator
23451 Marginal\InsetSpace ~
23452 Note
23453 \family default
23454  or the toolbar button 
23455 \begin_inset Graphics
23456         filename ../images/marginalnote-insert.png
23457         scale 85
23458         scaleBeforeRotation
23459
23460 \end_inset
23461
23462 .
23463  A grey 
23464 \family roman
23465 \series medium
23466 box with the
23467 \family default
23468 \series default
23469  red 
23470 \family roman
23471 \series medium
23472 label 
23473 \begin_inset Quotes eld
23474 \end_inset
23475
23476 margin
23477 \begin_inset Quotes erd
23478 \end_inset
23479
23480  appears where you can enter the text of the margin note.
23481 \end_layout
23482
23483 \begin_layout Standard
23484 At the side is an example margin note.
23485 \family roman
23486 \series medium
23487
23488 \begin_inset Marginal
23489 status open
23490
23491 \begin_layout Standard
23492 This is a margin note.
23493 \end_layout
23494
23495 \end_inset
23496
23497
23498 \end_layout
23499
23500 \begin_layout Standard
23501 Margin notes appear at the right side in single-sided documents.
23502  In double-sided documents they appear in the outer margin -- left on even
23503  pages, right on odd pages.
23504  The text of margin notes is aligned opposite to the outer margin -- right-align
23505 ed when the note appears in the left margin.
23506  The first line of the margin note is placed at the position of the text
23507  line where it is inserted in the document.
23508 \end_layout
23509
23510 \begin_layout Standard
23511 \begin_inset VSpace bigskip
23512 \end_inset
23513
23514 To place the margin note in the inner margin, add the command
23515 \end_layout
23516
23517 \begin_layout Standard
23518
23519 \series bold
23520
23521 \backslash
23522 reversemarginpar
23523 \end_layout
23524
23525 \begin_layout Standard
23526 in TeX-Code before a margin note.
23527  The new placement is valid for all following margin notes.
23528 \begin_inset ERT
23529 status collapsed
23530
23531 \begin_layout Standard
23532
23533
23534 \backslash
23535 reversemarginpar 
23536 \end_layout
23537
23538 \end_inset
23539
23540
23541 \begin_inset Marginal
23542 status open
23543
23544 \begin_layout Standard
23545 This is a margin note in the inner margin.
23546 \end_layout
23547
23548 \end_inset
23549
23550
23551 \series bold
23552
23553 \newline
23554
23555 \series default
23556
23557 \begin_inset Note Greyedout
23558 status open
23559
23560 \begin_layout Standard
23561
23562 \series bold
23563 Note:
23564 \series default
23565  There is often not enough space in the inner margin so that the notes are
23566  not correctly displayed in the output.
23567 \end_layout
23568
23569 \end_inset
23570
23571
23572 \end_layout
23573
23574 \begin_layout Standard
23575 To return to the default placement insert the command
23576 \end_layout
23577
23578 \begin_layout Standard
23579
23580 \series bold
23581
23582 \backslash
23583 normalmarginpar
23584 \end_layout
23585
23586 \begin_layout Standard
23587 in TeX-Code.
23588 \begin_inset ERT
23589 status collapsed
23590
23591 \begin_layout Standard
23592
23593
23594 \backslash
23595 normalmarginpar 
23596 \end_layout
23597
23598 \end_inset
23599
23600  
23601 \begin_inset Note Greyedout
23602 status open
23603
23604 \begin_layout Standard
23605
23606 \series bold
23607 Note:
23608 \series default
23609  The command is ignored when it is within a paragraph where also the command
23610  
23611 \series bold
23612
23613 \backslash
23614 reversemarginpar
23615 \series default
23616  is inserted.
23617 \end_layout
23618
23619 \end_inset
23620
23621
23622 \end_layout
23623
23624 \begin_layout Standard
23625 \begin_inset VSpace bigskip
23626 \end_inset
23627
23628
23629 \family roman
23630 \series medium
23631
23632 \begin_inset Marginal
23633 status open
23634
23635 \begin_layout Standard
23636 AVeryLongMarginParWord that isn't hyphenated.
23637 \end_layout
23638
23639 \end_inset
23640
23641
23642 \family default
23643 \series default
23644 Similar to the case described in section\InsetSpace ~
23645
23646 \begin_inset LatexCommand ref
23647 reference "sub:Multiple-Lines-in"
23648
23649 \end_inset
23650
23651 , long words cannot be hyphenated when they are the first word in a margin
23652  note.
23653  To avoid this, insert the command
23654 \end_layout
23655
23656 \begin_layout Standard
23657
23658 \series bold
23659
23660 \backslash
23661 hspace{0pt}
23662 \end_layout
23663
23664 \begin_layout Standard
23665 in TeX-Code before the word
23666 \family roman
23667 \series medium
23668 .
23669 \begin_inset Marginal
23670 status open
23671
23672 \begin_layout Standard
23673 \begin_inset ERT
23674 status collapsed
23675
23676 \begin_layout Standard
23677
23678
23679 \backslash
23680 hspace{0pt}
23681 \end_layout
23682
23683 \end_inset
23684
23685 AVeryLongMarginParWord that is hyphenated.
23686 \end_layout
23687
23688 \end_inset
23689
23690
23691 \end_layout
23692
23693 \begin_layout Standard
23694 \begin_inset VSpace bigskip
23695 \end_inset
23696
23697
23698 \end_layout
23699
23700 \begin_layout Standard
23701 \begin_inset Note Greyedout
23702 status open
23703
23704 \begin_layout Standard
23705
23706 \series bold
23707 Note:
23708 \series default
23709  Margin notes can normally not be used inside tables, floats, and footnotes.
23710 \end_layout
23711
23712 \end_inset
23713
23714
23715 \end_layout
23716
23717 \begin_layout Standard
23718 \begin_inset VSpace bigskip
23719 \end_inset
23720
23721
23722 \end_layout
23723
23724 \begin_layout Standard
23725 \begin_inset ERT
23726 status collapsed
23727
23728 \begin_layout Standard
23729
23730
23731 \backslash
23732 ifmarginnote
23733 \end_layout
23734
23735 \end_inset
23736
23737
23738 \begin_inset Note Note
23739 status open
23740
23741 \begin_layout Standard
23742 The following section will only be displayed when the LaTeX-package 
23743 \series bold
23744 marginnote
23745 \series default
23746  is installed.
23747 \end_layout
23748
23749 \end_inset
23750
23751
23752 \end_layout
23753
23754 \begin_layout Standard
23755 This restriction can be evaded by using the LaTeX-package 
23756 \series bold
23757 marginnote
23758 \series default
23759
23760 \begin_inset LatexCommand index
23761 name "LaTeX-packages ! marginnote"
23762
23763 \end_inset
23764
23765 .
23766  By adding these two lines to your document preamble, the command used by
23767  LyX for margin notes is redefined to use the command provided by the 
23768 \series bold
23769 marginnote
23770 \series default
23771 -package:
23772 \end_layout
23773
23774 \begin_layout Standard
23775
23776 \series bold
23777
23778 \backslash
23779 usepackage{marginnote}
23780 \newline
23781
23782 \backslash
23783 let
23784 \backslash
23785 marginpar
23786 \backslash
23787 marginnote
23788 \end_layout
23789
23790 \begin_layout Standard
23791 This is also used in this document because 
23792 \series bold
23793 marginnote
23794 \series default
23795  has another useful feature: You can set a vertical offset for the note.
23796  This is often needed when too many margin notes are too close together
23797  or for a better page layout.
23798  The offset is set in LyX as TeX-Code directly behind the margin note in
23799  the scheme
23800 \end_layout
23801
23802 \begin_layout Standard
23803
23804 \series bold
23805 [offset]
23806 \end_layout
23807
23808 \begin_layout Standard
23809 where the offset is a length with one of the units listed in Table\InsetSpace ~
23810
23811 \begin_inset LatexCommand ref
23812 reference "tab:Units"
23813
23814 \end_inset
23815
23816 .
23817  A negative value shifts the note up, a positive value shifts it down.
23818  
23819 \family roman
23820 \series medium
23821 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
23822 cm with
23823  the TeX-Code-command 
23824 \begin_inset Quotes eld
23825 \end_inset
23826
23827
23828 \family default
23829 \series bold
23830 [-1.5cm]
23831 \family roman
23832 \series medium
23833
23834 \begin_inset Quotes erd
23835 \end_inset
23836
23837
23838 \begin_inset Marginal
23839 status open
23840
23841 \begin_layout Standard
23842 This margin note is shifted up 1.5\InsetSpace \thinspace{}
23843 cm from its original position.
23844 \end_layout
23845
23846 \end_inset
23847
23848
23849 \family default
23850 \series default
23851
23852 \begin_inset ERT
23853 status collapsed
23854
23855 \begin_layout Standard
23856
23857 [-1.5cm]
23858 \end_layout
23859
23860 \end_inset
23861
23862
23863 \end_layout
23864
23865 \begin_layout Standard
23866 \begin_inset VSpace medskip
23867 \end_inset
23868
23869 With 
23870 \series bold
23871 marginnote
23872 \series default
23873  you can also change the alignment of the text in the margin note.
23874  For example the commands
23875 \end_layout
23876
23877 \begin_layout Standard
23878
23879 \series bold
23880
23881 \backslash
23882 renewcommand*{
23883 \backslash
23884 raggedleftmarginnote}{
23885 \backslash
23886 centering}
23887 \newline
23888
23889 \backslash
23890 renewcommand*{
23891 \backslash
23892 raggedrightmarginnote}{
23893 \backslash
23894 centering}
23895 \end_layout
23896
23897 \begin_layout Standard
23898 set the alignment to centered.
23899  
23900 \series bold
23901
23902 \backslash
23903 raggedleftmarginnote
23904 \series default
23905  denotes margin notes that appear at the left side.
23906 \family roman
23907 \series medium
23908
23909 \begin_inset ERT
23910 status collapsed
23911
23912 \begin_layout Standard
23913
23914
23915 \backslash
23916 renewcommand*{
23917 \backslash
23918 raggedleftmarginnote}{
23919 \backslash
23920 centering}
23921 \end_layout
23922
23923 \begin_layout Standard
23924
23925
23926 \backslash
23927 renewcommand*{
23928 \backslash
23929 raggedrightmarginnote}{
23930 \backslash
23931 centering}
23932 \end_layout
23933
23934 \end_inset
23935
23936
23937 \begin_inset Marginal
23938 status open
23939
23940 \begin_layout Standard
23941 The text of this margin note is centered.
23942 \end_layout
23943
23944 \end_inset
23945
23946
23947 \family default
23948 \series default
23949  The default is
23950 \end_layout
23951
23952 \begin_layout Standard
23953
23954 \series bold
23955
23956 \backslash
23957 renewcommand*{
23958 \backslash
23959 raggedleftmarginnote}{
23960 \backslash
23961 raggedleft}
23962 \newline
23963
23964 \backslash
23965 renewcommand*{
23966 \backslash
23967 raggedrightmarginnote}{
23968 \backslash
23969 raggedright}
23970 \family roman
23971 \series medium
23972
23973 \begin_inset ERT
23974 status collapsed
23975
23976 \begin_layout Standard
23977
23978
23979 \backslash
23980 renewcommand*{
23981 \backslash
23982 raggedleftmarginnote}{
23983 \backslash
23984 raggedleft}
23985 \end_layout
23986
23987 \begin_layout Standard
23988
23989
23990 \backslash
23991 renewcommand*{
23992 \backslash
23993 raggedrightmarginnote}{
23994 \backslash
23995 raggedright}
23996 \end_layout
23997
23998 \end_inset
23999
24000
24001 \end_layout
24002
24003 \begin_layout Standard
24004 \begin_inset VSpace medskip
24005 \end_inset
24006
24007 For the other features of 
24008 \series bold
24009 marginnote
24010 \series default
24011  we refer to its documentation 
24012 \begin_inset LatexCommand cite
24013 key "marginnote"
24014
24015 \end_inset
24016
24017 .
24018 \end_layout
24019
24020 \begin_layout Standard
24021 \begin_inset VSpace bigskip
24022 \end_inset
24023
24024 You can adjust the layout of margin notes by changing its definition.
24025  To create for example a header for all margin notes with the underlined,
24026  sans-serif, and bold header text 
24027 \begin_inset Quotes eld
24028 \end_inset
24029
24030
24031 \family sans
24032 \series bold
24033 \bar under
24034 Attention!
24035 \family default
24036 \series default
24037 \bar default
24038
24039 \begin_inset Quotes erd
24040 \end_inset
24041
24042 , add this to your document preamble:
24043 \end_layout
24044
24045 \begin_layout Standard
24046
24047 \series bold
24048
24049 \backslash
24050 let
24051 \backslash
24052 myMarginpar
24053 \backslash
24054 marginpar
24055 \newline
24056
24057 \backslash
24058 renewcommand{
24059 \backslash
24060 marginpar}[1]{
24061 \backslash
24062 myMarginpar{%
24063 \newline
24064
24065 \begin_inset ERT
24066 status collapsed
24067
24068 \begin_layout Standard
24069
24070
24071 \backslash
24072 hphantom{ }
24073 \end_layout
24074
24075 \end_inset
24076
24077
24078 \backslash
24079 hspace{0pt}
24080 \backslash
24081 textsf{
24082 \backslash
24083 textbf{
24084 \backslash
24085 underbar{Attention!}}}%
24086 \newline
24087
24088 \begin_inset ERT
24089 status collapsed
24090
24091 \begin_layout Standard
24092
24093
24094 \backslash
24095 hphantom{ }
24096 \end_layout
24097
24098 \end_inset
24099
24100
24101 \backslash
24102 vspace{1.5mm}
24103 \backslash
24104
24105 \backslash
24106 #1}}
24107 \end_layout
24108
24109 \begin_layout Standard
24110
24111 \family roman
24112 \series medium
24113 \begin_inset ERT
24114 status collapsed
24115
24116 \begin_layout Standard
24117
24118
24119 \backslash
24120 let
24121 \backslash
24122 myMarginpar
24123 \backslash
24124 marginpar
24125 \end_layout
24126
24127 \begin_layout Standard
24128
24129
24130 \backslash
24131 renewcommand{
24132 \backslash
24133 marginpar}[1]{
24134 \backslash
24135 myMarginpar{%
24136 \end_layout
24137
24138 \begin_layout Standard
24139
24140    
24141 \backslash
24142 textsf{
24143 \backslash
24144 textbf{
24145 \backslash
24146 underbar{Attention!}}}%
24147 \end_layout
24148
24149 \begin_layout Standard
24150
24151    
24152 \backslash
24153 vspace{1.5mm}
24154 \backslash
24155
24156 \backslash
24157 #1}}
24158 \end_layout
24159
24160 \end_inset
24161
24162
24163 \begin_inset Marginal
24164 status open
24165
24166 \begin_layout Standard
24167 This is a margin note with a defined heading.
24168 \end_layout
24169
24170 \end_inset
24171
24172
24173 \family default
24174 \series default
24175
24176 \begin_inset ERT
24177 status collapsed
24178
24179 \begin_layout Standard
24180
24181 [-1.5cm]
24182 \end_layout
24183
24184 \end_inset
24185
24186
24187 \family roman
24188 \series medium
24189
24190 \begin_inset ERT
24191 status collapsed
24192
24193 \begin_layout Standard
24194
24195
24196 \backslash
24197 renewcommand{
24198 \backslash
24199 marginpar}[1]{
24200 \backslash
24201 myMarginpar{#1}}
24202 \end_layout
24203
24204 \end_inset
24205
24206
24207 \family default
24208 \series default
24209
24210 \begin_inset Note Note
24211 status collapsed
24212
24213 \begin_layout Standard
24214 The margin note format is changed only for this example.
24215 \end_layout
24216
24217 \end_inset
24218
24219
24220 \end_layout
24221
24222 \begin_layout Standard
24223 \begin_inset ERT
24224 status collapsed
24225
24226 \begin_layout Standard
24227
24228
24229 \backslash
24230 else
24231 \end_layout
24232
24233 \end_inset
24234
24235
24236 \begin_inset Note Note
24237 status open
24238
24239 \begin_layout Standard
24240 The following will be displayed when the LaTeX-package 
24241 \series bold
24242 marginnote
24243 \series default
24244  is not installed:
24245 \end_layout
24246
24247 \end_inset
24248
24249
24250 \end_layout
24251
24252 \begin_layout Standard
24253 You need to install the LaTeX-package 
24254 \series bold
24255 marginnote
24256 \series default
24257  to see the following part of this section in the output.
24258 \end_layout
24259
24260 \begin_layout Standard
24261 \begin_inset ERT
24262 status collapsed
24263
24264 \begin_layout Standard
24265
24266
24267 \backslash
24268 fi
24269 \end_layout
24270
24271 \end_inset
24272
24273
24274 \end_layout
24275
24276 \begin_layout Chapter
24277 Boxes
24278 \end_layout
24279
24280 \begin_layout Section
24281 Introduction
24282 \begin_inset LatexCommand index
24283 name "Boxes ! Introduction"
24284
24285 \end_inset
24286
24287
24288 \end_layout
24289
24290 \begin_layout Standard
24291 Boxes are used to format a block of text.
24292  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24293
24294 \begin_inset LatexCommand ref
24295 reference "sec:Minipages"
24296
24297 \end_inset
24298
24299 , to frame texts, see section\InsetSpace ~
24300
24301 \begin_inset LatexCommand ref
24302 reference "sec:Framed-Boxes"
24303
24304 \end_inset
24305
24306 , to prevent words to be hyphenated, see section\InsetSpace ~
24307
24308 \begin_inset LatexCommand ref
24309 reference "sec:Prevent-Hyphenation"
24310
24311 \end_inset
24312
24313 , to align text, see section\InsetSpace ~
24314
24315 \begin_inset LatexCommand ref
24316 reference "sub:Vertical-Alignment"
24317
24318 \end_inset
24319
24320 , or to set the background color of texts, see section\InsetSpace ~
24321
24322 \begin_inset LatexCommand ref
24323 reference "sec:Colored-Boxes"
24324
24325 \end_inset
24326
24327 .
24328 \end_layout
24329
24330 \begin_layout Standard
24331 Boxes can be inserted with the menu 
24332 \family sans
24333 Insert\SpecialChar \menuseparator
24334 Box
24335 \family default
24336  or the toolbar button 
24337 \begin_inset Graphics
24338         filename ../images/box-insert.png
24339         scale 85
24340         scaleBeforeRotation
24341
24342 \end_inset
24343
24344 .
24345  A grey box with the label 
24346 \family sans
24347 Box (Minipage)
24348 \family default
24349
24350 \begin_inset Graphics
24351         filename clipart/BoxInsetDefaultQt4.png
24352         scale 85
24353         scaleBeforeRotation
24354
24355 \end_inset
24356
24357 , will be inserted.
24358  The box type can be specified by right-clicking on the box.
24359  The appearing box dialog offers the 
24360 \family sans
24361 Inner\InsetSpace ~
24362 Box
24363 \family default
24364  types 
24365 \family sans
24366 Parbox
24367 \family default
24368  and 
24369 \family sans
24370 Minipage
24371 \family default
24372 .
24373  The type 
24374 \family sans
24375 Minipage
24376 \family default
24377  is the default for new boxes and is explained in section\InsetSpace ~
24378
24379 \begin_inset LatexCommand ref
24380 reference "sec:Minipages"
24381
24382 \end_inset
24383
24384 ; the type 
24385 \family sans
24386 Parbox
24387 \family default
24388  is described in section\InsetSpace ~
24389
24390 \begin_inset LatexCommand ref
24391 reference "sec:Parboxes"
24392
24393 \end_inset
24394
24395 .
24396 \end_layout
24397
24398 \begin_layout Standard
24399 Boxes aren't numbered and can therefore not be referenced like floats or
24400  footnotes.
24401 \end_layout
24402
24403 \begin_layout Standard
24404 \begin_inset Note Greyedout
24405 status open
24406
24407 \begin_layout Standard
24408
24409 \series bold
24410 Note:
24411 \series default
24412  Boxes must not be the item in an 
24413 \family sans
24414 Itemize
24415 \family default
24416  or 
24417 \family sans
24418 Description
24419 \family default
24420  environment.
24421 \end_layout
24422
24423 \end_inset
24424
24425
24426 \end_layout
24427
24428 \begin_layout Standard
24429 \begin_inset Note Greyedout
24430 status open
24431
24432 \begin_layout Standard
24433
24434 \series bold
24435 Note:
24436 \series default
24437  For an unknown reason you can only set the 
24438 \family sans
24439 Inner\InsetSpace ~
24440 Box
24441 \family default
24442  type to 
24443 \family sans
24444 None
24445 \family default
24446  when you use a framed box.
24447  Boxes without an 
24448 \family sans
24449 Inner\InsetSpace ~
24450 Box
24451 \family default
24452  type and without frames are explained in section\InsetSpace ~
24453
24454 \begin_inset LatexCommand ref
24455 reference "sec:Prevent-Hyphenation"
24456
24457 \end_inset
24458
24459 .
24460 \end_layout
24461
24462 \end_inset
24463
24464
24465 \end_layout
24466
24467 \begin_layout Section
24468 Box Dialog
24469 \begin_inset LatexCommand label
24470 name "sec:Box-Dialog"
24471
24472 \end_inset
24473
24474
24475 \begin_inset LatexCommand index
24476 name "Boxes ! Box Dialog"
24477
24478 \end_inset
24479
24480
24481 \begin_inset LatexCommand index
24482 name "Boxes ! Alignment"
24483
24484 \end_inset
24485
24486
24487 \end_layout
24488
24489 \begin_layout Standard
24490 In the box dialog you can adjust the box geometry in the fields 
24491 \family sans
24492 Width
24493 \family default
24494  and 
24495 \family sans
24496 Height
24497 \family default
24498 .
24499  The available units for the geometry are explained in Table\InsetSpace ~
24500
24501 \begin_inset LatexCommand ref
24502 reference "tab:Units"
24503
24504 \end_inset
24505
24506 .
24507  The field 
24508 \family sans
24509 Heigth
24510 \family default
24511  offers the following additional sizes:
24512 \end_layout
24513
24514 \begin_layout Description
24515 Depth This is the plain text 
24516 \begin_inset Quotes eld
24517 \end_inset
24518
24519 height
24520 \begin_inset Quotes erd
24521 \end_inset
24522
24523 .
24524  It ignores the total depth when there are multiple text lines in the box:
24525 \newline
24526
24527 \newline
24528
24529 \newline
24530
24531 \begin_inset Box Boxed
24532 position "c"
24533 hor_pos "c"
24534 has_inner_box 1
24535 inner_pos "c"
24536 use_parbox 0
24537 width "12col%"
24538 special "none"
24539 height "1in"
24540 height_special "depth"
24541 status collapsed
24542
24543 \begin_layout Standard
24544 \align center
24545 Box height set to 1\InsetSpace \thinspace{}
24546 Depth
24547 \end_layout
24548
24549 \end_inset
24550
24551
24552 \newline
24553
24554 \newline
24555
24556 \end_layout
24557
24558 \begin_layout Description
24559 Height This is the heigth of the text that is inside the box.
24560  A value of e.\InsetSpace \thinspace{}
24561 g.\InsetSpace ~
24562 2 for this size will set the box heigth to 2 times the text
24563  height: 
24564 \begin_inset Box Boxed
24565 position "c"
24566 hor_pos "c"
24567 has_inner_box 1
24568 inner_pos "c"
24569 use_parbox 0
24570 width "20col%"
24571 special "none"
24572 height "2in"
24573 height_special "height"
24574 status collapsed
24575
24576 \begin_layout Standard
24577 \align center
24578 Box height set to 2\InsetSpace \thinspace{}
24579 Height
24580 \end_layout
24581
24582 \end_inset
24583
24584
24585 \end_layout
24586
24587 \begin_layout Description
24588 Total\InsetSpace ~
24589 Height This is the Height\InsetSpace \thinspace{}
24590 +\InsetSpace \thinspace{}
24591 Depth: 
24592 \begin_inset Box Boxed
24593 position "c"
24594 hor_pos "c"
24595 has_inner_box 1
24596 inner_pos "c"
24597 use_parbox 0
24598 width "20col%"
24599 special "none"
24600 height "1in"
24601 height_special "totalheight"
24602 status collapsed
24603
24604 \begin_layout Standard
24605 \align center
24606 Box height set to 1\InsetSpace \thinspace{}
24607 Total\InsetSpace ~
24608 Height
24609 \end_layout
24610
24611 \end_inset
24612
24613
24614 \end_layout
24615
24616 \begin_layout Description
24617 Width This sets the width of the box as heigth: 
24618 \begin_inset Box Boxed
24619 position "c"
24620 hor_pos "c"
24621 has_inner_box 1
24622 inner_pos "c"
24623 use_parbox 0
24624 width "12col%"
24625 special "none"
24626 height "1in"
24627 height_special "width"
24628 status collapsed
24629
24630 \begin_layout Standard
24631 \align center
24632 Box height set to 1\InsetSpace \thinspace{}
24633 Width
24634 \end_layout
24635
24636 \end_inset
24637
24638
24639 \end_layout
24640
24641 \begin_layout Standard
24642 \begin_inset VSpace bigskip
24643 \end_inset
24644
24645 When you have chosen an 
24646 \family sans
24647 Inner\InsetSpace ~
24648 Box
24649 \family default
24650 , the vertical box alignment can be:
24651 \end_layout
24652
24653 \begin_layout Description
24654 Top This is an example text line.
24655  
24656 \begin_inset Box Boxed
24657 position "t"
24658 hor_pos "c"
24659 has_inner_box 1
24660 inner_pos "c"
24661 use_parbox 0
24662 width "12col%"
24663 special "none"
24664 height "1in"
24665 height_special "totalheight"
24666 status collapsed
24667
24668 \begin_layout Standard
24669 \align center
24670 This box is top-aligned.
24671 \end_layout
24672
24673 \end_inset
24674
24675  This is an example text line.
24676 \end_layout
24677
24678 \begin_layout Description
24679 Middle This is an example text line.
24680  
24681 \begin_inset Box Boxed
24682 position "c"
24683 hor_pos "c"
24684 has_inner_box 1
24685 inner_pos "c"
24686 use_parbox 0
24687 width "12col%"
24688 special "none"
24689 height "1in"
24690 height_special "totalheight"
24691 status collapsed
24692
24693 \begin_layout Standard
24694 \align center
24695 This box is middle-aligned.
24696 \end_layout
24697
24698 \end_inset
24699
24700  This is an example text line.
24701 \end_layout
24702
24703 \begin_layout Description
24704 Bottom This is an example text line.
24705  
24706 \begin_inset Box Boxed
24707 position "b"
24708 hor_pos "c"
24709 has_inner_box 1
24710 inner_pos "c"
24711 use_parbox 0
24712 width "12col%"
24713 special "none"
24714 height "1in"
24715 height_special "totalheight"
24716 status collapsed
24717
24718 \begin_layout Standard
24719 \align center
24720 This box is bottom-aligned.
24721 \end_layout
24722
24723 \end_inset
24724
24725  This is an example text line.
24726 \end_layout
24727
24728 \begin_layout Standard
24729 The horizontal box alignment can be set via LyX's paragraph dialog when
24730  you set the box into its own paragraph.
24731 \end_layout
24732
24733 \begin_layout Standard
24734 \begin_inset VSpace bigskip
24735 \end_inset
24736
24737 When you have chosen an 
24738 \family sans
24739 Inner\InsetSpace ~
24740 Box
24741 \family default
24742 , the box content can be vertical aligned to:
24743 \end_layout
24744
24745 \begin_layout Description
24746 top This is an example text line.
24747  
24748 \begin_inset Box Boxed
24749 position "c"
24750 hor_pos "c"
24751 has_inner_box 1
24752 inner_pos "t"
24753 use_parbox 0
24754 width "12col%"
24755 special "none"
24756 height "1.5in"
24757 height_special "totalheight"
24758 status collapsed
24759
24760 \begin_layout Standard
24761 \align center
24762 This box text is top-aligned.
24763 \end_layout
24764
24765 \end_inset
24766
24767  This is an example text line.
24768 \end_layout
24769
24770 \begin_layout Description
24771 middle This is an example text line.
24772  
24773 \begin_inset Box Boxed
24774 position "c"
24775 hor_pos "c"
24776 has_inner_box 1
24777 inner_pos "c"
24778 use_parbox 0
24779 width "12col%"
24780 special "none"
24781 height "1.5in"
24782 height_special "totalheight"
24783 status collapsed
24784
24785 \begin_layout Standard
24786 \align center
24787 This box text is middle-aligned.
24788 \end_layout
24789
24790 \end_inset
24791
24792  This is an example text line.
24793 \end_layout
24794
24795 \begin_layout Description
24796 bottom This is an example text line.
24797  
24798 \begin_inset Box Boxed
24799 position "c"
24800 hor_pos "c"
24801 has_inner_box 1
24802 inner_pos "b"
24803 use_parbox 0
24804 width "12col%"
24805 special "none"
24806 height "1.5in"
24807 height_special "totalheight"
24808 status collapsed
24809
24810 \begin_layout Standard
24811 \align center
24812 This box text is bottom-aligned.
24813 \end_layout
24814
24815 \end_inset
24816
24817  This is an example text line.
24818 \end_layout
24819
24820 \begin_layout Description
24821 stretch This is an example text line.
24822  
24823 \begin_inset Box Boxed
24824 position "c"
24825 hor_pos "c"
24826 has_inner_box 1
24827 inner_pos "s"
24828 use_parbox 0
24829 width "12col%"
24830 special "none"
24831 height "1.5in"
24832 height_special "totalheight"
24833 status collapsed
24834
24835 \begin_layout Standard
24836 \align center
24837 This box
24838 \end_layout
24839
24840 \begin_layout Standard
24841 \align center
24842 text is
24843 \end_layout
24844
24845 \begin_layout Standard
24846 \align center
24847 stretched.
24848 \end_layout
24849
24850 \end_inset
24851
24852  This is an example text line.
24853 \end_layout
24854
24855 \begin_layout Standard
24856 To stretch the box content, it must consist of more than one paragraph.
24857  In the example above every text line is in an own paragraph.
24858 \end_layout
24859
24860 \begin_layout Standard
24861 \begin_inset VSpace bigskip
24862 \end_inset
24863
24864 To align the box content horizontally you can use LyX's paragraph dialog
24865  when you have chosen an 
24866 \family sans
24867 Inner\InsetSpace ~
24868 Box
24869 \family default
24870 .
24871 \end_layout
24872
24873 \begin_layout Standard
24874 \align center
24875 \begin_inset Box Boxed
24876 position "c"
24877 hor_pos "c"
24878 has_inner_box 1
24879 inner_pos "s"
24880 use_parbox 0
24881 width "15col%"
24882 special "none"
24883 height "1.25in"
24884 height_special "totalheight"
24885 status collapsed
24886
24887 \begin_layout Standard
24888 \align left
24889 This box
24890 \end_layout
24891
24892 \begin_layout Standard
24893 \align center
24894 text is
24895 \end_layout
24896
24897 \begin_layout Standard
24898 \align right
24899 stretched.
24900 \end_layout
24901
24902 \end_inset
24903
24904
24905 \end_layout
24906
24907 \begin_layout Standard
24908 If you haven't set an 
24909 \family sans
24910 Inner\InsetSpace ~
24911 Box
24912 \family default
24913 , you can align the box content horizontally in the box dialog.
24914 \end_layout
24915
24916 \begin_layout Standard
24917 \align center
24918 \begin_inset Box Boxed
24919 position "c"
24920 hor_pos "s"
24921 has_inner_box 0
24922 inner_pos "s"
24923 use_parbox 0
24924 width "90col%"
24925 special "none"
24926 height "1.25in"
24927 height_special "totalheight"
24928 status collapsed
24929
24930 \begin_layout Standard
24931 \align left
24932 This box text is horizontally stretched.
24933 \end_layout
24934
24935 \end_inset
24936
24937
24938 \end_layout
24939
24940 \begin_layout Section
24941 Framed Boxes
24942 \begin_inset LatexCommand label
24943 name "sec:Framed-Boxes"
24944
24945 \end_inset
24946
24947
24948 \begin_inset LatexCommand index
24949 name "Boxes ! Frames"
24950
24951 \end_inset
24952
24953
24954 \end_layout
24955
24956 \begin_layout Standard
24957 The frame style of the box can be specified in the box-dialog in the drop-down
24958  list 
24959 \family sans
24960 Type
24961 \family default
24962 .
24963  The following frame types are possible:
24964 \end_layout
24965
24966 \begin_layout Description
24967 Rectangular\InsetSpace ~
24968 box This draws a rectangle frame around the box.
24969  The frame line thickness has the size of 
24970 \series bold
24971
24972 \backslash
24973 fboxrule
24974 \series default
24975 .
24976  
24977 \begin_inset Box Boxed
24978 position "c"
24979 hor_pos "c"
24980 has_inner_box 1
24981 inner_pos "c"
24982 use_parbox 0
24983 width "20col%"
24984 special "none"
24985 height "1in"
24986 height_special "totalheight"
24987 status collapsed
24988
24989 \begin_layout Standard
24990 \align center
24991 Rectangular box
24992 \end_layout
24993
24994 \end_inset
24995
24996
24997 \end_layout
24998
24999 \begin_layout Description
25000 Oval\InsetSpace ~
25001 box,\InsetSpace ~
25002 thin This draws an oval frame around the box.
25003  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
25004 pt.
25005  
25006 \begin_inset Box ovalbox
25007 position "c"
25008 hor_pos "c"
25009 has_inner_box 1
25010 inner_pos "c"
25011 use_parbox 0
25012 width "20col%"
25013 special "none"
25014 height "1in"
25015 height_special "totalheight"
25016 status collapsed
25017
25018 \begin_layout Standard
25019 \align center
25020 Oval box, thin
25021 \end_layout
25022
25023 \end_inset
25024
25025
25026 \end_layout
25027
25028 \begin_layout Description
25029 Oval\InsetSpace ~
25030 box,\InsetSpace ~
25031 thick This draws an oval frame around the box.
25032  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25033 pt.
25034  
25035 \begin_inset Box Ovalbox
25036 position "c"
25037 hor_pos "c"
25038 has_inner_box 1
25039 inner_pos "c"
25040 use_parbox 0
25041 width "20col%"
25042 special "none"
25043 height "1in"
25044 height_special "totalheight"
25045 status collapsed
25046
25047 \begin_layout Standard
25048 \align center
25049 Oval box, thick
25050 \end_layout
25051
25052 \end_inset
25053
25054
25055 \end_layout
25056
25057 \begin_layout Description
25058 Shadow\InsetSpace ~
25059 box This draws a rectangle frame with a shadow around the box.
25060  The frame line thickness has the size of 
25061 \series bold
25062
25063 \backslash
25064 fboxrule
25065 \series default
25066 , the shadow has a width of 4\InsetSpace \thinspace{}
25067 pt.
25068  
25069 \begin_inset Box Shadowbox
25070 position "c"
25071 hor_pos "c"
25072 has_inner_box 1
25073 inner_pos "c"
25074 use_parbox 0
25075 width "20col%"
25076 special "none"
25077 height "1in"
25078 height_special "totalheight"
25079 status collapsed
25080
25081 \begin_layout Standard
25082 \align center
25083 Shadow box
25084 \end_layout
25085
25086 \end_inset
25087
25088
25089 \end_layout
25090
25091 \begin_layout Description
25092 Double\InsetSpace ~
25093 box This draws a double-line rectangle frame around the box.
25094  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25095
25096 \series bold
25097
25098 \backslash
25099 fboxrule
25100 \series default
25101 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25102
25103 \series bold
25104
25105 \backslash
25106 fboxrule
25107 \series default
25108 .
25109  The distance between the lines is 1.5\InsetSpace \thinspace{}
25110
25111 \series bold
25112
25113 \backslash
25114 fboxrule
25115 \series default
25116 \InsetSpace \thinspace{}
25117 +\InsetSpace \thinspace{}
25118 0.5\InsetSpace \thinspace{}
25119 pt.
25120  
25121 \begin_inset Box Doublebox
25122 position "c"
25123 hor_pos "c"
25124 has_inner_box 1
25125 inner_pos "c"
25126 use_parbox 0
25127 width "20col%"
25128 special "none"
25129 height "1in"
25130 height_special "totalheight"
25131 status collapsed
25132
25133 \begin_layout Standard
25134 \align center
25135 Double box
25136 \end_layout
25137
25138 \end_inset
25139
25140
25141 \end_layout
25142
25143 \begin_layout Standard
25144 \begin_inset VSpace bigskip
25145 \end_inset
25146
25147 LyX's box label will change to the used frame style when you set a frame.
25148  To be able to use the different frame styles, the LaTeX-package 
25149 \series bold
25150 fancybox
25151 \series default
25152
25153 \begin_inset LatexCommand index
25154 name "LaTeX-packages ! fancybox"
25155
25156 \end_inset
25157
25158  must be installed.
25159 \end_layout
25160
25161 \begin_layout Standard
25162 \begin_inset VSpace bigskip
25163 \end_inset
25164
25165 The default value for the size 
25166 \series bold
25167
25168 \backslash
25169 fboxrule
25170 \series default
25171  is 0.4\InsetSpace \thinspace{}
25172 pt.
25173  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25174 g.\InsetSpace ~
25175 2\InsetSpace \thinspace{}
25176 pt:
25177 \end_layout
25178
25179 \begin_layout Standard
25180
25181 \series bold
25182
25183 \backslash
25184 setlength{
25185 \backslash
25186 fboxrule}{2pt}
25187 \end_layout
25188
25189 \begin_layout Standard
25190 \begin_inset ERT
25191 status collapsed
25192
25193 \begin_layout Standard
25194
25195
25196 \backslash
25197 setlength{
25198 \backslash
25199 fboxrule}{2pt}
25200 \end_layout
25201
25202 \end_inset
25203
25204
25205 \begin_inset Box Boxed
25206 position "c"
25207 hor_pos "c"
25208 has_inner_box 1
25209 inner_pos "c"
25210 use_parbox 0
25211 width "25col%"
25212 special "none"
25213 height "1in"
25214 height_special "totalheight"
25215 status collapsed
25216
25217 \begin_layout Standard
25218 \align center
25219 Rectangular box with 
25220 \series bold
25221
25222 \backslash
25223 fboxrule
25224 \series default
25225 \InsetSpace \thinspace{}
25226 =\InsetSpace \thinspace{}
25227 2\InsetSpace \thinspace{}
25228 pt
25229 \end_layout
25230
25231 \end_inset
25232
25233
25234 \begin_inset ERT
25235 status collapsed
25236
25237 \begin_layout Standard
25238
25239
25240 \backslash
25241 setlength{
25242 \backslash
25243 fboxrule}{0.4pt}
25244 \end_layout
25245
25246 \end_inset
25247
25248
25249 \end_layout
25250
25251 \begin_layout Standard
25252 \begin_inset VSpace bigskip
25253 \end_inset
25254
25255 The space between the frame and the box content is for all frame styles
25256  by default 3\InsetSpace \thinspace{}
25257 pt.
25258  You can change it by setting the length 
25259 \series bold
25260
25261 \backslash
25262 fboxsep
25263 \series default
25264  to another value.
25265  For example the command
25266 \end_layout
25267
25268 \begin_layout Standard
25269
25270 \series bold
25271
25272 \backslash
25273 setlength{
25274 \backslash
25275 fboxsep}{10pt}
25276 \end_layout
25277
25278 \begin_layout Standard
25279 sets the value to 10\InsetSpace \thinspace{}
25280 pt, like for the following box:
25281 \end_layout
25282
25283 \begin_layout Standard
25284 \begin_inset ERT
25285 status collapsed
25286
25287 \begin_layout Standard
25288
25289
25290 \backslash
25291 setlength{
25292 \backslash
25293 fboxsep}{10pt}
25294 \end_layout
25295
25296 \end_inset
25297
25298
25299 \begin_inset Box Boxed
25300 position "c"
25301 hor_pos "c"
25302 has_inner_box 1
25303 inner_pos "c"
25304 use_parbox 0
25305 width "25col%"
25306 special "none"
25307 height "1in"
25308 height_special "totalheight"
25309 status collapsed
25310
25311 \begin_layout Standard
25312 \align center
25313 Rectangular box with 
25314 \series bold
25315
25316 \backslash
25317 fboxsep
25318 \series default
25319 \InsetSpace \thinspace{}
25320 =\InsetSpace \thinspace{}
25321 10\InsetSpace \thinspace{}
25322 pt
25323 \end_layout
25324
25325 \end_inset
25326
25327
25328 \begin_inset ERT
25329 status collapsed
25330
25331 \begin_layout Standard
25332
25333
25334 \backslash
25335 setlength{
25336 \backslash
25337 fboxsep}{3pt}
25338 \end_layout
25339
25340 \end_inset
25341
25342
25343 \end_layout
25344
25345 \begin_layout Standard
25346 \begin_inset VSpace bigskip
25347 \end_inset
25348
25349 The diameter of the round corners of the oval boxes can be set with the
25350  command 
25351 \series bold
25352
25353 \backslash
25354 cornersize
25355 \series default
25356 .
25357  The command
25358 \end_layout
25359
25360 \begin_layout Standard
25361
25362 \series bold
25363
25364 \backslash
25365 cornersize*{1cm}
25366 \end_layout
25367
25368 \begin_layout Standard
25369 sets the diameter to 1\InsetSpace \thinspace{}
25370 cm.
25371  The command
25372 \end_layout
25373
25374 \begin_layout Standard
25375
25376 \series bold
25377
25378 \backslash
25379 cornersize{num}
25380 \end_layout
25381
25382 \begin_layout Standard
25383 sets the diameter to 
25384 \family sans
25385 num\InsetSpace \thinspace{}
25386 ×\InsetSpace \thinspace{}
25387 minimum(width and heigth of box)
25388 \family default
25389 .
25390  The default is 
25391 \series bold
25392
25393 \backslash
25394 cornersize{0.5}
25395 \series default
25396 .
25397 \end_layout
25398
25399 \begin_layout Standard
25400 \begin_inset ERT
25401 status collapsed
25402
25403 \begin_layout Standard
25404
25405
25406 \backslash
25407 cornersize*{1.5cm}
25408 \end_layout
25409
25410 \end_inset
25411
25412
25413 \begin_inset Box Ovalbox
25414 position "c"
25415 hor_pos "c"
25416 has_inner_box 1
25417 inner_pos "c"
25418 use_parbox 0
25419 width "25col%"
25420 special "none"
25421 height "1in"
25422 height_special "totalheight"
25423 status collapsed
25424
25425 \begin_layout Standard
25426 \align center
25427 Oval box with 
25428 \series bold
25429
25430 \backslash
25431 cornersize
25432 \series default
25433 \InsetSpace \thinspace{}
25434 =\InsetSpace \thinspace{}
25435 1.5\InsetSpace \thinspace{}
25436 cm
25437 \end_layout
25438
25439 \end_inset
25440
25441
25442 \begin_inset ERT
25443 status collapsed
25444
25445 \begin_layout Standard
25446
25447
25448 \backslash
25449 cornersize{0.5}
25450 \end_layout
25451
25452 \end_inset
25453
25454
25455 \end_layout
25456
25457 \begin_layout Standard
25458 \begin_inset VSpace bigskip
25459 \end_inset
25460
25461 The size of the shadow can be adjusted by changing the length 
25462 \series bold
25463
25464 \backslash
25465 shadowsize
25466 \series default
25467 .
25468  It it set to 2\InsetSpace \thinspace{}
25469 pt for the following box by this command:
25470 \end_layout
25471
25472 \begin_layout Standard
25473
25474 \series bold
25475
25476 \backslash
25477 setlength{
25478 \backslash
25479 shadowsize}{2pt}
25480 \end_layout
25481
25482 \begin_layout Standard
25483 \begin_inset ERT
25484 status collapsed
25485
25486 \begin_layout Standard
25487
25488
25489 \backslash
25490 setlength{
25491 \backslash
25492 shadowsize}{2pt}
25493 \end_layout
25494
25495 \end_inset
25496
25497
25498 \begin_inset Box Shadowbox
25499 position "c"
25500 hor_pos "c"
25501 has_inner_box 1
25502 inner_pos "c"
25503 use_parbox 0
25504 width "25col%"
25505 special "none"
25506 height "1in"
25507 height_special "totalheight"
25508 status collapsed
25509
25510 \begin_layout Standard
25511 \align center
25512 Shadow box with 
25513 \series bold
25514
25515 \backslash
25516 shadowsize
25517 \series default
25518 \InsetSpace \thinspace{}
25519 =\InsetSpace \thinspace{}
25520 2\InsetSpace \thinspace{}
25521 pt
25522 \end_layout
25523
25524 \end_inset
25525
25526
25527 \begin_inset ERT
25528 status collapsed
25529
25530 \begin_layout Standard
25531
25532
25533 \backslash
25534 setlength{
25535 \backslash
25536 shadowsize}{4pt}
25537 \end_layout
25538
25539 \end_inset
25540
25541
25542 \end_layout
25543
25544 \begin_layout Standard
25545 \begin_inset VSpace bigskip
25546 \end_inset
25547
25548 Changed lengths and widths are valid for all boxes following the commands
25549  that change them.
25550 \end_layout
25551
25552 \begin_layout Section
25553 Minipages
25554 \begin_inset LatexCommand label
25555 name "sec:Minipages"
25556
25557 \end_inset
25558
25559
25560 \begin_inset LatexCommand index
25561 name "Boxes ! Minipages"
25562
25563 \end_inset
25564
25565
25566 \end_layout
25567
25568 \begin_layout Standard
25569 Minipages are treated by LaTeX as pages within pages and can therefore for
25570  example have their own footnotes.
25571 \end_layout
25572
25573 \begin_layout Standard
25574 Minipages are useful when you write documents with different languages.
25575 \end_layout
25576
25577 \begin_layout Standard
25578 Below are two example minipages side by side.
25579  Their width is set to 45\InsetSpace \thinspace{}
25580 col% and they are separated by a horizontal fill,
25581  that was inserted via the menu 
25582 \family sans
25583 Insert\SpecialChar \menuseparator
25584 Special\InsetSpace ~
25585 Formatting\SpecialChar \menuseparator
25586 Horizontal\InsetSpace ~
25587 Fill
25588 \family default
25589 .
25590 \end_layout
25591
25592 \begin_layout Standard
25593 \begin_inset Box Frameless
25594 position "t"
25595 hor_pos "c"
25596 has_inner_box 1
25597 inner_pos "c"
25598 use_parbox 0
25599 width "45col%"
25600 special "none"
25601 height "1in"
25602 height_special "totalheight"
25603 status open
25604
25605 \begin_layout Standard
25606
25607 \lang german
25608 Dies ist ein deutscher Text.
25609  Dies ist ein deutscher Text.
25610  Dies ist ein deutscher Text.
25611  Dies ist ein deutscher Text.
25612  Dies ist ein deutscher Text.
25613  Dies ist ein deutscher Text.
25614  Dies ist ein deutscher Text.
25615  Dies ist ein deutscher Text.
25616  Dies ist ein deutscher Text.
25617  Dies ist ein deutscher Text.
25618  Dies ist ein deutscher Text.
25619  Dies ist ein deutscher Text.
25620  Dies ist ein deutscher Text
25621 \begin_inset Foot
25622 status collapsed
25623
25624 \begin_layout Standard
25625
25626 \lang german
25627 Dies ist eine deutsche Fußnote.
25628 \end_layout
25629
25630 \end_inset
25631
25632 .
25633  Dies ist ein deutscher Text.
25634  Dies ist ein deutscher Text.
25635 \end_layout
25636
25637 \end_inset
25638
25639
25640 \hfill
25641
25642 \begin_inset Box Frameless
25643 position "t"
25644 hor_pos "c"
25645 has_inner_box 1
25646 inner_pos "c"
25647 use_parbox 0
25648 width "45col%"
25649 special "none"
25650 height "1in"
25651 height_special "totalheight"
25652 status open
25653
25654 \begin_layout Standard
25655 This is an English Text.
25656  This is an English Text.
25657  This is an English Text.
25658  This is an English Text.
25659  This is an English Text.
25660  This is an English Text.
25661  This is an English Text.
25662  This is an English Text.
25663  This is an English Text.
25664  This is an English Text.
25665  This is an English Text.
25666  This is an English Text.
25667  This is an English Text.
25668  This is an English Text.
25669  This is an English Text.
25670  This is an English Text.
25671 \begin_inset Foot
25672 status collapsed
25673
25674 \begin_layout Standard
25675 This is an English footnote.
25676 \end_layout
25677
25678 \end_inset
25679
25680  This is an English Text.
25681  
25682 \end_layout
25683
25684 \end_inset
25685
25686
25687 \end_layout
25688
25689 \begin_layout Standard
25690 \begin_inset VSpace bigskip
25691 \end_inset
25692
25693 Another application for minipages are footnotes within tables.
25694  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25695  bottom of the current page.
25696  But when you put the table with the footnote to a minipage, the footnote
25697  will appear at its bottom, numbered with Latin letters.
25698  The footnote number is reset to 1 in every minipage but not outside the
25699  minipages.
25700 \end_layout
25701
25702 \begin_layout Standard
25703 The footnote of this table doesn't appear: 
25704 \begin_inset Tabular
25705 <lyxtabular version="3" rows="3" columns="4">
25706 <features>
25707 <column alignment="center" valignment="top" leftline="true" width="0pt">
25708 <column alignment="center" valignment="top" leftline="true" width="0pt">
25709 <column alignment="center" valignment="top" leftline="true" width="0pt">
25710 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25711 <row topline="true">
25712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25713 \begin_inset Text
25714
25715 \begin_layout Standard
25716 1
25717 \end_layout
25718
25719 \end_inset
25720 </cell>
25721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25722 \begin_inset Text
25723
25724 \begin_layout Standard
25725 2
25726 \end_layout
25727
25728 \end_inset
25729 </cell>
25730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25731 \begin_inset Text
25732
25733 \begin_layout Standard
25734 3
25735 \begin_inset Foot
25736 status collapsed
25737
25738 \begin_layout Standard
25739 This is a footnote within a table.
25740 \end_layout
25741
25742 \end_inset
25743
25744
25745 \end_layout
25746
25747 \end_inset
25748 </cell>
25749 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25750 \begin_inset Text
25751
25752 \begin_layout Standard
25753 4
25754 \end_layout
25755
25756 \end_inset
25757 </cell>
25758 </row>
25759 <row topline="true">
25760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25761 \begin_inset Text
25762
25763 \begin_layout Standard
25764 a
25765 \end_layout
25766
25767 \end_inset
25768 </cell>
25769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25770 \begin_inset Text
25771
25772 \begin_layout Standard
25773 b
25774 \end_layout
25775
25776 \end_inset
25777 </cell>
25778 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25779 \begin_inset Text
25780
25781 \begin_layout Standard
25782 c
25783 \end_layout
25784
25785 \end_inset
25786 </cell>
25787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25788 \begin_inset Text
25789
25790 \begin_layout Standard
25791 d
25792 \end_layout
25793
25794 \end_inset
25795 </cell>
25796 </row>
25797 <row topline="true" bottomline="true">
25798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25799 \begin_inset Text
25800
25801 \begin_layout Standard
25802 e
25803 \end_layout
25804
25805 \end_inset
25806 </cell>
25807 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25808 \begin_inset Text
25809
25810 \begin_layout Standard
25811 f
25812 \end_layout
25813
25814 \end_inset
25815 </cell>
25816 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25817 \begin_inset Text
25818
25819 \begin_layout Standard
25820 g
25821 \end_layout
25822
25823 \end_inset
25824 </cell>
25825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25826 \begin_inset Text
25827
25828 \begin_layout Standard
25829 h
25830 \end_layout
25831
25832 \end_inset
25833 </cell>
25834 </row>
25835 </lyxtabular>
25836
25837 \end_inset
25838
25839
25840 \end_layout
25841
25842 \begin_layout Standard
25843 \align center
25844 \begin_inset Box Frameless
25845 position "t"
25846 hor_pos "c"
25847 has_inner_box 1
25848 inner_pos "c"
25849 use_parbox 0
25850 width "30col%"
25851 special "none"
25852 height "1in"
25853 height_special "totalheight"
25854 status open
25855
25856 \begin_layout Standard
25857 \align center
25858 \begin_inset Tabular
25859 <lyxtabular version="3" rows="3" columns="4">
25860 <features>
25861 <column alignment="center" valignment="top" leftline="true" width="0pt">
25862 <column alignment="center" valignment="top" leftline="true" width="0pt">
25863 <column alignment="center" valignment="top" leftline="true" width="0pt">
25864 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25865 <row topline="true">
25866 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25867 \begin_inset Text
25868
25869 \begin_layout Standard
25870 1
25871 \end_layout
25872
25873 \end_inset
25874 </cell>
25875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25876 \begin_inset Text
25877
25878 \begin_layout Standard
25879 2
25880 \end_layout
25881
25882 \end_inset
25883 </cell>
25884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25885 \begin_inset Text
25886
25887 \begin_layout Standard
25888 3
25889 \begin_inset Foot
25890 status collapsed
25891
25892 \begin_layout Standard
25893 This is a footnote within a table.
25894 \end_layout
25895
25896 \end_inset
25897
25898
25899 \end_layout
25900
25901 \end_inset
25902 </cell>
25903 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25904 \begin_inset Text
25905
25906 \begin_layout Standard
25907 4
25908 \end_layout
25909
25910 \end_inset
25911 </cell>
25912 </row>
25913 <row topline="true">
25914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25915 \begin_inset Text
25916
25917 \begin_layout Standard
25918 a
25919 \end_layout
25920
25921 \end_inset
25922 </cell>
25923 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25924 \begin_inset Text
25925
25926 \begin_layout Standard
25927 b
25928 \end_layout
25929
25930 \end_inset
25931 </cell>
25932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25933 \begin_inset Text
25934
25935 \begin_layout Standard
25936 c
25937 \end_layout
25938
25939 \end_inset
25940 </cell>
25941 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25942 \begin_inset Text
25943
25944 \begin_layout Standard
25945 d
25946 \end_layout
25947
25948 \end_inset
25949 </cell>
25950 </row>
25951 <row topline="true" bottomline="true">
25952 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25953 \begin_inset Text
25954
25955 \begin_layout Standard
25956 e
25957 \end_layout
25958
25959 \end_inset
25960 </cell>
25961 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25962 \begin_inset Text
25963
25964 \begin_layout Standard
25965 f
25966 \end_layout
25967
25968 \end_inset
25969 </cell>
25970 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25971 \begin_inset Text
25972
25973 \begin_layout Standard
25974 g
25975 \end_layout
25976
25977 \end_inset
25978 </cell>
25979 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25980 \begin_inset Text
25981
25982 \begin_layout Standard
25983 h
25984 \end_layout
25985
25986 \end_inset
25987 </cell>
25988 </row>
25989 </lyxtabular>
25990
25991 \end_inset
25992
25993
25994 \end_layout
25995
25996 \end_inset
25997
25998
25999 \end_layout
26000
26001 \begin_layout Standard
26002 \begin_inset VSpace bigskip
26003 \end_inset
26004
26005 The document-wide paragraph settings are ignored within minipages.
26006  That means that there will be no space between paragraphs in minipages
26007  although you set it to e.\InsetSpace \thinspace{}
26008 g.\InsetSpace ~
26009
26010 \family sans
26011 MedSkip
26012 \family default
26013  in the document settings.
26014 \end_layout
26015
26016 \begin_layout Standard
26017 Minipages can also be used to set a background color for text parts, see
26018  section\InsetSpace ~
26019
26020 \begin_inset LatexCommand ref
26021 reference "sub:Color-for-Paragraphs"
26022
26023 \end_inset
26024
26025 .
26026 \end_layout
26027
26028 \begin_layout Standard
26029 \begin_inset Note Greyedout
26030 status open
26031
26032 \begin_layout Standard
26033
26034 \series bold
26035 Note:
26036 \series default
26037  You cannot have floats or margin notes inside minipages but minipages can
26038  be used inside tables, floats, and other boxes.
26039 \end_layout
26040
26041 \end_inset
26042
26043
26044 \end_layout
26045
26046 \begin_layout Section
26047 Parboxes
26048 \begin_inset LatexCommand label
26049 name "sec:Parboxes"
26050
26051 \end_inset
26052
26053
26054 \begin_inset LatexCommand index
26055 name "Boxes ! Parboxes"
26056
26057 \end_inset
26058
26059
26060 \end_layout
26061
26062 \begin_layout Standard
26063 Parboxes are very similar to minipages with the difference that they cannot
26064  have footnotes.
26065  The main difference to minipages is that minipages are in contrary to parboxes
26066  no real boxes but LaTeX-environments.
26067 \end_layout
26068
26069 \begin_layout Standard
26070 \align center
26071 \begin_inset Box Frameless
26072 position "t"
26073 hor_pos "c"
26074 has_inner_box 1
26075 inner_pos "t"
26076 use_parbox 1
26077 width "33col%"
26078 special "none"
26079 height "1in"
26080 height_special "totalheight"
26081 status collapsed
26082
26083 \begin_layout Standard
26084 This a text within a parbox.
26085  This a text within a parbox.
26086 \end_layout
26087
26088 \begin_layout Standard
26089 This footnote won't appear:
26090 \begin_inset Foot
26091 status collapsed
26092
26093 \begin_layout Standard
26094 This footnote is inside a parbox and will therefore not appear.
26095 \end_layout
26096
26097 \end_inset
26098
26099
26100 \end_layout
26101
26102 \end_inset
26103
26104
26105 \end_layout
26106
26107 \begin_layout Section
26108 Boxes for Words and Characters
26109 \begin_inset LatexCommand index
26110 name "Boxes ! for Characters"
26111
26112 \end_inset
26113
26114
26115 \end_layout
26116
26117 \begin_layout Subsection
26118 Prevent Hyphenation
26119 \begin_inset LatexCommand label
26120 name "sec:Prevent-Hyphenation"
26121
26122 \end_inset
26123
26124
26125 \begin_inset LatexCommand index
26126 name "Boxes ! to Prevent Hyphenation"
26127
26128 \end_inset
26129
26130
26131 \end_layout
26132
26133 \begin_layout Standard
26134 You can use a special kind of boxes to prevent words or text to be hyphenated.
26135 \newline
26136 Her
26137 e is an example text:
26138 \end_layout
26139
26140 \begin_layout Standard
26141 This line is an example to show how you can prevent the hyphenation of 
26142 \begin_inset Quotes eld
26143 \end_inset
26144
26145 veryverylongword
26146 \begin_inset Quotes erd
26147 \end_inset
26148
26149 .
26150 \end_layout
26151
26152 \begin_layout Standard
26153 To prevent the hyphenation of the word 
26154 \begin_inset Quotes eld
26155 \end_inset
26156
26157 veryverylongword
26158 \begin_inset Quotes erd
26159 \end_inset
26160
26161 , add the command
26162 \end_layout
26163
26164 \begin_layout Standard
26165
26166 \series bold
26167
26168 \backslash
26169 mbox{
26170 \end_layout
26171
26172 \begin_layout Standard
26173 in TeX-Code before the word.
26174  Behind the word insert a closing brace 
26175 \begin_inset Quotes eld
26176 \end_inset
26177
26178
26179 \series bold
26180 }
26181 \series default
26182
26183 \begin_inset Quotes erd
26184 \end_inset
26185
26186  in TeX-Code.
26187 \begin_inset ERT
26188 status collapsed
26189
26190 \begin_layout Standard
26191
26192
26193 \backslash
26194 pagebreak 
26195 \end_layout
26196
26197 \end_inset
26198
26199
26200 \end_layout
26201
26202 \begin_layout Standard
26203 This is the result:
26204 \end_layout
26205
26206 \begin_layout Standard
26207 This line is an example to show how you can prevent the hyphenation of 
26208 \begin_inset ERT
26209 status collapsed
26210
26211 \begin_layout Standard
26212
26213
26214 \backslash
26215 mbox{
26216 \end_layout
26217
26218 \end_inset
26219
26220
26221 \begin_inset Quotes eld
26222 \end_inset
26223
26224 veryverylongword
26225 \begin_inset Quotes erd
26226 \end_inset
26227
26228 .
26229 \begin_inset ERT
26230 status collapsed
26231
26232 \begin_layout Standard
26233
26234 }
26235 \end_layout
26236
26237 \end_inset
26238
26239
26240 \end_layout
26241
26242 \begin_layout Standard
26243 You can alternatively set the command 
26244 \begin_inset Quotes eld
26245 \end_inset
26246
26247
26248 \series bold
26249
26250 \backslash
26251 -
26252 \series default
26253
26254 \begin_inset Quotes grd
26255 \end_inset
26256
26257  as TeX-Code directly before the word:
26258 \end_layout
26259
26260 \begin_layout Standard
26261 This line is an example to show how you can prevent the hyphenation of 
26262 \begin_inset Quotes eld
26263 \end_inset
26264
26265
26266 \begin_inset ERT
26267 status collapsed
26268
26269 \begin_layout Standard
26270
26271
26272 \backslash
26273 -
26274 \end_layout
26275
26276 \end_inset
26277
26278 veryverylongword
26279 \begin_inset Quotes erd
26280 \end_inset
26281
26282 .
26283 \end_layout
26284
26285 \begin_layout Standard
26286 Of course the word now protrudes over the side margin.
26287  To avoid this, add via the menu 
26288 \family sans
26289 Insert\SpecialChar \menuseparator
26290 Special\InsetSpace ~
26291 Formatting\SpecialChar \menuseparator
26292 Line\InsetSpace ~
26293 Break
26294 \family default
26295  (shortcut 
26296 \series bold
26297 Ctrl-Return
26298 \series default
26299 ) a line break before the word:
26300 \end_layout
26301
26302 \begin_layout Standard
26303 This line is an example to show how you can prevent the hyphenation of 
26304 \newline
26305
26306 \begin_inset ERT
26307 status collapsed
26308
26309 \begin_layout Standard
26310
26311
26312 \backslash
26313 mbox{
26314 \end_layout
26315
26316 \end_inset
26317
26318
26319 \begin_inset Quotes eld
26320 \end_inset
26321
26322 veryverylongword
26323 \begin_inset Quotes erd
26324 \end_inset
26325
26326 .
26327 \begin_inset ERT
26328 status collapsed
26329
26330 \begin_layout Standard
26331
26332 }
26333 \end_layout
26334
26335 \end_inset
26336
26337
26338 \end_layout
26339
26340 \begin_layout Subsection
26341 Vertical Alignment
26342 \begin_inset LatexCommand label
26343 name "sub:Vertical-Alignment"
26344
26345 \end_inset
26346
26347
26348 \begin_inset LatexCommand index
26349 name "Boxes ! for Vertical Alignment"
26350
26351 \end_inset
26352
26353
26354 \begin_inset LatexCommand index
26355 name "Boxes ! Raiseboxes"
26356
26357 \end_inset
26358
26359
26360 \end_layout
26361
26362 \begin_layout Standard
26363 With the help of the command 
26364 \series bold
26365
26366 \backslash
26367 raisebox
26368 \series default
26369  you can align words, characters or other boxes vertically to the surrounding
26370  text.
26371  
26372 \series bold
26373
26374 \backslash
26375 raisebox
26376 \series default
26377  is used with the following scheme:
26378 \end_layout
26379
26380 \begin_layout Standard
26381
26382 \series bold
26383
26384 \backslash
26385 raisebox{lift}[height][depth]{box content}
26386 \end_layout
26387
26388 \begin_layout Standard
26389 The lift can be a positive value to raise the box or a negative value to
26390  lower the box.
26391 \end_layout
26392
26393 \begin_layout Standard
26394 To align for example the word 
26395 \begin_inset Quotes eld
26396 \end_inset
26397
26398 preventing
26399 \begin_inset Quotes erd
26400 \end_inset
26401
26402  so that the bottom of the 
26403 \begin_inset Quotes eld
26404 \end_inset
26405
26406 deepest
26407 \begin_inset Quotes erd
26408 \end_inset
26409
26410  character 
26411 \begin_inset Quotes eld
26412 \end_inset
26413
26414 p
26415 \begin_inset Quotes erd
26416 \end_inset
26417
26418  is at the baseline, insert the command
26419 \end_layout
26420
26421 \begin_layout Standard
26422
26423 \series bold
26424
26425 \backslash
26426 raisebox{
26427 \backslash
26428 depth}{
26429 \end_layout
26430
26431 \begin_layout Standard
26432 in TeX-Code before the word.
26433  Behind the word insert a closing brace 
26434 \begin_inset Quotes eld
26435 \end_inset
26436
26437
26438 \series bold
26439 }
26440 \series default
26441
26442 \begin_inset Quotes erd
26443 \end_inset
26444
26445  in TeX-Code.
26446 \newline
26447 This is the result:
26448 \end_layout
26449
26450 \begin_layout Standard
26451 This is a text line with the word 
26452 \begin_inset ERT
26453 status collapsed
26454
26455 \begin_layout Standard
26456
26457
26458 \backslash
26459 raisebox{
26460 \backslash
26461 depth}{
26462 \end_layout
26463
26464 \end_inset
26465
26466
26467 \begin_inset Quotes eld
26468 \end_inset
26469
26470 preventing
26471 \begin_inset Quotes erd
26472 \end_inset
26473
26474
26475 \begin_inset ERT
26476 status collapsed
26477
26478 \begin_layout Standard
26479
26480 }
26481 \end_layout
26482
26483 \end_inset
26484
26485  as raised word.
26486 \end_layout
26487
26488 \begin_layout Standard
26489 \begin_inset VSpace bigskip
26490 \end_inset
26491
26492 When you raise or lower characters in a line, the line distance will be
26493  spread:
26494 \end_layout
26495
26496 \begin_layout Standard
26497 This is a text line with the word 
26498 \begin_inset ERT
26499 status collapsed
26500
26501 \begin_layout Standard
26502
26503
26504 \backslash
26505 raisebox{-
26506 \backslash
26507 depth}{
26508 \end_layout
26509
26510 \end_inset
26511
26512
26513 \begin_inset Quotes eld
26514 \end_inset
26515
26516 preventing
26517 \begin_inset Quotes erd
26518 \end_inset
26519
26520
26521 \begin_inset ERT
26522 status collapsed
26523
26524 \begin_layout Standard
26525
26526 }
26527 \end_layout
26528
26529 \end_inset
26530
26531  as lowered word.
26532 \newline
26533 This is a text line with the word 
26534 \begin_inset ERT
26535 status collapsed
26536
26537 \begin_layout Standard
26538
26539
26540 \backslash
26541 raisebox{0.5cm}{
26542 \end_layout
26543
26544 \end_inset
26545
26546
26547 \begin_inset Quotes eld
26548 \end_inset
26549
26550 testing
26551 \begin_inset Quotes erd
26552 \end_inset
26553
26554
26555 \begin_inset ERT
26556 status collapsed
26557
26558 \begin_layout Standard
26559
26560 }
26561 \end_layout
26562
26563 \end_inset
26564
26565  as raised word.
26566 \end_layout
26567
26568 \begin_layout Standard
26569 If you want to prevent this for a certain reason, set the box height to
26570  a zero value.
26571  For example use
26572 \end_layout
26573
26574 \begin_layout Standard
26575
26576 \series bold
26577
26578 \backslash
26579 raisebox{-
26580 \backslash
26581 depth}[0pt]{
26582 \end_layout
26583
26584 \begin_layout Standard
26585 This is a text line with the word 
26586 \begin_inset ERT
26587 status collapsed
26588
26589 \begin_layout Standard
26590
26591
26592 \backslash
26593 raisebox{-
26594 \backslash
26595 depth}[0pt]{
26596 \end_layout
26597
26598 \end_inset
26599
26600
26601 \begin_inset Quotes eld
26602 \end_inset
26603
26604 preventing
26605 \begin_inset Quotes erd
26606 \end_inset
26607
26608
26609 \begin_inset ERT
26610 status collapsed
26611
26612 \begin_layout Standard
26613
26614 }
26615 \end_layout
26616
26617 \end_inset
26618
26619  as lowered word.
26620 \newline
26621 This is a text line with the word 
26622 \begin_inset ERT
26623 status collapsed
26624
26625 \begin_layout Standard
26626
26627
26628 \backslash
26629 raisebox{0.5cm}[0pt]{
26630 \end_layout
26631
26632 \end_inset
26633
26634
26635 \begin_inset Quotes eld
26636 \end_inset
26637
26638 testing
26639 \begin_inset Quotes erd
26640 \end_inset
26641
26642
26643 \begin_inset ERT
26644 status collapsed
26645
26646 \begin_layout Standard
26647
26648 }
26649 \end_layout
26650
26651 \end_inset
26652
26653  as raised word.
26654 \end_layout
26655
26656 \begin_layout Section
26657 Colored Boxes
26658 \begin_inset LatexCommand label
26659 name "sec:Colored-Boxes"
26660
26661 \end_inset
26662
26663
26664 \begin_inset LatexCommand index
26665 name "Boxes ! Color"
26666
26667 \end_inset
26668
26669
26670 \end_layout
26671
26672 \begin_layout Subsection
26673 Color for Text
26674 \begin_inset LatexCommand index
26675 name "Color ! for Text"
26676
26677 \end_inset
26678
26679
26680 \end_layout
26681
26682 \begin_layout Standard
26683 To color the background of text the text must be put into a so called 
26684 \begin_inset Quotes eld
26685 \end_inset
26686
26687 colorbox
26688 \begin_inset Quotes erd
26689 \end_inset
26690
26691 .
26692  This requires that the LaTeX-package 
26693 \series bold
26694 color
26695 \series default
26696
26697 \begin_inset LatexCommand index
26698 name "LaTeX-packages ! color"
26699
26700 \end_inset
26701
26702  is loaded in the document preamble with the command
26703 \end_layout
26704
26705 \begin_layout Standard
26706
26707 \series bold
26708
26709 \backslash
26710 @ifundefined{textcolor}
26711 \newline
26712
26713 \begin_inset ERT
26714 status collapsed
26715
26716 \begin_layout Standard
26717
26718
26719 \backslash
26720 hphantom{ }
26721 \end_layout
26722
26723 \end_inset
26724
26725 {
26726 \backslash
26727 usepackage{color}}{}
26728 \end_layout
26729
26730 \begin_layout Standard
26731 The package 
26732 \series bold
26733 color
26734 \series default
26735  will be loaded automatically by LyX when you color text
26736 \begin_inset Foot
26737 status collapsed
26738
26739 \begin_layout Standard
26740 To avoid that it is loaded twice the command 
26741 \series bold
26742
26743 \backslash
26744 @ifundef\SpecialChar \textcompwordmark{}
26745 ined
26746 \series default
26747  is used.
26748 \end_layout
26749
26750 \end_inset
26751
26752 .
26753 \end_layout
26754
26755 \begin_layout Standard
26756 \begin_inset VSpace medskip
26757 \end_inset
26758
26759 Colorboxes are created with the command 
26760 \series bold
26761
26762 \backslash
26763 colorbox
26764 \series default
26765 .
26766  This will be used with the following scheme:
26767 \end_layout
26768
26769 \begin_layout Standard
26770
26771 \series bold
26772
26773 \backslash
26774 colorbox{color}{box content}
26775 \end_layout
26776
26777 \begin_layout Standard
26778 The box content can also be a box and colorboxes can also be within other
26779  boxes.
26780 \end_layout
26781
26782 \begin_layout Standard
26783 The following colors are predefined:
26784 \newline
26785
26786 \family sans
26787 black
26788 \family default
26789
26790 \family sans
26791 blue
26792 \family default
26793
26794 \family sans
26795 cyan
26796 \family default
26797 \series bold
26798 ,
26799 \series default
26800  
26801 \family sans
26802 green
26803 \family default
26804
26805 \family sans
26806 magenta
26807 \family default
26808
26809 \family sans
26810 red
26811 \family default
26812
26813 \family sans
26814 white
26815 \family default
26816 , and 
26817 \family sans
26818 yellow
26819 \family default
26820 .
26821 \newline
26822 You can also define your own color as described in section\InsetSpace ~
26823
26824 \begin_inset LatexCommand ref
26825 reference "sec:Colored-Tables"
26826
26827 \end_inset
26828
26829 .
26830 \end_layout
26831
26832 \begin_layout Standard
26833 To have e.\InsetSpace \thinspace{}
26834 g.\InsetSpace ~
26835 a red background for a word, insert the command
26836 \end_layout
26837
26838 \begin_layout Standard
26839
26840 \series bold
26841
26842 \backslash
26843 colorbox{red}{
26844 \end_layout
26845
26846 \begin_layout Standard
26847 before the word in TeX-Code.
26848  Behind the word insert a closing brace 
26849 \begin_inset Quotes eld
26850 \end_inset
26851
26852
26853 \series bold
26854 }
26855 \series default
26856
26857 \begin_inset Quotes erd
26858 \end_inset
26859
26860  in TeX-Code.
26861 \newline
26862 This is the result:
26863 \end_layout
26864
26865 \begin_layout Standard
26866 This is a line where the word 
26867 \begin_inset ERT
26868 status collapsed
26869
26870 \begin_layout Standard
26871
26872
26873 \backslash
26874 colorbox{red}{
26875 \end_layout
26876
26877 \end_inset
26878
26879
26880 \begin_inset Quotes eld
26881 \end_inset
26882
26883 Attention!
26884 \begin_inset Quotes erd
26885 \end_inset
26886
26887
26888 \begin_inset ERT
26889 status collapsed
26890
26891 \begin_layout Standard
26892
26893 }
26894 \end_layout
26895
26896 \end_inset
26897
26898  has a red background.
26899 \end_layout
26900
26901 \begin_layout Standard
26902 \begin_inset VSpace bigskip
26903 \end_inset
26904
26905 If you would have the box frame in a different color, you can use the command
26906  
26907 \series bold
26908
26909 \backslash
26910 fcolorbox
26911 \series default
26912  with the following scheme:
26913 \end_layout
26914
26915 \begin_layout Standard
26916
26917 \series bold
26918
26919 \backslash
26920 fcolorbox{frame color}{box color}{box content}
26921 \end_layout
26922
26923 \begin_layout Standard
26924
26925 \series bold
26926
26927 \backslash
26928 fcolorbox
26929 \series default
26930  is an extension to 
26931 \series bold
26932
26933 \backslash
26934 colorbox
26935 \series default
26936 .
26937  The frame thickness and the space between the frame and the box content
26938  can be adjusted with the lengths 
26939 \series bold
26940
26941 \backslash
26942 fboxrule
26943 \series default
26944  and 
26945 \series bold
26946
26947 \backslash
26948 fboxsep
26949 \series default
26950 , respectively, as described in section\InsetSpace ~
26951
26952 \begin_inset LatexCommand ref
26953 reference "sec:Framed-Boxes"
26954
26955 \end_inset
26956
26957 .
26958 \end_layout
26959
26960 \begin_layout Standard
26961 For the following example the command
26962 \end_layout
26963
26964 \begin_layout Standard
26965
26966 \series bold
26967
26968 \backslash
26969 fcolorbox{cyan}{magenta}{
26970 \end_layout
26971
26972 \begin_layout Standard
26973 was used.
26974 \end_layout
26975
26976 \begin_layout Standard
26977 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
26978 mm:
26979 \newline
26980
26981 \begin_inset ERT
26982 status collapsed
26983
26984 \begin_layout Standard
26985
26986
26987 \backslash
26988 fboxrule 1mm 
26989 \backslash
26990 fboxsep 1mm
26991 \end_layout
26992
26993 \end_inset
26994
26995
26996 \begin_inset ERT
26997 status collapsed
26998
26999 \begin_layout Standard
27000
27001
27002 \backslash
27003 fcolorbox{cyan}{magenta}{
27004 \end_layout
27005
27006 \end_inset
27007
27008 This is text within a colored, framed box.
27009 \begin_inset ERT
27010 status collapsed
27011
27012 \begin_layout Standard
27013
27014 }
27015 \end_layout
27016
27017 \end_inset
27018
27019
27020 \end_layout
27021
27022 \begin_layout Standard
27023 \begin_inset VSpace bigskip
27024 \end_inset
27025
27026 Of course you can also have colored text inside a colorbox:
27027 \newline
27028
27029 \begin_inset ERT
27030 status collapsed
27031
27032 \begin_layout Standard
27033
27034
27035 \backslash
27036 fcolorbox{cyan}{magenta}{
27037 \end_layout
27038
27039 \end_inset
27040
27041
27042 \color yellow
27043 This is colored text within a colored, framed box.
27044 \color none
27045
27046 \begin_inset ERT
27047 status collapsed
27048
27049 \begin_layout Standard
27050
27051 }
27052 \end_layout
27053
27054 \end_inset
27055
27056
27057 \begin_inset ERT
27058 status collapsed
27059
27060 \begin_layout Standard
27061
27062
27063 \backslash
27064 fboxrule 0.4pt 
27065 \backslash
27066 fboxsep 3pt
27067 \end_layout
27068
27069 \end_inset
27070
27071
27072 \end_layout
27073
27074 \begin_layout Standard
27075
27076 \series bold
27077 \begin_inset VSpace medskip
27078 \end_inset
27079
27080
27081 \end_layout
27082
27083 \begin_layout Standard
27084 \begin_inset Note Greyedout
27085 status open
27086
27087 \begin_layout Standard
27088
27089 \series bold
27090 Note:
27091 \series default
27092  Text in colorboxes cannot have line breaks.
27093  To color multiple text lines or paragraphs, use a box inside a colorbox
27094  as described in the following.
27095 \end_layout
27096
27097 \end_inset
27098
27099
27100 \end_layout
27101
27102 \begin_layout Subsection
27103 Color for Paragraphs
27104 \begin_inset LatexCommand label
27105 name "sub:Color-for-Paragraphs"
27106
27107 \end_inset
27108
27109
27110 \begin_inset LatexCommand index
27111 name "Color ! for Paragraphs"
27112
27113 \end_inset
27114
27115
27116 \end_layout
27117
27118 \begin_layout Standard
27119 To set the background color for more than one text line, put the text into
27120  a minipage.
27121  Before the minipage insert the 
27122 \series bold
27123
27124 \backslash
27125 colorbox
27126 \series default
27127  command
27128 \end_layout
27129
27130 \begin_layout Standard
27131
27132 \series bold
27133
27134 \backslash
27135 colorbox{color}{
27136 \end_layout
27137
27138 \begin_layout Standard
27139 in TeX-Code.
27140  Behind the minipage insert a closing brace 
27141 \begin_inset Quotes eld
27142 \end_inset
27143
27144
27145 \series bold
27146 }
27147 \series default
27148
27149 \begin_inset Quotes erd
27150 \end_inset
27151
27152  in TeX-Code.
27153 \end_layout
27154
27155 \begin_layout Standard
27156 \begin_inset ERT
27157 status collapsed
27158
27159 \begin_layout Standard
27160
27161
27162 \backslash
27163 colorbox{lightgrey}{
27164 \end_layout
27165
27166 \end_inset
27167
27168
27169 \begin_inset Box Frameless
27170 position "t"
27171 hor_pos "c"
27172 has_inner_box 1
27173 inner_pos "t"
27174 use_parbox 0
27175 width "100col%"
27176 special "none"
27177 height "1in"
27178 height_special "totalheight"
27179 status collapsed
27180
27181 \begin_layout Standard
27182 This is text with background color.
27183  This is text with background color.
27184 \end_layout
27185
27186 \begin_layout Standard
27187 \begin_inset VSpace defskip
27188 \end_inset
27189
27190 The text can have footnotes
27191 \begin_inset Foot
27192 status collapsed
27193
27194 \begin_layout Standard
27195 Another example footnote
27196 \end_layout
27197
27198 \end_inset
27199
27200  and can include tables and figures.
27201 \end_layout
27202
27203 \begin_layout Standard
27204 \align center
27205 \begin_inset Tabular
27206 <lyxtabular version="3" rows="3" columns="3">
27207 <features>
27208 <column alignment="center" valignment="top" leftline="true" width="0">
27209 <column alignment="center" valignment="top" leftline="true" width="0">
27210 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27211 <row topline="true">
27212 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27213 \begin_inset Text
27214
27215 \begin_layout Standard
27216 a
27217 \end_layout
27218
27219 \end_inset
27220 </cell>
27221 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27222 \begin_inset Text
27223
27224 \begin_layout Standard
27225 !
27226 \end_layout
27227
27228 \end_inset
27229 </cell>
27230 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27231 \begin_inset Text
27232
27233 \begin_layout Standard
27234 3
27235 \end_layout
27236
27237 \end_inset
27238 </cell>
27239 </row>
27240 <row topline="true">
27241 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27242 \begin_inset Text
27243
27244 \begin_layout Standard
27245 <
27246 \end_layout
27247
27248 \end_inset
27249 </cell>
27250 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27251 \begin_inset Text
27252
27253 \begin_layout Standard
27254 b2
27255 \begin_inset Quotes erd
27256 \end_inset
27257
27258 |
27259 \end_layout
27260
27261 \end_inset
27262 </cell>
27263 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27264 \begin_inset Text
27265
27266 \begin_layout Standard
27267 >
27268 \end_layout
27269
27270 \end_inset
27271 </cell>
27272 </row>
27273 <row topline="true" bottomline="true">
27274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27275 \begin_inset Text
27276
27277 \begin_layout Standard
27278 1
27279 \end_layout
27280
27281 \end_inset
27282 </cell>
27283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27284 \begin_inset Text
27285
27286 \begin_layout Standard
27287 §
27288 \end_layout
27289
27290 \end_inset
27291 </cell>
27292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27293 \begin_inset Text
27294
27295 \begin_layout Standard
27296 c
27297 \end_layout
27298
27299 \end_inset
27300 </cell>
27301 </row>
27302 </lyxtabular>
27303
27304 \end_inset
27305
27306
27307 \end_layout
27308
27309 \end_inset
27310
27311
27312 \begin_inset ERT
27313 status collapsed
27314
27315 \begin_layout Standard
27316
27317 }
27318 \end_layout
27319
27320 \end_inset
27321
27322
27323 \end_layout
27324
27325 \begin_layout Section
27326 Rotated and Scaled Boxes
27327 \end_layout
27328
27329 \begin_layout Standard
27330 To use the the commands described in this section, the LaTeX-package 
27331 \series bold
27332 graphicx
27333 \series default
27334
27335 \begin_inset LatexCommand index
27336 name "LaTeX-packages ! graphicx"
27337
27338 \end_inset
27339
27340  needs to be loaded in the document preamble with the command
27341 \end_layout
27342
27343 \begin_layout Standard
27344
27345 \series bold
27346
27347 \backslash
27348 @ifundefined{rotatebox}
27349 \newline
27350
27351 \begin_inset ERT
27352 status collapsed
27353
27354 \begin_layout Standard
27355
27356
27357 \backslash
27358 hphantom{ }
27359 \end_layout
27360
27361 \end_inset
27362
27363 {
27364 \backslash
27365 usepackage{graphicx}}{}
27366 \end_layout
27367
27368 \begin_layout Standard
27369 \begin_inset Note Greyedout
27370 status open
27371
27372 \begin_layout Standard
27373
27374 \series bold
27375 Note:
27376 \series default
27377  Some DVI-viewers can't display rotated or scaled material.
27378 \end_layout
27379
27380 \end_inset
27381
27382
27383 \end_layout
27384
27385 \begin_layout Standard
27386 \begin_inset Note Greyedout
27387 status open
27388
27389 \begin_layout Standard
27390
27391 \series bold
27392 Note:
27393 \series default
27394  Floats mustn't be inside a rotated or scaled box.
27395 \end_layout
27396
27397 \end_inset
27398
27399
27400 \end_layout
27401
27402 \begin_layout Subsection
27403 Rotated Boxes
27404 \begin_inset LatexCommand index
27405 name "Boxes ! rotated"
27406
27407 \end_inset
27408
27409
27410 \begin_inset LatexCommand index
27411 name "Rotated material"
27412
27413 \end_inset
27414
27415
27416 \begin_inset LatexCommand index
27417 name "Figures ! rotated"
27418
27419 \end_inset
27420
27421
27422 \begin_inset LatexCommand index
27423 name "Table Customization ! Rotating"
27424
27425 \end_inset
27426
27427
27428 \end_layout
27429
27430 \begin_layout Standard
27431 To rotate material, you can put it into a rotated box.
27432  Such a box is created using the command 
27433 \series bold
27434
27435 \backslash
27436 rotatebox
27437 \series default
27438  in TeX-Code with the following scheme:
27439 \end_layout
27440
27441 \begin_layout Standard
27442
27443 \series bold
27444
27445 \backslash
27446 rotatebox[rotation origin]{rotation angle}{box content}
27447 \end_layout
27448
27449 \begin_layout Standard
27450 The rotation origin is specified in the form 
27451 \series bold
27452 origin=position
27453 \series default
27454 .
27455  The following positions are possible: 
27456 \emph on
27457 c
27458 \emph default
27459  (center), 
27460 \emph on
27461 l
27462 \emph default
27463  (left), 
27464 \emph on
27465 r
27466 \emph default
27467  (right), 
27468 \emph on
27469 b
27470 \emph default
27471  (bottom), 
27472 \emph on
27473 t
27474 \emph default
27475  (top), and also expedient combinations of the four base positions.
27476  For example 
27477 \emph on
27478 lt
27479 \emph default
27480  means, that the rotation origin is at the top left corner of the box.
27481  When no rotation origin is specified, the position 
27482 \emph on
27483 l
27484 \emph default
27485  will be used.
27486  The rotation angle is a number that can be negative that specifies the
27487  angle in degrees.
27488  The rotation direction is counterclockwise.
27489 \end_layout
27490
27491 \begin_layout Standard
27492 In the following example the command 
27493 \series bold
27494
27495 \backslash
27496 rotatebox[origin=c]{60}{
27497 \series default
27498  was inserted as TeX-Code before the text 
27499 \begin_inset Quotes eld
27500 \end_inset
27501
27502 with rotated
27503 \begin_inset Quotes erd
27504 \end_inset
27505
27506 ; after the text the box was closed by a closing brace 
27507 \series bold
27508 }
27509 \series default
27510  in TeX-Code.
27511 \end_layout
27512
27513 \begin_layout Standard
27514 This is a line 
27515 \begin_inset ERT
27516 status collapsed
27517
27518 \begin_layout Standard
27519
27520
27521 \backslash
27522 rotatebox[origin=c]{60}{
27523 \end_layout
27524
27525 \end_inset
27526
27527 with rotated
27528 \begin_inset ERT
27529 status collapsed
27530
27531 \begin_layout Standard
27532
27533 }
27534 \end_layout
27535
27536 \end_inset
27537
27538  text.
27539 \end_layout
27540
27541 \begin_layout Standard
27542 The box content can also be another box or an inline formula:
27543 \end_layout
27544
27545 \begin_layout Standard
27546 This is a line
27547 \begin_inset ERT
27548 status collapsed
27549
27550 \begin_layout Standard
27551
27552
27553 \backslash
27554 rotatebox[origin=r]{-60}{
27555 \end_layout
27556
27557 \end_inset
27558
27559
27560 \begin_inset Box Doublebox
27561 position "c"
27562 hor_pos "c"
27563 has_inner_box 0
27564 inner_pos "c"
27565 use_parbox 0
27566 width "1in"
27567 special "width"
27568 height "1in"
27569 height_special "totalheight"
27570 status collapsed
27571
27572 \begin_layout Standard
27573 with rotated
27574 \end_layout
27575
27576 \end_inset
27577
27578
27579 \begin_inset ERT
27580 status collapsed
27581
27582 \begin_layout Standard
27583
27584 }
27585 \end_layout
27586
27587 \end_inset
27588
27589  framed text 
27590 \begin_inset ERT
27591 status collapsed
27592
27593 \begin_layout Standard
27594
27595
27596 \backslash
27597 rotatebox[origin=lb]{60}{
27598 \end_layout
27599
27600 \end_inset
27601
27602
27603 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27604 \end_inset
27605
27606
27607 \begin_inset ERT
27608 status collapsed
27609
27610 \begin_layout Standard
27611
27612 }
27613 \end_layout
27614
27615 \end_inset
27616
27617  and a formula.
27618 \end_layout
27619
27620 \begin_layout Standard
27621 or an image or table:
27622 \end_layout
27623
27624 \begin_layout Standard
27625 This is a line
27626 \begin_inset ERT
27627 status collapsed
27628
27629 \begin_layout Standard
27630
27631
27632 \backslash
27633 rotatebox[origin=lb]{90}{
27634 \end_layout
27635
27636 \end_inset
27637
27638
27639 \begin_inset Graphics
27640         filename clipart/platypus.eps
27641         lyxscale 50
27642         width 25col%
27643
27644 \end_inset
27645
27646
27647 \begin_inset ERT
27648 status collapsed
27649
27650 \begin_layout Standard
27651
27652 }
27653 \end_layout
27654
27655 \end_inset
27656
27657  with a rotated image 
27658 \begin_inset ERT
27659 status collapsed
27660
27661 \begin_layout Standard
27662
27663
27664 \backslash
27665 rotatebox[origin=l]{-90}{
27666 \end_layout
27667
27668 \end_inset
27669
27670
27671 \begin_inset Tabular
27672 <lyxtabular version="3" rows="2" columns="2">
27673 <features>
27674 <column alignment="center" valignment="top" leftline="true" width="0">
27675 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27676 <row topline="true">
27677 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27678 \begin_inset Text
27679
27680 \begin_layout Standard
27681 q
27682 \end_layout
27683
27684 \end_inset
27685 </cell>
27686 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27687 \begin_inset Text
27688
27689 \begin_layout Standard
27690 w
27691 \end_layout
27692
27693 \end_inset
27694 </cell>
27695 </row>
27696 <row topline="true" bottomline="true">
27697 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27698 \begin_inset Text
27699
27700 \begin_layout Standard
27701 e
27702 \end_layout
27703
27704 \end_inset
27705 </cell>
27706 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27707 \begin_inset Text
27708
27709 \begin_layout Standard
27710 r
27711 \end_layout
27712
27713 \end_inset
27714 </cell>
27715 </row>
27716 </lyxtabular>
27717
27718 \end_inset
27719
27720
27721 \begin_inset ERT
27722 status collapsed
27723
27724 \begin_layout Standard
27725
27726 }
27727 \end_layout
27728
27729 \end_inset
27730
27731  and table.
27732 \end_layout
27733
27734 \begin_layout Subsection
27735 Scaled Boxes
27736 \begin_inset LatexCommand index
27737 name "Boxes ! scaled"
27738
27739 \end_inset
27740
27741
27742 \begin_inset LatexCommand index
27743 name "Scaled material"
27744
27745 \end_inset
27746
27747
27748 \begin_inset LatexCommand index
27749 name "Figures ! scaled"
27750
27751 \end_inset
27752
27753
27754 \begin_inset LatexCommand index
27755 name "Table Customization ! Scaling"
27756
27757 \end_inset
27758
27759
27760 \end_layout
27761
27762 \begin_layout Standard
27763 To scale material the commands 
27764 \series bold
27765
27766 \backslash
27767 scalebox
27768 \series default
27769  and 
27770 \series bold
27771
27772 \backslash
27773 resizebox
27774 \series default
27775  can be used as TeX-Code.
27776 \end_layout
27777
27778 \begin_layout Standard
27779
27780 \series bold
27781
27782 \backslash
27783 scalebox
27784 \series default
27785  is used with the following scheme:
27786 \end_layout
27787
27788 \begin_layout Standard
27789
27790 \series bold
27791
27792 \backslash
27793 scalebox{horizontal}[vertical]{box content}
27794 \end_layout
27795
27796 \begin_layout Standard
27797 Horizontal and vertical are the corresponding scaling factors.
27798  If no vertical scaling factor is given, the horizontal factor will also
27799  be used as vertical one.
27800 \end_layout
27801
27802 \begin_layout Standard
27803 The command 
27804 \series bold
27805
27806 \backslash
27807 scalebox{2}{Hello}
27808 \series default
27809  creates for example a double size 
27810 \begin_inset ERT
27811 status collapsed
27812
27813 \begin_layout Standard
27814
27815
27816 \backslash
27817 scalebox{2}{
27818 \end_layout
27819
27820 \end_inset
27821
27822 Hello
27823 \begin_inset ERT
27824 status collapsed
27825
27826 \begin_layout Standard
27827
27828 }
27829 \end_layout
27830
27831 \end_inset
27832
27833 , compared to the document text size.
27834 \end_layout
27835
27836 \begin_layout Standard
27837
27838 \series bold
27839
27840 \backslash
27841 scalebox{2}[1]{Hello}
27842 \series default
27843  in contrary distorts the 
27844 \begin_inset ERT
27845 status collapsed
27846
27847 \begin_layout Standard
27848
27849
27850 \backslash
27851 scalebox{2}[1]{
27852 \end_layout
27853
27854 \end_inset
27855
27856 Hello
27857 \begin_inset ERT
27858 status collapsed
27859
27860 \begin_layout Standard
27861
27862 }
27863 \end_layout
27864
27865 \end_inset
27866
27867 .
27868 \end_layout
27869
27870 \begin_layout Standard
27871 If a the scaling factor is negative, the box content will be mirrored.
27872  Therefore the command 
27873 \series bold
27874
27875 \backslash
27876 scalebox{-1}[1]{Hello}
27877 \series default
27878  can be used to create mirror writing: 
27879 \begin_inset ERT
27880 status collapsed
27881
27882 \begin_layout Standard
27883
27884
27885 \backslash
27886 scalebox{-1}[1]{
27887 \end_layout
27888
27889 \end_inset
27890
27891 Hello
27892 \begin_inset ERT
27893 status collapsed
27894
27895 \begin_layout Standard
27896
27897 }
27898 \end_layout
27899
27900 \end_inset
27901
27902
27903 \end_layout
27904
27905 \begin_layout Standard
27906
27907 \series bold
27908
27909 \backslash
27910 scalebox{1}[-1]{Hello}
27911 \series default
27912  reflects the 
27913 \begin_inset ERT
27914 status collapsed
27915
27916 \begin_layout Standard
27917
27918
27919 \backslash
27920 scalebox{1}[-1]{
27921 \end_layout
27922
27923 \end_inset
27924
27925 Hello
27926 \begin_inset ERT
27927 status collapsed
27928
27929 \begin_layout Standard
27930
27931 }
27932 \end_layout
27933
27934 \end_inset
27935
27936  at the base line.
27937 \end_layout
27938
27939 \begin_layout Standard
27940 Equivalent to 
27941 \series bold
27942
27943 \backslash
27944 scalebox{-1}[1]{box content}
27945 \series default
27946  there exists the command
27947 \newline
27948
27949 \series bold
27950
27951 \backslash
27952 reflectbox{box content}
27953 \series default
27954 .
27955 \end_layout
27956
27957 \begin_layout Standard
27958 \begin_inset VSpace bigskip
27959 \end_inset
27960
27961 The command 
27962 \series bold
27963
27964 \backslash
27965 resizebox
27966 \series default
27967  is used to scale the box to a defined width and height.
27968  The command scheme is:
27969 \end_layout
27970
27971 \begin_layout Standard
27972
27973 \series bold
27974
27975 \backslash
27976 resizebox{width}{height}{box content}
27977 \end_layout
27978
27979 \begin_layout Standard
27980 Is one of the two command arguments given as exclamation mark 
27981 \series bold
27982 !
27983 \series default
27984 , the size is set so that the aspect ratio of the box content is kept.
27985 \end_layout
27986
27987 \begin_layout Standard
27988 The command 
27989 \series bold
27990
27991 \backslash
27992 resizebox{2cm}{1cm}{Hello}
27993 \series default
27994  produces: 
27995 \begin_inset ERT
27996 status collapsed
27997
27998 \begin_layout Standard
27999
28000
28001 \backslash
28002 resizebox{2cm}{1cm}{
28003 \end_layout
28004
28005 \end_inset
28006
28007 Hello
28008 \begin_inset ERT
28009 status collapsed
28010
28011 \begin_layout Standard
28012
28013 }
28014 \end_layout
28015
28016 \end_inset
28017
28018
28019 \newline
28020 The command 
28021 \series bold
28022
28023 \backslash
28024 resizebox{2cm}{!}{Hello}
28025 \series default
28026  produces: 
28027 \begin_inset ERT
28028 status collapsed
28029
28030 \begin_layout Standard
28031
28032
28033 \backslash
28034 resizebox{2cm}{!}{
28035 \end_layout
28036
28037 \end_inset
28038
28039 Hello
28040 \begin_inset ERT
28041 status collapsed
28042
28043 \begin_layout Standard
28044
28045 }
28046 \end_layout
28047
28048 \end_inset
28049
28050
28051 \end_layout
28052
28053 \begin_layout Standard
28054 \begin_inset VSpace bigskip
28055 \end_inset
28056
28057
28058 \begin_inset Note Greyedout
28059 status open
28060
28061 \begin_layout Standard
28062
28063 \series bold
28064 Note:
28065 \series default
28066  When arguments of 
28067 \series bold
28068
28069 \backslash
28070 scalebox
28071 \series default
28072  or 
28073 \series bold
28074
28075 \backslash
28076 resizebox
28077 \series default
28078  are set to zero, no LaTeX-errors occur when exporting the document but
28079  the exported files can not or only partly be displayed.
28080 \end_layout
28081
28082 \end_inset
28083
28084
28085 \end_layout
28086
28087 \begin_layout Standard
28088 \begin_inset VSpace bigskip
28089 \end_inset
28090
28091
28092 \end_layout
28093
28094 \begin_layout Standard
28095 The boxes can be combined in any order.
28096  E.\InsetSpace \thinspace{}
28097 g.\InsetSpace ~
28098 the command
28099 \newline
28100
28101 \series bold
28102
28103 \backslash
28104 rotatebox[origin=c]{-45}{
28105 \backslash
28106 resizebox{2cm}{!}{
28107 \backslash
28108 reflectbox{Hello}}}
28109 \newline
28110
28111 \series default
28112 produces:
28113 \end_layout
28114
28115 \begin_layout Standard
28116 \align center
28117 \begin_inset ERT
28118 status collapsed
28119
28120 \begin_layout Standard
28121
28122
28123 \backslash
28124 rotatebox[origin=c]{-45}{
28125 \backslash
28126 resizebox{2cm}{!}{
28127 \backslash
28128 reflectbox{
28129 \end_layout
28130
28131 \end_inset
28132
28133 Hello
28134 \begin_inset ERT
28135 status collapsed
28136
28137 \begin_layout Standard
28138
28139 }}}
28140 \end_layout
28141
28142 \end_inset
28143
28144
28145 \end_layout
28146
28147 \begin_layout Standard
28148 \noindent
28149 Images, tables, and inline formulas are allowed as box content:
28150 \end_layout
28151
28152 \begin_layout Standard
28153 \align center
28154 \begin_inset ERT
28155 status collapsed
28156
28157 \begin_layout Standard
28158
28159
28160 \backslash
28161 rotatebox[origin=c]{-30}{
28162 \backslash
28163 resizebox{2cm}{!}{
28164 \backslash
28165 reflectbox{
28166 \end_layout
28167
28168 \end_inset
28169
28170
28171 \begin_inset Graphics
28172         filename clipart/platypus.eps
28173         lyxscale 50
28174         width 25col%
28175
28176 \end_inset
28177
28178
28179 \begin_inset ERT
28180 status collapsed
28181
28182 \begin_layout Standard
28183
28184 }}}
28185 \end_layout
28186
28187 \end_inset
28188
28189
28190 \begin_inset ERT
28191 status collapsed
28192
28193 \begin_layout Standard
28194
28195
28196 \backslash
28197 rotatebox[origin=c]{-45}{
28198 \backslash
28199 resizebox{2cm}{!}{
28200 \backslash
28201 reflectbox{
28202 \end_layout
28203
28204 \end_inset
28205
28206
28207 \begin_inset Tabular
28208 <lyxtabular version="3" rows="2" columns="2">
28209 <features>
28210 <column alignment="center" valignment="top" leftline="true" width="0">
28211 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28212 <row topline="true">
28213 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28214 \begin_inset Text
28215
28216 \begin_layout Standard
28217 q
28218 \end_layout
28219
28220 \end_inset
28221 </cell>
28222 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28223 \begin_inset Text
28224
28225 \begin_layout Standard
28226 w
28227 \end_layout
28228
28229 \end_inset
28230 </cell>
28231 </row>
28232 <row topline="true" bottomline="true">
28233 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28234 \begin_inset Text
28235
28236 \begin_layout Standard
28237 e
28238 \end_layout
28239
28240 \end_inset
28241 </cell>
28242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28243 \begin_inset Text
28244
28245 \begin_layout Standard
28246 r
28247 \end_layout
28248
28249 \end_inset
28250 </cell>
28251 </row>
28252 </lyxtabular>
28253
28254 \end_inset
28255
28256
28257 \begin_inset ERT
28258 status collapsed
28259
28260 \begin_layout Standard
28261
28262 }}}
28263 \end_layout
28264
28265 \end_inset
28266
28267
28268 \begin_inset ERT
28269 status collapsed
28270
28271 \begin_layout Standard
28272
28273
28274 \backslash
28275 rotatebox[origin=c]{-45}{
28276 \backslash
28277 resizebox{2cm}{!}{
28278 \backslash
28279 reflectbox{
28280 \end_layout
28281
28282 \end_inset
28283
28284
28285 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28286 \end_inset
28287
28288
28289 \begin_inset ERT
28290 status collapsed
28291
28292 \begin_layout Standard
28293
28294 }}}
28295 \end_layout
28296
28297 \end_inset
28298
28299
28300 \end_layout
28301
28302 \begin_layout Standard
28303 When the global formula style 
28304 \series bold
28305 fleqn
28306 \series default
28307  is used in the document
28308 \begin_inset Foot
28309 status collapsed
28310
28311 \begin_layout Standard
28312 When 
28313 \begin_inset Quotes eld
28314 \end_inset
28315
28316 fleqn
28317 \begin_inset Quotes erd
28318 \end_inset
28319
28320  is added to the document class options.
28321 \end_layout
28322
28323 \end_inset
28324
28325 , also display formulas can be scaled.
28326 \end_layout
28327
28328 \begin_layout Section
28329 URLs (Uniform Resource Locators)
28330 \begin_inset LatexCommand index
28331 name "URLs"
28332
28333 \end_inset
28334
28335
28336 \end_layout
28337
28338 \begin_layout Standard
28339 Links to web pages or email addresses can be inserted via the menu 
28340 \family sans
28341 Insert\SpecialChar \menuseparator
28342 URL
28343 \family default
28344 .
28345  The appearing URL dialog has two fields; the 
28346 \family sans
28347 URL
28348 \family default
28349  field and the 
28350 \family sans
28351 Name
28352 \family default
28353  field for the URL description, which will be typeset as plain text immediately
28354  before the URL.
28355 \end_layout
28356
28357 \begin_layout Standard
28358 Here is an example URL: 
28359 \begin_inset LatexCommand url
28360 name "LyX's homepage"
28361 target "http://www.lyx.org"
28362
28363 \end_inset
28364
28365
28366 \end_layout
28367
28368 \begin_layout Standard
28369 The option 
28370 \family sans
28371 Generate\InsetSpace ~
28372 hyperlink
28373 \family default
28374  in the URL dialog does nothing.
28375  This relict will be removed in the next LyX-version.
28376 \end_layout
28377
28378 \begin_layout Standard
28379 You cannot change the style of the link text.
28380  The text of the 
28381 \family sans
28382 Name
28383 \family default
28384  field will have the default text style of the document while the text of
28385  the 
28386 \family sans
28387 URL
28388 \family default
28389  field will have the style 
28390 \begin_inset Quotes eld
28391 \end_inset
28392
28393
28394 \family sans
28395 Typewriter
28396 \family default
28397
28398 \begin_inset Quotes erd
28399 \end_inset
28400
28401 .
28402 \end_layout
28403
28404 \begin_layout Standard
28405 When you use the LaTeX-package 
28406 \series bold
28407 hyperref
28408 \series default
28409
28410 \begin_inset LatexCommand index
28411 name "LaTeX-packages ! hyperref"
28412
28413 \end_inset
28414
28415  to link cross-references in the output, URLs will automatically become
28416  clickable hyperlinks in DVI and PDF-output.
28417 \end_layout
28418
28419 \begin_layout Standard
28420 \begin_inset Note Greyedout
28421 status open
28422
28423 \begin_layout Standard
28424
28425 \series bold
28426 Note:
28427 \series default
28428  When you use the following characters: "%", "#", "^", you have to write
28429  them with a preceding backslash, e.\InsetSpace \thinspace{}
28430 g.\InsetSpace ~
28431
28432 \begin_inset Quotes eld
28433 \end_inset
28434
28435
28436 \backslash
28437 #
28438 \begin_inset Quotes erd
28439 \end_inset
28440
28441 .
28442  URLs must not end with a backslash.
28443 \end_layout
28444
28445 \end_inset
28446
28447
28448 \end_layout
28449
28450 \begin_layout Standard
28451 \begin_inset VSpace bigskip
28452 \end_inset
28453
28454 To create real hyperlinks without the force to write the link location to
28455  the text, you can use the command
28456 \end_layout
28457
28458 \begin_layout Standard
28459
28460 \series bold
28461
28462 \backslash
28463 href{link location}{link text}
28464 \end_layout
28465
28466 \begin_layout Standard
28467 in TeX-Code.
28468  To get for example a link to LyX's web page, write the command
28469 \end_layout
28470
28471 \begin_layout Standard
28472
28473 \series bold
28474
28475 \backslash
28476 href{http://www.lyx.org}{
28477 \end_layout
28478
28479 \begin_layout Standard
28480 in TeX-Code.
28481  Insert after the command the link text 
28482 \begin_inset Quotes eld
28483 \end_inset
28484
28485 LyX's homepage
28486 \begin_inset Quotes erd
28487 \end_inset
28488
28489  as normal text followed by a closing brace 
28490 \begin_inset Quotes eld
28491 \end_inset
28492
28493
28494 \series bold
28495 }
28496 \series default
28497
28498 \begin_inset Quotes erd
28499 \end_inset
28500
28501  in TeX-Code.
28502  This is the result: 
28503 \begin_inset ERT
28504 status collapsed
28505
28506 \begin_layout Standard
28507
28508
28509 \backslash
28510 href{http://www.lyx.org}{
28511 \end_layout
28512
28513 \end_inset
28514
28515 LyX's homepage
28516 \begin_inset ERT
28517 status collapsed
28518
28519 \begin_layout Standard
28520
28521 }
28522 \end_layout
28523
28524 \end_inset
28525
28526
28527 \end_layout
28528
28529 \begin_layout Standard
28530 To link to email addresses, add the prefix 
28531 \begin_inset Quotes eld
28532 \end_inset
28533
28534
28535 \family sans
28536 mailto:
28537 \family default
28538
28539 \begin_inset Quotes erd
28540 \end_inset
28541
28542  to the link location:
28543 \newline
28544 Email to 
28545 \begin_inset ERT
28546 status collapsed
28547
28548 \begin_layout Standard
28549
28550
28551 \backslash
28552 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's documentation}{
28553 \end_layout
28554
28555 \end_inset
28556
28557 lyx-docs mailing list
28558 \begin_inset ERT
28559 status collapsed
28560
28561 \begin_layout Standard
28562
28563 }
28564 \end_layout
28565
28566 \end_inset
28567
28568 .
28569 \end_layout
28570
28571 \begin_layout Standard
28572 Using 
28573 \series bold
28574
28575 \backslash
28576 href
28577 \series default
28578  instead of LyX's URL box has the advantage that you can specify the text
28579  style of the link text like for all other text parts.
28580  You can then set hyphenation points and forced linebreaks to have long
28581  link text broken at the page margin.
28582  You are furthermore able to change the text style for all URLs in your
28583  document with an option in 
28584 \series bold
28585 hyperref
28586 \series default
28587 's load command and the restrictions mentioned above doesn't apply for 
28588 \series bold
28589
28590 \backslash
28591 href
28592 \series default
28593 .
28594 \end_layout
28595
28596 \begin_layout Chapter
28597 External Stuff
28598 \begin_inset LatexCommand index
28599 name "External Stuff"
28600
28601 \end_inset
28602
28603
28604 \end_layout
28605
28606 \begin_layout Standard
28607 With the menu 
28608 \family sans
28609 Insert\SpecialChar \menuseparator
28610 File
28611 \family default
28612  you can insert external material to your document.
28613  This can be:
28614 \end_layout
28615
28616 \begin_layout Description
28617 LyX\InsetSpace ~
28618 Document Another LyX document; its content is directly inserted to your
28619  document.
28620 \end_layout
28621
28622 \begin_layout Description
28623 Plain\InsetSpace ~
28624 Text A text document; every of its text lines is inserted to your document
28625  as own paragraph.
28626 \end_layout
28627
28628 \begin_layout Description
28629 Plain\InsetSpace ~
28630 Text,\InsetSpace ~
28631 Join\InsetSpace ~
28632 Lines A text document; its text lines are inserted as they
28633  are.
28634  Empty text lines creates a new paragraph in your document.
28635 \end_layout
28636
28637 \begin_layout Description
28638 External\InsetSpace ~
28639 Material Files in various formats.
28640 \end_layout
28641
28642 \begin_layout Description
28643 Child\InsetSpace ~
28644 Document LyX or LaTeX-documents.
28645 \end_layout
28646
28647 \begin_layout Section
28648 External Material
28649 \begin_inset LatexCommand index
28650 name "External Stuff ! External Material"
28651
28652 \end_inset
28653
28654
28655 \end_layout
28656
28657 \begin_layout Standard
28658 The external material feature allows you to insert files to your document
28659  without converting them previously to a format that can be read by the
28660  document output format because LyX takes care of needed conversions.
28661  This is similar to images that can be inserted in various image formats
28662  to LyX documents.
28663 \end_layout
28664
28665 \begin_layout Standard
28666 External material can be inserted via the 
28667 \family sans
28668 External Material
28669 \family default
28670  dialog that is accessible with the menu 
28671 \family sans
28672 Insert\SpecialChar \menuseparator
28673 File\SpecialChar \menuseparator
28674 External\InsetSpace ~
28675 Material
28676 \family default
28677 .
28678  Currently the following file types (
28679 \family sans
28680 Templates
28681 \family default
28682 ) are allowed:
28683 \end_layout
28684
28685 \begin_layout Description
28686 ChessDiagram This template supports chess position diagrams made with the
28687  program 
28688 \begin_inset ERT
28689 status collapsed
28690
28691 \begin_layout Standard
28692
28693
28694 \backslash
28695 href{http://en.wikipedia.org/wiki/XBoard}{
28696 \end_layout
28697
28698 \end_inset
28699
28700
28701 \series bold
28702 XBoard
28703 \series default
28704
28705 \begin_inset ERT
28706 status collapsed
28707
28708 \begin_layout Standard
28709
28710 }
28711 \end_layout
28712
28713 \end_inset
28714
28715 .
28716 \end_layout
28717
28718 \begin_layout Description
28719 Date This inserts the date in the form 
28720 \emph on
28721 Day-Month-Year
28722 \emph default
28723 .
28724  This is a date inserted as external material: 
28725 \begin_inset External
28726         template Date
28727         filename .
28728
28729 \end_inset
28730
28731
28732 \newline
28733 The date is not shown within LyX, only in the output.
28734  There are two other methods of inserting a date: Via menu 
28735 \family sans
28736 Insert\SpecialChar \menuseparator
28737 Date
28738 \family default
28739  and with the LaTeX command 
28740 \series bold
28741
28742 \backslash
28743 today
28744 \series default
28745  as TeX-Code.
28746  The different methods are compared in Table\InsetSpace ~
28747
28748 \begin_inset LatexCommand ref
28749 reference "tab:Comparison-of-the"
28750
28751 \end_inset
28752
28753 .
28754 \end_layout
28755
28756 \begin_layout Description
28757 LilyPond This template is used for music notation typeset with the program
28758 \begin_inset ERT
28759 status collapsed
28760
28761 \begin_layout Standard
28762
28763
28764 \backslash
28765 linebreak 
28766 \end_layout
28767
28768 \end_inset
28769
28770
28771 \begin_inset ERT
28772 status collapsed
28773
28774 \begin_layout Standard
28775
28776
28777 \backslash
28778 href{http://en.wikipedia.org/wiki/LilyPond}{
28779 \end_layout
28780
28781 \end_inset
28782
28783
28784 \series bold
28785 LilyPond
28786 \series default
28787
28788 \begin_inset ERT
28789 status collapsed
28790
28791 \begin_layout Standard
28792
28793 }
28794 \end_layout
28795
28796 \end_inset
28797
28798 .
28799 \begin_inset Note Note
28800 status collapsed
28801
28802 \begin_layout Standard
28803 The command 
28804 \series bold
28805
28806 \backslash
28807 linebreak
28808 \series default
28809  breaks the line while the remaining text in the line is stretched to the
28810  page margin.
28811 \end_layout
28812
28813 \end_inset
28814
28815
28816 \end_layout
28817
28818 \begin_layout Description
28819 RasterImage This can be used for bitmap images.
28820  Nearly all popular image formats are supported.
28821  The image can be treated in the 
28822 \family sans
28823 External material
28824 \family default
28825  dialog like the images that are usually included via the 
28826 \family sans
28827 Graphics
28828 \family default
28829  dialog as described in section\InsetSpace ~
28830
28831 \begin_inset LatexCommand ref
28832 reference "sec:Graphics-Dialog"
28833
28834 \end_inset
28835
28836 .
28837  The difference is that only raster images are allowed, that means that
28838  PDF and EPS-images are not supported.
28839 \end_layout
28840
28841 \begin_layout Description
28842 XFig This template supports images created with the program 
28843 \begin_inset ERT
28844 status collapsed
28845
28846 \begin_layout Standard
28847
28848
28849 \backslash
28850 href{http://en.wikipedia.org/wiki/Xfig}{
28851 \end_layout
28852
28853 \end_inset
28854
28855
28856 \series bold
28857 Xfig
28858 \series default
28859
28860 \begin_inset ERT
28861 status collapsed
28862
28863 \begin_layout Standard
28864
28865 }
28866 \end_layout
28867
28868 \end_inset
28869
28870 .
28871 \end_layout
28872
28873 \begin_layout Standard
28874 \begin_inset Float table
28875 placement h
28876 wide false
28877 sideways false
28878 status open
28879
28880 \begin_layout Standard
28881 \begin_inset Caption
28882
28883 \begin_layout Standard
28884 \begin_inset LatexCommand label
28885 name "tab:Comparison-of-the"
28886
28887 \end_inset
28888
28889 Comparison of the date input methods.
28890 \end_layout
28891
28892 \end_inset
28893
28894
28895 \end_layout
28896
28897 \begin_layout Standard
28898 \align center
28899 \begin_inset Tabular
28900 <lyxtabular version="3" rows="4" columns="4">
28901 <features>
28902 <column alignment="center" valignment="top" leftline="true" width="0">
28903 <column alignment="center" valignment="top" leftline="true" width="0">
28904 <column alignment="center" valignment="top" leftline="true" width="0">
28905 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28906 <row topline="true">
28907 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28908 \begin_inset Text
28909
28910 \begin_layout Standard
28911 Document format
28912 \end_layout
28913
28914 \end_inset
28915 </cell>
28916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28917 \begin_inset Text
28918
28919 \begin_layout Standard
28920
28921 \family sans
28922 External Material\SpecialChar \menuseparator
28923 Date
28924 \end_layout
28925
28926 \end_inset
28927 </cell>
28928 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28929 \begin_inset Text
28930
28931 \begin_layout Standard
28932
28933 \family sans
28934 Insert\SpecialChar \menuseparator
28935 Date
28936 \end_layout
28937
28938 \end_inset
28939 </cell>
28940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28941 \begin_inset Text
28942
28943 \begin_layout Standard
28944 command 
28945 \series bold
28946
28947 \backslash
28948 today
28949 \end_layout
28950
28951 \end_inset
28952 </cell>
28953 </row>
28954 <row topline="true">
28955 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28956 \begin_inset Text
28957
28958 \begin_layout Standard
28959 LyX
28960 \end_layout
28961
28962 \end_inset
28963 </cell>
28964 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28965 \begin_inset Text
28966
28967 \begin_layout Standard
28968 as inset box
28969 \end_layout
28970
28971 \end_inset
28972 </cell>
28973 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28974 \begin_inset Text
28975
28976 \begin_layout Standard
28977 as date
28978 \end_layout
28979
28980 \end_inset
28981 </cell>
28982 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28983 \begin_inset Text
28984
28985 \begin_layout Standard
28986 as TeX-Code inset box
28987 \end_layout
28988
28989 \end_inset
28990 </cell>
28991 </row>
28992 <row topline="true">
28993 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28994 \begin_inset Text
28995
28996 \begin_layout Standard
28997 LaTeX
28998 \end_layout
28999
29000 \end_inset
29001 </cell>
29002 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29003 \begin_inset Text
29004
29005 \begin_layout Standard
29006 as date
29007 \end_layout
29008
29009 \end_inset
29010 </cell>
29011 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29012 \begin_inset Text
29013
29014 \begin_layout Standard
29015 as date
29016 \end_layout
29017
29018 \end_inset
29019 </cell>
29020 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29021 \begin_inset Text
29022
29023 \begin_layout Standard
29024 as command
29025 \end_layout
29026
29027 \end_inset
29028 </cell>
29029 </row>
29030 <row topline="true" bottomline="true">
29031 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29032 \begin_inset Text
29033
29034 \begin_layout Standard
29035 DVI, PDF, PS
29036 \end_layout
29037
29038 \end_inset
29039 </cell>
29040 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29041 \begin_inset Text
29042
29043 \begin_layout Standard
29044 as date
29045 \end_layout
29046
29047 \end_inset
29048 </cell>
29049 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29050 \begin_inset Text
29051
29052 \begin_layout Standard
29053 as date
29054 \end_layout
29055
29056 \end_inset
29057 </cell>
29058 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29059 \begin_inset Text
29060
29061 \begin_layout Standard
29062 as date
29063 \end_layout
29064
29065 \end_inset
29066 </cell>
29067 </row>
29068 </lyxtabular>
29069
29070 \end_inset
29071
29072
29073 \end_layout
29074
29075 \end_inset
29076
29077
29078 \end_layout
29079
29080 \begin_layout Standard
29081 When you use the option 
29082 \family sans
29083 Draft
29084 \family default
29085  in the 
29086 \family sans
29087 File
29088 \family default
29089  tab of the 
29090 \family sans
29091 External Material
29092 \family default
29093  dialog, only the path to the inserted file is shown in the output.
29094 \newline
29095 External
29096  material is displayed in LyX either as box like this: 
29097 \begin_inset Graphics
29098         filename clipart/ExternalMaterialQt4.png
29099         scale 85
29100         scaleBeforeRotation
29101
29102 \end_inset
29103
29104  or as image, depending on the setting in the 
29105 \family sans
29106 LyX\InsetSpace ~
29107 View
29108 \family default
29109  tab of the 
29110 \family sans
29111 External Material
29112 \family default
29113  dialog.
29114 \end_layout
29115
29116 \begin_layout Standard
29117 The 
29118 \family sans
29119 \emph on
29120 Customization
29121 \family default
29122 \emph default
29123  manual explains how you can define your own templates.
29124 \end_layout
29125
29126 \begin_layout Section
29127 Child Documents
29128 \begin_inset LatexCommand label
29129 name "sec:Child-Documents"
29130
29131 \end_inset
29132
29133
29134 \begin_inset LatexCommand index
29135 name "External Stuff ! Child Documents"
29136
29137 \end_inset
29138
29139
29140 \begin_inset LatexCommand index
29141 name "Files ! Include"
29142
29143 \end_inset
29144
29145
29146 \end_layout
29147
29148 \begin_layout Standard
29149 Child documents are used when you have a long document consisting of several
29150  larger parts or sections.
29151  For maintenance it is often useful and sometimes even required to split
29152  the document in several files that can be revised separately.
29153  The different documents are then the so called child documents and a master
29154  document connects them to print the full document or parts of it.
29155 \end_layout
29156
29157 \begin_layout Standard
29158 Included documents are displayed in LyX as a box like this: 
29159 \begin_inset Graphics
29160         filename clipart/ChildDocumentQt4.png
29161         scale 85
29162         scaleBeforeRotation
29163
29164 \end_inset
29165
29166  To include child documents to a master document use the menu 
29167 \family sans
29168 Insert\SpecialChar \menuseparator
29169 File\SpecialChar \menuseparator
29170 Child\InsetSpace ~
29171 Documents
29172 \family default
29173 .
29174  A dialog pops up where you can choose between four include methods:
29175 \end_layout
29176
29177 \begin_layout Description
29178 Include You can include LyX and LaTeX-documents.
29179  When you press the 
29180 \family sans
29181 Load
29182 \family default
29183  button in the 
29184 \family sans
29185 Child Document
29186 \family default
29187  dialog, the included documents will be opened in LyX in a new file tab
29188  so that you can modify it.
29189 \newline
29190
29191 \end_layout
29192
29193 \begin_layout Standard
29194 Here is a child document inserted using 
29195 \family sans
29196 Include
29197 \family default
29198
29199 \begin_inset Include \include{DummyDocument1.lyx}
29200 preview false
29201
29202 \end_inset
29203
29204
29205 \end_layout
29206
29207 \begin_layout Standard
29208 The section numbering includes the sections of the included files in the
29209  order they are inserted in the master document.
29210  The included example document has for example a subsection that is numbered
29211  as subsection of this section.
29212  Labels of included documents can be referenced: Subsection\InsetSpace ~
29213
29214 \begin_inset LatexCommand ref
29215 reference "sub:External-Subsection-1"
29216
29217 \end_inset
29218
29219
29220 \end_layout
29221
29222 \begin_layout Standard
29223 The preamble of the child document is ignored, only the preamble of the
29224  master document is used.
29225  Included documents are inserted starting on a new page and end with a pagebreak.
29226 \end_layout
29227
29228 \begin_layout Standard
29229 With the LaTeX-command 
29230 \series bold
29231
29232 \backslash
29233 includeonly 
29234 \series default
29235 you can specify which included child documents are processed when the output
29236  is generated.
29237  This is useful when you are perhaps only working on a certain chapter of
29238  your large document as this saves compiling time.
29239  
29240 \series bold
29241
29242 \backslash
29243 includeonly
29244 \series default
29245  is inserted to the master document preamble.
29246  It takes a comma-separated list of the filenames as argument, e.g.
29247 \end_layout
29248
29249 \begin_layout Standard
29250
29251 \series bold
29252
29253 \backslash
29254 includeonly{chapter1,chapter5}
29255 \end_layout
29256
29257 \begin_layout Standard
29258 will only process the included files named 
29259 \begin_inset Quotes eld
29260 \end_inset
29261
29262 chapter1.lyx
29263 \begin_inset Quotes erd
29264 \end_inset
29265
29266  (or 
29267 \begin_inset Quotes eld
29268 \end_inset
29269
29270 chapter1.tex
29271 \begin_inset Quotes erd
29272 \end_inset
29273
29274 ) and 
29275 \begin_inset Quotes eld
29276 \end_inset
29277
29278 chapter5.lyx
29279 \begin_inset Quotes erd
29280 \end_inset
29281
29282  .
29283 \end_layout
29284
29285 \begin_layout Standard
29286 \begin_inset Note Greyedout
29287 status open
29288
29289 \begin_layout Standard
29290
29291 \series bold
29292 Note:
29293 \series default
29294  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29295 w the document in case that the child document uses another document class
29296  than the master document as this will lead to unexpected outputs.
29297 \end_layout
29298
29299 \end_inset
29300
29301
29302 \end_layout
29303
29304 \begin_layout Description
29305 Input This method is very similar to the Include method.
29306  The differences are:
29307 \end_layout
29308
29309 \begin_deeper
29310 \begin_layout Itemize
29311 Input files don't start with a new page and don't end with a pagebreak.
29312 \end_layout
29313
29314 \begin_layout Itemize
29315 Input files can be previewed in LyX when 
29316 \family sans
29317 Instant\InsetSpace ~
29318 Preview
29319 \family default
29320  is enabled in LyX's preferences under 
29321 \family sans
29322 Look\InsetSpace ~
29323 and\InsetSpace ~
29324 feel\SpecialChar \menuseparator
29325 Graphics
29326 \family default
29327 .
29328 \end_layout
29329
29330 \begin_layout Itemize
29331 The LaTeX-command 
29332 \series bold
29333
29334 \backslash
29335 includeonly
29336 \series default
29337  cannot be used.
29338 \end_layout
29339
29340 \end_deeper
29341 \begin_layout Standard
29342 Here is a child document inserted using 
29343 \family sans
29344 Input
29345 \family default
29346
29347 \begin_inset Include \input{DummyDocument2.lyx}
29348 preview false
29349
29350 \end_inset
29351
29352
29353 \end_layout
29354
29355 \begin_layout Description
29356 Verbatim With this method every text file can be included.
29357  The file is shown in the output with its source code, no command used in
29358  the text is invoked.
29359  You can use the option 
29360 \family sans
29361 Mark spaces in output
29362 \family default
29363  that displays the character 
29364 \begin_inset Quotes eld
29365 \end_inset
29366
29367
29368 \begin_inset ERT
29369 status collapsed
29370
29371 \begin_layout Standard
29372
29373
29374 \backslash
29375 textvisiblespace 
29376 \end_layout
29377
29378 \end_inset
29379
29380
29381 \begin_inset Quotes erd
29382 \end_inset
29383
29384  for every space character in the source code.
29385  The difference to the method via the menu 
29386 \family sans
29387 Insert\SpecialChar \menuseparator
29388 File\SpecialChar \menuseparator
29389 Plain\InsetSpace ~
29390 Text
29391 \family default
29392  is that the document content is not shown in LyX.
29393 \end_layout
29394
29395 \begin_layout Standard
29396 Here is a child document inserted as Verbatim: 
29397 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29398 preview false
29399
29400 \end_inset
29401
29402
29403 \begin_inset VSpace bigskip
29404 \end_inset
29405
29406 Here is a child document inserted as Verbatim using the 
29407 \family sans
29408 Mark spaces in output
29409 \family default
29410  option: 
29411 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29412 preview false
29413
29414 \end_inset
29415
29416
29417 \end_layout
29418
29419 \begin_layout Standard
29420 \begin_inset VSpace bigskip
29421 \end_inset
29422
29423
29424 \end_layout
29425
29426 \begin_layout Standard
29427 \begin_inset Note Greyedout
29428 status open
29429
29430 \begin_layout Standard
29431
29432 \series bold
29433 Note:
29434 \series default
29435  As you can see in the examples above, the text of the documents included
29436  as 
29437 \family sans
29438 verbatim
29439 \family default
29440  is not broken at the end of the document lines.
29441 \end_layout
29442
29443 \end_inset
29444
29445
29446 \end_layout
29447
29448 \begin_layout Description
29449 Listings This type is described in chapter\InsetSpace ~
29450
29451 \begin_inset LatexCommand ref
29452 reference "cha:Program-Code-Listings"
29453
29454 \end_inset
29455
29456 .
29457 \end_layout
29458
29459 \begin_layout Standard
29460 \begin_inset Note Greyedout
29461 status open
29462
29463 \begin_layout Standard
29464
29465 \series bold
29466 Note:
29467 \series default
29468  Including the same document twice in a document using different methods
29469  could cause LaTeX-problems.
29470 \end_layout
29471
29472 \end_inset
29473
29474
29475 \end_layout
29476
29477 \begin_layout Chapter
29478 Program Code Listings
29479 \begin_inset LatexCommand label
29480 name "cha:Program-Code-Listings"
29481
29482 \end_inset
29483
29484
29485 \begin_inset LatexCommand index
29486 name "Listings"
29487
29488 \end_inset
29489
29490
29491 \begin_inset LatexCommand index
29492 name "Program Code"
29493
29494 \end_inset
29495
29496
29497 \begin_inset LatexCommand index
29498 name "Floats ! Listings"
29499
29500 \end_inset
29501
29502
29503 \end_layout
29504
29505 \begin_layout Standard
29506 To include and typeset program code you can use the 
29507 \family sans
29508 Listings
29509 \family default
29510  inset that can be inserted via the menu 
29511 \family sans
29512 Insert\SpecialChar \menuseparator
29513 Program Listing
29514 \family default
29515 .
29516  The LaTeX-package 
29517 \series bold
29518 listings
29519 \series default
29520
29521 \begin_inset LatexCommand index
29522 name "LaTeX-packages ! listings"
29523
29524 \end_inset
29525
29526  provides a powerful and flexible way to insert program source code to your
29527  document.
29528 \end_layout
29529
29530 \begin_layout Standard
29531 When right-clicking on a listings inset a dialog pops up where you can set
29532  the listings format.
29533 \end_layout
29534
29535 \begin_layout Standard
29536 By default, a listing starts a new paragraph in the output.
29537  The placement option 
29538 \family sans
29539 Inline\InsetSpace ~
29540 listing
29541 \family default
29542  prints the listing inline like this: 
29543 \begin_inset listings
29544 lstparams "language={C++}"
29545 inline true
29546 status open
29547
29548 \begin_layout Standard
29549
29550 int a=5;
29551 \end_layout
29552
29553 \end_inset
29554
29555
29556 \newline
29557 The option 
29558 \family sans
29559 Float
29560 \family default
29561  creates a listings float where you can specify the placement options 
29562 \begin_inset Quotes eld
29563 \end_inset
29564
29565
29566 \family sans
29567 h
29568 \family default
29569
29570 \begin_inset Quotes erd
29571 \end_inset
29572
29573
29574 \begin_inset Quotes eld
29575 \end_inset
29576
29577
29578 \family sans
29579 t
29580 \family default
29581
29582 \begin_inset Quotes erd
29583 \end_inset
29584
29585
29586 \begin_inset Quotes eld
29587 \end_inset
29588
29589
29590 \family sans
29591 b
29592 \family default
29593
29594 \begin_inset Quotes erd
29595 \end_inset
29596
29597 , and 
29598 \begin_inset Quotes eld
29599 \end_inset
29600
29601
29602 \family sans
29603 p
29604 \family default
29605
29606 \begin_inset Quotes erd
29607 \end_inset
29608
29609  corresponding to the float placement options described in section\InsetSpace ~
29610
29611 \begin_inset LatexCommand ref
29612 reference "sec:Float-Placement"
29613
29614 \end_inset
29615
29616 .
29617  The placement options can be mixed and are inserted without any separation,
29618  e.\InsetSpace \thinspace{}
29619 g.\InsetSpace ~
29620
29621 \begin_inset Quotes eld
29622 \end_inset
29623
29624
29625 \family sans
29626 htbp
29627 \family default
29628
29629 \begin_inset Quotes erd
29630 \end_inset
29631
29632 .
29633  The option 
29634 \begin_inset Quotes eld
29635 \end_inset
29636
29637 h
29638 \begin_inset Quotes erd
29639 \end_inset
29640
29641  has sometimes no effect, but you don't need to use the 
29642 \family sans
29643 Float
29644 \family default
29645  option in this case as also non-float listings can have captions and be
29646  referenced.
29647 \end_layout
29648
29649 \begin_layout Standard
29650 You can add captions to listings with the menu 
29651 \family sans
29652 Insert\SpecialChar \menuseparator
29653 Caption
29654 \family default
29655 .
29656  Listings can be referenced like floats: Listing\InsetSpace ~
29657
29658 \begin_inset LatexCommand ref
29659 reference "lst:Example-Listing"
29660
29661 \end_inset
29662
29663
29664 \end_layout
29665
29666 \begin_layout Standard
29667 \begin_inset listings
29668 lstparams "language=Python"
29669 inline false
29670 status open
29671
29672 \begin_layout Standard
29673
29674 \begin_inset Caption
29675
29676 \begin_layout Standard
29677 \begin_inset LatexCommand label
29678 name "lst:Example-Listing"
29679
29680 \end_inset
29681
29682 Example Listing float
29683 \end_layout
29684
29685 \end_inset
29686
29687 # Example listing float
29688 \end_layout
29689
29690 \begin_layout Standard
29691
29692 def func(param):
29693 \end_layout
29694
29695 \begin_layout Standard
29696
29697     'this is a python function'
29698 \end_layout
29699
29700 \begin_layout Standard
29701
29702     pass
29703 \end_layout
29704
29705 \end_inset
29706
29707
29708 \end_layout
29709
29710 \begin_layout Standard
29711 When you have set a programming language in the listings dialog, the keywords
29712  of this language will be recognized and specially typeset in the output.
29713  In the example listings the Python keyword 
29714 \begin_inset Quotes eld
29715 \end_inset
29716
29717 def
29718 \begin_inset Quotes erd
29719 \end_inset
29720
29721  is recognized and printed bold in the output.
29722 \end_layout
29723
29724 \begin_layout Standard
29725 \begin_inset Note Greyedout
29726 status open
29727
29728 \begin_layout Standard
29729
29730 \series bold
29731 Note:
29732 \series default
29733  If you don't get bold keywords when using typewriter fonts, your typewriter
29734  font probably doesn't provide a bold shape.
29735  In this case select a different one in the menu 
29736 \family sans
29737 Document\SpecialChar \menuseparator
29738 Settings\SpecialChar \menuseparator
29739 Fonts
29740 \family default
29741 .
29742  (The fonts 
29743 \emph on
29744 LuxiMono, BeraMono
29745 \emph default
29746  and 
29747 \emph on
29748 Courier
29749 \emph default
29750  provide bold shapes.)
29751 \end_layout
29752
29753 \end_inset
29754
29755
29756 \end_layout
29757
29758 \begin_layout Standard
29759 In section 
29760 \family sans
29761 Line\InsetSpace ~
29762 numbering
29763 \family default
29764  of the listings dialog you can specify the line numbering style.
29765  You can insert a number to specify which lines are numbered to the field
29766  
29767 \family sans
29768 Step
29769 \family default
29770 .
29771  When you insert e.g.
29772  
29773 \begin_inset Quotes eld
29774 \end_inset
29775
29776 3
29777 \begin_inset Quotes erd
29778 \end_inset
29779
29780 , only every 3rd line will be numbered.
29781 \end_layout
29782
29783 \begin_layout Standard
29784 You can furthermore specify a range of lines, only these will then appear
29785  in the output.
29786  The option 
29787 \family sans
29788 Extended\InsetSpace ~
29789 chars
29790 \family default
29791  should be used when you use national characters like the German umlauts
29792  in the listing.
29793 \newline
29794 Here is an example listing with left line numbering, step
29795  
29796 \begin_inset Quotes eld
29797 \end_inset
29798
29799 3
29800 \begin_inset Quotes erd
29801 \end_inset
29802
29803 , language 
29804 \begin_inset Quotes eld
29805 \end_inset
29806
29807 Python
29808 \begin_inset Quotes erd
29809 \end_inset
29810
29811 , options 
29812 \begin_inset Quotes eld
29813 \end_inset
29814
29815 Extended\InsetSpace ~
29816 chars
29817 \begin_inset Quotes erd
29818 \end_inset
29819
29820  and 
29821 \begin_inset Quotes eld
29822 \end_inset
29823
29824 Space\InsetSpace ~
29825 as\InsetSpace ~
29826 Symbol
29827 \begin_inset Quotes erd
29828 \end_inset
29829
29830 , range lines 3\InsetSpace \thinspace{}
29831 -\InsetSpace \thinspace{}
29832 8:
29833 \end_layout
29834
29835 \begin_layout Standard
29836 \begin_inset listings
29837 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
29838 inline false
29839 status open
29840
29841 \begin_layout Standard
29842
29843 def func(param):
29844 \end_layout
29845
29846 \begin_layout Standard
29847
29848     'this is a python function'
29849 \end_layout
29850
29851 \begin_layout Standard
29852
29853     pass
29854 \end_layout
29855
29856 \begin_layout Standard
29857
29858 def func(param):
29859 \end_layout
29860
29861 \begin_layout Standard
29862
29863 'This is a German word: Tschüß'
29864 \end_layout
29865
29866 \begin_layout Standard
29867
29868 pass
29869 \end_layout
29870
29871 \begin_layout Standard
29872
29873 def func(param):
29874 \end_layout
29875
29876 \begin_layout Standard
29877
29878 'this is a python function'
29879 \end_layout
29880
29881 \begin_layout Standard
29882
29883 pass
29884 \end_layout
29885
29886 \end_inset
29887
29888
29889 \end_layout
29890
29891 \begin_layout Standard
29892 \begin_inset Note Greyedout
29893 status open
29894
29895 \begin_layout Standard
29896
29897 \series bold
29898 Note:
29899 \series default
29900  Due to a bug in the 
29901 \series bold
29902 listings
29903 \series default
29904  package the line numbering is shifted by a line by every previous listing.
29905  That's the reason why the lines 2 and 5 are numbered in the above listing
29906  and not the lines 3 and 6.
29907 \end_layout
29908
29909 \end_inset
29910
29911
29912 \end_layout
29913
29914 \begin_layout Standard
29915 \begin_inset VSpace bigskip
29916 \end_inset
29917
29918
29919 \end_layout
29920
29921 \begin_layout Standard
29922 It is also possible to print lines from a file as listing.
29923  To do this, use the menu 
29924 \family sans
29925 Insert\SpecialChar \menuseparator
29926 File\SpecialChar \menuseparator
29927 Child Document
29928 \family default
29929  and choose the type 
29930 \family sans
29931 Listings
29932 \family default
29933 .
29934 \begin_inset Foot
29935 status collapsed
29936
29937 \begin_layout Standard
29938 The other child document types are described in section\InsetSpace ~
29939
29940 \begin_inset LatexCommand ref
29941 reference "sec:Child-Documents"
29942
29943 \end_inset
29944
29945 .
29946 \end_layout
29947
29948 \end_inset
29949
29950  In the child document dialog you can specify the listing parameters in
29951  a text box.
29952  To show a list of all available parameters, type in a question mark 
29953 \begin_inset Quotes eld
29954 \end_inset
29955
29956 ?
29957 \begin_inset Quotes erd
29958 \end_inset
29959
29960  in the text box.
29961 \end_layout
29962
29963 \begin_layout Standard
29964 To reference child document listings, write a label text into the corresponding
29965  field of the child document dialog.
29966  The label can then be referenced using the menu 
29967 \family sans
29968 Insert\SpecialChar \menuseparator
29969 Cross-Reference
29970 \family default
29971 .
29972 \end_layout
29973
29974 \begin_layout Standard
29975 Listing\InsetSpace ~
29976
29977 \begin_inset LatexCommand ref
29978 reference "lst:file-listing"
29979
29980 \end_inset
29981
29982  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
29983 -\InsetSpace \thinspace{}
29984 15 of this LyX
29985  file are listed.
29986 \end_layout
29987
29988 \begin_layout Standard
29989 \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]
29990 preview false
29991
29992 \end_inset
29993
29994
29995 \end_layout
29996
29997 \begin_layout Standard
29998 \begin_inset VSpace bigskip
29999 \end_inset
30000
30001
30002 \end_layout
30003
30004 \begin_layout Standard
30005 Global listings settings can be set in the 
30006 \family sans
30007 Document\SpecialChar \menuseparator
30008 Settings\SpecialChar \menuseparator
30009 Text Layout
30010 \family default
30011  dialog.
30012  To get there a list of available options, type in a question mark 
30013 \begin_inset Quotes eld
30014 \end_inset
30015
30016 ?
30017 \begin_inset Quotes erd
30018 \end_inset
30019
30020  in the 
30021 \family sans
30022 Listings\InsetSpace ~
30023 settings
30024 \family default
30025  field.
30026 \end_layout
30027
30028 \begin_layout Standard
30029 For more information about the 
30030 \series bold
30031 listings
30032 \series default
30033  package, we refer to its documentation 
30034 \begin_inset LatexCommand cite
30035 key "listings"
30036
30037 \end_inset
30038
30039 .
30040 \end_layout
30041
30042 \begin_layout Standard
30043
30044 \newpage
30045
30046 \end_layout
30047
30048 \begin_layout Chapter
30049 \start_of_appendix
30050 Units available in LyX
30051 \begin_inset LatexCommand index
30052 name "Units"
30053
30054 \end_inset
30055
30056
30057 \begin_inset LatexCommand label
30058 name "cha:Units-available-in"
30059
30060 \end_inset
30061
30062
30063 \end_layout
30064
30065 \begin_layout Standard
30066 To understand the units described in this documentation, Table\InsetSpace ~
30067
30068 \begin_inset LatexCommand ref
30069 reference "tab:Units"
30070
30071 \end_inset
30072
30073  explains all units available in LyX.
30074 \end_layout
30075
30076 \begin_layout Standard
30077 \begin_inset Float table
30078 placement h
30079 wide false
30080 sideways false
30081 status open
30082
30083 \begin_layout Standard
30084 \begin_inset Caption
30085
30086 \begin_layout Standard
30087 \begin_inset LatexCommand label
30088 name "tab:Units"
30089
30090 \end_inset
30091
30092 Units
30093 \end_layout
30094
30095 \end_inset
30096
30097
30098 \end_layout
30099
30100 \begin_layout Standard
30101 \begin_inset VSpace medskip
30102 \end_inset
30103
30104
30105 \end_layout
30106
30107 \begin_layout Standard
30108 \align center
30109 \begin_inset Tabular
30110 <lyxtabular version="3" rows="20" columns="2">
30111 <features>
30112 <column alignment="center" valignment="top" leftline="true" width="0">
30113 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30114 <row topline="true" bottomline="true">
30115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30116 \begin_inset Text
30117
30118 \begin_layout Standard
30119 unit
30120 \end_layout
30121
30122 \end_inset
30123 </cell>
30124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30125 \begin_inset Text
30126
30127 \begin_layout Standard
30128 name/description
30129 \end_layout
30130
30131 \end_inset
30132 </cell>
30133 </row>
30134 <row topline="true">
30135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30136 \begin_inset Text
30137
30138 \begin_layout Standard
30139 mm
30140 \end_layout
30141
30142 \end_inset
30143 </cell>
30144 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30145 \begin_inset Text
30146
30147 \begin_layout Standard
30148 millimeter
30149 \end_layout
30150
30151 \end_inset
30152 </cell>
30153 </row>
30154 <row topline="true">
30155 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30156 \begin_inset Text
30157
30158 \begin_layout Standard
30159 cm
30160 \end_layout
30161
30162 \end_inset
30163 </cell>
30164 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30165 \begin_inset Text
30166
30167 \begin_layout Standard
30168 centimeter
30169 \end_layout
30170
30171 \end_inset
30172 </cell>
30173 </row>
30174 <row topline="true">
30175 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30176 \begin_inset Text
30177
30178 \begin_layout Standard
30179 in
30180 \end_layout
30181
30182 \end_inset
30183 </cell>
30184 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30185 \begin_inset Text
30186
30187 \begin_layout Standard
30188 inch
30189 \end_layout
30190
30191 \end_inset
30192 </cell>
30193 </row>
30194 <row topline="true">
30195 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30196 \begin_inset Text
30197
30198 \begin_layout Standard
30199 pt
30200 \end_layout
30201
30202 \end_inset
30203 </cell>
30204 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30205 \begin_inset Text
30206
30207 \begin_layout Standard
30208 point (72.27\InsetSpace \thinspace{}
30209 pt = 1\InsetSpace \thinspace{}
30210 in)
30211 \end_layout
30212
30213 \end_inset
30214 </cell>
30215 </row>
30216 <row topline="true">
30217 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30218 \begin_inset Text
30219
30220 \begin_layout Standard
30221 pc
30222 \end_layout
30223
30224 \end_inset
30225 </cell>
30226 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30227 \begin_inset Text
30228
30229 \begin_layout Standard
30230 pica (1\InsetSpace \thinspace{}
30231 pc = 12\InsetSpace \thinspace{}
30232 pt)
30233 \end_layout
30234
30235 \end_inset
30236 </cell>
30237 </row>
30238 <row topline="true">
30239 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30240 \begin_inset Text
30241
30242 \begin_layout Standard
30243 sp
30244 \end_layout
30245
30246 \end_inset
30247 </cell>
30248 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30249 \begin_inset Text
30250
30251 \begin_layout Standard
30252 scaled point (65536\InsetSpace \thinspace{}
30253 sp = 1\InsetSpace \thinspace{}
30254 pt)
30255 \end_layout
30256
30257 \end_inset
30258 </cell>
30259 </row>
30260 <row topline="true">
30261 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30262 \begin_inset Text
30263
30264 \begin_layout Standard
30265 bp
30266 \end_layout
30267
30268 \end_inset
30269 </cell>
30270 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30271 \begin_inset Text
30272
30273 \begin_layout Standard
30274 big point (72\InsetSpace \thinspace{}
30275 bp = 1\InsetSpace \thinspace{}
30276 in)
30277 \end_layout
30278
30279 \end_inset
30280 </cell>
30281 </row>
30282 <row topline="true">
30283 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30284 \begin_inset Text
30285
30286 \begin_layout Standard
30287 dd
30288 \end_layout
30289
30290 \end_inset
30291 </cell>
30292 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30293 \begin_inset Text
30294
30295 \begin_layout Standard
30296 didot (1\InsetSpace \thinspace{}
30297 dd 
30298 \begin_inset Formula $\approx$
30299 \end_inset
30300
30301  0.376\InsetSpace \thinspace{}
30302 mm)
30303 \end_layout
30304
30305 \end_inset
30306 </cell>
30307 </row>
30308 <row topline="true">
30309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30310 \begin_inset Text
30311
30312 \begin_layout Standard
30313 cc
30314 \end_layout
30315
30316 \end_inset
30317 </cell>
30318 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30319 \begin_inset Text
30320
30321 \begin_layout Standard
30322 cicero (1\InsetSpace \thinspace{}
30323 cc = 12\InsetSpace \thinspace{}
30324 dd)
30325 \end_layout
30326
30327 \end_inset
30328 </cell>
30329 </row>
30330 <row topline="true">
30331 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30332 \begin_inset Text
30333
30334 \begin_layout Standard
30335 Scale%
30336 \end_layout
30337
30338 \end_inset
30339 </cell>
30340 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30341 \begin_inset Text
30342
30343 \begin_layout Standard
30344 % of original image width
30345 \end_layout
30346
30347 \end_inset
30348 </cell>
30349 </row>
30350 <row topline="true">
30351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30352 \begin_inset Text
30353
30354 \begin_layout Standard
30355 text%
30356 \end_layout
30357
30358 \end_inset
30359 </cell>
30360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30361 \begin_inset Text
30362
30363 \begin_layout Standard
30364 % of text width
30365 \end_layout
30366
30367 \end_inset
30368 </cell>
30369 </row>
30370 <row topline="true">
30371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30372 \begin_inset Text
30373
30374 \begin_layout Standard
30375 col%
30376 \end_layout
30377
30378 \end_inset
30379 </cell>
30380 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30381 \begin_inset Text
30382
30383 \begin_layout Standard
30384 % of column width
30385 \end_layout
30386
30387 \end_inset
30388 </cell>
30389 </row>
30390 <row topline="true">
30391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30392 \begin_inset Text
30393
30394 \begin_layout Standard
30395 page%
30396 \end_layout
30397
30398 \end_inset
30399 </cell>
30400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30401 \begin_inset Text
30402
30403 \begin_layout Standard
30404 % of paper width
30405 \end_layout
30406
30407 \end_inset
30408 </cell>
30409 </row>
30410 <row topline="true">
30411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30412 \begin_inset Text
30413
30414 \begin_layout Standard
30415 line%
30416 \end_layout
30417
30418 \end_inset
30419 </cell>
30420 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30421 \begin_inset Text
30422
30423 \begin_layout Standard
30424 % of line width
30425 \end_layout
30426
30427 \end_inset
30428 </cell>
30429 </row>
30430 <row topline="true">
30431 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30432 \begin_inset Text
30433
30434 \begin_layout Standard
30435 theight%
30436 \end_layout
30437
30438 \end_inset
30439 </cell>
30440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30441 \begin_inset Text
30442
30443 \begin_layout Standard
30444 % of text height
30445 \end_layout
30446
30447 \end_inset
30448 </cell>
30449 </row>
30450 <row topline="true">
30451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30452 \begin_inset Text
30453
30454 \begin_layout Standard
30455 pheight%
30456 \end_layout
30457
30458 \end_inset
30459 </cell>
30460 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30461 \begin_inset Text
30462
30463 \begin_layout Standard
30464 % of paper height
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 ex
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 height of letter 
30485 \emph on
30486 x
30487 \emph default
30488  in current font
30489 \end_layout
30490
30491 \end_inset
30492 </cell>
30493 </row>
30494 <row topline="true">
30495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30496 \begin_inset Text
30497
30498 \begin_layout Standard
30499 em
30500 \end_layout
30501
30502 \end_inset
30503 </cell>
30504 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30505 \begin_inset Text
30506
30507 \begin_layout Standard
30508 width of letter 
30509 \emph on
30510 M
30511 \emph default
30512  in current font
30513 \end_layout
30514
30515 \end_inset
30516 </cell>
30517 </row>
30518 <row topline="true" bottomline="true">
30519 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30520 \begin_inset Text
30521
30522 \begin_layout Standard
30523 mu
30524 \end_layout
30525
30526 \end_inset
30527 </cell>
30528 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30529 \begin_inset Text
30530
30531 \begin_layout Standard
30532 math unit (1\InsetSpace \thinspace{}
30533 mu = 1/18\InsetSpace \thinspace{}
30534 em)
30535 \end_layout
30536
30537 \end_inset
30538 </cell>
30539 </row>
30540 </lyxtabular>
30541
30542 \end_inset
30543
30544
30545 \end_layout
30546
30547 \end_inset
30548
30549
30550 \end_layout
30551
30552 \begin_layout Chapter
30553 Output File Formats with Graphics
30554 \begin_inset LatexCommand label
30555 name "cha:Output-File-Formats"
30556
30557 \end_inset
30558
30559
30560 \end_layout
30561
30562 \begin_layout Section
30563 DVI
30564 \begin_inset LatexCommand index
30565 name "File Formats ! DVI"
30566
30567 \end_inset
30568
30569
30570 \begin_inset LatexCommand index
30571 name "DVI|see{File Formats}"
30572
30573 \end_inset
30574
30575
30576 \end_layout
30577
30578 \begin_layout Standard
30579 This file type has the extension 
30580 \begin_inset Quotes eld
30581 \end_inset
30582
30583
30584 \family typewriter
30585 .dvi
30586 \family default
30587
30588 \begin_inset Quotes erd
30589 \end_inset
30590
30591 .
30592  It is called 
30593 \begin_inset Quotes eld
30594 \end_inset
30595
30596 device-independent
30597 \begin_inset Quotes erd
30598 \end_inset
30599
30600  (DVI), because it is completely portable; you can move them from one machine
30601  to another without needing to do any sort of conversion.
30602  At the time when this file-format was developed, this was no matter of
30603  course.
30604  DVIs are used for quick previews and as pre-stage for other output formats,
30605  like PostScript.
30606 \end_layout
30607
30608 \begin_layout Standard
30609 \begin_inset Note Greyedout
30610 status open
30611
30612 \begin_layout Standard
30613
30614 \series bold
30615 Note:
30616 \series default
30617  DVI-files doesn't contain images, they will only be a linked.
30618 \end_layout
30619
30620 \end_inset
30621
30622  So don't forget this, if you move your 
30623 \family typewriter
30624 .dvi
30625 \family default
30626  file to another computer.
30627  This property can also slow down your computer when you view the DVI.
30628  Because the DVI-viewer has to convert the image in the background to make
30629  it visible when you scroll in the DVI.
30630  So we recommend to use PDF for files with many images.
30631 \end_layout
30632
30633 \begin_layout Standard
30634 You can export your document to DVI by using the menu 
30635 \family sans
30636 File\SpecialChar \menuseparator
30637 Export\SpecialChar \menuseparator
30638 DVI
30639 \family default
30640 .
30641  You can view your document as DVI via the 
30642 \family sans
30643 View
30644 \family default
30645  menu or by using the toolbar button 
30646 \begin_inset Graphics
30647         filename ../images/buffer-view_dvi.png
30648         scale 85
30649         scaleBeforeRotation
30650
30651 \end_inset
30652
30653 .
30654 \end_layout
30655
30656 \begin_layout Section
30657 PostScript
30658 \begin_inset LatexCommand label
30659 name "sec:PostScript"
30660
30661 \end_inset
30662
30663
30664 \begin_inset LatexCommand index
30665 name "File Formats ! PostScript"
30666
30667 \end_inset
30668
30669
30670 \begin_inset LatexCommand index
30671 name "PostScript|see{File Formats}"
30672
30673 \end_inset
30674
30675
30676 \end_layout
30677
30678 \begin_layout Standard
30679 This file type has the extension 
30680 \begin_inset Quotes eld
30681 \end_inset
30682
30683
30684 \family typewriter
30685 .ps
30686 \family default
30687
30688 \begin_inset Quotes erd
30689 \end_inset
30690
30691 .
30692  PostScript was developed by the company 
30693 \family typewriter
30694 Adobe
30695 \family default
30696  as printer language.
30697  The file contains therefore commands that the printer uses to print the
30698  file.
30699  PostScript can be seen as 
30700 \begin_inset Quotes eld
30701 \end_inset
30702
30703 programming language
30704 \begin_inset Quotes erd
30705 \end_inset
30706
30707 ; you can calculate with it and draw diagrams and images
30708 \begin_inset Foot
30709 status collapsed
30710
30711 \begin_layout Standard
30712 If you are interested to learn more about this, have a look at the LaTeX-package
30713  
30714 \series bold
30715 PSTricks
30716 \series default
30717  
30718 \begin_inset LatexCommand cite
30719 key "pstricks"
30720
30721 \end_inset
30722
30723 .
30724 \end_layout
30725
30726 \end_inset
30727
30728 .
30729  Due to this ability, the files are often bigger than PDFs.
30730 \end_layout
30731
30732 \begin_layout Standard
30733 PostScript can only contain images in the format 
30734 \begin_inset Quotes eld
30735 \end_inset
30736
30737 Encapsulated PostScript
30738 \begin_inset Quotes erd
30739 \end_inset
30740
30741  (EPS, file extension 
30742 \begin_inset Quotes eld
30743 \end_inset
30744
30745
30746 \family typewriter
30747 .eps
30748 \family default
30749
30750 \begin_inset Quotes erd
30751 \end_inset
30752
30753 ).
30754  As LyX allows you to use any known image format in your document, it has
30755  to convert images in the background to EPS.
30756  If you have e.g 50 images in your document, LyX has to do 50 conversions
30757  whenever you view or export your document.
30758  This will slow down your work flow with LyX drastically.
30759  So if you plan to use PostScript, you can insert your images directly as
30760  EPS to avoid this problem.
30761 \end_layout
30762
30763 \begin_layout Standard
30764 You can export your document to PostScript using the menu 
30765 \family sans
30766 File\SpecialChar \menuseparator
30767 Export\SpecialChar \menuseparator
30768 Postscript
30769 \family default
30770 .
30771  You can view your document as PostScript via the 
30772 \family sans
30773 View
30774 \family default
30775  menu or by using the toolbar button 
30776 \begin_inset Graphics
30777         filename ../images/buffer-view_ps.png
30778         scale 85
30779         scaleBeforeRotation
30780
30781 \end_inset
30782
30783 .
30784 \end_layout
30785
30786 \begin_layout Section
30787 PDF
30788 \begin_inset LatexCommand label
30789 name "sec:PDF"
30790
30791 \end_inset
30792
30793
30794 \begin_inset LatexCommand index
30795 name "File Formats ! PDF"
30796
30797 \end_inset
30798
30799
30800 \begin_inset LatexCommand index
30801 name "PDF"
30802
30803 \end_inset
30804
30805
30806 \end_layout
30807
30808 \begin_layout Standard
30809 This file type has the extension 
30810 \begin_inset Quotes eld
30811 \end_inset
30812
30813
30814 \family typewriter
30815 .pdf
30816 \family default
30817
30818 \begin_inset Quotes erd
30819 \end_inset
30820
30821 .
30822  The 
30823 \begin_inset Quotes eld
30824 \end_inset
30825
30826 Portable Document Format
30827 \begin_inset Quotes erd
30828 \end_inset
30829
30830  (PDF) is developed by 
30831 \family typewriter
30832 Adobe
30833 \family default
30834  as derivative from PostScript.
30835  It is more compressed and it uses much less commands than PostScript.
30836  As the name 
30837 \begin_inset Quotes eld
30838 \end_inset
30839
30840 portable
30841 \begin_inset Quotes erd
30842 \end_inset
30843
30844  implies, it can be processed at any computer system and the printed output
30845  looks exactly the same.
30846 \end_layout
30847
30848 \begin_layout Standard
30849 PDF can contain images in its own PDF format, in the format 
30850 \begin_inset Quotes eld
30851 \end_inset
30852
30853 Joint Photographic Experts Group
30854 \begin_inset Quotes erd
30855 \end_inset
30856
30857  (JPG, file extension 
30858 \begin_inset Quotes eld
30859 \end_inset
30860
30861
30862 \family typewriter
30863 .jpg
30864 \family default
30865
30866 \begin_inset Quotes erd
30867 \end_inset
30868
30869  or 
30870 \begin_inset Quotes eld
30871 \end_inset
30872
30873
30874 \family typewriter
30875 .jpeg
30876 \family default
30877
30878 \begin_inset Quotes erd
30879 \end_inset
30880
30881 ), and in the format 
30882 \begin_inset Quotes eld
30883 \end_inset
30884
30885 Portable Network Graphics
30886 \begin_inset Quotes erd
30887 \end_inset
30888
30889  (PNG, file extension 
30890 \begin_inset Quotes eld
30891 \end_inset
30892
30893
30894 \family typewriter
30895 .png
30896 \family default
30897
30898 \begin_inset Quotes erd
30899 \end_inset
30900
30901 ).
30902  Nevertheless you can use any other image format, because LyX converts them
30903  in the background to one of these formats.
30904  But as described in the section about PostScript, the image conversion
30905  will slow down your work flow.
30906  So it is recommended to use images in one of the three mentioned formats.
30907 \end_layout
30908
30909 \begin_layout Standard
30910 You can export your document to PDF via the menu 
30911 \family sans
30912 File\SpecialChar \menuseparator
30913 Export
30914 \family default
30915  in three different ways:
30916 \end_layout
30917
30918 \begin_layout Description
30919 PDF\InsetSpace ~
30920 (ps2pdf) This uses the program 
30921 \family typewriter
30922 ps2pdf
30923 \family default
30924  that creates a PDF from a PostScript-version of your file.
30925  The PostScript-version is produced by the program 
30926 \family typewriter
30927 dvips
30928 \family default
30929  which uses a DVI-version as intermediate step.
30930  So this export variant consist of three conversions.
30931 \end_layout
30932
30933 \begin_layout Description
30934 PDF\InsetSpace ~
30935 (dvipdfm) This uses the program 
30936 \family typewriter
30937 dvipdfm
30938 \family default
30939  that converts your file in the background to DVI and in a second step to
30940  PDF.
30941 \end_layout
30942
30943 \begin_layout Description
30944 PDF\InsetSpace ~
30945 (pdflatex) This uses the program 
30946 \family typewriter
30947 pdftex
30948 \family default
30949  that converts your file directly to PDF.
30950 \end_layout
30951
30952 \begin_layout Standard
30953 It is recommended to use 
30954 \family sans
30955 PDF\InsetSpace ~
30956 (pdflatex)
30957 \family default
30958  because 
30959 \family typewriter
30960 pdftex
30961 \family default
30962  supports all features of actual PDF-versions, is quick and works stable
30963  without problems.
30964  The program 
30965 \family typewriter
30966 dvipdfm
30967 \family default
30968  is not under development and therefore a bit outdated.
30969 \end_layout
30970
30971 \begin_layout Standard
30972 You can view your document as PDF via the 
30973 \family sans
30974 View
30975 \family default
30976  menu or by using the toolbar button 
30977 \begin_inset Graphics
30978         filename ../images/buffer-view_pdf2.png
30979         scale 85
30980         scaleBeforeRotation
30981
30982 \end_inset
30983
30984  
30985 \family sans
30986 (
30987 \family default
30988 that uses 
30989 \family sans
30990 PDF\InsetSpace ~
30991 (pdflatex)
30992 \family default
30993 ).
30994 \end_layout
30995
30996 \begin_layout Chapter
30997 Explanation of Equation\InsetSpace ~
30998
30999 \begin_inset LatexCommand eqref
31000 reference "eq:Wgn"
31001
31002 \end_inset
31003
31004
31005 \begin_inset LatexCommand label
31006 name "cha:Explanation-of-Equation"
31007
31008 \end_inset
31009
31010
31011 \end_layout
31012
31013 \begin_layout Standard
31014 The total width of 
31015 \emph on
31016 n
31017 \emph default
31018  table cells 
31019 \begin_inset Formula $W_{\mathrm{tot\, n}}$
31020 \end_inset
31021
31022  can be calculated to
31023 \end_layout
31024
31025 \begin_layout Standard
31026 \begin_inset Formula \begin{equation}
31027 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}
31028
31029 \end_inset
31030
31031
31032 \end_layout
31033
31034 \begin_layout Standard
31035 Where 
31036 \begin_inset Formula $W_{g\, n}$
31037 \end_inset
31038
31039  is the given width of all cells.
31040  
31041 \series bold
31042
31043 \backslash
31044 tabcolsep
31045 \series default
31046  is the LaTeX-length between the cell text and the cell border, its default
31047  value is 6\InsetSpace \thinspace{}
31048 pt.
31049  
31050 \series bold
31051
31052 \backslash
31053 arrayrulewidth
31054 \series default
31055  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31056 pt.
31057 \end_layout
31058
31059 \begin_layout Standard
31060 Following equation\InsetSpace ~
31061
31062 \begin_inset LatexCommand eqref
31063 reference "eq:Wtot_n"
31064
31065 \end_inset
31066
31067 , the total width of a multicolumn 
31068 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31069 \end_inset
31070
31071  is
31072 \end_layout
31073
31074 \begin_layout Standard
31075 \begin_inset Formula \begin{equation}
31076 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31077
31078 \end_inset
31079
31080
31081 \end_layout
31082
31083 \begin_layout Standard
31084 By setting equation\InsetSpace ~
31085
31086 \begin_inset LatexCommand eqref
31087 reference "eq:Wtot_n"
31088
31089 \end_inset
31090
31091  and 
31092 \begin_inset LatexCommand eqref
31093 reference "eq:Wtot_mult"
31094
31095 \end_inset
31096
31097  equal we can calculate the needed given width 
31098 \begin_inset Formula $W_{g\, n}$
31099 \end_inset
31100
31101  when 
31102 \emph on
31103 n
31104 \emph default
31105  columns are spanned, so that each column has a total width of 
31106 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31107 \end_inset
31108
31109 :
31110 \end_layout
31111
31112 \begin_layout Standard
31113 \begin_inset Formula \begin{equation}
31114 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31115
31116 \end_inset
31117
31118
31119 \end_layout
31120
31121 \begin_layout Bibliography
31122 \begin_inset LatexCommand bibitem
31123 key "latexcompanion"
31124
31125 \end_inset
31126
31127 Frank Mittelbach and Michel Goossens: 
31128 \emph on
31129 The LaTeX Companion Second Edition.
31130
31131 \emph default
31132  Addison-Wesley, 2004
31133 \end_layout
31134
31135 \begin_layout Bibliography
31136 \begin_inset LatexCommand bibitem
31137 key "latexguide"
31138
31139 \end_inset
31140
31141 Helmut Kopka and Patrick W.
31142  Daly: 
31143 \emph on
31144 A Guide to LaTeX Fourth Edition.
31145
31146 \emph default
31147  Addison-Wesley, 2003
31148 \end_layout
31149
31150 \begin_layout Bibliography
31151 \begin_inset LatexCommand bibitem
31152 key "latexbook"
31153
31154 \end_inset
31155
31156 Leslie Lamport: 
31157 \emph on
31158 LaTeX: A Document Preparation System.
31159
31160 \emph default
31161  Addison-Wesley, second edition, 1994
31162 \end_layout
31163
31164 \begin_layout Bibliography
31165 \begin_inset LatexCommand bibitem
31166 key "booktabs"
31167
31168 \end_inset
31169
31170
31171 \begin_inset ERT
31172 status collapsed
31173
31174 \begin_layout Standard
31175
31176
31177 \backslash
31178 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31179 {
31180 \end_layout
31181
31182 \end_inset
31183
31184 Documentation
31185 \begin_inset ERT
31186 status collapsed
31187
31188 \begin_layout Standard
31189
31190 }
31191 \end_layout
31192
31193 \end_inset
31194
31195  of the LaTeX-package 
31196 \series bold
31197 booktabs
31198 \series default
31199
31200 \begin_inset LatexCommand index
31201 name "LaTeX-packages ! booktabs"
31202
31203 \end_inset
31204
31205
31206 \end_layout
31207
31208 \begin_layout Bibliography
31209 \begin_inset LatexCommand bibitem
31210 key "caption"
31211
31212 \end_inset
31213
31214
31215 \begin_inset ERT
31216 status collapsed
31217
31218 \begin_layout Standard
31219
31220
31221 \backslash
31222 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31223 \end_layout
31224
31225 \end_inset
31226
31227 Documentation
31228 \begin_inset ERT
31229 status collapsed
31230
31231 \begin_layout Standard
31232
31233 }
31234 \end_layout
31235
31236 \end_inset
31237
31238  of the LaTeX-package 
31239 \series bold
31240 caption
31241 \series default
31242
31243 \begin_inset LatexCommand index
31244 name "LaTeX-packages ! caption"
31245
31246 \end_inset
31247
31248
31249 \end_layout
31250
31251 \begin_layout Bibliography
31252 \begin_inset LatexCommand bibitem
31253 key "caption-de"
31254
31255 \end_inset
31256
31257 German 
31258 \begin_inset ERT
31259 status collapsed
31260
31261 \begin_layout Standard
31262
31263
31264 \backslash
31265 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31266 {
31267 \end_layout
31268
31269 \end_inset
31270
31271 documentation
31272 \begin_inset ERT
31273 status collapsed
31274
31275 \begin_layout Standard
31276
31277 }
31278 \end_layout
31279
31280 \end_inset
31281
31282  of the LaTeX-package 
31283 \series bold
31284 caption
31285 \end_layout
31286
31287 \begin_layout Bibliography
31288 \begin_inset LatexCommand bibitem
31289 key "endfloat"
31290
31291 \end_inset
31292
31293
31294 \begin_inset ERT
31295 status collapsed
31296
31297 \begin_layout Standard
31298
31299
31300 \backslash
31301 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31302 {
31303 \end_layout
31304
31305 \end_inset
31306
31307 Documentation
31308 \begin_inset ERT
31309 status collapsed
31310
31311 \begin_layout Standard
31312
31313 }
31314 \end_layout
31315
31316 \end_inset
31317
31318  of the LaTeX-package 
31319 \series bold
31320 endf\SpecialChar \textcompwordmark{}
31321 loat
31322 \series default
31323
31324 \begin_inset LatexCommand index
31325 name "LaTeX-packages ! endfloat"
31326
31327 \end_inset
31328
31329
31330 \end_layout
31331
31332 \begin_layout Bibliography
31333 \begin_inset LatexCommand bibitem
31334 key "floatflt"
31335
31336 \end_inset
31337
31338
31339 \begin_inset ERT
31340 status collapsed
31341
31342 \begin_layout Standard
31343
31344
31345 \backslash
31346 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/floatflt/floatflt.pdf}
31347 {
31348 \end_layout
31349
31350 \end_inset
31351
31352 Documentation
31353 \begin_inset ERT
31354 status collapsed
31355
31356 \begin_layout Standard
31357
31358 }
31359 \end_layout
31360
31361 \end_inset
31362
31363  of the LaTeX-package 
31364 \series bold
31365 f\SpecialChar \textcompwordmark{}
31366 loatf\SpecialChar \textcompwordmark{}
31367 lt
31368 \series default
31369
31370 \begin_inset LatexCommand index
31371 name "LaTeX-packages ! floatflt"
31372
31373 \end_inset
31374
31375
31376 \end_layout
31377
31378 \begin_layout Bibliography
31379 \begin_inset LatexCommand bibitem
31380 key "footmisc"
31381
31382 \end_inset
31383
31384
31385 \begin_inset ERT
31386 status collapsed
31387
31388 \begin_layout Standard
31389
31390
31391 \backslash
31392 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31393 {
31394 \end_layout
31395
31396 \end_inset
31397
31398 Documentation
31399 \begin_inset ERT
31400 status collapsed
31401
31402 \begin_layout Standard
31403
31404 }
31405 \end_layout
31406
31407 \end_inset
31408
31409  of the LaTeX-package 
31410 \series bold
31411 footmisc
31412 \series default
31413
31414 \begin_inset LatexCommand index
31415 name "LaTeX-packages ! footmisc"
31416
31417 \end_inset
31418
31419
31420 \end_layout
31421
31422 \begin_layout Bibliography
31423 \begin_inset LatexCommand bibitem
31424 key "hypcap"
31425
31426 \end_inset
31427
31428
31429 \begin_inset ERT
31430 status collapsed
31431
31432 \begin_layout Standard
31433
31434
31435 \backslash
31436 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
31437 \end_layout
31438
31439 \end_inset
31440
31441 Documentation
31442 \begin_inset ERT
31443 status collapsed
31444
31445 \begin_layout Standard
31446
31447 }
31448 \end_layout
31449
31450 \end_inset
31451
31452  of the LaTeX-package 
31453 \series bold
31454 hypcap
31455 \series default
31456
31457 \begin_inset LatexCommand index
31458 name "LaTeX-packages ! hyperref"
31459
31460 \end_inset
31461
31462
31463 \end_layout
31464
31465 \begin_layout Bibliography
31466 \begin_inset LatexCommand bibitem
31467 key "hyperref"
31468
31469 \end_inset
31470
31471
31472 \begin_inset ERT
31473 status collapsed
31474
31475 \begin_layout Standard
31476
31477
31478 \backslash
31479 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31480 {
31481 \end_layout
31482
31483 \end_inset
31484
31485 Documentation
31486 \begin_inset ERT
31487 status collapsed
31488
31489 \begin_layout Standard
31490
31491 }
31492 \end_layout
31493
31494 \end_inset
31495
31496  of the LaTeX-package 
31497 \series bold
31498 hyperref
31499 \series default
31500
31501 \begin_inset LatexCommand index
31502 name "LaTeX-packages ! hyperref"
31503
31504 \end_inset
31505
31506
31507 \end_layout
31508
31509 \begin_layout Bibliography
31510 \begin_inset LatexCommand bibitem
31511 key "koma-script"
31512
31513 \end_inset
31514
31515
31516 \begin_inset ERT
31517 status collapsed
31518
31519 \begin_layout Standard
31520
31521
31522 \backslash
31523 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31524 df}{
31525 \end_layout
31526
31527 \end_inset
31528
31529 Documentation
31530 \begin_inset ERT
31531 status collapsed
31532
31533 \begin_layout Standard
31534
31535 }
31536 \end_layout
31537
31538 \end_inset
31539
31540  of the LaTeX-package 
31541 \series bold
31542 koma-script
31543 \series default
31544
31545 \begin_inset LatexCommand index
31546 name "LaTeX-packages ! koma-script"
31547
31548 \end_inset
31549
31550
31551 \end_layout
31552
31553 \begin_layout Bibliography
31554 \begin_inset LatexCommand bibitem
31555 key "koma-script-de"
31556
31557 \end_inset
31558
31559 German 
31560 \begin_inset ERT
31561 status collapsed
31562
31563 \begin_layout Standard
31564
31565
31566 \backslash
31567 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguide.p
31568 df}{
31569 \end_layout
31570
31571 \end_inset
31572
31573 documentation
31574 \begin_inset ERT
31575 status collapsed
31576
31577 \begin_layout Standard
31578
31579 }
31580 \end_layout
31581
31582 \end_inset
31583
31584  of the LaTeX-package 
31585 \series bold
31586 koma-script
31587 \series default
31588
31589 \begin_inset LatexCommand index
31590 name "LaTeX-packages ! koma-script"
31591
31592 \end_inset
31593
31594
31595 \end_layout
31596
31597 \begin_layout Bibliography
31598 \begin_inset LatexCommand bibitem
31599 key "listings"
31600
31601 \end_inset
31602
31603
31604 \begin_inset ERT
31605 status collapsed
31606
31607 \begin_layout Standard
31608
31609
31610 \backslash
31611 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31612 {
31613 \end_layout
31614
31615 \end_inset
31616
31617 Documentation
31618 \begin_inset ERT
31619 status collapsed
31620
31621 \begin_layout Standard
31622
31623 }
31624 \end_layout
31625
31626 \end_inset
31627
31628  of the LaTeX-package 
31629 \series bold
31630 listings
31631 \series default
31632
31633 \begin_inset LatexCommand index
31634 name "LaTeX-packages ! listings"
31635
31636 \end_inset
31637
31638
31639 \end_layout
31640
31641 \begin_layout Bibliography
31642 \begin_inset LatexCommand bibitem
31643 key "marginnote"
31644
31645 \end_inset
31646
31647
31648 \begin_inset ERT
31649 status collapsed
31650
31651 \begin_layout Standard
31652
31653
31654 \backslash
31655 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31656 pdf}{
31657 \end_layout
31658
31659 \end_inset
31660
31661 Documentation
31662 \begin_inset ERT
31663 status collapsed
31664
31665 \begin_layout Standard
31666
31667 }
31668 \end_layout
31669
31670 \end_inset
31671
31672  of the LaTeX-package 
31673 \series bold
31674 marginnote
31675 \series default
31676
31677 \begin_inset LatexCommand index
31678 name "LaTeX-packages ! marginnote"
31679
31680 \end_inset
31681
31682
31683 \end_layout
31684
31685 \begin_layout Bibliography
31686 \begin_inset LatexCommand bibitem
31687 key "pstricks"
31688
31689 \end_inset
31690
31691
31692 \begin_inset ERT
31693 status collapsed
31694
31695 \begin_layout Standard
31696
31697
31698 \backslash
31699 href{http://tug.org/PSTricks/main.cgi/}{
31700 \end_layout
31701
31702 \end_inset
31703
31704 Web page
31705 \begin_inset ERT
31706 status collapsed
31707
31708 \begin_layout Standard
31709
31710 }
31711 \end_layout
31712
31713 \end_inset
31714
31715  of the LaTeX-package 
31716 \series bold
31717 PSTricks
31718 \series default
31719
31720 \begin_inset LatexCommand index
31721 name "LaTeX-packages ! PSTricks"
31722
31723 \end_inset
31724
31725
31726 \end_layout
31727
31728 \begin_layout Bibliography
31729 \begin_inset LatexCommand bibitem
31730 key "sidecap"
31731
31732 \end_inset
31733
31734
31735 \begin_inset ERT
31736 status collapsed
31737
31738 \begin_layout Standard
31739
31740
31741 \backslash
31742 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/sidecap/sidecap.pdf}{
31743 \end_layout
31744
31745 \end_inset
31746
31747 Documentation
31748 \begin_inset ERT
31749 status collapsed
31750
31751 \begin_layout Standard
31752
31753 }
31754 \end_layout
31755
31756 \end_inset
31757
31758  of the LaTeX-package 
31759 \series bold
31760 sidecap
31761 \series default
31762
31763 \begin_inset LatexCommand index
31764 name "LaTeX-packages ! sidecap"
31765
31766 \end_inset
31767
31768
31769 \end_layout
31770
31771 \begin_layout Bibliography
31772 \begin_inset LatexCommand bibitem
31773 key "NewInLyX15"
31774
31775 \end_inset
31776
31777
31778 \begin_inset ERT
31779 status collapsed
31780
31781 \begin_layout Standard
31782
31783
31784 \backslash
31785 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31786 \end_layout
31787
31788 \end_inset
31789
31790 Wiki page
31791 \begin_inset ERT
31792 status collapsed
31793
31794 \begin_layout Standard
31795
31796 }
31797 \end_layout
31798
31799 \end_inset
31800
31801  about new features in 
31802 \family sans
31803 LyX 1.5.0
31804 \family default
31805 .
31806 \end_layout
31807
31808 \begin_layout Standard
31809 \begin_inset LatexCommand printindex
31810
31811 \end_inset
31812
31813
31814 \end_layout
31815
31816 \begin_layout Standard
31817 \begin_inset FloatList figure
31818
31819 \end_inset
31820
31821
31822 \end_layout
31823
31824 \begin_layout Standard
31825 \begin_inset FloatList table
31826
31827 \end_inset
31828
31829
31830 \end_layout
31831
31832 \begin_layout Standard
31833 \begin_inset ERT
31834 status collapsed
31835
31836 \begin_layout Standard
31837
31838
31839 \backslash
31840 listof{Xalgorithm}{List of Algorithms}
31841 \end_layout
31842
31843 \end_inset
31844
31845
31846 \begin_inset Note Note
31847 status collapsed
31848
31849 \begin_layout Standard
31850 see section\InsetSpace ~
31851
31852 \begin_inset LatexCommand ref
31853 reference "sub:Algorithm-Floats"
31854
31855 \end_inset
31856
31857  for a description
31858 \end_layout
31859
31860 \end_inset
31861
31862
31863 \end_layout
31864
31865 \end_body
31866 \end_document