]> git.lyx.org Git - lyx.git/blob - lib/doc/EmbeddedObjects.lyx
397b53b4e67512439df248951bbda3cf5324cff1
[lyx.git] / lib / doc / EmbeddedObjects.lyx
1 #LyX 1.5.5svn 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 % check for package sidecap
176 % used for captions on the side
177 \newboolean{sidecap}
178 \IfFileExists{sidecap.sty}
179  {\usepackage{sidecap}
180   \let\marginpar\marginnote
181   \setboolean{sidecap}{true}}
182  {\setboolean{sidecap}{false}}
183
184 % redefine the \LyX macro for PDF bookmarks
185 \def\LyX{\texorpdfstring{%
186   L\kern-.1667em\lower.25em\hbox{Y}\kern-.125emX\@}
187   {LyX }}
188 \end_preamble
189 \options fleqn,liststotoc,bibtotoc,idxtotoc,BCOR7.5mm,titlepage,tablecaptionabove
190 \language english
191 \inputencoding auto
192 \font_roman default
193 \font_sans default
194 \font_typewriter default
195 \font_default_family default
196 \font_sc false
197 \font_osf false
198 \font_sf_scale 100
199 \font_tt_scale 100
200 \graphics default
201 \paperfontsize 12
202 \spacing single
203 \papersize default
204 \use_geometry false
205 \use_amsmath 2
206 \use_esint 0
207 \cite_engine basic
208 \use_bibtopic false
209 \paperorientation portrait
210 \secnumdepth 3
211 \tocdepth 3
212 \paragraph_separation skip
213 \defskip medskip
214 \quotes_language english
215 \papercolumns 1
216 \papersides 2
217 \paperpagestyle default
218 \bullet 1 1 34 -1
219 \bullet 2 2 35 -1
220 \bullet 3 2 7 -1
221 \tracking_changes false
222 \output_changes false
223 \author "" 
224 \author "" 
225 \end_header
226
227 \begin_body
228
229 \begin_layout Title
230 LyX's detailed Figure, Table, Floats, Notes, Boxes and External Material
231  manual
232 \end_layout
233
234 \begin_layout Author
235 by the LyX Team
236 \begin_inset Foot
237 status collapsed
238
239 \begin_layout Standard
240 \noindent
241 If you have comments or error corrections, please send them to the LyX Documenta
242 tion mailing list: 
243 \family typewriter
244
245 \begin_inset ERT
246 status open
247
248 \begin_layout Standard
249
250
251 \backslash
252 href{mailto:lyx-docs@lists.lyx.org?subject=LyX's ExtendedInsets manual}{
253 \end_layout
254
255 \end_inset
256
257 lyx-docs@lists.lyx.org
258 \begin_inset ERT
259 status collapsed
260
261 \begin_layout Standard
262
263 }
264 \end_layout
265
266 \end_inset
267
268
269 \end_layout
270
271 \end_inset
272
273
274 \begin_inset Note Note
275 status collapsed
276
277 \begin_layout Standard
278 author: Uwe Stöhr
279 \end_layout
280
281 \end_inset
282
283
284 \newline
285
286 \newline
287
288 \family sans
289 Version 1.6svn
290 \end_layout
291
292 \begin_layout Standard
293 \begin_inset LatexCommand tableofcontents
294
295 \end_inset
296
297
298 \end_layout
299
300 \begin_layout Standard
301 \begin_inset Note Note
302 status open
303
304 \begin_layout Standard
305 To export all parts of this document to PDF, PS, or DVI the LaTeX-packages
306  
307 \series bold
308 arydshln
309 \series default
310
311 \series bold
312 colortbl
313 \series default
314
315 \series bold
316 marginnote
317 \series default
318 , and 
319 \series bold
320 sidecap
321 \series default
322  must be installed.
323  If they are not installed you can export the document anyway but the sections
324  where the packages are required won't appear in the output.
325 \end_layout
326
327 \begin_layout Standard
328 The latest PDF-version of this document can be found here:
329 \newline
330
331 \series bold
332 http://wiki.lyx.org/LyX/DocumentationDevelopment#EmbeddedObjects
333 \end_layout
334
335 \end_inset
336
337
338 \end_layout
339
340 \begin_layout Chapter
341 Figures
342 \begin_inset LatexCommand label
343 name "cha:Figures"
344
345 \end_inset
346
347
348 \begin_inset LatexCommand index
349 name "Figures"
350
351 \end_inset
352
353
354 \begin_inset LatexCommand index
355 name "Graphics|see{Figures}"
356
357 \end_inset
358
359
360 \end_layout
361
362 \begin_layout Section
363 Graphics Dialog
364 \begin_inset LatexCommand index
365 name "Figures ! Graphics Dialog"
366
367 \end_inset
368
369
370 \begin_inset LatexCommand label
371 name "sec:Graphics-Dialog"
372
373 \end_inset
374
375
376 \end_layout
377
378 \begin_layout Standard
379 To insert an image into your document, place the cursor at the text position
380  you want and click on the toolbar icon 
381 \begin_inset Graphics
382         filename ../images/dialog-show-new-inset_graphics.png
383         scale 85
384         scaleBeforeRotation
385
386 \end_inset
387
388  or use the menu 
389 \family sans
390 Insert\SpecialChar \menuseparator
391 Graphics
392 \family default
393 .
394  Then a dialog will appear to choose the file to load.
395  The image will appear in the output exactly at the position where it is
396  in the text.
397 \end_layout
398
399 \begin_layout Standard
400 The graphics dialog can be called at any time by right-clicking on an image.
401  This dialog has three tabs:
402 \end_layout
403
404 \begin_layout Description
405
406 \family sans
407 Graphics
408 \family default
409  Here you can choose an image file and adjust its appearance in the output.
410  The available units for the image size are explained in appendix\InsetSpace ~
411
412 \begin_inset LatexCommand ref
413 reference "cha:Units-available-in"
414
415 \end_inset
416
417 .
418 \newline
419
420 \begin_inset LatexCommand index
421 name "Figures ! rotated"
422
423 \end_inset
424
425 You can rotate images counter-clockwise by setting a rotation angle and
426  a rotation origin.
427  The image will also be rotated inside LyX.
428 \newline
429
430 \begin_inset LatexCommand index
431 name "Figures ! scaled"
432
433 \end_inset
434
435 Images can be scaled by using a percentage value or by setting the width
436  and height explicitly.
437  If you set only the width or only the height, the other size will be determined
438  automatically.
439  If you set both, then the image will be transformed to the given size,
440  possibly distorting it.
441  To prevent the image from distortion, use the option 
442 \family sans
443 Maintain aspect ratio
444 \family default
445 .
446  The image will then be scaled so that its width and height don't exceed
447  the specified dimensions.
448 \newline
449 Images can be opened in a program of your choice
450  when pressing the 
451 \family sans
452 Edit
453 \family default
454  button.
455  The program can be set for every image format in the file format settings
456  in LyX's preferences.
457 \end_layout
458
459 \begin_layout Description
460
461 \family sans
462 Clipping
463 \family default
464  Alternatively to the usage of scaling units it is possible to set image
465  coordinates to adjust the height and width of the image in the output.
466  The coordinates can also be calculated automatically by pressing the button
467  
468 \family sans
469 Get\InsetSpace ~
470 from\InsetSpace ~
471 File
472 \family default
473 .
474  The option 
475 \family sans
476 Clip\InsetSpace ~
477 to\InsetSpace ~
478 bounding\InsetSpace ~
479 box
480 \family default
481  will only print the image region within the given coordinates.
482  Normally you don't need to take care about image coordinates and can ignore
483  this tab.
484 \end_layout
485
486 \begin_layout Description
487
488 \family sans
489 Extra\InsetSpace ~
490 options
491 \family default
492  In this tab you can modify the appearance of the image within LyX and set
493  the image to be a subfigure of a figure float with an own caption.
494  Subfigures are explained in section\InsetSpace ~
495
496 \begin_inset LatexCommand ref
497 reference "sec:Figure-Floats"
498
499 \end_inset
500
501 .
502 \newline
503  LaTeX experts can also specify on this tab additional LaTeX options.
504 \newline
505  The
506  option 
507 \family sans
508 Draft\InsetSpace ~
509 mode
510 \family default
511  makes the image appear in the output only as a frame with the size of the
512  image.
513 \newline
514 The 
515 \family sans
516 Don't\InsetSpace ~
517 unzip\InsetSpace ~
518 on\InsetSpace ~
519 export
520 \family default
521  option only affects zipped EPS-graphics, e.\InsetSpace \thinspace{}
522 g.\InsetSpace ~
523
524 \emph on
525 x.eps.gz
526 \emph default
527 .
528  When the option is used the images will not be unzipped on export, since
529  LaTeX can handle them as they are.
530 \newline
531 Zipped EPS-graphics are useful to save
532  disk space when you choose PostScript as output format, see appendix\InsetSpace ~
533
534 \begin_inset LatexCommand ref
535 reference "sec:PostScript"
536
537 \end_inset
538
539 .
540  To zip EPS-graphics, use the following commands in a UNIX-shell or a Windows
541  console:
542 \newline
543
544 \series bold
545 gzip x.eps
546 \series default
547
548 \newline
549
550 \series bold
551 zgrep %%Bounding x.eps.gz > x.eps.bb
552 \series default
553
554 \newline
555 The second command creates the bounding box file 
556 \begin_inset Quotes eld
557 \end_inset
558
559 x.eps.bb
560 \begin_inset Quotes erd
561 \end_inset
562
563  that is needed by LaTeX for zipped graphics.
564 \end_layout
565
566 \begin_layout Standard
567 \begin_inset VSpace bigskip
568 \end_inset
569
570
571 \end_layout
572
573 \begin_layout Standard
574 This is an example image in EPS format
575 \begin_inset Foot
576 status collapsed
577
578 \begin_layout Standard
579 Image formats are explained in section\InsetSpace ~
580
581 \begin_inset LatexCommand ref
582 reference "sec:Image-Formats"
583
584 \end_inset
585
586 .
587 \end_layout
588
589 \end_inset
590
591  within a separate, horizontally centered paragraph:
592 \end_layout
593
594 \begin_layout Standard
595 \align center
596 \begin_inset Graphics
597         filename clipart/mobius.eps
598         display color
599         scale 70
600         scaleBeforeRotation
601         rotateOrigin center
602
603 \end_inset
604
605
606 \end_layout
607
608 \begin_layout Standard
609 This is the same image like the one above but in draft mode:
610 \end_layout
611
612 \begin_layout Standard
613 \align center
614 \begin_inset Graphics
615         filename clipart/mobius.eps
616         display color
617         scale 70
618         draft
619         scaleBeforeRotation
620         rotateOrigin center
621
622 \end_inset
623
624
625 \end_layout
626
627 \begin_layout Section
628 Figure Floats
629 \begin_inset LatexCommand label
630 name "sec:Figure-Floats"
631
632 \end_inset
633
634
635 \begin_inset LatexCommand index
636 name "Floats ! Figures"
637
638 \end_inset
639
640
641 \begin_inset LatexCommand index
642 name "Figures ! Floats"
643
644 \end_inset
645
646
647 \end_layout
648
649 \begin_layout Standard
650 For general explanations about floats, have a look at section\InsetSpace ~
651
652 \begin_inset LatexCommand ref
653 reference "sec:FloatIntroduction"
654
655 \end_inset
656
657 .
658 \end_layout
659
660 \begin_layout Standard
661 The toolbar button 
662 \begin_inset Graphics
663         filename ../images/float-insert_figure.png
664         scale 85
665         scaleBeforeRotation
666
667 \end_inset
668
669  and the menu 
670 \family sans
671 Insert\SpecialChar \menuseparator
672 Float\SpecialChar \menuseparator
673 Figure
674 \family default
675  inserts a float with a caption that has the label 
676 \begin_inset Quotes eld
677 \end_inset
678
679 Figure\InsetSpace ~
680 #:
681 \begin_inset Quotes erd
682 \end_inset
683
684  (# is the actual number).
685  You can insert the image above the caption, like in Figure\InsetSpace ~
686
687 \begin_inset LatexCommand ref
688 reference "fig:kill-plat"
689
690 \end_inset
691
692  or below the caption, like in Figure\InsetSpace ~
693
694 \begin_inset LatexCommand ref
695 reference "fig:escher"
696
697 \end_inset
698
699 .
700  More about the caption placement is described in section\InsetSpace ~
701
702 \begin_inset LatexCommand ref
703 reference "sec:Caption-Placement"
704
705 \end_inset
706
707 .
708 \end_layout
709
710 \begin_layout Standard
711 \begin_inset Float figure
712 wide false
713 sideways false
714 status open
715
716 \begin_layout Standard
717 \align center
718 \begin_inset Graphics
719         filename clipart/platypus.eps
720         display color
721         width 50col%
722         scaleBeforeRotation
723         rotateOrigin center
724
725 \end_inset
726
727
728 \end_layout
729
730 \begin_layout Standard
731 \begin_inset Caption
732
733 \begin_layout Standard
734 \begin_inset LatexCommand label
735 name "fig:kill-plat"
736
737 \end_inset
738
739 A severely distorted platypus in a float.
740 \end_layout
741
742 \end_inset
743
744
745 \end_layout
746
747 \end_inset
748
749
750 \end_layout
751
752 \begin_layout Standard
753 \begin_inset Float figure
754 wide false
755 sideways false
756 status open
757
758 \begin_layout Standard
759 \begin_inset Caption
760
761 \begin_layout Standard
762 \begin_inset LatexCommand label
763 name "fig:escher"
764
765 \end_inset
766
767 M.C.
768  Escher on acid.
769 \end_layout
770
771 \end_inset
772
773
774 \end_layout
775
776 \begin_layout Standard
777 \align center
778 \begin_inset Graphics
779         filename clipart/escher-lsd.eps
780         display color
781         scale 80
782         scaleBeforeRotation
783         rotateOrigin center
784
785 \end_inset
786
787
788 \end_layout
789
790 \end_inset
791
792
793 \end_layout
794
795 \begin_layout Standard
796 \begin_inset LatexCommand index
797 name "References ! to Figures"
798
799 \end_inset
800
801 Figure\InsetSpace ~
802
803 \begin_inset LatexCommand ref
804 reference "fig:kill-plat"
805
806 \end_inset
807
808  and 
809 \begin_inset LatexCommand ref
810 reference "fig:escher"
811
812 \end_inset
813
814  are examples of referenced figures.
815  Figures can be referenced in the text by referencing their label.
816  To do this insert a label in the caption using the menu 
817 \family sans
818 Insert\SpecialChar \menuseparator
819 Label
820 \family default
821  or the toolbar button 
822 \begin_inset Graphics
823         filename ../images/label-insert.png
824         scale 85
825         scaleBeforeRotation
826
827 \end_inset
828
829 .
830  You can now refer to the label using the menu 
831 \family sans
832 Insert\SpecialChar \menuseparator
833 Cross\InsetSpace ~
834 reference
835 \family default
836  or the toolbar button 
837 \begin_inset Graphics
838         filename ../images/dialog-show-new-inset_ref.png
839         scale 85
840         scaleBeforeRotation
841
842 \end_inset
843
844 .
845  It is important to use references to floats, rather than using vague references
846  like 
847 \begin_inset Quotes eld
848 \end_inset
849
850 the figure above
851 \begin_inset Quotes erd
852 \end_inset
853
854 , because as LaTeX will reposition the floats in the final document, it
855  might not be 
856 \begin_inset Quotes eld
857 \end_inset
858
859 above
860 \begin_inset Quotes erd
861 \end_inset
862
863  at all.
864 \newline
865 Referencing is explained in detail in section\InsetSpace ~
866
867 \begin_inset LatexCommand ref
868 reference "sec:Referencing-Floats"
869
870 \end_inset
871
872 .
873 \end_layout
874
875 \begin_layout Standard
876 Normally only one image is inserted to a figure float, but sometimes you
877  might want to use two images with separate subcaptions.
878  This can be set in the tab 
879 \family sans
880 Extra\InsetSpace ~
881 options
882 \family default
883  of the graphics dialog.
884  Choose there the option 
885 \family sans
886 Subfigure
887 \family default
888  and enter the subcaption for the image in the caption field.
889  Note that only the main caption of the float is added to the List of Figures.
890 \newline
891 Ref
892 erencing subfigures is explained in section\InsetSpace ~
893
894 \begin_inset LatexCommand ref
895 reference "sub:Referencing-Subfigures"
896
897 \end_inset
898
899 .
900 \end_layout
901
902 \begin_layout Standard
903 Figure\InsetSpace ~
904
905 \begin_inset LatexCommand ref
906 reference "fig:Two-distorted-images"
907
908 \end_inset
909
910  is an example of a figure float with two images set side by side.
911  You can also set the images one below the other.
912 \end_layout
913
914 \begin_layout Standard
915 \begin_inset Float figure
916 wide false
917 sideways false
918 status open
919
920 \begin_layout Standard
921
922 \hfill
923
924 \begin_inset Graphics
925         filename clipart/escher-lsd.eps
926         width 45col%
927         scaleBeforeRotation
928         subcaption
929         subcaptionText "Undefinable structure"
930
931 \end_inset
932
933
934 \hfill
935
936 \begin_inset Graphics
937         filename clipart/platypus.eps
938         lyxscale 60
939         width 45col%
940         scaleBeforeRotation
941         subcaption
942         subcaptionText "\label{fig:Platypus} Platypus"
943
944 \end_inset
945
946
947 \hfill
948
949 \end_layout
950
951 \begin_layout Standard
952 \begin_inset Caption
953
954 \begin_layout Standard
955 \begin_inset LatexCommand label
956 name "fig:Two-distorted-images"
957
958 \end_inset
959
960 Two distorted images.
961 \end_layout
962
963 \end_inset
964
965
966 \end_layout
967
968 \end_inset
969
970
971 \end_layout
972
973 \begin_layout Section
974 Image Formats
975 \begin_inset LatexCommand label
976 name "sec:Image-Formats"
977
978 \end_inset
979
980
981 \begin_inset LatexCommand index
982 name "Image Formats"
983
984 \end_inset
985
986
987 \begin_inset LatexCommand index
988 name "Figures ! Image Formats"
989
990 \end_inset
991
992
993 \end_layout
994
995 \begin_layout Standard
996 You can insert images in any known file format.
997  But as explained in appendix\InsetSpace ~
998
999 \begin_inset LatexCommand ref
1000 reference "cha:Output-File-Formats"
1001
1002 \end_inset
1003
1004 , every output document format allows only a few image formats.
1005  LyX uses therefore the program 
1006 \family typewriter
1007 Imagemagick
1008 \family default
1009  in the background to convert the images to the right format.
1010  To increase your work flow by avoiding these conversions in the background,
1011  you can use only the image formats that can directly be embedded in the
1012  output file format.
1013  The output file formats are explained in appendix\InsetSpace ~
1014
1015 \begin_inset LatexCommand ref
1016 reference "cha:Output-File-Formats"
1017
1018 \end_inset
1019
1020 .
1021 \end_layout
1022
1023 \begin_layout Standard
1024 Similar to fonts there are two types of image formats:
1025 \end_layout
1026
1027 \begin_layout Description
1028 Bitmap\InsetSpace ~
1029 images consist of pixel values, often in a compressed form.
1030  They are therefore not fully scalable and look pixeled in large zooms.
1031  Well-known bitmap image formats are 
1032 \begin_inset Quotes eld
1033 \end_inset
1034
1035 Graphics Interchange Format
1036 \begin_inset Quotes erd
1037 \end_inset
1038
1039  (GIF, file extension 
1040 \begin_inset Quotes eld
1041 \end_inset
1042
1043
1044 \family typewriter
1045 .gif
1046 \family default
1047
1048 \begin_inset Quotes erd
1049 \end_inset
1050
1051 )
1052 \begin_inset LatexCommand index
1053 name "GIF|see{Image formats}"
1054
1055 \end_inset
1056
1057
1058 \begin_inset Quotes eld
1059 \end_inset
1060
1061 Portable Network Graphics
1062 \begin_inset Quotes erd
1063 \end_inset
1064
1065  (PNG, file extension 
1066 \begin_inset Quotes eld
1067 \end_inset
1068
1069
1070 \family typewriter
1071 .png
1072 \family default
1073
1074 \begin_inset Quotes erd
1075 \end_inset
1076
1077 )
1078 \begin_inset LatexCommand index
1079 name "PNG|see{Image formats}"
1080
1081 \end_inset
1082
1083 , and 
1084 \begin_inset Quotes eld
1085 \end_inset
1086
1087 Joint Photographic Experts Group
1088 \begin_inset Quotes erd
1089 \end_inset
1090
1091  (JPG, file extension 
1092 \begin_inset Quotes eld
1093 \end_inset
1094
1095
1096 \family typewriter
1097 .jpg
1098 \family default
1099
1100 \begin_inset Quotes erd
1101 \end_inset
1102
1103  or 
1104 \begin_inset Quotes eld
1105 \end_inset
1106
1107
1108 \family typewriter
1109 .jpeg
1110 \family default
1111
1112 \begin_inset Quotes erd
1113 \end_inset
1114
1115 )
1116 \begin_inset LatexCommand index
1117 name "JPG|see{Image formats}"
1118
1119 \end_inset
1120
1121 .
1122 \end_layout
1123
1124 \begin_layout Description
1125 Vector\InsetSpace ~
1126 images consist of vectors and can therefore be scaled to any size
1127  without data loss.
1128  The scaling ability is necessary if you want to create presentations, because
1129  presentations are always scaled by the video projector.
1130  Scaling is also useful for online documents to let the user zoom into diagrams.
1131 \newline
1132 W
1133 ell-known scalable image formats are 
1134 \begin_inset Quotes eld
1135 \end_inset
1136
1137 Scalable Vector Graphics
1138 \begin_inset Quotes erd
1139 \end_inset
1140
1141  (SVG, file extension 
1142 \begin_inset Quotes eld
1143 \end_inset
1144
1145
1146 \family typewriter
1147 .svg
1148 \family default
1149
1150 \begin_inset Quotes erd
1151 \end_inset
1152
1153 )
1154 \begin_inset LatexCommand index
1155 name "SVG|see{Image formats}"
1156
1157 \end_inset
1158
1159
1160 \begin_inset Quotes eld
1161 \end_inset
1162
1163 Encapsulated PostScript
1164 \begin_inset Quotes erd
1165 \end_inset
1166
1167  (EPS, file extension 
1168 \begin_inset Quotes eld
1169 \end_inset
1170
1171
1172 \family typewriter
1173 .eps
1174 \family default
1175
1176 \begin_inset Quotes erd
1177 \end_inset
1178
1179 )
1180 \begin_inset LatexCommand index
1181 name "EPS|see{Image formats}"
1182
1183 \end_inset
1184
1185
1186 \begin_inset Quotes eld
1187 \end_inset
1188
1189 Portable Document Format
1190 \begin_inset Quotes erd
1191 \end_inset
1192
1193  (PDF, file extension 
1194 \begin_inset Quotes eld
1195 \end_inset
1196
1197
1198 \family typewriter
1199 .pdf
1200 \family default
1201
1202 \begin_inset Quotes erd
1203 \end_inset
1204
1205 )
1206 \begin_inset LatexCommand index
1207 name "PDF"
1208
1209 \end_inset
1210
1211 , and 
1212 \begin_inset Quotes eld
1213 \end_inset
1214
1215 Windows Metafile
1216 \begin_inset Quotes erd
1217 \end_inset
1218
1219  (WMF, file extension 
1220 \begin_inset Quotes eld
1221 \end_inset
1222
1223
1224 \family typewriter
1225 .wmf
1226 \family default
1227
1228 \begin_inset Quotes erd
1229 \end_inset
1230
1231 )
1232 \begin_inset LatexCommand index
1233 name "SVG|see{Image formats}"
1234
1235 \end_inset
1236
1237 .
1238  We wrote 
1239 \begin_inset Quotes eld
1240 \end_inset
1241
1242 can be
1243 \begin_inset Quotes erd
1244 \end_inset
1245
1246 , because you can convert any bitmap image to a PDF or EPS-image and the
1247  result will still be a bitmap image.
1248  In this cases only a header with the image properties is added to the original
1249  image
1250 \begin_inset Foot
1251 status open
1252
1253 \begin_layout Standard
1254 In the case of PDF, the original image is additionally compressed.
1255 \end_layout
1256
1257 \end_inset
1258
1259 .
1260  The PDF-files generated by 
1261 \family typewriter
1262 Adobe Photoshop
1263 \family default
1264  are for example bitmap images.
1265 \end_layout
1266
1267 \begin_layout Standard
1268 Normally it is not possible to convert a bitmap image into a scalable one,
1269  only vice versa.
1270  Only the image formats PDF and EPS can directly be embedded to PDF and
1271  PostScript output files, respectively.
1272  SVG and WMF-images are recalculated to bitmaps when the output file is
1273  generated because there is currently no adequate WMF/SVG
1274 \begin_inset Formula $\to$
1275 \end_inset
1276
1277 PDF/EPS converter available.
1278 \end_layout
1279
1280 \begin_layout Chapter
1281 Tables
1282 \begin_inset LatexCommand label
1283 name "cha:Tables"
1284
1285 \end_inset
1286
1287
1288 \begin_inset LatexCommand index
1289 name "Table"
1290
1291 \end_inset
1292
1293
1294 \end_layout
1295
1296 \begin_layout Section
1297 Introduction
1298 \begin_inset LatexCommand index
1299 name "Table ! Introduction"
1300
1301 \end_inset
1302
1303
1304 \end_layout
1305
1306 \begin_layout Standard
1307 You can insert a table using either the toolbar button 
1308 \begin_inset Graphics
1309         filename ../images/tabular-insert.png
1310         scale 85
1311         scaleBeforeRotation
1312
1313 \end_inset
1314
1315  or the menu 
1316 \family sans
1317 Insert\SpecialChar \menuseparator
1318 Table
1319 \family default
1320 .
1321  The toolbar button offers you a graphical selection: Move the mouse to
1322  set the column/row number of the table that should be created and then
1323  press a mouse button.
1324  When you use the menu to create a table, a dialog will appear, asking you
1325  for the number of rows and columns.
1326 \newline
1327  The default table has lines around any
1328  cell and the first row appears separated from the rest of the table.
1329  This separation occurs due to a double line: The cells of the first row
1330  have a line below them and the cells of the second row have a line above
1331  them.
1332  Here is an example table:
1333 \end_layout
1334
1335 \begin_layout Standard
1336 \align center
1337 \begin_inset Tabular
1338 <lyxtabular version="3" rows="4" columns="4">
1339 <features>
1340 <column alignment="center" valignment="top" leftline="true" width="0">
1341 <column alignment="center" valignment="top" leftline="true" width="0">
1342 <column alignment="center" valignment="top" leftline="true" width="0">
1343 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
1344 <row topline="true" bottomline="true">
1345 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1346 \begin_inset Text
1347
1348 \begin_layout Standard
1349
1350 \end_layout
1351
1352 \end_inset
1353 </cell>
1354 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1355 \begin_inset Text
1356
1357 \begin_layout Standard
1358
1359 \family roman
1360 \series medium
1361 \shape up
1362 \size normal
1363 \emph off
1364 \bar no
1365 \noun off
1366 \color none
1367 1
1368 \end_layout
1369
1370 \end_inset
1371 </cell>
1372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1373 \begin_inset Text
1374
1375 \begin_layout Standard
1376 2
1377 \end_layout
1378
1379 \end_inset
1380 </cell>
1381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1382 \begin_inset Text
1383
1384 \begin_layout Standard
1385 3
1386 \end_layout
1387
1388 \end_inset
1389 </cell>
1390 </row>
1391 <row topline="true">
1392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1393 \begin_inset Text
1394
1395 \begin_layout Standard
1396
1397 \family roman
1398 \series medium
1399 \shape up
1400 \size normal
1401 \emph off
1402 \bar no
1403 \noun off
1404 \color none
1405 A
1406 \end_layout
1407
1408 \end_inset
1409 </cell>
1410 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1411 \begin_inset Text
1412
1413 \begin_layout Standard
1414
1415 \end_layout
1416
1417 \end_inset
1418 </cell>
1419 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1420 \begin_inset Text
1421
1422 \begin_layout Standard
1423
1424 \end_layout
1425
1426 \end_inset
1427 </cell>
1428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1429 \begin_inset Text
1430
1431 \begin_layout Standard
1432
1433 \end_layout
1434
1435 \end_inset
1436 </cell>
1437 </row>
1438 <row topline="true">
1439 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1440 \begin_inset Text
1441
1442 \begin_layout Standard
1443
1444 \family roman
1445 \series medium
1446 \shape up
1447 \size normal
1448 \emph off
1449 \bar no
1450 \noun off
1451 \color none
1452 B
1453 \end_layout
1454
1455 \end_inset
1456 </cell>
1457 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1458 \begin_inset Text
1459
1460 \begin_layout Standard
1461
1462 \end_layout
1463
1464 \end_inset
1465 </cell>
1466 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1467 \begin_inset Text
1468
1469 \begin_layout Standard
1470
1471 \end_layout
1472
1473 \end_inset
1474 </cell>
1475 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1476 \begin_inset Text
1477
1478 \begin_layout Standard
1479
1480 \end_layout
1481
1482 \end_inset
1483 </cell>
1484 </row>
1485 <row topline="true" bottomline="true">
1486 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1487 \begin_inset Text
1488
1489 \begin_layout Standard
1490
1491 \family roman
1492 \series medium
1493 \shape up
1494 \size normal
1495 \emph off
1496 \bar no
1497 \noun off
1498 \color none
1499 C
1500 \end_layout
1501
1502 \end_inset
1503 </cell>
1504 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1505 \begin_inset Text
1506
1507 \begin_layout Standard
1508
1509 \end_layout
1510
1511 \end_inset
1512 </cell>
1513 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
1514 \begin_inset Text
1515
1516 \begin_layout Standard
1517
1518 \end_layout
1519
1520 \end_inset
1521 </cell>
1522 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
1523 \begin_inset Text
1524
1525 \begin_layout Standard
1526
1527 \end_layout
1528
1529 \end_inset
1530 </cell>
1531 </row>
1532 </lyxtabular>
1533
1534 \end_inset
1535
1536
1537 \end_layout
1538
1539 \begin_layout Section
1540 Table Dialog
1541 \begin_inset LatexCommand index
1542 name "Table ! Dialog"
1543
1544 \end_inset
1545
1546
1547 \end_layout
1548
1549 \begin_layout Standard
1550 You can alter a table by clicking on it with the right mouse button, which
1551  brings up the table dialog.
1552  Here you can adjust the settings of that cell and row/column respectively
1553  where the cursor is currently placed.
1554  Most of the dialog options also work on selections.
1555  This means if you select more cells, columns or rows, the action is done
1556  for the whole selection.
1557  Note that there is a difference between selecting the 
1558 \emph on
1559 contents
1560 \emph default
1561  of the cell, and the cell itself.
1562  You can alter tables with the following tabs of the table dialog:
1563 \end_layout
1564
1565 \begin_layout Description
1566
1567 \family sans
1568 Table\InsetSpace ~
1569 Settings
1570 \family default
1571  Here you can set the horizontal alignment and the width of the current
1572  column.
1573  When you have set a width you can also adjust the vertical alignment of
1574  the current row.
1575  A given width will allow the cell to have line breaks and multiple paragraphs
1576  of text, see section\InsetSpace ~
1577
1578 \begin_inset LatexCommand ref
1579 reference "sub:Multiple-Lines-in"
1580
1581 \end_inset
1582
1583 .
1584  If you set no width, the column is as wide as their widest cell content
1585  is.
1586 \newline
1587 Furthermore, you can mark one or multiple cells of one row as a multicolumn
1588  cell, see section\InsetSpace ~
1589
1590 \begin_inset LatexCommand ref
1591 reference "sub:Multicolumns"
1592
1593 \end_inset
1594
1595 .
1596 \newline
1597 The rotate check boxes rotates the current cell, a selection, or the whole
1598  table counter-clockwise by 90°.
1599  The rotation is not shown within LyX, only in the output.
1600 \newline
1601
1602 \begin_inset Note Greyedout
1603 status open
1604
1605 \begin_layout Standard
1606
1607 \series bold
1608 Note:
1609 \series default
1610  Not all DVI-viewers are able to display rotations.
1611 \end_layout
1612
1613 \end_inset
1614
1615
1616 \newline
1617 It is also possible to enter a LaTeX-argument which is needed for special
1618  table formattings, see section\InsetSpace ~
1619
1620 \begin_inset LatexCommand ref
1621 reference "sub:Multicolumn-Calculations"
1622
1623 \end_inset
1624
1625  and 
1626 \begin_inset LatexCommand ref
1627 reference "sec:Colored-Tables"
1628
1629 \end_inset
1630
1631 .
1632 \end_layout
1633
1634 \begin_layout Description
1635
1636 \family sans
1637 Borders
1638 \family default
1639  In this tab you can add and delete border lines for the current row/column.
1640 \newline
1641 Using
1642  the style option 
1643 \family sans
1644 Formal
1645 \family default
1646  will convert the table to a formal table as described in section\InsetSpace ~
1647
1648 \begin_inset LatexCommand ref
1649 reference "sec:Formal-Tables"
1650
1651 \end_inset
1652
1653 .
1654 \newline
1655 You can also add here space to table rows as decribed in section\InsetSpace ~
1656
1657 \begin_inset LatexCommand ref
1658 reference "sub:Row-Spacing"
1659
1660 \end_inset
1661
1662 .
1663 \end_layout
1664
1665 \begin_layout Description
1666
1667 \family sans
1668 Longtable
1669 \family default
1670  This tab is to make a table a so called 
1671 \begin_inset Quotes eld
1672 \end_inset
1673
1674
1675 \emph on
1676 longtable
1677 \emph default
1678
1679 \begin_inset Quotes erd
1680 \end_inset
1681
1682  that can run over several pages.
1683  Section\InsetSpace ~
1684
1685 \begin_inset LatexCommand ref
1686 reference "sec:Longtables"
1687
1688 \end_inset
1689
1690  and 
1691 \begin_inset LatexCommand ref
1692 reference "sec:Special-Longtable-Issues"
1693
1694 \end_inset
1695
1696  describe the longtable features in detail.
1697 \end_layout
1698
1699 \begin_layout Standard
1700 When the table toolbar is opened, you can move the cursor with the arrow
1701  keys from cell to cell and the property of the current cell will immediately
1702  be displayed in the dialog.
1703 \end_layout
1704
1705 \begin_layout Section
1706 Table Toolbar
1707 \begin_inset LatexCommand index
1708 name "Table ! Toolbar"
1709
1710 \end_inset
1711
1712
1713 \end_layout
1714
1715 \begin_layout Standard
1716 The table toolbar is an alternative to the table dialog to be able to alter
1717  tables faster.
1718  It should normally appear at the bottom of LyX's main window when the cursor
1719  is inside a table.
1720  You can alternatively switch it on to appear always, by right-clicking
1721  in LyX's main menu bar.
1722 \end_layout
1723
1724 \begin_layout Standard
1725 The toolbar has the following icons:
1726 \end_layout
1727
1728 \begin_layout Labeling
1729 \labelwidthstring 00.00.0000
1730 \begin_inset Graphics
1731         filename ../images/tabular-feature_append-row.png
1732         scaleBeforeRotation
1733
1734 \end_inset
1735
1736  adds a row below the current cell or selection
1737 \end_layout
1738
1739 \begin_layout Labeling
1740 \labelwidthstring 00.00.0000
1741 \begin_inset Graphics
1742         filename ../images/tabular-feature_append-column.png
1743         scaleBeforeRotation
1744
1745 \end_inset
1746
1747  adds a column right beside the current cell or selection
1748 \end_layout
1749
1750 \begin_layout Labeling
1751 \labelwidthstring 00.00.0000
1752 \begin_inset Graphics
1753         filename ../images/tabular-feature_delete-row.png
1754         scaleBeforeRotation
1755
1756 \end_inset
1757
1758  deletes the current row or selection
1759 \end_layout
1760
1761 \begin_layout Labeling
1762 \labelwidthstring 00.00.0000
1763 \begin_inset Graphics
1764         filename ../images/tabular-feature_delete-column.png
1765         scaleBeforeRotation
1766
1767 \end_inset
1768
1769  deletes the current column or selection
1770 \end_layout
1771
1772 \begin_layout Labeling
1773 \labelwidthstring 00.00.0000
1774 \begin_inset Graphics
1775         filename ../images/tabular-feature_toggle-line-top.png
1776         scaleBeforeRotation
1777
1778 \end_inset
1779
1780  adds a line at the top of the current cell / row or of a selection
1781 \end_layout
1782
1783 \begin_layout Labeling
1784 \labelwidthstring 00.00.0000
1785 \begin_inset Graphics
1786         filename ../images/tabular-feature_toggle-line-bottom.png
1787         scaleBeforeRotation
1788
1789 \end_inset
1790
1791  adds a line at the bottom of the current cell / row or of a selection
1792 \end_layout
1793
1794 \begin_layout Labeling
1795 \labelwidthstring 00.00.0000
1796 \begin_inset Graphics
1797         filename ../images/tabular-feature_toggle-line-left.png
1798         scaleBeforeRotation
1799
1800 \end_inset
1801
1802  adds a line at the left side of the current cell / row or of a selection
1803 \end_layout
1804
1805 \begin_layout Labeling
1806 \labelwidthstring 00.00.0000
1807 \begin_inset Graphics
1808         filename ../images/tabular-feature_toggle-line-right.png
1809         scaleBeforeRotation
1810
1811 \end_inset
1812
1813  adds a line at the right side of the current cell / row or of a selection
1814 \end_layout
1815
1816 \begin_layout Labeling
1817 \labelwidthstring 00.00.0000
1818 \begin_inset Graphics
1819         filename ../images/tabular-feature_set-all-lines.png
1820         scaleBeforeRotation
1821
1822 \end_inset
1823
1824  adds lines around the current or selected cells - if the current cell no
1825  multicolumn this also affects the current row and column
1826 \end_layout
1827
1828 \begin_layout Labeling
1829 \labelwidthstring 00.00.0000
1830 \begin_inset Graphics
1831         filename ../images/tabular-feature_unset-all-lines.png
1832         scaleBeforeRotation
1833
1834 \end_inset
1835
1836  deletes all lines of the current or selected cells - if the current cell
1837  no multicolumn this also affects the current row and column
1838 \end_layout
1839
1840 \begin_layout Labeling
1841 \labelwidthstring 00.00.0000
1842 \begin_inset Graphics
1843         filename ../images/tabular-feature_align-left.png
1844         scaleBeforeRotation
1845
1846 \end_inset
1847
1848  left-aligns the content of the current cell / column
1849 \end_layout
1850
1851 \begin_layout Labeling
1852 \labelwidthstring 00.00.0000
1853 \begin_inset Graphics
1854         filename ../images/tabular-feature_align-center.png
1855         scaleBeforeRotation
1856
1857 \end_inset
1858
1859  centers the content of the current cell / column horizontally
1860 \end_layout
1861
1862 \begin_layout Labeling
1863 \labelwidthstring 00.00.0000
1864 \begin_inset Graphics
1865         filename ../images/tabular-feature_align-right.png
1866         scaleBeforeRotation
1867
1868 \end_inset
1869
1870  right-aligns the content of the current cell / column
1871 \end_layout
1872
1873 \begin_layout Labeling
1874 \labelwidthstring 00.00.0000
1875 \begin_inset Graphics
1876         filename ../images/tabular-feature_valign-top.png
1877         scaleBeforeRotation
1878
1879 \end_inset
1880
1881  aligns the content of the current cell vertically to the top
1882 \end_layout
1883
1884 \begin_layout Labeling
1885 \labelwidthstring 00.00.0000
1886 \begin_inset Graphics
1887         filename ../images/tabular-feature_valign-middle.png
1888         scaleBeforeRotation
1889
1890 \end_inset
1891
1892  centers the content of the current cell vertically
1893 \end_layout
1894
1895 \begin_layout Labeling
1896 \labelwidthstring 00.00.0000
1897 \begin_inset Graphics
1898         filename ../images/tabular-feature_valign-bottom.png
1899         scaleBeforeRotation
1900
1901 \end_inset
1902
1903  aligns the content of the current cell vertically to the bottom
1904 \end_layout
1905
1906 \begin_layout Labeling
1907 \labelwidthstring 00.00.0000
1908 \begin_inset Graphics
1909         filename ../images/tabular-feature_set-rotate-cell.png
1910         scaleBeforeRotation
1911
1912 \end_inset
1913
1914  rotates the current cell or selection counter-clockwise by 90°
1915 \end_layout
1916
1917 \begin_layout Labeling
1918 \labelwidthstring 00.00.0000
1919 \begin_inset Graphics
1920         filename ../images/tabular-feature_set-rotate-tabular.png
1921         scaleBeforeRotation
1922
1923 \end_inset
1924
1925  rotates the whole table counter-clockwise by 90°
1926 \end_layout
1927
1928 \begin_layout Labeling
1929 \labelwidthstring 00.00.0000
1930 \begin_inset Graphics
1931         filename ../images/tabular-feature_multicolumn.png
1932         scaleBeforeRotation
1933
1934 \end_inset
1935
1936  sets the current cell or selection as a multicolumn
1937 \end_layout
1938
1939 \begin_layout Standard
1940 \begin_inset Note Greyedout
1941 status open
1942
1943 \begin_layout Standard
1944
1945 \series bold
1946 Note:
1947 \series default
1948  For the output the vertical alignment of the first cell in a row is used
1949  for all following cells in the row.
1950 \end_layout
1951
1952 \end_inset
1953
1954
1955 \end_layout
1956
1957 \begin_layout Section
1958 Edit Table Menu
1959 \begin_inset LatexCommand index
1960 name "Table ! Edit Menu"
1961
1962 \end_inset
1963
1964
1965 \end_layout
1966
1967 \begin_layout Standard
1968 Additionally to the table dialog and toolbar, the menu 
1969 \family sans
1970 Edit\SpecialChar \menuseparator
1971 Table
1972 \family default
1973  allows you to add and delete border lines for the current row/column and
1974  to set the current selection as multicolumn.
1975  The menu is only available when the cursor is inside a table.
1976 \end_layout
1977
1978 \begin_layout Section
1979 Table Floats
1980 \begin_inset LatexCommand label
1981 name "sec:Table-Floats"
1982
1983 \end_inset
1984
1985
1986 \begin_inset LatexCommand index
1987 name "Floats ! Tables"
1988
1989 \end_inset
1990
1991
1992 \begin_inset LatexCommand index
1993 name "Table ! Floats"
1994
1995 \end_inset
1996
1997
1998 \end_layout
1999
2000 \begin_layout Standard
2001 For general explanations about floats, have a look at section\InsetSpace ~
2002
2003 \begin_inset LatexCommand ref
2004 reference "sec:FloatIntroduction"
2005
2006 \end_inset
2007
2008 .
2009 \end_layout
2010
2011 \begin_layout Standard
2012 \begin_inset Float table
2013 placement h
2014 wide false
2015 sideways false
2016 status open
2017
2018 \begin_layout Standard
2019 \begin_inset Caption
2020
2021 \begin_layout Standard
2022 \begin_inset LatexCommand label
2023 name "tab:a table float"
2024
2025 \end_inset
2026
2027 A table float.
2028 \end_layout
2029
2030 \end_inset
2031
2032
2033 \end_layout
2034
2035 \begin_layout Standard
2036 \align center
2037 \begin_inset Tabular
2038 <lyxtabular version="3" rows="3" columns="3">
2039 <features>
2040 <column alignment="center" valignment="top" leftline="true" width="0pt">
2041 <column alignment="center" valignment="top" leftline="true" width="0pt">
2042 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
2043 <row topline="true" bottomline="true">
2044 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2045 \begin_inset Text
2046
2047 \begin_layout Standard
2048
2049 \family roman
2050 \series medium
2051 \shape up
2052 \size normal
2053 \emph off
2054 \bar no
2055 \noun off
2056 \color none
2057 1
2058 \end_layout
2059
2060 \end_inset
2061 </cell>
2062 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2063 \begin_inset Text
2064
2065 \begin_layout Standard
2066
2067 \family roman
2068 \series medium
2069 \shape up
2070 \size normal
2071 \emph off
2072 \bar no
2073 \noun off
2074 \color none
2075 2
2076 \end_layout
2077
2078 \end_inset
2079 </cell>
2080 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2081 \begin_inset Text
2082
2083 \begin_layout Standard
2084
2085 \family roman
2086 \series medium
2087 \shape up
2088 \size normal
2089 \emph off
2090 \bar no
2091 \noun off
2092 \color none
2093 3
2094 \end_layout
2095
2096 \end_inset
2097 </cell>
2098 </row>
2099 <row topline="true">
2100 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2101 \begin_inset Text
2102
2103 \begin_layout Standard
2104
2105 \family roman
2106 \series medium
2107 \shape up
2108 \size normal
2109 \emph off
2110 \bar no
2111 \noun off
2112 \color none
2113 Joe
2114 \end_layout
2115
2116 \end_inset
2117 </cell>
2118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2119 \begin_inset Text
2120
2121 \begin_layout Standard
2122
2123 \family roman
2124 \series medium
2125 \shape up
2126 \size normal
2127 \emph off
2128 \bar no
2129 \noun off
2130 \color none
2131 Mary
2132 \end_layout
2133
2134 \end_inset
2135 </cell>
2136 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2137 \begin_inset Text
2138
2139 \begin_layout Standard
2140
2141 \family roman
2142 \series medium
2143 \shape up
2144 \size normal
2145 \emph off
2146 \bar no
2147 \noun off
2148 \color none
2149 Ted
2150 \end_layout
2151
2152 \end_inset
2153 </cell>
2154 </row>
2155 <row topline="true" bottomline="true">
2156 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2157 \begin_inset Text
2158
2159 \begin_layout Standard
2160
2161 \family roman
2162 \series medium
2163 \shape up
2164 \size normal
2165 \emph off
2166 \bar no
2167 \noun off
2168 \color none
2169 \begin_inset Formula $\int x^{2}dx$
2170 \end_inset
2171
2172
2173 \end_layout
2174
2175 \end_inset
2176 </cell>
2177 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
2178 \begin_inset Text
2179
2180 \begin_layout Standard
2181
2182 \family roman
2183 \series medium
2184 \shape up
2185 \size normal
2186 \emph off
2187 \bar no
2188 \noun off
2189 \color none
2190 \begin_inset Formula $\left[\begin{array}{cc}
2191 a & b\\
2192 c & d\end{array}\right]$
2193 \end_inset
2194
2195
2196 \end_layout
2197
2198 \end_inset
2199 </cell>
2200 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2201 \begin_inset Text
2202
2203 \begin_layout Standard
2204
2205 \family roman
2206 \series medium
2207 \shape up
2208 \size normal
2209 \emph off
2210 \bar no
2211 \noun off
2212 \color none
2213 \begin_inset Formula $1+1=2$
2214 \end_inset
2215
2216
2217 \end_layout
2218
2219 \end_inset
2220 </cell>
2221 </row>
2222 </lyxtabular>
2223
2224 \end_inset
2225
2226
2227 \end_layout
2228
2229 \end_inset
2230
2231
2232 \end_layout
2233
2234 \begin_layout Standard
2235 Table floats can be inserted using the menu 
2236 \family sans
2237 Insert\SpecialChar \menuseparator
2238 Float\SpecialChar \menuseparator
2239 Table
2240 \family default
2241  or the toolbar button 
2242 \begin_inset Graphics
2243         filename ../images/float-insert_table.png
2244         scale 85
2245         scaleBeforeRotation
2246
2247 \end_inset
2248
2249 .
2250 \end_layout
2251
2252 \begin_layout Standard
2253 The float appears as a collapsible box with a caption that has the label
2254  
2255 \begin_inset Quotes eld
2256 \end_inset
2257
2258 Table\InsetSpace ~
2259 #:
2260 \begin_inset Quotes erd
2261 \end_inset
2262
2263  (# is the actual table number).
2264  You can insert tables to the float above or below the caption.
2265 \end_layout
2266
2267 \begin_layout Standard
2268 Table\InsetSpace ~
2269
2270 \begin_inset LatexCommand ref
2271 reference "tab:a table float"
2272
2273 \end_inset
2274
2275  is an example table within a table float.
2276 \end_layout
2277
2278 \begin_layout Standard
2279 Having the caption above the table is the common rule that is unfortunately
2280  not supported in LaTeX's standard classes.
2281  That means if you are using the document classes 
2282 \family sans
2283 article
2284 \family default
2285
2286 \family sans
2287 book
2288 \family default
2289
2290 \family sans
2291 letter
2292 \family default
2293 , or 
2294 \family sans
2295 report
2296 \family default
2297  there will be no space between the caption and the table.
2298  To insert the needed space, add the following option to the load command
2299  of the LaTeX-package 
2300 \series bold
2301 caption
2302 \series default
2303
2304 \begin_inset LatexCommand index
2305 name "LaTeX-packages ! caption"
2306
2307 \end_inset
2308
2309  in your document preamble
2310 \begin_inset Foot
2311 status collapsed
2312
2313 \begin_layout Standard
2314 For more information have a look at section\InsetSpace ~
2315
2316 \begin_inset LatexCommand ref
2317 reference "sec:Caption-Placement"
2318
2319 \end_inset
2320
2321 .
2322 \end_layout
2323
2324 \end_inset
2325
2326 :
2327 \end_layout
2328
2329 \begin_layout Standard
2330
2331 \series bold
2332 tableposition=top
2333 \end_layout
2334
2335 \begin_layout Standard
2336 The package 
2337 \series bold
2338 caption
2339 \series default
2340 , which is described in section\InsetSpace ~
2341
2342 \begin_inset LatexCommand ref
2343 reference "sec:Caption-Formatting"
2344
2345 \end_inset
2346
2347 , is used to adjust the caption format.
2348 \end_layout
2349
2350 \begin_layout Standard
2351 \begin_inset LatexCommand index
2352 name "References ! to Tables"
2353
2354 \end_inset
2355
2356 Tables can be cross-referenced in the text by referencing their label.
2357  To do this insert a label in the caption using the menu 
2358 \family sans
2359 Insert\SpecialChar \menuseparator
2360 Label
2361 \family default
2362  or the toolbar button 
2363 \begin_inset Graphics
2364         filename ../images/label-insert.png
2365         scale 85
2366         scaleBeforeRotation
2367
2368 \end_inset
2369
2370 .
2371  You can now refer to the label using the menu 
2372 \family sans
2373 Insert\SpecialChar \menuseparator
2374 Cross\InsetSpace ~
2375 reference
2376 \family default
2377  or the toolbar button 
2378 \begin_inset Graphics
2379         filename ../images/dialog-show-new-inset_ref.png
2380         scale 85
2381         scaleBeforeRotation
2382
2383 \end_inset
2384
2385 .
2386 \newline
2387 Referencing is explained in detail in section\InsetSpace ~
2388
2389 \begin_inset LatexCommand ref
2390 reference "sec:Referencing-Floats"
2391
2392 \end_inset
2393
2394 .
2395 \end_layout
2396
2397 \begin_layout Section
2398 Longtables
2399 \begin_inset LatexCommand label
2400 name "sec:Longtables"
2401
2402 \end_inset
2403
2404
2405 \begin_inset LatexCommand index
2406 name "Longtables"
2407
2408 \end_inset
2409
2410
2411 \begin_inset LatexCommand index
2412 name "Table ! Longtables"
2413
2414 \end_inset
2415
2416
2417 \end_layout
2418
2419 \begin_layout Standard
2420 If the table is too long to fit on one page, you can use the option 
2421 \family sans
2422 Use\InsetSpace ~
2423 long\InsetSpace ~
2424 table
2425 \family default
2426  in the tab 
2427 \family sans
2428 Longtable
2429 \family default
2430  of the table dialog to split the table automatically over more pages.
2431  Doing this enables some check boxes and you can now define:
2432 \end_layout
2433
2434 \begin_layout Description
2435
2436 \family sans
2437 Header
2438 \family default
2439 : The current row and all rows above, that don't have any special options
2440  defined, are defined to be the header rows of all pages of the longtable;
2441  except for the first page, if 
2442 \family sans
2443 First\InsetSpace ~
2444 header
2445 \family default
2446  is defined.
2447  This therefore called the main header.
2448 \end_layout
2449
2450 \begin_layout Description
2451
2452 \family sans
2453 First\InsetSpace ~
2454 header
2455 \family default
2456 : The current row and all rows above, that don't have any special options
2457  defined, are defined to be the header rows of the first page of the longtable.
2458 \end_layout
2459
2460 \begin_layout Description
2461
2462 \family sans
2463 Footer
2464 \family default
2465 : The current row and all rows below, that don't have any special options
2466  defined, are defined to be the footer rows of all pages of the longtable;
2467  except for the last page, if 
2468 \family sans
2469 Last\InsetSpace ~
2470 footer
2471 \family default
2472  is defined.
2473 \end_layout
2474
2475 \begin_layout Description
2476
2477 \family sans
2478 Last\InsetSpace ~
2479 footer
2480 \family default
2481 : The current row and all rows below, that don't have any special options
2482  defined, are defined to be the footer rows of the last page of the longtable.
2483 \end_layout
2484
2485 \begin_layout Standard
2486 You can also specify a row where the table is splitted.
2487  If you set more than one option in the same table row, you should be aware
2488  of the fact that only the first one is used in the given table row.
2489  The others will then be defined as 
2490 \emph on
2491 empty
2492 \emph default
2493 .
2494  In this context, first means first in this order: 
2495 \family sans
2496 Header,
2497 \family default
2498  
2499 \family sans
2500 First\InsetSpace ~
2501 header, Footer, Last\InsetSpace ~
2502 footer.
2503
2504 \family default
2505  See the following longtable to see how it works:
2506 \end_layout
2507
2508 \begin_layout Standard
2509 \align center
2510 \begin_inset Tabular
2511 <lyxtabular version="3" rows="69" columns="3">
2512 <features islongtable="true">
2513 <column alignment="left" valignment="top" leftline="true" width="0cm">
2514 <column alignment="left" valignment="top" width="0pt">
2515 <column alignment="right" valignment="top" leftline="true" rightline="true" width="0pt">
2516 <row topline="true" bottomline="true" endfirsthead="true">
2517 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2518 \begin_inset Text
2519
2520 \begin_layout Standard
2521
2522 \series bold
2523 Example Phone List (ignore the names)
2524 \end_layout
2525
2526 \end_inset
2527 </cell>
2528 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2529 \begin_inset Text
2530
2531 \begin_layout Standard
2532
2533 \end_layout
2534
2535 \end_inset
2536 </cell>
2537 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2538 \begin_inset Text
2539
2540 \begin_layout Standard
2541
2542 \end_layout
2543
2544 \end_inset
2545 </cell>
2546 </row>
2547 <row topline="true" bottomline="true" endfirsthead="true">
2548 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2549 \begin_inset Text
2550
2551 \begin_layout Standard
2552
2553 \series bold
2554 NAME
2555 \end_layout
2556
2557 \end_inset
2558 </cell>
2559 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2560 \begin_inset Text
2561
2562 \begin_layout Standard
2563
2564 \end_layout
2565
2566 \end_inset
2567 </cell>
2568 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2569 \begin_inset Text
2570
2571 \begin_layout Standard
2572
2573 \series bold
2574 TEL.
2575 \end_layout
2576
2577 \end_inset
2578 </cell>
2579 </row>
2580 <row topline="true" bottomline="true" endhead="true">
2581 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2582 \begin_inset Text
2583
2584 \begin_layout Standard
2585
2586 \series bold
2587 Example Phone List
2588 \end_layout
2589
2590 \end_inset
2591 </cell>
2592 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2593 \begin_inset Text
2594
2595 \begin_layout Standard
2596
2597 \end_layout
2598
2599 \end_inset
2600 </cell>
2601 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2602 \begin_inset Text
2603
2604 \begin_layout Standard
2605
2606 \end_layout
2607
2608 \end_inset
2609 </cell>
2610 </row>
2611 <row topline="true" bottomline="true" endhead="true">
2612 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
2613 \begin_inset Text
2614
2615 \begin_layout Standard
2616
2617 \series bold
2618 NAME
2619 \end_layout
2620
2621 \end_inset
2622 </cell>
2623 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2624 \begin_inset Text
2625
2626 \begin_layout Standard
2627
2628 \end_layout
2629
2630 \end_inset
2631 </cell>
2632 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
2633 \begin_inset Text
2634
2635 \begin_layout Standard
2636
2637 \series bold
2638 TEL.
2639 \end_layout
2640
2641 \end_inset
2642 </cell>
2643 </row>
2644 <row topline="true" bottomline="true" endfoot="true">
2645 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
2646 \begin_inset Text
2647
2648 \begin_layout Standard
2649  continued on next page
2650 \end_layout
2651
2652 \end_inset
2653 </cell>
2654 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
2655 \begin_inset Text
2656
2657 \begin_layout Standard
2658
2659 \end_layout
2660
2661 \end_inset
2662 </cell>
2663 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
2664 \begin_inset Text
2665
2666 \begin_layout Standard
2667
2668 \end_layout
2669
2670 \end_inset
2671 </cell>
2672 </row>
2673 <row>
2674 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2675 \begin_inset Text
2676
2677 \begin_layout Standard
2678
2679 \series bold
2680 Annovi
2681 \end_layout
2682
2683 \end_inset
2684 </cell>
2685 <cell alignment="center" valignment="top" topline="true" usebox="none">
2686 \begin_inset Text
2687
2688 \begin_layout Standard
2689 Silvia
2690 \end_layout
2691
2692 \end_inset
2693 </cell>
2694 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2695 \begin_inset Text
2696
2697 \begin_layout Standard
2698 111
2699 \end_layout
2700
2701 \end_inset
2702 </cell>
2703 </row>
2704 <row>
2705 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2706 \begin_inset Text
2707
2708 \begin_layout Standard
2709
2710 \series bold
2711 Bertoli
2712 \end_layout
2713
2714 \end_inset
2715 </cell>
2716 <cell alignment="center" valignment="top" topline="true" usebox="none">
2717 \begin_inset Text
2718
2719 \begin_layout Standard
2720 Stefano
2721 \end_layout
2722
2723 \end_inset
2724 </cell>
2725 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2726 \begin_inset Text
2727
2728 \begin_layout Standard
2729 111
2730 \end_layout
2731
2732 \end_inset
2733 </cell>
2734 </row>
2735 <row>
2736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2737 \begin_inset Text
2738
2739 \begin_layout Standard
2740
2741 \series bold
2742 Bozzi
2743 \end_layout
2744
2745 \end_inset
2746 </cell>
2747 <cell alignment="center" valignment="top" topline="true" usebox="none">
2748 \begin_inset Text
2749
2750 \begin_layout Standard
2751 Walter
2752 \end_layout
2753
2754 \end_inset
2755 </cell>
2756 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2757 \begin_inset Text
2758
2759 \begin_layout Standard
2760 111
2761 \end_layout
2762
2763 \end_inset
2764 </cell>
2765 </row>
2766 <row>
2767 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2768 \begin_inset Text
2769
2770 \begin_layout Standard
2771
2772 \series bold
2773 Cachia
2774 \end_layout
2775
2776 \end_inset
2777 </cell>
2778 <cell alignment="center" valignment="top" topline="true" usebox="none">
2779 \begin_inset Text
2780
2781 \begin_layout Standard
2782 Maria
2783 \end_layout
2784
2785 \end_inset
2786 </cell>
2787 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2788 \begin_inset Text
2789
2790 \begin_layout Standard
2791 111
2792 \end_layout
2793
2794 \end_inset
2795 </cell>
2796 </row>
2797 <row>
2798 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2799 \begin_inset Text
2800
2801 \begin_layout Standard
2802
2803 \series bold
2804 Cachia
2805 \end_layout
2806
2807 \end_inset
2808 </cell>
2809 <cell alignment="center" valignment="top" topline="true" usebox="none">
2810 \begin_inset Text
2811
2812 \begin_layout Standard
2813 Maurizio
2814 \end_layout
2815
2816 \end_inset
2817 </cell>
2818 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2819 \begin_inset Text
2820
2821 \begin_layout Standard
2822 111
2823 \end_layout
2824
2825 \end_inset
2826 </cell>
2827 </row>
2828 <row>
2829 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2830 \begin_inset Text
2831
2832 \begin_layout Standard
2833
2834 \series bold
2835 Cinquemani
2836 \end_layout
2837
2838 \end_inset
2839 </cell>
2840 <cell alignment="center" valignment="top" topline="true" usebox="none">
2841 \begin_inset Text
2842
2843 \begin_layout Standard
2844 Giusi
2845 \end_layout
2846
2847 \end_inset
2848 </cell>
2849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2850 \begin_inset Text
2851
2852 \begin_layout Standard
2853 111
2854 \end_layout
2855
2856 \end_inset
2857 </cell>
2858 </row>
2859 <row>
2860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2861 \begin_inset Text
2862
2863 \begin_layout Standard
2864
2865 \series bold
2866 Colin
2867 \end_layout
2868
2869 \end_inset
2870 </cell>
2871 <cell alignment="center" valignment="top" topline="true" usebox="none">
2872 \begin_inset Text
2873
2874 \begin_layout Standard
2875 Bernard
2876 \end_layout
2877
2878 \end_inset
2879 </cell>
2880 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2881 \begin_inset Text
2882
2883 \begin_layout Standard
2884 111
2885 \end_layout
2886
2887 \end_inset
2888 </cell>
2889 </row>
2890 <row>
2891 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2892 \begin_inset Text
2893
2894 \begin_layout Standard
2895
2896 \series bold
2897 Concli
2898 \end_layout
2899
2900 \end_inset
2901 </cell>
2902 <cell alignment="center" valignment="top" topline="true" usebox="none">
2903 \begin_inset Text
2904
2905 \begin_layout Standard
2906 Gianfranco
2907 \end_layout
2908
2909 \end_inset
2910 </cell>
2911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2912 \begin_inset Text
2913
2914 \begin_layout Standard
2915 111
2916 \end_layout
2917
2918 \end_inset
2919 </cell>
2920 </row>
2921 <row>
2922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2923 \begin_inset Text
2924
2925 \begin_layout Standard
2926
2927 \series bold
2928 Dal Bosco
2929 \end_layout
2930
2931 \end_inset
2932 </cell>
2933 <cell alignment="center" valignment="top" topline="true" usebox="none">
2934 \begin_inset Text
2935
2936 \begin_layout Standard
2937 Carolina
2938 \end_layout
2939
2940 \end_inset
2941 </cell>
2942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2943 \begin_inset Text
2944
2945 \begin_layout Standard
2946 111
2947 \end_layout
2948
2949 \end_inset
2950 </cell>
2951 </row>
2952 <row>
2953 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2954 \begin_inset Text
2955
2956 \begin_layout Standard
2957
2958 \series bold
2959 Dalpiaz
2960 \end_layout
2961
2962 \end_inset
2963 </cell>
2964 <cell alignment="center" valignment="top" topline="true" usebox="none">
2965 \begin_inset Text
2966
2967 \begin_layout Standard
2968 Annamaria
2969 \end_layout
2970
2971 \end_inset
2972 </cell>
2973 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
2974 \begin_inset Text
2975
2976 \begin_layout Standard
2977 111
2978 \end_layout
2979
2980 \end_inset
2981 </cell>
2982 </row>
2983 <row>
2984 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
2985 \begin_inset Text
2986
2987 \begin_layout Standard
2988
2989 \series bold
2990 Feliciello
2991 \end_layout
2992
2993 \end_inset
2994 </cell>
2995 <cell alignment="center" valignment="top" topline="true" usebox="none">
2996 \begin_inset Text
2997
2998 \begin_layout Standard
2999 Domenico
3000 \end_layout
3001
3002 \end_inset
3003 </cell>
3004 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3005 \begin_inset Text
3006
3007 \begin_layout Standard
3008 111
3009 \end_layout
3010
3011 \end_inset
3012 </cell>
3013 </row>
3014 <row>
3015 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3016 \begin_inset Text
3017
3018 \begin_layout Standard
3019
3020 \series bold
3021 Focarelli
3022 \end_layout
3023
3024 \end_inset
3025 </cell>
3026 <cell alignment="center" valignment="top" topline="true" usebox="none">
3027 \begin_inset Text
3028
3029 \begin_layout Standard
3030 Paola
3031 \end_layout
3032
3033 \end_inset
3034 </cell>
3035 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3036 \begin_inset Text
3037
3038 \begin_layout Standard
3039 111
3040 \end_layout
3041
3042 \end_inset
3043 </cell>
3044 </row>
3045 <row>
3046 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3047 \begin_inset Text
3048
3049 \begin_layout Standard
3050
3051 \series bold
3052 Galletti
3053 \end_layout
3054
3055 \end_inset
3056 </cell>
3057 <cell alignment="center" valignment="top" topline="true" usebox="none">
3058 \begin_inset Text
3059
3060 \begin_layout Standard
3061 Oreste
3062 \end_layout
3063
3064 \end_inset
3065 </cell>
3066 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3067 \begin_inset Text
3068
3069 \begin_layout Standard
3070 111
3071 \end_layout
3072
3073 \end_inset
3074 </cell>
3075 </row>
3076 <row>
3077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3078 \begin_inset Text
3079
3080 \begin_layout Standard
3081
3082 \series bold
3083 Gasparini
3084 \end_layout
3085
3086 \end_inset
3087 </cell>
3088 <cell alignment="center" valignment="top" topline="true" usebox="none">
3089 \begin_inset Text
3090
3091 \begin_layout Standard
3092 Franca
3093 \end_layout
3094
3095 \end_inset
3096 </cell>
3097 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3098 \begin_inset Text
3099
3100 \begin_layout Standard
3101 111
3102 \end_layout
3103
3104 \end_inset
3105 </cell>
3106 </row>
3107 <row>
3108 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3109 \begin_inset Text
3110
3111 \begin_layout Standard
3112
3113 \series bold
3114 Rizzardi
3115 \end_layout
3116
3117 \end_inset
3118 </cell>
3119 <cell alignment="center" valignment="top" topline="true" usebox="none">
3120 \begin_inset Text
3121
3122 \begin_layout Standard
3123 Paola
3124 \end_layout
3125
3126 \end_inset
3127 </cell>
3128 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3129 \begin_inset Text
3130
3131 \begin_layout Standard
3132 111
3133 \end_layout
3134
3135 \end_inset
3136 </cell>
3137 </row>
3138 <row>
3139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3140 \begin_inset Text
3141
3142 \begin_layout Standard
3143
3144 \series bold
3145 Lassini
3146 \end_layout
3147
3148 \end_inset
3149 </cell>
3150 <cell alignment="center" valignment="top" topline="true" usebox="none">
3151 \begin_inset Text
3152
3153 \begin_layout Standard
3154 Giancarlo
3155 \end_layout
3156
3157 \end_inset
3158 </cell>
3159 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3160 \begin_inset Text
3161
3162 \begin_layout Standard
3163 111
3164 \end_layout
3165
3166 \end_inset
3167 </cell>
3168 </row>
3169 <row>
3170 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3171 \begin_inset Text
3172
3173 \begin_layout Standard
3174
3175 \series bold
3176 Malfatti
3177 \end_layout
3178
3179 \end_inset
3180 </cell>
3181 <cell alignment="center" valignment="top" topline="true" usebox="none">
3182 \begin_inset Text
3183
3184 \begin_layout Standard
3185 Luciano
3186 \end_layout
3187
3188 \end_inset
3189 </cell>
3190 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3191 \begin_inset Text
3192
3193 \begin_layout Standard
3194 111
3195 \end_layout
3196
3197 \end_inset
3198 </cell>
3199 </row>
3200 <row>
3201 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3202 \begin_inset Text
3203
3204 \begin_layout Standard
3205
3206 \series bold
3207 Malfatti
3208 \end_layout
3209
3210 \end_inset
3211 </cell>
3212 <cell alignment="center" valignment="top" topline="true" usebox="none">
3213 \begin_inset Text
3214
3215 \begin_layout Standard
3216 Valeriano
3217 \end_layout
3218
3219 \end_inset
3220 </cell>
3221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3222 \begin_inset Text
3223
3224 \begin_layout Standard
3225 111
3226 \end_layout
3227
3228 \end_inset
3229 </cell>
3230 </row>
3231 <row>
3232 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3233 \begin_inset Text
3234
3235 \begin_layout Standard
3236
3237 \series bold
3238 Meneguzzo
3239 \end_layout
3240
3241 \end_inset
3242 </cell>
3243 <cell alignment="center" valignment="top" topline="true" usebox="none">
3244 \begin_inset Text
3245
3246 \begin_layout Standard
3247 Roberto
3248 \end_layout
3249
3250 \end_inset
3251 </cell>
3252 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3253 \begin_inset Text
3254
3255 \begin_layout Standard
3256 111
3257 \end_layout
3258
3259 \end_inset
3260 </cell>
3261 </row>
3262 <row>
3263 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3264 \begin_inset Text
3265
3266 \begin_layout Standard
3267
3268 \series bold
3269 Mezzadra
3270 \end_layout
3271
3272 \end_inset
3273 </cell>
3274 <cell alignment="center" valignment="top" topline="true" usebox="none">
3275 \begin_inset Text
3276
3277 \begin_layout Standard
3278 Roberto
3279 \end_layout
3280
3281 \end_inset
3282 </cell>
3283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3284 \begin_inset Text
3285
3286 \begin_layout Standard
3287 111
3288 \end_layout
3289
3290 \end_inset
3291 </cell>
3292 </row>
3293 <row>
3294 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3295 \begin_inset Text
3296
3297 \begin_layout Standard
3298
3299 \series bold
3300 Pirpamer
3301 \end_layout
3302
3303 \end_inset
3304 </cell>
3305 <cell alignment="center" valignment="top" topline="true" usebox="none">
3306 \begin_inset Text
3307
3308 \begin_layout Standard
3309 Erich
3310 \end_layout
3311
3312 \end_inset
3313 </cell>
3314 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3315 \begin_inset Text
3316
3317 \begin_layout Standard
3318 111
3319 \end_layout
3320
3321 \end_inset
3322 </cell>
3323 </row>
3324 <row>
3325 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3326 \begin_inset Text
3327
3328 \begin_layout Standard
3329
3330 \series bold
3331 Pochiesa
3332 \end_layout
3333
3334 \end_inset
3335 </cell>
3336 <cell alignment="center" valignment="top" topline="true" usebox="none">
3337 \begin_inset Text
3338
3339 \begin_layout Standard
3340 Paolo
3341 \end_layout
3342
3343 \end_inset
3344 </cell>
3345 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3346 \begin_inset Text
3347
3348 \begin_layout Standard
3349 111, 222
3350 \end_layout
3351
3352 \end_inset
3353 </cell>
3354 </row>
3355 <row>
3356 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3357 \begin_inset Text
3358
3359 \begin_layout Standard
3360
3361 \series bold
3362 Radina
3363 \end_layout
3364
3365 \end_inset
3366 </cell>
3367 <cell alignment="center" valignment="top" topline="true" usebox="none">
3368 \begin_inset Text
3369
3370 \begin_layout Standard
3371 Claudio
3372 \end_layout
3373
3374 \end_inset
3375 </cell>
3376 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3377 \begin_inset Text
3378
3379 \begin_layout Standard
3380 111
3381 \end_layout
3382
3383 \end_inset
3384 </cell>
3385 </row>
3386 <row>
3387 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3388 \begin_inset Text
3389
3390 \begin_layout Standard
3391
3392 \series bold
3393 Stuffer
3394 \end_layout
3395
3396 \end_inset
3397 </cell>
3398 <cell alignment="center" valignment="top" topline="true" usebox="none">
3399 \begin_inset Text
3400
3401 \begin_layout Standard
3402 Oskar
3403 \end_layout
3404
3405 \end_inset
3406 </cell>
3407 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3408 \begin_inset Text
3409
3410 \begin_layout Standard
3411 111
3412 \end_layout
3413
3414 \end_inset
3415 </cell>
3416 </row>
3417 <row>
3418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3419 \begin_inset Text
3420
3421 \begin_layout Standard
3422
3423 \series bold
3424 Tacchelli
3425 \end_layout
3426
3427 \end_inset
3428 </cell>
3429 <cell alignment="center" valignment="top" topline="true" usebox="none">
3430 \begin_inset Text
3431
3432 \begin_layout Standard
3433 Ugo
3434 \end_layout
3435
3436 \end_inset
3437 </cell>
3438 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3439 \begin_inset Text
3440
3441 \begin_layout Standard
3442 111
3443 \end_layout
3444
3445 \end_inset
3446 </cell>
3447 </row>
3448 <row>
3449 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3450 \begin_inset Text
3451
3452 \begin_layout Standard
3453
3454 \series bold
3455 Tezzele
3456 \end_layout
3457
3458 \end_inset
3459 </cell>
3460 <cell alignment="center" valignment="top" topline="true" usebox="none">
3461 \begin_inset Text
3462
3463 \begin_layout Standard
3464 Margit
3465 \end_layout
3466
3467 \end_inset
3468 </cell>
3469 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3470 \begin_inset Text
3471
3472 \begin_layout Standard
3473 111
3474 \end_layout
3475
3476 \end_inset
3477 </cell>
3478 </row>
3479 <row>
3480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3481 \begin_inset Text
3482
3483 \begin_layout Standard
3484
3485 \series bold
3486 Unterkalmsteiner
3487 \end_layout
3488
3489 \end_inset
3490 </cell>
3491 <cell alignment="center" valignment="top" topline="true" usebox="none">
3492 \begin_inset Text
3493
3494 \begin_layout Standard
3495 Frieda
3496 \end_layout
3497
3498 \end_inset
3499 </cell>
3500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3501 \begin_inset Text
3502
3503 \begin_layout Standard
3504 111
3505 \end_layout
3506
3507 \end_inset
3508 </cell>
3509 </row>
3510 <row>
3511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3512 \begin_inset Text
3513
3514 \begin_layout Standard
3515
3516 \series bold
3517 Vieider
3518 \end_layout
3519
3520 \end_inset
3521 </cell>
3522 <cell alignment="center" valignment="top" topline="true" usebox="none">
3523 \begin_inset Text
3524
3525 \begin_layout Standard
3526 Hilde
3527 \end_layout
3528
3529 \end_inset
3530 </cell>
3531 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3532 \begin_inset Text
3533
3534 \begin_layout Standard
3535 111
3536 \end_layout
3537
3538 \end_inset
3539 </cell>
3540 </row>
3541 <row>
3542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3543 \begin_inset Text
3544
3545 \begin_layout Standard
3546
3547 \series bold
3548 Vigna
3549 \end_layout
3550
3551 \end_inset
3552 </cell>
3553 <cell alignment="center" valignment="top" topline="true" usebox="none">
3554 \begin_inset Text
3555
3556 \begin_layout Standard
3557 Jürgen
3558 \end_layout
3559
3560 \end_inset
3561 </cell>
3562 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3563 \begin_inset Text
3564
3565 \begin_layout Standard
3566 111
3567 \end_layout
3568
3569 \end_inset
3570 </cell>
3571 </row>
3572 <row>
3573 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3574 \begin_inset Text
3575
3576 \begin_layout Standard
3577
3578 \series bold
3579 Weber
3580 \end_layout
3581
3582 \end_inset
3583 </cell>
3584 <cell alignment="center" valignment="top" topline="true" usebox="none">
3585 \begin_inset Text
3586
3587 \begin_layout Standard
3588 Maurizio
3589 \end_layout
3590
3591 \end_inset
3592 </cell>
3593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3594 \begin_inset Text
3595
3596 \begin_layout Standard
3597 111
3598 \end_layout
3599
3600 \end_inset
3601 </cell>
3602 </row>
3603 <row bottomline="true">
3604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
3605 \begin_inset Text
3606
3607 \begin_layout Standard
3608
3609 \series bold
3610 Winkler
3611 \end_layout
3612
3613 \end_inset
3614 </cell>
3615 <cell alignment="center" valignment="top" topline="true" usebox="none">
3616 \begin_inset Text
3617
3618 \begin_layout Standard
3619 Franz
3620 \end_layout
3621
3622 \end_inset
3623 </cell>
3624 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3625 \begin_inset Text
3626
3627 \begin_layout Standard
3628 111
3629 \end_layout
3630
3631 \end_inset
3632 </cell>
3633 </row>
3634 <row bottomline="true">
3635 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
3636 \begin_inset Text
3637
3638 \begin_layout Standard
3639  
3640 \end_layout
3641
3642 \end_inset
3643 </cell>
3644 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
3645 \begin_inset Text
3646
3647 \begin_layout Standard
3648
3649 \end_layout
3650
3651 \end_inset
3652 </cell>
3653 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3654 \begin_inset Text
3655
3656 \begin_layout Standard
3657
3658 \end_layout
3659
3660 \end_inset
3661 </cell>
3662 </row>
3663 <row>
3664 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3665 \begin_inset Text
3666
3667 \begin_layout Standard
3668
3669 \series bold
3670 Annovi
3671 \end_layout
3672
3673 \end_inset
3674 </cell>
3675 <cell alignment="center" valignment="top" topline="true" usebox="none">
3676 \begin_inset Text
3677
3678 \begin_layout Standard
3679 Silvia
3680 \end_layout
3681
3682 \end_inset
3683 </cell>
3684 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3685 \begin_inset Text
3686
3687 \begin_layout Standard
3688 555
3689 \end_layout
3690
3691 \end_inset
3692 </cell>
3693 </row>
3694 <row>
3695 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3696 \begin_inset Text
3697
3698 \begin_layout Standard
3699
3700 \series bold
3701 Bertoli
3702 \end_layout
3703
3704 \end_inset
3705 </cell>
3706 <cell alignment="center" valignment="top" topline="true" usebox="none">
3707 \begin_inset Text
3708
3709 \begin_layout Standard
3710 Stefano
3711 \end_layout
3712
3713 \end_inset
3714 </cell>
3715 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3716 \begin_inset Text
3717
3718 \begin_layout Standard
3719 555
3720 \end_layout
3721
3722 \end_inset
3723 </cell>
3724 </row>
3725 <row>
3726 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3727 \begin_inset Text
3728
3729 \begin_layout Standard
3730
3731 \series bold
3732 Bozzi
3733 \end_layout
3734
3735 \end_inset
3736 </cell>
3737 <cell alignment="center" valignment="top" topline="true" usebox="none">
3738 \begin_inset Text
3739
3740 \begin_layout Standard
3741 Walter
3742 \end_layout
3743
3744 \end_inset
3745 </cell>
3746 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3747 \begin_inset Text
3748
3749 \begin_layout Standard
3750 555
3751 \end_layout
3752
3753 \end_inset
3754 </cell>
3755 </row>
3756 <row>
3757 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3758 \begin_inset Text
3759
3760 \begin_layout Standard
3761
3762 \series bold
3763 Cachia
3764 \end_layout
3765
3766 \end_inset
3767 </cell>
3768 <cell alignment="center" valignment="top" topline="true" usebox="none">
3769 \begin_inset Text
3770
3771 \begin_layout Standard
3772 Maria
3773 \end_layout
3774
3775 \end_inset
3776 </cell>
3777 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3778 \begin_inset Text
3779
3780 \begin_layout Standard
3781 555
3782 \end_layout
3783
3784 \end_inset
3785 </cell>
3786 </row>
3787 <row>
3788 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3789 \begin_inset Text
3790
3791 \begin_layout Standard
3792
3793 \series bold
3794 Cachia
3795 \end_layout
3796
3797 \end_inset
3798 </cell>
3799 <cell alignment="center" valignment="top" topline="true" usebox="none">
3800 \begin_inset Text
3801
3802 \begin_layout Standard
3803 Maurizio
3804 \end_layout
3805
3806 \end_inset
3807 </cell>
3808 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3809 \begin_inset Text
3810
3811 \begin_layout Standard
3812 555
3813 \end_layout
3814
3815 \end_inset
3816 </cell>
3817 </row>
3818 <row>
3819 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3820 \begin_inset Text
3821
3822 \begin_layout Standard
3823
3824 \series bold
3825 Cinquemani
3826 \end_layout
3827
3828 \end_inset
3829 </cell>
3830 <cell alignment="center" valignment="top" topline="true" usebox="none">
3831 \begin_inset Text
3832
3833 \begin_layout Standard
3834 Giusi
3835 \end_layout
3836
3837 \end_inset
3838 </cell>
3839 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3840 \begin_inset Text
3841
3842 \begin_layout Standard
3843 555
3844 \end_layout
3845
3846 \end_inset
3847 </cell>
3848 </row>
3849 <row>
3850 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3851 \begin_inset Text
3852
3853 \begin_layout Standard
3854
3855 \series bold
3856 Colin
3857 \end_layout
3858
3859 \end_inset
3860 </cell>
3861 <cell alignment="center" valignment="top" topline="true" usebox="none">
3862 \begin_inset Text
3863
3864 \begin_layout Standard
3865 Bernard
3866 \end_layout
3867
3868 \end_inset
3869 </cell>
3870 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3871 \begin_inset Text
3872
3873 \begin_layout Standard
3874 555
3875 \end_layout
3876
3877 \end_inset
3878 </cell>
3879 </row>
3880 <row>
3881 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3882 \begin_inset Text
3883
3884 \begin_layout Standard
3885
3886 \series bold
3887 Concli
3888 \end_layout
3889
3890 \end_inset
3891 </cell>
3892 <cell alignment="center" valignment="top" topline="true" usebox="none">
3893 \begin_inset Text
3894
3895 \begin_layout Standard
3896 Gianfranco
3897 \end_layout
3898
3899 \end_inset
3900 </cell>
3901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3902 \begin_inset Text
3903
3904 \begin_layout Standard
3905 555
3906 \end_layout
3907
3908 \end_inset
3909 </cell>
3910 </row>
3911 <row>
3912 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3913 \begin_inset Text
3914
3915 \begin_layout Standard
3916
3917 \series bold
3918 Dal Bosco
3919 \end_layout
3920
3921 \end_inset
3922 </cell>
3923 <cell alignment="center" valignment="top" topline="true" usebox="none">
3924 \begin_inset Text
3925
3926 \begin_layout Standard
3927 Carolina
3928 \end_layout
3929
3930 \end_inset
3931 </cell>
3932 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3933 \begin_inset Text
3934
3935 \begin_layout Standard
3936 555
3937 \end_layout
3938
3939 \end_inset
3940 </cell>
3941 </row>
3942 <row>
3943 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3944 \begin_inset Text
3945
3946 \begin_layout Standard
3947
3948 \series bold
3949 Dalpiaz
3950 \end_layout
3951
3952 \end_inset
3953 </cell>
3954 <cell alignment="center" valignment="top" topline="true" usebox="none">
3955 \begin_inset Text
3956
3957 \begin_layout Standard
3958 Annamaria
3959 \end_layout
3960
3961 \end_inset
3962 </cell>
3963 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3964 \begin_inset Text
3965
3966 \begin_layout Standard
3967 555
3968 \end_layout
3969
3970 \end_inset
3971 </cell>
3972 </row>
3973 <row>
3974 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
3975 \begin_inset Text
3976
3977 \begin_layout Standard
3978
3979 \series bold
3980 Feliciello
3981 \end_layout
3982
3983 \end_inset
3984 </cell>
3985 <cell alignment="center" valignment="top" topline="true" usebox="none">
3986 \begin_inset Text
3987
3988 \begin_layout Standard
3989 Domenico
3990 \end_layout
3991
3992 \end_inset
3993 </cell>
3994 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
3995 \begin_inset Text
3996
3997 \begin_layout Standard
3998 555
3999 \end_layout
4000
4001 \end_inset
4002 </cell>
4003 </row>
4004 <row>
4005 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4006 \begin_inset Text
4007
4008 \begin_layout Standard
4009
4010 \series bold
4011 Focarelli
4012 \end_layout
4013
4014 \end_inset
4015 </cell>
4016 <cell alignment="center" valignment="top" topline="true" usebox="none">
4017 \begin_inset Text
4018
4019 \begin_layout Standard
4020 Paola
4021 \end_layout
4022
4023 \end_inset
4024 </cell>
4025 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4026 \begin_inset Text
4027
4028 \begin_layout Standard
4029 555
4030 \end_layout
4031
4032 \end_inset
4033 </cell>
4034 </row>
4035 <row>
4036 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4037 \begin_inset Text
4038
4039 \begin_layout Standard
4040
4041 \series bold
4042 Galletti
4043 \end_layout
4044
4045 \end_inset
4046 </cell>
4047 <cell alignment="center" valignment="top" topline="true" usebox="none">
4048 \begin_inset Text
4049
4050 \begin_layout Standard
4051 Oreste
4052 \end_layout
4053
4054 \end_inset
4055 </cell>
4056 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4057 \begin_inset Text
4058
4059 \begin_layout Standard
4060 555
4061 \end_layout
4062
4063 \end_inset
4064 </cell>
4065 </row>
4066 <row>
4067 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4068 \begin_inset Text
4069
4070 \begin_layout Standard
4071
4072 \series bold
4073 Gasparini
4074 \end_layout
4075
4076 \end_inset
4077 </cell>
4078 <cell alignment="center" valignment="top" topline="true" usebox="none">
4079 \begin_inset Text
4080
4081 \begin_layout Standard
4082 Franca
4083 \end_layout
4084
4085 \end_inset
4086 </cell>
4087 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4088 \begin_inset Text
4089
4090 \begin_layout Standard
4091 555
4092 \end_layout
4093
4094 \end_inset
4095 </cell>
4096 </row>
4097 <row>
4098 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4099 \begin_inset Text
4100
4101 \begin_layout Standard
4102
4103 \series bold
4104 Rizzardi
4105 \end_layout
4106
4107 \end_inset
4108 </cell>
4109 <cell alignment="center" valignment="top" topline="true" usebox="none">
4110 \begin_inset Text
4111
4112 \begin_layout Standard
4113 Paola
4114 \end_layout
4115
4116 \end_inset
4117 </cell>
4118 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4119 \begin_inset Text
4120
4121 \begin_layout Standard
4122 555
4123 \end_layout
4124
4125 \end_inset
4126 </cell>
4127 </row>
4128 <row>
4129 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4130 \begin_inset Text
4131
4132 \begin_layout Standard
4133
4134 \series bold
4135 Lassini
4136 \end_layout
4137
4138 \end_inset
4139 </cell>
4140 <cell alignment="center" valignment="top" topline="true" usebox="none">
4141 \begin_inset Text
4142
4143 \begin_layout Standard
4144 Giancarlo
4145 \end_layout
4146
4147 \end_inset
4148 </cell>
4149 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4150 \begin_inset Text
4151
4152 \begin_layout Standard
4153 555
4154 \end_layout
4155
4156 \end_inset
4157 </cell>
4158 </row>
4159 <row>
4160 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4161 \begin_inset Text
4162
4163 \begin_layout Standard
4164
4165 \series bold
4166 Malfatti
4167 \end_layout
4168
4169 \end_inset
4170 </cell>
4171 <cell alignment="center" valignment="top" topline="true" usebox="none">
4172 \begin_inset Text
4173
4174 \begin_layout Standard
4175 Luciano
4176 \end_layout
4177
4178 \end_inset
4179 </cell>
4180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4181 \begin_inset Text
4182
4183 \begin_layout Standard
4184 555
4185 \end_layout
4186
4187 \end_inset
4188 </cell>
4189 </row>
4190 <row>
4191 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4192 \begin_inset Text
4193
4194 \begin_layout Standard
4195
4196 \series bold
4197 Malfatti
4198 \end_layout
4199
4200 \end_inset
4201 </cell>
4202 <cell alignment="center" valignment="top" topline="true" usebox="none">
4203 \begin_inset Text
4204
4205 \begin_layout Standard
4206 Valeriano
4207 \end_layout
4208
4209 \end_inset
4210 </cell>
4211 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4212 \begin_inset Text
4213
4214 \begin_layout Standard
4215 555
4216 \end_layout
4217
4218 \end_inset
4219 </cell>
4220 </row>
4221 <row>
4222 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4223 \begin_inset Text
4224
4225 \begin_layout Standard
4226
4227 \series bold
4228 Meneguzzo
4229 \end_layout
4230
4231 \end_inset
4232 </cell>
4233 <cell alignment="center" valignment="top" topline="true" usebox="none">
4234 \begin_inset Text
4235
4236 \begin_layout Standard
4237 Roberto
4238 \end_layout
4239
4240 \end_inset
4241 </cell>
4242 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4243 \begin_inset Text
4244
4245 \begin_layout Standard
4246 555
4247 \end_layout
4248
4249 \end_inset
4250 </cell>
4251 </row>
4252 <row>
4253 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4254 \begin_inset Text
4255
4256 \begin_layout Standard
4257
4258 \series bold
4259 Mezzadra
4260 \end_layout
4261
4262 \end_inset
4263 </cell>
4264 <cell alignment="center" valignment="top" topline="true" usebox="none">
4265 \begin_inset Text
4266
4267 \begin_layout Standard
4268 Roberto
4269 \end_layout
4270
4271 \end_inset
4272 </cell>
4273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4274 \begin_inset Text
4275
4276 \begin_layout Standard
4277 555
4278 \end_layout
4279
4280 \end_inset
4281 </cell>
4282 </row>
4283 <row>
4284 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4285 \begin_inset Text
4286
4287 \begin_layout Standard
4288
4289 \series bold
4290 Pirpamer
4291 \end_layout
4292
4293 \end_inset
4294 </cell>
4295 <cell alignment="center" valignment="top" topline="true" usebox="none">
4296 \begin_inset Text
4297
4298 \begin_layout Standard
4299 Erich
4300 \end_layout
4301
4302 \end_inset
4303 </cell>
4304 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4305 \begin_inset Text
4306
4307 \begin_layout Standard
4308 555
4309 \end_layout
4310
4311 \end_inset
4312 </cell>
4313 </row>
4314 <row>
4315 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4316 \begin_inset Text
4317
4318 \begin_layout Standard
4319
4320 \series bold
4321 Pochiesa
4322 \end_layout
4323
4324 \end_inset
4325 </cell>
4326 <cell alignment="center" valignment="top" topline="true" usebox="none">
4327 \begin_inset Text
4328
4329 \begin_layout Standard
4330 Paolo
4331 \end_layout
4332
4333 \end_inset
4334 </cell>
4335 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4336 \begin_inset Text
4337
4338 \begin_layout Standard
4339 555, 222
4340 \end_layout
4341
4342 \end_inset
4343 </cell>
4344 </row>
4345 <row>
4346 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4347 \begin_inset Text
4348
4349 \begin_layout Standard
4350
4351 \series bold
4352 Radina
4353 \end_layout
4354
4355 \end_inset
4356 </cell>
4357 <cell alignment="center" valignment="top" topline="true" usebox="none">
4358 \begin_inset Text
4359
4360 \begin_layout Standard
4361 Claudio
4362 \end_layout
4363
4364 \end_inset
4365 </cell>
4366 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4367 \begin_inset Text
4368
4369 \begin_layout Standard
4370 555
4371 \end_layout
4372
4373 \end_inset
4374 </cell>
4375 </row>
4376 <row>
4377 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4378 \begin_inset Text
4379
4380 \begin_layout Standard
4381
4382 \series bold
4383 Stuffer
4384 \end_layout
4385
4386 \end_inset
4387 </cell>
4388 <cell alignment="center" valignment="top" topline="true" usebox="none">
4389 \begin_inset Text
4390
4391 \begin_layout Standard
4392 Oskar
4393 \end_layout
4394
4395 \end_inset
4396 </cell>
4397 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4398 \begin_inset Text
4399
4400 \begin_layout Standard
4401 555
4402 \end_layout
4403
4404 \end_inset
4405 </cell>
4406 </row>
4407 <row>
4408 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4409 \begin_inset Text
4410
4411 \begin_layout Standard
4412
4413 \series bold
4414 Tacchelli
4415 \end_layout
4416
4417 \end_inset
4418 </cell>
4419 <cell alignment="center" valignment="top" topline="true" usebox="none">
4420 \begin_inset Text
4421
4422 \begin_layout Standard
4423 Ugo
4424 \end_layout
4425
4426 \end_inset
4427 </cell>
4428 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4429 \begin_inset Text
4430
4431 \begin_layout Standard
4432 555
4433 \end_layout
4434
4435 \end_inset
4436 </cell>
4437 </row>
4438 <row>
4439 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4440 \begin_inset Text
4441
4442 \begin_layout Standard
4443
4444 \series bold
4445 Tezzele
4446 \end_layout
4447
4448 \end_inset
4449 </cell>
4450 <cell alignment="center" valignment="top" topline="true" usebox="none">
4451 \begin_inset Text
4452
4453 \begin_layout Standard
4454 Margit
4455 \end_layout
4456
4457 \end_inset
4458 </cell>
4459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4460 \begin_inset Text
4461
4462 \begin_layout Standard
4463 555
4464 \end_layout
4465
4466 \end_inset
4467 </cell>
4468 </row>
4469 <row>
4470 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4471 \begin_inset Text
4472
4473 \begin_layout Standard
4474
4475 \series bold
4476 Unterkalmsteiner
4477 \end_layout
4478
4479 \end_inset
4480 </cell>
4481 <cell alignment="center" valignment="top" topline="true" usebox="none">
4482 \begin_inset Text
4483
4484 \begin_layout Standard
4485 Frieda
4486 \end_layout
4487
4488 \end_inset
4489 </cell>
4490 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4491 \begin_inset Text
4492
4493 \begin_layout Standard
4494 555
4495 \end_layout
4496
4497 \end_inset
4498 </cell>
4499 </row>
4500 <row>
4501 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4502 \begin_inset Text
4503
4504 \begin_layout Standard
4505
4506 \series bold
4507 Vieider
4508 \end_layout
4509
4510 \end_inset
4511 </cell>
4512 <cell alignment="center" valignment="top" topline="true" usebox="none">
4513 \begin_inset Text
4514
4515 \begin_layout Standard
4516 Hilde
4517 \end_layout
4518
4519 \end_inset
4520 </cell>
4521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4522 \begin_inset Text
4523
4524 \begin_layout Standard
4525 555
4526 \end_layout
4527
4528 \end_inset
4529 </cell>
4530 </row>
4531 <row>
4532 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4533 \begin_inset Text
4534
4535 \begin_layout Standard
4536
4537 \series bold
4538 Vigna
4539 \end_layout
4540
4541 \end_inset
4542 </cell>
4543 <cell alignment="center" valignment="top" topline="true" usebox="none">
4544 \begin_inset Text
4545
4546 \begin_layout Standard
4547 Jürgen
4548 \end_layout
4549
4550 \end_inset
4551 </cell>
4552 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4553 \begin_inset Text
4554
4555 \begin_layout Standard
4556 999
4557 \end_layout
4558
4559 \end_inset
4560 </cell>
4561 </row>
4562 <row>
4563 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4564 \begin_inset Text
4565
4566 \begin_layout Standard
4567
4568 \series bold
4569 Weber
4570 \end_layout
4571
4572 \end_inset
4573 </cell>
4574 <cell alignment="center" valignment="top" topline="true" usebox="none">
4575 \begin_inset Text
4576
4577 \begin_layout Standard
4578 Maurizio
4579 \end_layout
4580
4581 \end_inset
4582 </cell>
4583 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4584 \begin_inset Text
4585
4586 \begin_layout Standard
4587 555
4588 \end_layout
4589
4590 \end_inset
4591 </cell>
4592 </row>
4593 <row bottomline="true">
4594 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
4595 \begin_inset Text
4596
4597 \begin_layout Standard
4598
4599 \series bold
4600 Winkler
4601 \end_layout
4602
4603 \end_inset
4604 </cell>
4605 <cell alignment="center" valignment="top" topline="true" usebox="none">
4606 \begin_inset Text
4607
4608 \begin_layout Standard
4609 Franz
4610 \end_layout
4611
4612 \end_inset
4613 </cell>
4614 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4615 \begin_inset Text
4616
4617 \begin_layout Standard
4618 555
4619 \end_layout
4620
4621 \end_inset
4622 </cell>
4623 </row>
4624 <row bottomline="true" endlastfoot="true">
4625 <cell multicolumn="1" alignment="right" valignment="top" usebox="none">
4626 \begin_inset Text
4627
4628 \begin_layout Standard
4629 end
4630 \end_layout
4631
4632 \end_inset
4633 </cell>
4634 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
4635 \begin_inset Text
4636
4637 \begin_layout Standard
4638
4639 \end_layout
4640
4641 \end_inset
4642 </cell>
4643 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4644 \begin_inset Text
4645
4646 \begin_layout Standard
4647
4648 \end_layout
4649
4650 \end_inset
4651 </cell>
4652 </row>
4653 </lyxtabular>
4654
4655 \end_inset
4656
4657
4658 \begin_inset ERT
4659 status collapsed
4660
4661 \begin_layout Standard
4662
4663
4664 \backslash
4665 addtocounter{table}{-1}
4666 \end_layout
4667
4668 \end_inset
4669
4670
4671 \begin_inset Note Note
4672 status collapsed
4673
4674 \begin_layout Standard
4675 See greyed-out note in section\InsetSpace ~
4676
4677 \begin_inset LatexCommand ref
4678 reference "sub:Longtable-Captions"
4679
4680 \end_inset
4681
4682  for an explanation of this command.
4683 \end_layout
4684
4685 \end_inset
4686
4687
4688 \end_layout
4689
4690 \begin_layout Subsection
4691 Footnotes in Longtables
4692 \begin_inset LatexCommand label
4693 name "sub:Footnotes-in-Longtables"
4694
4695 \end_inset
4696
4697
4698 \begin_inset LatexCommand index
4699 name "Longtables ! Footnotes"
4700
4701 \end_inset
4702
4703
4704 \end_layout
4705
4706 \begin_layout Standard
4707 Footnotes can be inserted to every longtable cell.
4708  They appear at the bottom of the page where the table cell with the footnote
4709  appears.
4710  Table\InsetSpace ~
4711
4712 \begin_inset LatexCommand ref
4713 reference "tab:DiffCaptions"
4714
4715 \end_inset
4716
4717  has for example a footnote.
4718 \end_layout
4719
4720 \begin_layout Subsection
4721 Longtable Alignment
4722 \begin_inset LatexCommand index
4723 name "Longtables ! Alignment"
4724
4725 \end_inset
4726
4727
4728 \end_layout
4729
4730 \begin_layout Standard
4731 Longtables are by default centered.
4732  In contrary to the alignment of the table columns and row, the table alignment
4733  can currently not be changed in the table dialog.
4734  To change the alignment of longtables you have to change the value of the
4735  lengths 
4736 \series bold
4737
4738 \backslash
4739 LTleft 
4740 \series default
4741 and 
4742 \series bold
4743
4744 \backslash
4745 LTright
4746 \series default
4747  by inserting this line as TeX-Code before the corresponding longtable:
4748 \end_layout
4749
4750 \begin_layout Standard
4751
4752 \series bold
4753
4754 \backslash
4755 setlength{
4756 \backslash
4757 LTleft}{value}
4758 \end_layout
4759
4760 \begin_layout Standard
4761 Where the value can have any of the units listed in Table\InsetSpace ~
4762
4763 \begin_inset LatexCommand ref
4764 reference "tab:Units"
4765
4766 \end_inset
4767
4768 .
4769  
4770 \series bold
4771
4772 \backslash
4773 LTleft
4774 \series default
4775  controls the horizontal distance from the left page border to the longtable,
4776  
4777 \series bold
4778
4779 \backslash
4780 LTright
4781 \series default
4782  the distance from the right side.
4783  The default value for both lengths is 
4784 \series bold
4785
4786 \backslash
4787 fill
4788 \series default
4789 , which is in this case the same as an horizontal fill in LyX.
4790 \end_layout
4791
4792 \begin_layout Standard
4793 The following longtable was left-aligned by setting 
4794 \series bold
4795
4796 \backslash
4797 LTleft
4798 \series default
4799  to 0\InsetSpace \thinspace{}
4800 pt.
4801 \begin_inset ERT
4802 status collapsed
4803
4804 \begin_layout Standard
4805
4806
4807 \backslash
4808 setlength{
4809 \backslash
4810 LTleft}{0pt}
4811 \end_layout
4812
4813 \end_inset
4814
4815
4816 \end_layout
4817
4818 \begin_layout Standard
4819 \begin_inset Tabular
4820 <lyxtabular version="3" rows="5" columns="5">
4821 <features islongtable="true">
4822 <column alignment="center" valignment="top" leftline="true" width="0">
4823 <column alignment="center" valignment="top" leftline="true" width="0">
4824 <column alignment="center" valignment="top" leftline="true" width="0">
4825 <column alignment="center" valignment="top" leftline="true" width="0">
4826 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
4827 <row topline="true">
4828 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4829 \begin_inset Text
4830
4831 \begin_layout Standard
4832 1
4833 \end_layout
4834
4835 \end_inset
4836 </cell>
4837 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4838 \begin_inset Text
4839
4840 \begin_layout Standard
4841 2
4842 \end_layout
4843
4844 \end_inset
4845 </cell>
4846 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4847 \begin_inset Text
4848
4849 \begin_layout Standard
4850 3
4851 \end_layout
4852
4853 \end_inset
4854 </cell>
4855 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4856 \begin_inset Text
4857
4858 \begin_layout Standard
4859 4
4860 \end_layout
4861
4862 \end_inset
4863 </cell>
4864 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4865 \begin_inset Text
4866
4867 \begin_layout Standard
4868 5
4869 \end_layout
4870
4871 \end_inset
4872 </cell>
4873 </row>
4874 <row topline="true">
4875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4876 \begin_inset Text
4877
4878 \begin_layout Standard
4879 asd
4880 \end_layout
4881
4882 \end_inset
4883 </cell>
4884 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4885 \begin_inset Text
4886
4887 \begin_layout Standard
4888 s
4889 \end_layout
4890
4891 \end_inset
4892 </cell>
4893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4894 \begin_inset Text
4895
4896 \begin_layout Standard
4897 s
4898 \end_layout
4899
4900 \end_inset
4901 </cell>
4902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4903 \begin_inset Text
4904
4905 \begin_layout Standard
4906 s
4907 \end_layout
4908
4909 \end_inset
4910 </cell>
4911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4912 \begin_inset Text
4913
4914 \begin_layout Standard
4915 asd
4916 \end_layout
4917
4918 \end_inset
4919 </cell>
4920 </row>
4921 <row topline="true">
4922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4923 \begin_inset Text
4924
4925 \begin_layout Standard
4926 asd
4927 \end_layout
4928
4929 \end_inset
4930 </cell>
4931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4932 \begin_inset Text
4933
4934 \begin_layout Standard
4935 s
4936 \end_layout
4937
4938 \end_inset
4939 </cell>
4940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4941 \begin_inset Text
4942
4943 \begin_layout Standard
4944 s
4945 \end_layout
4946
4947 \end_inset
4948 </cell>
4949 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4950 \begin_inset Text
4951
4952 \begin_layout Standard
4953 s
4954 \end_layout
4955
4956 \end_inset
4957 </cell>
4958 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
4959 \begin_inset Text
4960
4961 \begin_layout Standard
4962 asd
4963 \end_layout
4964
4965 \end_inset
4966 </cell>
4967 </row>
4968 <row topline="true">
4969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4970 \begin_inset Text
4971
4972 \begin_layout Standard
4973 asd
4974 \end_layout
4975
4976 \end_inset
4977 </cell>
4978 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4979 \begin_inset Text
4980
4981 \begin_layout Standard
4982 s
4983 \end_layout
4984
4985 \end_inset
4986 </cell>
4987 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4988 \begin_inset Text
4989
4990 \begin_layout Standard
4991 s
4992 \end_layout
4993
4994 \end_inset
4995 </cell>
4996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
4997 \begin_inset Text
4998
4999 \begin_layout Standard
5000 s
5001 \end_layout
5002
5003 \end_inset
5004 </cell>
5005 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5006 \begin_inset Text
5007
5008 \begin_layout Standard
5009 asd
5010 \end_layout
5011
5012 \end_inset
5013 </cell>
5014 </row>
5015 <row topline="true" bottomline="true">
5016 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5017 \begin_inset Text
5018
5019 \begin_layout Standard
5020 asd
5021 \end_layout
5022
5023 \end_inset
5024 </cell>
5025 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5026 \begin_inset Text
5027
5028 \begin_layout Standard
5029 asd
5030 \end_layout
5031
5032 \end_inset
5033 </cell>
5034 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5035 \begin_inset Text
5036
5037 \begin_layout Standard
5038 asd
5039 \end_layout
5040
5041 \end_inset
5042 </cell>
5043 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5044 \begin_inset Text
5045
5046 \begin_layout Standard
5047 asd
5048 \end_layout
5049
5050 \end_inset
5051 </cell>
5052 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5053 \begin_inset Text
5054
5055 \begin_layout Standard
5056 asd
5057 \end_layout
5058
5059 \end_inset
5060 </cell>
5061 </row>
5062 </lyxtabular>
5063
5064 \end_inset
5065
5066
5067 \begin_inset ERT
5068 status collapsed
5069
5070 \begin_layout Standard
5071
5072
5073 \backslash
5074 setlength{
5075 \backslash
5076 LTleft}{
5077 \backslash
5078 fill}
5079 \end_layout
5080
5081 \end_inset
5082
5083
5084 \end_layout
5085
5086 \begin_layout Subsection
5087 Longtable Captions
5088 \begin_inset LatexCommand index
5089 name "Longtables ! Captions"
5090
5091 \end_inset
5092
5093
5094 \begin_inset LatexCommand label
5095 name "sub:Longtable-Captions"
5096
5097 \end_inset
5098
5099
5100 \end_layout
5101
5102 \begin_layout Standard
5103 A longtable cannot be put into a table float because floats can only be
5104  on one page but the caption environment of floats can also be used for
5105  longtables.
5106 \end_layout
5107
5108 \begin_layout Standard
5109 As LyX does not yet fully support captions in longtables, a hack is needed
5110  to create them:
5111 \end_layout
5112
5113 \begin_layout Enumerate
5114 Create a longtable
5115 \family sans
5116 .
5117 \end_layout
5118
5119 \begin_layout Enumerate
5120 Mark the first row and disable its upper line.
5121 \end_layout
5122
5123 \begin_layout Enumerate
5124 Insert a caption via the menu 
5125 \family sans
5126 Insert\SpecialChar \menuseparator
5127 Caption
5128 \family default
5129  into the first table cell.
5130 \newline
5131 You can also add a short title for the caption.
5132 \end_layout
5133
5134 \begin_layout Enumerate
5135 Insert a 
5136 \begin_inset Quotes eld
5137 \end_inset
5138
5139
5140 \series bold
5141
5142 \backslash
5143
5144 \backslash
5145 %
5146 \series default
5147
5148 \begin_inset Quotes erd
5149 \end_inset
5150
5151  as TeX-Code behind the caption.
5152 \end_layout
5153
5154 \begin_layout Standard
5155 A short title that will appear in the LOT instead of the full title.
5156  The 
5157 \series bold
5158
5159 \backslash
5160
5161 \backslash
5162 %
5163 \series default
5164  behind the caption omits the vertical lines between the following cells
5165  in the row.
5166  The first table row is now only a dummy row for the caption, the actual
5167  table starts with the second row.
5168 \end_layout
5169
5170 \begin_layout Standard
5171 Here is a short longtable to see how it works:
5172 \end_layout
5173
5174 \begin_layout Standard
5175 \begin_inset Tabular
5176 <lyxtabular version="3" rows="6" columns="5">
5177 <features islongtable="true">
5178 <column alignment="center" valignment="top" leftline="true" width="0">
5179 <column alignment="center" valignment="top" leftline="true" width="0">
5180 <column alignment="center" valignment="top" leftline="true" width="0">
5181 <column alignment="center" valignment="top" leftline="true" width="0">
5182 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5183 <row>
5184 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5185 \begin_inset Text
5186
5187 \begin_layout Standard
5188 \begin_inset Caption
5189
5190 \begin_layout Standard
5191 Longtable with caption
5192 \begin_inset OptArg
5193 status open
5194
5195 \begin_layout Standard
5196 Longtable
5197 \end_layout
5198
5199 \end_inset
5200
5201
5202 \end_layout
5203
5204 \end_inset
5205
5206
5207 \begin_inset ERT
5208 status collapsed
5209
5210 \begin_layout Standard
5211
5212
5213 \backslash
5214
5215 \backslash
5216 %
5217 \end_layout
5218
5219 \end_inset
5220
5221
5222 \end_layout
5223
5224 \end_inset
5225 </cell>
5226 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5227 \begin_inset Text
5228
5229 \begin_layout Standard
5230
5231 \end_layout
5232
5233 \end_inset
5234 </cell>
5235 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5236 \begin_inset Text
5237
5238 \begin_layout Standard
5239
5240 \end_layout
5241
5242 \end_inset
5243 </cell>
5244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5245 \begin_inset Text
5246
5247 \begin_layout Standard
5248
5249 \end_layout
5250
5251 \end_inset
5252 </cell>
5253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5254 \begin_inset Text
5255
5256 \begin_layout Standard
5257
5258 \end_layout
5259
5260 \end_inset
5261 </cell>
5262 </row>
5263 <row topline="true">
5264 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5265 \begin_inset Text
5266
5267 \begin_layout Standard
5268 1
5269 \end_layout
5270
5271 \end_inset
5272 </cell>
5273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5274 \begin_inset Text
5275
5276 \begin_layout Standard
5277 2
5278 \end_layout
5279
5280 \end_inset
5281 </cell>
5282 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5283 \begin_inset Text
5284
5285 \begin_layout Standard
5286 3
5287 \end_layout
5288
5289 \end_inset
5290 </cell>
5291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5292 \begin_inset Text
5293
5294 \begin_layout Standard
5295 4
5296 \end_layout
5297
5298 \end_inset
5299 </cell>
5300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5301 \begin_inset Text
5302
5303 \begin_layout Standard
5304 5
5305 \end_layout
5306
5307 \end_inset
5308 </cell>
5309 </row>
5310 <row topline="true">
5311 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5312 \begin_inset Text
5313
5314 \begin_layout Standard
5315 asd
5316 \end_layout
5317
5318 \end_inset
5319 </cell>
5320 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5321 \begin_inset Text
5322
5323 \begin_layout Standard
5324 s
5325 \end_layout
5326
5327 \end_inset
5328 </cell>
5329 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5330 \begin_inset Text
5331
5332 \begin_layout Standard
5333 s
5334 \end_layout
5335
5336 \end_inset
5337 </cell>
5338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5339 \begin_inset Text
5340
5341 \begin_layout Standard
5342 s
5343 \end_layout
5344
5345 \end_inset
5346 </cell>
5347 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5348 \begin_inset Text
5349
5350 \begin_layout Standard
5351 asd
5352 \end_layout
5353
5354 \end_inset
5355 </cell>
5356 </row>
5357 <row topline="true">
5358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5359 \begin_inset Text
5360
5361 \begin_layout Standard
5362 asd
5363 \end_layout
5364
5365 \end_inset
5366 </cell>
5367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5368 \begin_inset Text
5369
5370 \begin_layout Standard
5371 s
5372 \end_layout
5373
5374 \end_inset
5375 </cell>
5376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5377 \begin_inset Text
5378
5379 \begin_layout Standard
5380 s
5381 \end_layout
5382
5383 \end_inset
5384 </cell>
5385 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5386 \begin_inset Text
5387
5388 \begin_layout Standard
5389 s
5390 \end_layout
5391
5392 \end_inset
5393 </cell>
5394 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5395 \begin_inset Text
5396
5397 \begin_layout Standard
5398 asd
5399 \end_layout
5400
5401 \end_inset
5402 </cell>
5403 </row>
5404 <row topline="true">
5405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5406 \begin_inset Text
5407
5408 \begin_layout Standard
5409 asd
5410 \end_layout
5411
5412 \end_inset
5413 </cell>
5414 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5415 \begin_inset Text
5416
5417 \begin_layout Standard
5418 s
5419 \end_layout
5420
5421 \end_inset
5422 </cell>
5423 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5424 \begin_inset Text
5425
5426 \begin_layout Standard
5427 s
5428 \end_layout
5429
5430 \end_inset
5431 </cell>
5432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5433 \begin_inset Text
5434
5435 \begin_layout Standard
5436 s
5437 \end_layout
5438
5439 \end_inset
5440 </cell>
5441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5442 \begin_inset Text
5443
5444 \begin_layout Standard
5445 asd
5446 \end_layout
5447
5448 \end_inset
5449 </cell>
5450 </row>
5451 <row topline="true" bottomline="true">
5452 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5453 \begin_inset Text
5454
5455 \begin_layout Standard
5456 asd
5457 \end_layout
5458
5459 \end_inset
5460 </cell>
5461 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5462 \begin_inset Text
5463
5464 \begin_layout Standard
5465 asd
5466 \end_layout
5467
5468 \end_inset
5469 </cell>
5470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5471 \begin_inset Text
5472
5473 \begin_layout Standard
5474 asd
5475 \end_layout
5476
5477 \end_inset
5478 </cell>
5479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5480 \begin_inset Text
5481
5482 \begin_layout Standard
5483 asd
5484 \end_layout
5485
5486 \end_inset
5487 </cell>
5488 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5489 \begin_inset Text
5490
5491 \begin_layout Standard
5492 asd
5493 \end_layout
5494
5495 \end_inset
5496 </cell>
5497 </row>
5498 </lyxtabular>
5499
5500 \end_inset
5501
5502
5503 \end_layout
5504
5505 \begin_layout Standard
5506 \begin_inset VSpace medskip
5507 \end_inset
5508
5509
5510 \begin_inset Note Greyedout
5511 status open
5512
5513 \begin_layout Standard
5514
5515 \series bold
5516 Note:
5517 \series default
5518  The table number is increased for every longtable, also if you didn't set
5519  a caption for it.
5520  For this reason you could have the case that e.g.
5521  Table\InsetSpace ~
5522 2.4 follows on Table\InsetSpace ~
5523 2.1 in the list of tables if there are two longtables
5524  without captions.
5525  To avoid this you can add the following command in TeX-Code behind every
5526  longtable without a caption:
5527 \end_layout
5528
5529 \begin_layout Standard
5530
5531 \series bold
5532
5533 \backslash
5534 addtocounter{table}{-1}
5535 \end_layout
5536
5537 \end_inset
5538
5539
5540 \end_layout
5541
5542 \begin_layout Standard
5543 \begin_inset Note Greyedout
5544 status open
5545
5546 \begin_layout Standard
5547
5548 \series bold
5549 Note:
5550 \series default
5551  If you are using the LaTeX-package 
5552 \series bold
5553 hyperref
5554 \series default
5555
5556 \begin_inset LatexCommand index
5557 name "LaTeX-packages ! hyperref"
5558
5559 \end_inset
5560
5561  to link cross-references, the link to a longtable caption will always point
5562  to the beginning of the document.
5563 \end_layout
5564
5565 \end_inset
5566
5567
5568 \end_layout
5569
5570 \begin_layout Standard
5571
5572 \newpage
5573
5574 \end_layout
5575
5576 \begin_layout Subsubsection
5577 References to Longtables
5578 \begin_inset LatexCommand index
5579 name "Longtables ! References"
5580
5581 \end_inset
5582
5583
5584 \end_layout
5585
5586 \begin_layout Standard
5587 \begin_inset Tabular
5588 <lyxtabular version="3" rows="6" columns="5">
5589 <features islongtable="true">
5590 <column alignment="center" valignment="top" leftline="true" width="0">
5591 <column alignment="center" valignment="top" leftline="true" width="0">
5592 <column alignment="center" valignment="top" leftline="true" width="0">
5593 <column alignment="center" valignment="top" leftline="true" width="0">
5594 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
5595 <row>
5596 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5597 \begin_inset Text
5598
5599 \begin_layout Standard
5600 \begin_inset Caption
5601
5602 \begin_layout Standard
5603 Referenced longtable
5604 \begin_inset LatexCommand label
5605 name "tab:RefExample"
5606
5607 \end_inset
5608
5609
5610 \end_layout
5611
5612 \end_inset
5613
5614
5615 \begin_inset ERT
5616 status collapsed
5617
5618 \begin_layout Standard
5619
5620
5621 \backslash
5622
5623 \backslash
5624 %
5625 \end_layout
5626
5627 \end_inset
5628
5629
5630 \end_layout
5631
5632 \end_inset
5633 </cell>
5634 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5635 \begin_inset Text
5636
5637 \begin_layout Standard
5638
5639 \end_layout
5640
5641 \end_inset
5642 </cell>
5643 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5644 \begin_inset Text
5645
5646 \begin_layout Standard
5647
5648 \end_layout
5649
5650 \end_inset
5651 </cell>
5652 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5653 \begin_inset Text
5654
5655 \begin_layout Standard
5656
5657 \end_layout
5658
5659 \end_inset
5660 </cell>
5661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5662 \begin_inset Text
5663
5664 \begin_layout Standard
5665
5666 \end_layout
5667
5668 \end_inset
5669 </cell>
5670 </row>
5671 <row topline="true">
5672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5673 \begin_inset Text
5674
5675 \begin_layout Standard
5676 1
5677 \end_layout
5678
5679 \end_inset
5680 </cell>
5681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5682 \begin_inset Text
5683
5684 \begin_layout Standard
5685 2
5686 \end_layout
5687
5688 \end_inset
5689 </cell>
5690 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5691 \begin_inset Text
5692
5693 \begin_layout Standard
5694 3
5695 \end_layout
5696
5697 \end_inset
5698 </cell>
5699 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5700 \begin_inset Text
5701
5702 \begin_layout Standard
5703 4
5704 \end_layout
5705
5706 \end_inset
5707 </cell>
5708 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5709 \begin_inset Text
5710
5711 \begin_layout Standard
5712 5
5713 \end_layout
5714
5715 \end_inset
5716 </cell>
5717 </row>
5718 <row topline="true">
5719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5720 \begin_inset Text
5721
5722 \begin_layout Standard
5723 asd
5724 \end_layout
5725
5726 \end_inset
5727 </cell>
5728 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5729 \begin_inset Text
5730
5731 \begin_layout Standard
5732 s
5733 \end_layout
5734
5735 \end_inset
5736 </cell>
5737 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5738 \begin_inset Text
5739
5740 \begin_layout Standard
5741 s
5742 \end_layout
5743
5744 \end_inset
5745 </cell>
5746 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5747 \begin_inset Text
5748
5749 \begin_layout Standard
5750 s
5751 \end_layout
5752
5753 \end_inset
5754 </cell>
5755 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5756 \begin_inset Text
5757
5758 \begin_layout Standard
5759 asd
5760 \end_layout
5761
5762 \end_inset
5763 </cell>
5764 </row>
5765 <row topline="true">
5766 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5767 \begin_inset Text
5768
5769 \begin_layout Standard
5770 asd
5771 \end_layout
5772
5773 \end_inset
5774 </cell>
5775 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5776 \begin_inset Text
5777
5778 \begin_layout Standard
5779 s
5780 \end_layout
5781
5782 \end_inset
5783 </cell>
5784 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5785 \begin_inset Text
5786
5787 \begin_layout Standard
5788 s
5789 \end_layout
5790
5791 \end_inset
5792 </cell>
5793 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5794 \begin_inset Text
5795
5796 \begin_layout Standard
5797 s
5798 \end_layout
5799
5800 \end_inset
5801 </cell>
5802 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5803 \begin_inset Text
5804
5805 \begin_layout Standard
5806 asd
5807 \end_layout
5808
5809 \end_inset
5810 </cell>
5811 </row>
5812 <row topline="true">
5813 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5814 \begin_inset Text
5815
5816 \begin_layout Standard
5817 asd
5818 \end_layout
5819
5820 \end_inset
5821 </cell>
5822 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5823 \begin_inset Text
5824
5825 \begin_layout Standard
5826 s
5827 \end_layout
5828
5829 \end_inset
5830 </cell>
5831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5832 \begin_inset Text
5833
5834 \begin_layout Standard
5835 s
5836 \end_layout
5837
5838 \end_inset
5839 </cell>
5840 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5841 \begin_inset Text
5842
5843 \begin_layout Standard
5844 s
5845 \end_layout
5846
5847 \end_inset
5848 </cell>
5849 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5850 \begin_inset Text
5851
5852 \begin_layout Standard
5853 asd
5854 \end_layout
5855
5856 \end_inset
5857 </cell>
5858 </row>
5859 <row topline="true" bottomline="true">
5860 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5861 \begin_inset Text
5862
5863 \begin_layout Standard
5864 asd
5865 \end_layout
5866
5867 \end_inset
5868 </cell>
5869 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5870 \begin_inset Text
5871
5872 \begin_layout Standard
5873 sad
5874 \end_layout
5875
5876 \end_inset
5877 </cell>
5878 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5879 \begin_inset Text
5880
5881 \begin_layout Standard
5882 asd
5883 \end_layout
5884
5885 \end_inset
5886 </cell>
5887 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
5888 \begin_inset Text
5889
5890 \begin_layout Standard
5891 asd
5892 \end_layout
5893
5894 \end_inset
5895 </cell>
5896 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
5897 \begin_inset Text
5898
5899 \begin_layout Standard
5900 asd
5901 \end_layout
5902
5903 \end_inset
5904 </cell>
5905 </row>
5906 </lyxtabular>
5907
5908 \end_inset
5909
5910
5911 \end_layout
5912
5913 \begin_layout Standard
5914 To reference a longtable, insert a label into the caption.
5915  Note that you have to add the label prefix 
5916 \begin_inset Quotes eld
5917 \end_inset
5918
5919
5920 \emph on
5921 tab:
5922 \emph default
5923
5924 \begin_inset Quotes eld
5925 \end_inset
5926
5927  manually in the label field.
5928 \end_layout
5929
5930 \begin_layout Standard
5931 This is a reference to Table\InsetSpace ~
5932
5933 \begin_inset LatexCommand ref
5934 reference "tab:RefExample"
5935
5936 \end_inset
5937
5938 .
5939 \end_layout
5940
5941 \begin_layout Standard
5942 The caption layout can be set together with all other caption of your document
5943  using the LaTeX-package 
5944 \series bold
5945 caption
5946 \series default
5947
5948 \begin_inset LatexCommand index
5949 name "LaTeX-packages ! caption"
5950
5951 \end_inset
5952
5953 , see section\InsetSpace ~
5954
5955 \begin_inset LatexCommand ref
5956 reference "sec:Caption-Formatting"
5957
5958 \end_inset
5959
5960 .
5961 \end_layout
5962
5963 \begin_layout Subsubsection
5964 Caption Width
5965 \begin_inset LatexCommand index
5966 name "Longtables ! Caption Width"
5967
5968 \end_inset
5969
5970
5971 \end_layout
5972
5973 \begin_layout Standard
5974 The maximal width of of caption lines is defined by the length 
5975 \series bold
5976
5977 \backslash
5978 LTcapwidth
5979 \series default
5980 .
5981  Its default value is 4\InsetSpace \thinspace{}
5982 in.
5983  To change it add the following command to your document preamble or as
5984  TeX-Code into your document before the longtable that should be affected
5985 \end_layout
5986
5987 \begin_layout Standard
5988
5989 \series bold
5990
5991 \backslash
5992 setlength{
5993 \backslash
5994 LTcapwidth}{width}
5995 \end_layout
5996
5997 \begin_layout Standard
5998 where the width could have one of the units listed in appendix\InsetSpace ~
5999
6000 \begin_inset LatexCommand ref
6001 reference "cha:Units-available-in"
6002
6003 \end_inset
6004
6005 .
6006 \end_layout
6007
6008 \begin_layout Standard
6009 The following tables show the difference:
6010 \end_layout
6011
6012 \begin_layout Standard
6013 \begin_inset Tabular
6014 <lyxtabular version="3" rows="6" columns="5">
6015 <features islongtable="true">
6016 <column alignment="center" valignment="top" leftline="true" width="0">
6017 <column alignment="center" valignment="top" leftline="true" width="0">
6018 <column alignment="center" valignment="top" leftline="true" width="0">
6019 <column alignment="center" valignment="top" leftline="true" width="0">
6020 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6021 <row>
6022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6023 \begin_inset Text
6024
6025 \begin_layout Standard
6026 \begin_inset Caption
6027
6028 \begin_layout Standard
6029 long full title with default width long full title with default width long
6030  full title with default width
6031 \begin_inset OptArg
6032 status collapsed
6033
6034 \begin_layout Standard
6035 caption with default width
6036 \end_layout
6037
6038 \end_inset
6039
6040
6041 \end_layout
6042
6043 \end_inset
6044
6045
6046 \begin_inset ERT
6047 status collapsed
6048
6049 \begin_layout Standard
6050
6051
6052 \backslash
6053
6054 \backslash
6055 %
6056 \end_layout
6057
6058 \end_inset
6059
6060
6061 \end_layout
6062
6063 \end_inset
6064 </cell>
6065 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6066 \begin_inset Text
6067
6068 \begin_layout Standard
6069
6070 \end_layout
6071
6072 \end_inset
6073 </cell>
6074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6075 \begin_inset Text
6076
6077 \begin_layout Standard
6078
6079 \end_layout
6080
6081 \end_inset
6082 </cell>
6083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6084 \begin_inset Text
6085
6086 \begin_layout Standard
6087
6088 \end_layout
6089
6090 \end_inset
6091 </cell>
6092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6093 \begin_inset Text
6094
6095 \begin_layout Standard
6096
6097 \end_layout
6098
6099 \end_inset
6100 </cell>
6101 </row>
6102 <row topline="true">
6103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6104 \begin_inset Text
6105
6106 \begin_layout Standard
6107 1
6108 \end_layout
6109
6110 \end_inset
6111 </cell>
6112 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6113 \begin_inset Text
6114
6115 \begin_layout Standard
6116 2
6117 \end_layout
6118
6119 \end_inset
6120 </cell>
6121 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6122 \begin_inset Text
6123
6124 \begin_layout Standard
6125 3
6126 \end_layout
6127
6128 \end_inset
6129 </cell>
6130 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6131 \begin_inset Text
6132
6133 \begin_layout Standard
6134 4
6135 \end_layout
6136
6137 \end_inset
6138 </cell>
6139 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6140 \begin_inset Text
6141
6142 \begin_layout Standard
6143 5
6144 \end_layout
6145
6146 \end_inset
6147 </cell>
6148 </row>
6149 <row topline="true">
6150 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6151 \begin_inset Text
6152
6153 \begin_layout Standard
6154 asd
6155 \end_layout
6156
6157 \end_inset
6158 </cell>
6159 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6160 \begin_inset Text
6161
6162 \begin_layout Standard
6163 s
6164 \end_layout
6165
6166 \end_inset
6167 </cell>
6168 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6169 \begin_inset Text
6170
6171 \begin_layout Standard
6172 s
6173 \end_layout
6174
6175 \end_inset
6176 </cell>
6177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6178 \begin_inset Text
6179
6180 \begin_layout Standard
6181 s
6182 \end_layout
6183
6184 \end_inset
6185 </cell>
6186 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6187 \begin_inset Text
6188
6189 \begin_layout Standard
6190 asd
6191 \end_layout
6192
6193 \end_inset
6194 </cell>
6195 </row>
6196 <row topline="true">
6197 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6198 \begin_inset Text
6199
6200 \begin_layout Standard
6201 asd
6202 \end_layout
6203
6204 \end_inset
6205 </cell>
6206 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6207 \begin_inset Text
6208
6209 \begin_layout Standard
6210 s
6211 \end_layout
6212
6213 \end_inset
6214 </cell>
6215 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6216 \begin_inset Text
6217
6218 \begin_layout Standard
6219 s
6220 \end_layout
6221
6222 \end_inset
6223 </cell>
6224 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6225 \begin_inset Text
6226
6227 \begin_layout Standard
6228 s
6229 \end_layout
6230
6231 \end_inset
6232 </cell>
6233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6234 \begin_inset Text
6235
6236 \begin_layout Standard
6237 asd
6238 \end_layout
6239
6240 \end_inset
6241 </cell>
6242 </row>
6243 <row topline="true">
6244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6245 \begin_inset Text
6246
6247 \begin_layout Standard
6248 asd
6249 \end_layout
6250
6251 \end_inset
6252 </cell>
6253 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6254 \begin_inset Text
6255
6256 \begin_layout Standard
6257 s
6258 \end_layout
6259
6260 \end_inset
6261 </cell>
6262 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6263 \begin_inset Text
6264
6265 \begin_layout Standard
6266 s
6267 \end_layout
6268
6269 \end_inset
6270 </cell>
6271 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6272 \begin_inset Text
6273
6274 \begin_layout Standard
6275 s
6276 \end_layout
6277
6278 \end_inset
6279 </cell>
6280 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6281 \begin_inset Text
6282
6283 \begin_layout Standard
6284 asd
6285 \end_layout
6286
6287 \end_inset
6288 </cell>
6289 </row>
6290 <row topline="true" bottomline="true">
6291 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6292 \begin_inset Text
6293
6294 \begin_layout Standard
6295 asd
6296 \end_layout
6297
6298 \end_inset
6299 </cell>
6300 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6301 \begin_inset Text
6302
6303 \begin_layout Standard
6304 sad
6305 \end_layout
6306
6307 \end_inset
6308 </cell>
6309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6310 \begin_inset Text
6311
6312 \begin_layout Standard
6313 asd
6314 \end_layout
6315
6316 \end_inset
6317 </cell>
6318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6319 \begin_inset Text
6320
6321 \begin_layout Standard
6322 asd
6323 \end_layout
6324
6325 \end_inset
6326 </cell>
6327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6328 \begin_inset Text
6329
6330 \begin_layout Standard
6331 asd
6332 \end_layout
6333
6334 \end_inset
6335 </cell>
6336 </row>
6337 </lyxtabular>
6338
6339 \end_inset
6340
6341
6342 \end_layout
6343
6344 \begin_layout Standard
6345 \begin_inset ERT
6346 status collapsed
6347
6348 \begin_layout Standard
6349
6350
6351 \backslash
6352 setlength{
6353 \backslash
6354 LTcapwidth}{5cm}
6355 \end_layout
6356
6357 \end_inset
6358
6359
6360 \begin_inset Tabular
6361 <lyxtabular version="3" rows="6" columns="5">
6362 <features islongtable="true">
6363 <column alignment="center" valignment="top" leftline="true" width="0">
6364 <column alignment="center" valignment="top" leftline="true" width="0">
6365 <column alignment="center" valignment="top" leftline="true" width="0">
6366 <column alignment="center" valignment="top" leftline="true" width="0">
6367 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
6368 <row>
6369 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6370 \begin_inset Text
6371
6372 \begin_layout Standard
6373 \begin_inset Caption
6374
6375 \begin_layout Standard
6376 long full title with width set to 5\InsetSpace \thinspace{}
6377 cm long full title with width set to
6378  5\InsetSpace \thinspace{}
6379 cm long full title with width set to 5\InsetSpace \thinspace{}
6380 cm
6381 \begin_inset OptArg
6382 status collapsed
6383
6384 \begin_layout Standard
6385 caption with width\InsetSpace \thinspace{}
6386 =\InsetSpace \thinspace{}
6387 5\InsetSpace \thinspace{}
6388 cm
6389 \end_layout
6390
6391 \end_inset
6392
6393
6394 \end_layout
6395
6396 \end_inset
6397
6398
6399 \begin_inset ERT
6400 status collapsed
6401
6402 \begin_layout Standard
6403
6404
6405 \backslash
6406
6407 \backslash
6408 %
6409 \end_layout
6410
6411 \end_inset
6412
6413
6414 \end_layout
6415
6416 \end_inset
6417 </cell>
6418 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6419 \begin_inset Text
6420
6421 \begin_layout Standard
6422
6423 \end_layout
6424
6425 \end_inset
6426 </cell>
6427 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6428 \begin_inset Text
6429
6430 \begin_layout Standard
6431
6432 \end_layout
6433
6434 \end_inset
6435 </cell>
6436 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6437 \begin_inset Text
6438
6439 \begin_layout Standard
6440
6441 \end_layout
6442
6443 \end_inset
6444 </cell>
6445 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6446 \begin_inset Text
6447
6448 \begin_layout Standard
6449
6450 \end_layout
6451
6452 \end_inset
6453 </cell>
6454 </row>
6455 <row topline="true">
6456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6457 \begin_inset Text
6458
6459 \begin_layout Standard
6460 1
6461 \end_layout
6462
6463 \end_inset
6464 </cell>
6465 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6466 \begin_inset Text
6467
6468 \begin_layout Standard
6469 2
6470 \end_layout
6471
6472 \end_inset
6473 </cell>
6474 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6475 \begin_inset Text
6476
6477 \begin_layout Standard
6478 3
6479 \end_layout
6480
6481 \end_inset
6482 </cell>
6483 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6484 \begin_inset Text
6485
6486 \begin_layout Standard
6487 4
6488 \end_layout
6489
6490 \end_inset
6491 </cell>
6492 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6493 \begin_inset Text
6494
6495 \begin_layout Standard
6496 5
6497 \end_layout
6498
6499 \end_inset
6500 </cell>
6501 </row>
6502 <row topline="true">
6503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6504 \begin_inset Text
6505
6506 \begin_layout Standard
6507 asd
6508 \end_layout
6509
6510 \end_inset
6511 </cell>
6512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6513 \begin_inset Text
6514
6515 \begin_layout Standard
6516 s
6517 \end_layout
6518
6519 \end_inset
6520 </cell>
6521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6522 \begin_inset Text
6523
6524 \begin_layout Standard
6525 s
6526 \end_layout
6527
6528 \end_inset
6529 </cell>
6530 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6531 \begin_inset Text
6532
6533 \begin_layout Standard
6534 s
6535 \end_layout
6536
6537 \end_inset
6538 </cell>
6539 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6540 \begin_inset Text
6541
6542 \begin_layout Standard
6543 asd
6544 \end_layout
6545
6546 \end_inset
6547 </cell>
6548 </row>
6549 <row topline="true">
6550 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6551 \begin_inset Text
6552
6553 \begin_layout Standard
6554 asd
6555 \end_layout
6556
6557 \end_inset
6558 </cell>
6559 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6560 \begin_inset Text
6561
6562 \begin_layout Standard
6563 s
6564 \end_layout
6565
6566 \end_inset
6567 </cell>
6568 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6569 \begin_inset Text
6570
6571 \begin_layout Standard
6572 s
6573 \end_layout
6574
6575 \end_inset
6576 </cell>
6577 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6578 \begin_inset Text
6579
6580 \begin_layout Standard
6581 s
6582 \end_layout
6583
6584 \end_inset
6585 </cell>
6586 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6587 \begin_inset Text
6588
6589 \begin_layout Standard
6590 asd
6591 \end_layout
6592
6593 \end_inset
6594 </cell>
6595 </row>
6596 <row topline="true">
6597 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6598 \begin_inset Text
6599
6600 \begin_layout Standard
6601 asd
6602 \end_layout
6603
6604 \end_inset
6605 </cell>
6606 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6607 \begin_inset Text
6608
6609 \begin_layout Standard
6610 s
6611 \end_layout
6612
6613 \end_inset
6614 </cell>
6615 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6616 \begin_inset Text
6617
6618 \begin_layout Standard
6619 s
6620 \end_layout
6621
6622 \end_inset
6623 </cell>
6624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6625 \begin_inset Text
6626
6627 \begin_layout Standard
6628 s
6629 \end_layout
6630
6631 \end_inset
6632 </cell>
6633 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6634 \begin_inset Text
6635
6636 \begin_layout Standard
6637 asd
6638 \end_layout
6639
6640 \end_inset
6641 </cell>
6642 </row>
6643 <row topline="true" bottomline="true">
6644 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6645 \begin_inset Text
6646
6647 \begin_layout Standard
6648 asd
6649 \end_layout
6650
6651 \end_inset
6652 </cell>
6653 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6654 \begin_inset Text
6655
6656 \begin_layout Standard
6657 sad
6658 \end_layout
6659
6660 \end_inset
6661 </cell>
6662 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6663 \begin_inset Text
6664
6665 \begin_layout Standard
6666 asd
6667 \end_layout
6668
6669 \end_inset
6670 </cell>
6671 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6672 \begin_inset Text
6673
6674 \begin_layout Standard
6675 asd
6676 \end_layout
6677
6678 \end_inset
6679 </cell>
6680 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6681 \begin_inset Text
6682
6683 \begin_layout Standard
6684 asd
6685 \end_layout
6686
6687 \end_inset
6688 </cell>
6689 </row>
6690 </lyxtabular>
6691
6692 \end_inset
6693
6694
6695 \end_layout
6696
6697 \begin_layout Standard
6698 \begin_inset ERT
6699 status collapsed
6700
6701 \begin_layout Standard
6702
6703
6704 \backslash
6705 setlength{
6706 \backslash
6707 LTcapwidth}{4in}
6708 \end_layout
6709
6710 \end_inset
6711
6712
6713 \end_layout
6714
6715 \begin_layout Standard
6716 \begin_inset Note Greyedout
6717 status open
6718
6719 \begin_layout Standard
6720
6721 \series bold
6722 Note:
6723 \series default
6724  When the LaTeX-package 
6725 \series bold
6726 caption
6727 \series default
6728
6729 \begin_inset LatexCommand index
6730 name "LaTeX-packages ! caption"
6731
6732 \end_inset
6733
6734  is used, as in this document, the full page width is used for the caption
6735  when you use the default value of 4\InsetSpace \thinspace{}
6736 in for 
6737 \series bold
6738
6739 \backslash
6740 LTcapwidth
6741 \series default
6742 .
6743  To get in this case exactly a 4\InsetSpace \thinspace{}
6744 in wide caption, you can either use a value
6745  slightly different from 4.0\InsetSpace \thinspace{}
6746 in, e.g.
6747  3.99\InsetSpace \thinspace{}
6748 in, or the LaTeX-command 
6749 \series bold
6750
6751 \backslash
6752 captionsetup{width=value}
6753 \series default
6754  that is provided by the 
6755 \series bold
6756 caption
6757 \series default
6758 -package.
6759 \end_layout
6760
6761 \end_inset
6762
6763
6764 \end_layout
6765
6766 \begin_layout Subsubsection
6767 Different Captions for Table Pages
6768 \begin_inset LatexCommand index
6769 name "Longtables ! Different Captions for Pages"
6770
6771 \end_inset
6772
6773
6774 \end_layout
6775
6776 \begin_layout Standard
6777 When the other captions should differ from the one of the first table page,
6778  insert a caption with a non-empty short title in a dummy caption row marked
6779  as first header.
6780  The caption used for the other table pages is inserted as caption without
6781  a short title in a dummy caption row that is marked as main header.
6782  When this caption shouldn't include the table number, use the command
6783 \end_layout
6784
6785 \begin_layout Standard
6786
6787 \series bold
6788
6789 \backslash
6790 caption*{caption text}
6791 \end_layout
6792
6793 \begin_layout Standard
6794 instead of LyX's caption box.
6795  The label to reference the table is inserted into the caption of the first
6796  header.
6797  Table\InsetSpace ~
6798
6799 \begin_inset LatexCommand ref
6800 reference "tab:DiffCaptions"
6801
6802 \end_inset
6803
6804  is an example for a longtable with different heading where the second caption
6805  doesn't include the table number.
6806 \end_layout
6807
6808 \begin_layout Standard
6809 \align center
6810 \begin_inset Tabular
6811 <lyxtabular version="3" rows="60" columns="3">
6812 <features islongtable="true">
6813 <column alignment="left" valignment="top" leftline="true" width="0cm">
6814 <column alignment="left" valignment="top" rightline="true" width="0pt">
6815 <column alignment="right" valignment="top" rightline="true" width="0pt">
6816 <row endfirsthead="true">
6817 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6818 \begin_inset Text
6819
6820 \begin_layout Standard
6821 \begin_inset Caption
6822
6823 \begin_layout Standard
6824 Example Phone List
6825 \begin_inset LatexCommand label
6826 name "tab:DiffCaptions"
6827
6828 \end_inset
6829
6830
6831 \begin_inset OptArg
6832 status collapsed
6833
6834 \begin_layout Standard
6835 Example Phone List
6836 \end_layout
6837
6838 \end_inset
6839
6840
6841 \end_layout
6842
6843 \end_inset
6844
6845
6846 \begin_inset ERT
6847 status collapsed
6848
6849 \begin_layout Standard
6850
6851
6852 \backslash
6853
6854 \backslash
6855 %
6856 \end_layout
6857
6858 \end_inset
6859
6860
6861 \end_layout
6862
6863 \end_inset
6864 </cell>
6865 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6866 \begin_inset Text
6867
6868 \begin_layout Standard
6869
6870 \end_layout
6871
6872 \end_inset
6873 </cell>
6874 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6875 \begin_inset Text
6876
6877 \begin_layout Standard
6878
6879 \end_layout
6880
6881 \end_inset
6882 </cell>
6883 </row>
6884 <row topline="true" bottomline="true" endfirsthead="true">
6885 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6886 \begin_inset Text
6887
6888 \begin_layout Standard
6889
6890 \series bold
6891 Example Phone List (ignore the names)
6892 \end_layout
6893
6894 \end_inset
6895 </cell>
6896 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6897 \begin_inset Text
6898
6899 \begin_layout Standard
6900
6901 \end_layout
6902
6903 \end_inset
6904 </cell>
6905 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6906 \begin_inset Text
6907
6908 \begin_layout Standard
6909
6910 \end_layout
6911
6912 \end_inset
6913 </cell>
6914 </row>
6915 <row topline="true" bottomline="true" endfirsthead="true">
6916 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
6917 \begin_inset Text
6918
6919 \begin_layout Standard
6920
6921 \series bold
6922 NAME
6923 \end_layout
6924
6925 \end_inset
6926 </cell>
6927 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
6928 \begin_inset Text
6929
6930 \begin_layout Standard
6931
6932 \end_layout
6933
6934 \end_inset
6935 </cell>
6936 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6937 \begin_inset Text
6938
6939 \begin_layout Standard
6940
6941 \series bold
6942 TEL.
6943 \end_layout
6944
6945 \end_inset
6946 </cell>
6947 </row>
6948 <row bottomline="true" endhead="true">
6949 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
6950 \begin_inset Text
6951
6952 \begin_layout Standard
6953 \begin_inset ERT
6954 status open
6955
6956 \begin_layout Standard
6957
6958
6959 \backslash
6960 caption*{Continued Example Phone List}
6961 \backslash
6962
6963 \backslash
6964 %
6965 \end_layout
6966
6967 \end_inset
6968
6969
6970 \end_layout
6971
6972 \end_inset
6973 </cell>
6974 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
6975 \begin_inset Text
6976
6977 \begin_layout Standard
6978
6979 \end_layout
6980
6981 \end_inset
6982 </cell>
6983 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
6984 \begin_inset Text
6985
6986 \begin_layout Standard
6987
6988 \end_layout
6989
6990 \end_inset
6991 </cell>
6992 </row>
6993 <row topline="true" bottomline="true" endhead="true">
6994 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
6995 \begin_inset Text
6996
6997 \begin_layout Standard
6998
6999 \series bold
7000 Example Phone List
7001 \end_layout
7002
7003 \end_inset
7004 </cell>
7005 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7006 \begin_inset Text
7007
7008 \begin_layout Standard
7009
7010 \end_layout
7011
7012 \end_inset
7013 </cell>
7014 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7015 \begin_inset Text
7016
7017 \begin_layout Standard
7018
7019 \end_layout
7020
7021 \end_inset
7022 </cell>
7023 </row>
7024 <row topline="true" bottomline="true" endhead="true">
7025 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
7026 \begin_inset Text
7027
7028 \begin_layout Standard
7029
7030 \series bold
7031 NAME
7032 \end_layout
7033
7034 \end_inset
7035 </cell>
7036 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7037 \begin_inset Text
7038
7039 \begin_layout Standard
7040
7041 \end_layout
7042
7043 \end_inset
7044 </cell>
7045 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
7046 \begin_inset Text
7047
7048 \begin_layout Standard
7049
7050 \series bold
7051 TEL.
7052 \end_layout
7053
7054 \end_inset
7055 </cell>
7056 </row>
7057 <row topline="true" bottomline="true" endfoot="true">
7058 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
7059 \begin_inset Text
7060
7061 \begin_layout Standard
7062 continued on next page
7063 \end_layout
7064
7065 \end_inset
7066 </cell>
7067 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
7068 \begin_inset Text
7069
7070 \begin_layout Standard
7071
7072 \end_layout
7073
7074 \end_inset
7075 </cell>
7076 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
7077 \begin_inset Text
7078
7079 \begin_layout Standard
7080
7081 \end_layout
7082
7083 \end_inset
7084 </cell>
7085 </row>
7086 <row>
7087 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7088 \begin_inset Text
7089
7090 \begin_layout Standard
7091
7092 \series bold
7093 Annovi
7094 \end_layout
7095
7096 \end_inset
7097 </cell>
7098 <cell alignment="center" valignment="top" topline="true" usebox="none">
7099 \begin_inset Text
7100
7101 \begin_layout Standard
7102 Silvia
7103 \end_layout
7104
7105 \end_inset
7106 </cell>
7107 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7108 \begin_inset Text
7109
7110 \begin_layout Standard
7111 111
7112 \end_layout
7113
7114 \end_inset
7115 </cell>
7116 </row>
7117 <row>
7118 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7119 \begin_inset Text
7120
7121 \begin_layout Standard
7122
7123 \series bold
7124 Bertoli
7125 \end_layout
7126
7127 \end_inset
7128 </cell>
7129 <cell alignment="center" valignment="top" topline="true" usebox="none">
7130 \begin_inset Text
7131
7132 \begin_layout Standard
7133 Stefano
7134 \end_layout
7135
7136 \end_inset
7137 </cell>
7138 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7139 \begin_inset Text
7140
7141 \begin_layout Standard
7142 111
7143 \end_layout
7144
7145 \end_inset
7146 </cell>
7147 </row>
7148 <row>
7149 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7150 \begin_inset Text
7151
7152 \begin_layout Standard
7153
7154 \series bold
7155 Bozzi
7156 \end_layout
7157
7158 \end_inset
7159 </cell>
7160 <cell alignment="center" valignment="top" topline="true" usebox="none">
7161 \begin_inset Text
7162
7163 \begin_layout Standard
7164 Walter
7165 \end_layout
7166
7167 \end_inset
7168 </cell>
7169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7170 \begin_inset Text
7171
7172 \begin_layout Standard
7173 111
7174 \end_layout
7175
7176 \end_inset
7177 </cell>
7178 </row>
7179 <row>
7180 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7181 \begin_inset Text
7182
7183 \begin_layout Standard
7184
7185 \series bold
7186 Cachia
7187 \end_layout
7188
7189 \end_inset
7190 </cell>
7191 <cell alignment="center" valignment="top" topline="true" usebox="none">
7192 \begin_inset Text
7193
7194 \begin_layout Standard
7195 Maria
7196 \end_layout
7197
7198 \end_inset
7199 </cell>
7200 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7201 \begin_inset Text
7202
7203 \begin_layout Standard
7204 111
7205 \end_layout
7206
7207 \end_inset
7208 </cell>
7209 </row>
7210 <row>
7211 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7212 \begin_inset Text
7213
7214 \begin_layout Standard
7215
7216 \series bold
7217 Cachia
7218 \end_layout
7219
7220 \end_inset
7221 </cell>
7222 <cell alignment="center" valignment="top" topline="true" usebox="none">
7223 \begin_inset Text
7224
7225 \begin_layout Standard
7226 Maurizio
7227 \end_layout
7228
7229 \end_inset
7230 </cell>
7231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7232 \begin_inset Text
7233
7234 \begin_layout Standard
7235 111
7236 \end_layout
7237
7238 \end_inset
7239 </cell>
7240 </row>
7241 <row>
7242 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7243 \begin_inset Text
7244
7245 \begin_layout Standard
7246
7247 \series bold
7248 Cinquemani
7249 \end_layout
7250
7251 \end_inset
7252 </cell>
7253 <cell alignment="center" valignment="top" topline="true" usebox="none">
7254 \begin_inset Text
7255
7256 \begin_layout Standard
7257 Giusi
7258 \end_layout
7259
7260 \end_inset
7261 </cell>
7262 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7263 \begin_inset Text
7264
7265 \begin_layout Standard
7266 111
7267 \end_layout
7268
7269 \end_inset
7270 </cell>
7271 </row>
7272 <row>
7273 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7274 \begin_inset Text
7275
7276 \begin_layout Standard
7277
7278 \series bold
7279 Colin
7280 \end_layout
7281
7282 \end_inset
7283 </cell>
7284 <cell alignment="center" valignment="top" topline="true" usebox="none">
7285 \begin_inset Text
7286
7287 \begin_layout Standard
7288 Bernard
7289 \end_layout
7290
7291 \end_inset
7292 </cell>
7293 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7294 \begin_inset Text
7295
7296 \begin_layout Standard
7297 111
7298 \end_layout
7299
7300 \end_inset
7301 </cell>
7302 </row>
7303 <row>
7304 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7305 \begin_inset Text
7306
7307 \begin_layout Standard
7308
7309 \series bold
7310 Concli
7311 \end_layout
7312
7313 \end_inset
7314 </cell>
7315 <cell alignment="center" valignment="top" topline="true" usebox="none">
7316 \begin_inset Text
7317
7318 \begin_layout Standard
7319 Gianfranco
7320 \end_layout
7321
7322 \end_inset
7323 </cell>
7324 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7325 \begin_inset Text
7326
7327 \begin_layout Standard
7328 111
7329 \end_layout
7330
7331 \end_inset
7332 </cell>
7333 </row>
7334 <row>
7335 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7336 \begin_inset Text
7337
7338 \begin_layout Standard
7339
7340 \series bold
7341 Dal Bosco
7342 \end_layout
7343
7344 \end_inset
7345 </cell>
7346 <cell alignment="center" valignment="top" topline="true" usebox="none">
7347 \begin_inset Text
7348
7349 \begin_layout Standard
7350 Carolina
7351 \end_layout
7352
7353 \end_inset
7354 </cell>
7355 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7356 \begin_inset Text
7357
7358 \begin_layout Standard
7359 111
7360 \end_layout
7361
7362 \end_inset
7363 </cell>
7364 </row>
7365 <row>
7366 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7367 \begin_inset Text
7368
7369 \begin_layout Standard
7370
7371 \series bold
7372 Dalpiaz
7373 \end_layout
7374
7375 \end_inset
7376 </cell>
7377 <cell alignment="center" valignment="top" topline="true" usebox="none">
7378 \begin_inset Text
7379
7380 \begin_layout Standard
7381 Annamaria
7382 \end_layout
7383
7384 \end_inset
7385 </cell>
7386 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7387 \begin_inset Text
7388
7389 \begin_layout Standard
7390 111
7391 \end_layout
7392
7393 \end_inset
7394 </cell>
7395 </row>
7396 <row>
7397 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7398 \begin_inset Text
7399
7400 \begin_layout Standard
7401
7402 \series bold
7403 Feliciello
7404 \end_layout
7405
7406 \end_inset
7407 </cell>
7408 <cell alignment="center" valignment="top" topline="true" usebox="none">
7409 \begin_inset Text
7410
7411 \begin_layout Standard
7412 Domenico
7413 \end_layout
7414
7415 \end_inset
7416 </cell>
7417 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7418 \begin_inset Text
7419
7420 \begin_layout Standard
7421 111
7422 \end_layout
7423
7424 \end_inset
7425 </cell>
7426 </row>
7427 <row>
7428 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7429 \begin_inset Text
7430
7431 \begin_layout Standard
7432
7433 \series bold
7434 Focarelli
7435 \end_layout
7436
7437 \end_inset
7438 </cell>
7439 <cell alignment="center" valignment="top" topline="true" usebox="none">
7440 \begin_inset Text
7441
7442 \begin_layout Standard
7443 Paola
7444 \end_layout
7445
7446 \end_inset
7447 </cell>
7448 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7449 \begin_inset Text
7450
7451 \begin_layout Standard
7452 111
7453 \end_layout
7454
7455 \end_inset
7456 </cell>
7457 </row>
7458 <row>
7459 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7460 \begin_inset Text
7461
7462 \begin_layout Standard
7463
7464 \series bold
7465 Galletti
7466 \end_layout
7467
7468 \end_inset
7469 </cell>
7470 <cell alignment="center" valignment="top" topline="true" usebox="none">
7471 \begin_inset Text
7472
7473 \begin_layout Standard
7474 Oreste
7475 \end_layout
7476
7477 \end_inset
7478 </cell>
7479 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7480 \begin_inset Text
7481
7482 \begin_layout Standard
7483 111
7484 \end_layout
7485
7486 \end_inset
7487 </cell>
7488 </row>
7489 <row>
7490 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7491 \begin_inset Text
7492
7493 \begin_layout Standard
7494
7495 \series bold
7496 Gasparini
7497 \end_layout
7498
7499 \end_inset
7500 </cell>
7501 <cell alignment="center" valignment="top" topline="true" usebox="none">
7502 \begin_inset Text
7503
7504 \begin_layout Standard
7505 Franca
7506 \end_layout
7507
7508 \end_inset
7509 </cell>
7510 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7511 \begin_inset Text
7512
7513 \begin_layout Standard
7514 111
7515 \end_layout
7516
7517 \end_inset
7518 </cell>
7519 </row>
7520 <row>
7521 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7522 \begin_inset Text
7523
7524 \begin_layout Standard
7525
7526 \series bold
7527 Rizzardi
7528 \series default
7529
7530 \begin_inset Foot
7531 status collapsed
7532
7533 \begin_layout Standard
7534 Example footnote
7535 \end_layout
7536
7537 \end_inset
7538
7539
7540 \end_layout
7541
7542 \end_inset
7543 </cell>
7544 <cell alignment="center" valignment="top" topline="true" usebox="none">
7545 \begin_inset Text
7546
7547 \begin_layout Standard
7548 Paola
7549 \end_layout
7550
7551 \end_inset
7552 </cell>
7553 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7554 \begin_inset Text
7555
7556 \begin_layout Standard
7557 111
7558 \end_layout
7559
7560 \end_inset
7561 </cell>
7562 </row>
7563 <row>
7564 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7565 \begin_inset Text
7566
7567 \begin_layout Standard
7568
7569 \series bold
7570 Lassini
7571 \end_layout
7572
7573 \end_inset
7574 </cell>
7575 <cell alignment="center" valignment="top" topline="true" usebox="none">
7576 \begin_inset Text
7577
7578 \begin_layout Standard
7579 Giancarlo
7580 \end_layout
7581
7582 \end_inset
7583 </cell>
7584 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7585 \begin_inset Text
7586
7587 \begin_layout Standard
7588 111
7589 \end_layout
7590
7591 \end_inset
7592 </cell>
7593 </row>
7594 <row>
7595 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7596 \begin_inset Text
7597
7598 \begin_layout Standard
7599
7600 \series bold
7601 Malfatti
7602 \end_layout
7603
7604 \end_inset
7605 </cell>
7606 <cell alignment="center" valignment="top" topline="true" usebox="none">
7607 \begin_inset Text
7608
7609 \begin_layout Standard
7610 Luciano
7611 \end_layout
7612
7613 \end_inset
7614 </cell>
7615 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7616 \begin_inset Text
7617
7618 \begin_layout Standard
7619 111
7620 \end_layout
7621
7622 \end_inset
7623 </cell>
7624 </row>
7625 <row>
7626 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7627 \begin_inset Text
7628
7629 \begin_layout Standard
7630
7631 \series bold
7632 Malfatti
7633 \end_layout
7634
7635 \end_inset
7636 </cell>
7637 <cell alignment="center" valignment="top" topline="true" usebox="none">
7638 \begin_inset Text
7639
7640 \begin_layout Standard
7641 Valeriano
7642 \end_layout
7643
7644 \end_inset
7645 </cell>
7646 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7647 \begin_inset Text
7648
7649 \begin_layout Standard
7650 111
7651 \end_layout
7652
7653 \end_inset
7654 </cell>
7655 </row>
7656 <row>
7657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7658 \begin_inset Text
7659
7660 \begin_layout Standard
7661
7662 \series bold
7663 Meneguzzo
7664 \end_layout
7665
7666 \end_inset
7667 </cell>
7668 <cell alignment="center" valignment="top" topline="true" usebox="none">
7669 \begin_inset Text
7670
7671 \begin_layout Standard
7672 Roberto
7673 \end_layout
7674
7675 \end_inset
7676 </cell>
7677 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7678 \begin_inset Text
7679
7680 \begin_layout Standard
7681 111
7682 \end_layout
7683
7684 \end_inset
7685 </cell>
7686 </row>
7687 <row>
7688 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7689 \begin_inset Text
7690
7691 \begin_layout Standard
7692
7693 \series bold
7694 Mezzadra
7695 \end_layout
7696
7697 \end_inset
7698 </cell>
7699 <cell alignment="center" valignment="top" topline="true" usebox="none">
7700 \begin_inset Text
7701
7702 \begin_layout Standard
7703 Roberto
7704 \end_layout
7705
7706 \end_inset
7707 </cell>
7708 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7709 \begin_inset Text
7710
7711 \begin_layout Standard
7712 111
7713 \end_layout
7714
7715 \end_inset
7716 </cell>
7717 </row>
7718 <row>
7719 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7720 \begin_inset Text
7721
7722 \begin_layout Standard
7723
7724 \series bold
7725 Pirpamer
7726 \end_layout
7727
7728 \end_inset
7729 </cell>
7730 <cell alignment="center" valignment="top" topline="true" usebox="none">
7731 \begin_inset Text
7732
7733 \begin_layout Standard
7734 Erich
7735 \end_layout
7736
7737 \end_inset
7738 </cell>
7739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7740 \begin_inset Text
7741
7742 \begin_layout Standard
7743 111
7744 \end_layout
7745
7746 \end_inset
7747 </cell>
7748 </row>
7749 <row>
7750 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7751 \begin_inset Text
7752
7753 \begin_layout Standard
7754
7755 \series bold
7756 Pochiesa
7757 \end_layout
7758
7759 \end_inset
7760 </cell>
7761 <cell alignment="center" valignment="top" topline="true" usebox="none">
7762 \begin_inset Text
7763
7764 \begin_layout Standard
7765 Paolo
7766 \end_layout
7767
7768 \end_inset
7769 </cell>
7770 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7771 \begin_inset Text
7772
7773 \begin_layout Standard
7774 111, 222
7775 \end_layout
7776
7777 \end_inset
7778 </cell>
7779 </row>
7780 <row>
7781 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7782 \begin_inset Text
7783
7784 \begin_layout Standard
7785
7786 \series bold
7787 Radina
7788 \end_layout
7789
7790 \end_inset
7791 </cell>
7792 <cell alignment="center" valignment="top" topline="true" usebox="none">
7793 \begin_inset Text
7794
7795 \begin_layout Standard
7796 Claudio
7797 \end_layout
7798
7799 \end_inset
7800 </cell>
7801 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7802 \begin_inset Text
7803
7804 \begin_layout Standard
7805 111
7806 \end_layout
7807
7808 \end_inset
7809 </cell>
7810 </row>
7811 <row>
7812 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7813 \begin_inset Text
7814
7815 \begin_layout Standard
7816
7817 \series bold
7818 Stuffer
7819 \end_layout
7820
7821 \end_inset
7822 </cell>
7823 <cell alignment="center" valignment="top" topline="true" usebox="none">
7824 \begin_inset Text
7825
7826 \begin_layout Standard
7827 Oskar
7828 \end_layout
7829
7830 \end_inset
7831 </cell>
7832 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7833 \begin_inset Text
7834
7835 \begin_layout Standard
7836 111
7837 \end_layout
7838
7839 \end_inset
7840 </cell>
7841 </row>
7842 <row>
7843 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7844 \begin_inset Text
7845
7846 \begin_layout Standard
7847
7848 \series bold
7849 Tacchelli
7850 \end_layout
7851
7852 \end_inset
7853 </cell>
7854 <cell alignment="center" valignment="top" topline="true" usebox="none">
7855 \begin_inset Text
7856
7857 \begin_layout Standard
7858 Ugo
7859 \end_layout
7860
7861 \end_inset
7862 </cell>
7863 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7864 \begin_inset Text
7865
7866 \begin_layout Standard
7867 111
7868 \end_layout
7869
7870 \end_inset
7871 </cell>
7872 </row>
7873 <row>
7874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7875 \begin_inset Text
7876
7877 \begin_layout Standard
7878
7879 \series bold
7880 Tezzele
7881 \end_layout
7882
7883 \end_inset
7884 </cell>
7885 <cell alignment="center" valignment="top" topline="true" usebox="none">
7886 \begin_inset Text
7887
7888 \begin_layout Standard
7889 Margit
7890 \end_layout
7891
7892 \end_inset
7893 </cell>
7894 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7895 \begin_inset Text
7896
7897 \begin_layout Standard
7898 111
7899 \end_layout
7900
7901 \end_inset
7902 </cell>
7903 </row>
7904 <row>
7905 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7906 \begin_inset Text
7907
7908 \begin_layout Standard
7909
7910 \series bold
7911 Unterkalmsteiner
7912 \end_layout
7913
7914 \end_inset
7915 </cell>
7916 <cell alignment="center" valignment="top" topline="true" usebox="none">
7917 \begin_inset Text
7918
7919 \begin_layout Standard
7920 Frieda
7921 \end_layout
7922
7923 \end_inset
7924 </cell>
7925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7926 \begin_inset Text
7927
7928 \begin_layout Standard
7929 111
7930 \end_layout
7931
7932 \end_inset
7933 </cell>
7934 </row>
7935 <row>
7936 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7937 \begin_inset Text
7938
7939 \begin_layout Standard
7940
7941 \series bold
7942 Vieider
7943 \end_layout
7944
7945 \end_inset
7946 </cell>
7947 <cell alignment="center" valignment="top" topline="true" usebox="none">
7948 \begin_inset Text
7949
7950 \begin_layout Standard
7951 Hilde
7952 \end_layout
7953
7954 \end_inset
7955 </cell>
7956 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7957 \begin_inset Text
7958
7959 \begin_layout Standard
7960 111
7961 \end_layout
7962
7963 \end_inset
7964 </cell>
7965 </row>
7966 <row>
7967 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7968 \begin_inset Text
7969
7970 \begin_layout Standard
7971
7972 \series bold
7973 Vigna
7974 \end_layout
7975
7976 \end_inset
7977 </cell>
7978 <cell alignment="center" valignment="top" topline="true" usebox="none">
7979 \begin_inset Text
7980
7981 \begin_layout Standard
7982 Jürgen
7983 \end_layout
7984
7985 \end_inset
7986 </cell>
7987 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
7988 \begin_inset Text
7989
7990 \begin_layout Standard
7991 111
7992 \end_layout
7993
7994 \end_inset
7995 </cell>
7996 </row>
7997 <row>
7998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
7999 \begin_inset Text
8000
8001 \begin_layout Standard
8002
8003 \series bold
8004 Weber
8005 \end_layout
8006
8007 \end_inset
8008 </cell>
8009 <cell alignment="center" valignment="top" topline="true" usebox="none">
8010 \begin_inset Text
8011
8012 \begin_layout Standard
8013 Maurizio
8014 \end_layout
8015
8016 \end_inset
8017 </cell>
8018 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8019 \begin_inset Text
8020
8021 \begin_layout Standard
8022 111
8023 \end_layout
8024
8025 \end_inset
8026 </cell>
8027 </row>
8028 <row bottomline="true">
8029 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8030 \begin_inset Text
8031
8032 \begin_layout Standard
8033
8034 \series bold
8035 Winkler
8036 \end_layout
8037
8038 \end_inset
8039 </cell>
8040 <cell alignment="center" valignment="top" topline="true" usebox="none">
8041 \begin_inset Text
8042
8043 \begin_layout Standard
8044 Franz
8045 \end_layout
8046
8047 \end_inset
8048 </cell>
8049 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8050 \begin_inset Text
8051
8052 \begin_layout Standard
8053 111
8054 \end_layout
8055
8056 \end_inset
8057 </cell>
8058 </row>
8059 <row bottomline="true">
8060 <cell multicolumn="1" alignment="left" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8061 \begin_inset Text
8062
8063 \begin_layout Standard
8064  
8065 \end_layout
8066
8067 \end_inset
8068 </cell>
8069 <cell multicolumn="2" alignment="center" valignment="top" topline="true" usebox="none">
8070 \begin_inset Text
8071
8072 \begin_layout Standard
8073
8074 \end_layout
8075
8076 \end_inset
8077 </cell>
8078 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8079 \begin_inset Text
8080
8081 \begin_layout Standard
8082
8083 \end_layout
8084
8085 \end_inset
8086 </cell>
8087 </row>
8088 <row>
8089 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8090 \begin_inset Text
8091
8092 \begin_layout Standard
8093
8094 \series bold
8095 Annovi
8096 \end_layout
8097
8098 \end_inset
8099 </cell>
8100 <cell alignment="center" valignment="top" topline="true" usebox="none">
8101 \begin_inset Text
8102
8103 \begin_layout Standard
8104 Silvia
8105 \end_layout
8106
8107 \end_inset
8108 </cell>
8109 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8110 \begin_inset Text
8111
8112 \begin_layout Standard
8113 555
8114 \end_layout
8115
8116 \end_inset
8117 </cell>
8118 </row>
8119 <row>
8120 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8121 \begin_inset Text
8122
8123 \begin_layout Standard
8124
8125 \series bold
8126 Bertoli
8127 \end_layout
8128
8129 \end_inset
8130 </cell>
8131 <cell alignment="center" valignment="top" topline="true" usebox="none">
8132 \begin_inset Text
8133
8134 \begin_layout Standard
8135 Stefano
8136 \end_layout
8137
8138 \end_inset
8139 </cell>
8140 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8141 \begin_inset Text
8142
8143 \begin_layout Standard
8144 555
8145 \end_layout
8146
8147 \end_inset
8148 </cell>
8149 </row>
8150 <row>
8151 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8152 \begin_inset Text
8153
8154 \begin_layout Standard
8155
8156 \series bold
8157 Bozzi
8158 \end_layout
8159
8160 \end_inset
8161 </cell>
8162 <cell alignment="center" valignment="top" topline="true" usebox="none">
8163 \begin_inset Text
8164
8165 \begin_layout Standard
8166 Walter
8167 \end_layout
8168
8169 \end_inset
8170 </cell>
8171 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8172 \begin_inset Text
8173
8174 \begin_layout Standard
8175 555
8176 \end_layout
8177
8178 \end_inset
8179 </cell>
8180 </row>
8181 <row>
8182 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8183 \begin_inset Text
8184
8185 \begin_layout Standard
8186
8187 \series bold
8188 Cachia
8189 \end_layout
8190
8191 \end_inset
8192 </cell>
8193 <cell alignment="center" valignment="top" topline="true" usebox="none">
8194 \begin_inset Text
8195
8196 \begin_layout Standard
8197 Maria
8198 \end_layout
8199
8200 \end_inset
8201 </cell>
8202 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8203 \begin_inset Text
8204
8205 \begin_layout Standard
8206 555
8207 \end_layout
8208
8209 \end_inset
8210 </cell>
8211 </row>
8212 <row>
8213 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8214 \begin_inset Text
8215
8216 \begin_layout Standard
8217
8218 \series bold
8219 Cachia
8220 \end_layout
8221
8222 \end_inset
8223 </cell>
8224 <cell alignment="center" valignment="top" topline="true" usebox="none">
8225 \begin_inset Text
8226
8227 \begin_layout Standard
8228 Maurizio
8229 \end_layout
8230
8231 \end_inset
8232 </cell>
8233 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8234 \begin_inset Text
8235
8236 \begin_layout Standard
8237 555
8238 \end_layout
8239
8240 \end_inset
8241 </cell>
8242 </row>
8243 <row>
8244 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8245 \begin_inset Text
8246
8247 \begin_layout Standard
8248
8249 \series bold
8250 Cinquemani
8251 \end_layout
8252
8253 \end_inset
8254 </cell>
8255 <cell alignment="center" valignment="top" topline="true" usebox="none">
8256 \begin_inset Text
8257
8258 \begin_layout Standard
8259 Giusi
8260 \end_layout
8261
8262 \end_inset
8263 </cell>
8264 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8265 \begin_inset Text
8266
8267 \begin_layout Standard
8268 555
8269 \end_layout
8270
8271 \end_inset
8272 </cell>
8273 </row>
8274 <row>
8275 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8276 \begin_inset Text
8277
8278 \begin_layout Standard
8279
8280 \series bold
8281 Colin
8282 \end_layout
8283
8284 \end_inset
8285 </cell>
8286 <cell alignment="center" valignment="top" topline="true" usebox="none">
8287 \begin_inset Text
8288
8289 \begin_layout Standard
8290 Bernard
8291 \end_layout
8292
8293 \end_inset
8294 </cell>
8295 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8296 \begin_inset Text
8297
8298 \begin_layout Standard
8299 555
8300 \end_layout
8301
8302 \end_inset
8303 </cell>
8304 </row>
8305 <row>
8306 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8307 \begin_inset Text
8308
8309 \begin_layout Standard
8310
8311 \series bold
8312 Concli
8313 \end_layout
8314
8315 \end_inset
8316 </cell>
8317 <cell alignment="center" valignment="top" topline="true" usebox="none">
8318 \begin_inset Text
8319
8320 \begin_layout Standard
8321 Gianfranco
8322 \end_layout
8323
8324 \end_inset
8325 </cell>
8326 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8327 \begin_inset Text
8328
8329 \begin_layout Standard
8330 555
8331 \end_layout
8332
8333 \end_inset
8334 </cell>
8335 </row>
8336 <row>
8337 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8338 \begin_inset Text
8339
8340 \begin_layout Standard
8341
8342 \series bold
8343 Dal Bosco
8344 \end_layout
8345
8346 \end_inset
8347 </cell>
8348 <cell alignment="center" valignment="top" topline="true" usebox="none">
8349 \begin_inset Text
8350
8351 \begin_layout Standard
8352 Carolina
8353 \end_layout
8354
8355 \end_inset
8356 </cell>
8357 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8358 \begin_inset Text
8359
8360 \begin_layout Standard
8361 555
8362 \end_layout
8363
8364 \end_inset
8365 </cell>
8366 </row>
8367 <row>
8368 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8369 \begin_inset Text
8370
8371 \begin_layout Standard
8372
8373 \series bold
8374 Dalpiaz
8375 \end_layout
8376
8377 \end_inset
8378 </cell>
8379 <cell alignment="center" valignment="top" topline="true" usebox="none">
8380 \begin_inset Text
8381
8382 \begin_layout Standard
8383 Annamaria
8384 \end_layout
8385
8386 \end_inset
8387 </cell>
8388 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8389 \begin_inset Text
8390
8391 \begin_layout Standard
8392 555
8393 \end_layout
8394
8395 \end_inset
8396 </cell>
8397 </row>
8398 <row>
8399 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8400 \begin_inset Text
8401
8402 \begin_layout Standard
8403
8404 \series bold
8405 Feliciello
8406 \end_layout
8407
8408 \end_inset
8409 </cell>
8410 <cell alignment="center" valignment="top" topline="true" usebox="none">
8411 \begin_inset Text
8412
8413 \begin_layout Standard
8414 Domenico
8415 \end_layout
8416
8417 \end_inset
8418 </cell>
8419 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8420 \begin_inset Text
8421
8422 \begin_layout Standard
8423 555
8424 \end_layout
8425
8426 \end_inset
8427 </cell>
8428 </row>
8429 <row>
8430 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8431 \begin_inset Text
8432
8433 \begin_layout Standard
8434
8435 \series bold
8436 Focarelli
8437 \end_layout
8438
8439 \end_inset
8440 </cell>
8441 <cell alignment="center" valignment="top" topline="true" usebox="none">
8442 \begin_inset Text
8443
8444 \begin_layout Standard
8445 Paola
8446 \end_layout
8447
8448 \end_inset
8449 </cell>
8450 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8451 \begin_inset Text
8452
8453 \begin_layout Standard
8454 555
8455 \end_layout
8456
8457 \end_inset
8458 </cell>
8459 </row>
8460 <row>
8461 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8462 \begin_inset Text
8463
8464 \begin_layout Standard
8465
8466 \series bold
8467 Galletti
8468 \end_layout
8469
8470 \end_inset
8471 </cell>
8472 <cell alignment="center" valignment="top" topline="true" usebox="none">
8473 \begin_inset Text
8474
8475 \begin_layout Standard
8476 Oreste
8477 \end_layout
8478
8479 \end_inset
8480 </cell>
8481 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8482 \begin_inset Text
8483
8484 \begin_layout Standard
8485 555
8486 \end_layout
8487
8488 \end_inset
8489 </cell>
8490 </row>
8491 <row>
8492 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8493 \begin_inset Text
8494
8495 \begin_layout Standard
8496
8497 \series bold
8498 Gasparini
8499 \end_layout
8500
8501 \end_inset
8502 </cell>
8503 <cell alignment="center" valignment="top" topline="true" usebox="none">
8504 \begin_inset Text
8505
8506 \begin_layout Standard
8507 Franca
8508 \end_layout
8509
8510 \end_inset
8511 </cell>
8512 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8513 \begin_inset Text
8514
8515 \begin_layout Standard
8516 555
8517 \end_layout
8518
8519 \end_inset
8520 </cell>
8521 </row>
8522 <row>
8523 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8524 \begin_inset Text
8525
8526 \begin_layout Standard
8527
8528 \series bold
8529 Rizzardi
8530 \end_layout
8531
8532 \end_inset
8533 </cell>
8534 <cell alignment="center" valignment="top" topline="true" usebox="none">
8535 \begin_inset Text
8536
8537 \begin_layout Standard
8538 Paola
8539 \end_layout
8540
8541 \end_inset
8542 </cell>
8543 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8544 \begin_inset Text
8545
8546 \begin_layout Standard
8547 555
8548 \end_layout
8549
8550 \end_inset
8551 </cell>
8552 </row>
8553 <row>
8554 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8555 \begin_inset Text
8556
8557 \begin_layout Standard
8558
8559 \series bold
8560 Lassini
8561 \end_layout
8562
8563 \end_inset
8564 </cell>
8565 <cell alignment="center" valignment="top" topline="true" usebox="none">
8566 \begin_inset Text
8567
8568 \begin_layout Standard
8569 Giancarlo
8570 \end_layout
8571
8572 \end_inset
8573 </cell>
8574 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8575 \begin_inset Text
8576
8577 \begin_layout Standard
8578 555
8579 \end_layout
8580
8581 \end_inset
8582 </cell>
8583 </row>
8584 <row>
8585 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8586 \begin_inset Text
8587
8588 \begin_layout Standard
8589
8590 \series bold
8591 Malfatti
8592 \end_layout
8593
8594 \end_inset
8595 </cell>
8596 <cell alignment="center" valignment="top" topline="true" usebox="none">
8597 \begin_inset Text
8598
8599 \begin_layout Standard
8600 Luciano
8601 \end_layout
8602
8603 \end_inset
8604 </cell>
8605 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8606 \begin_inset Text
8607
8608 \begin_layout Standard
8609 555
8610 \end_layout
8611
8612 \end_inset
8613 </cell>
8614 </row>
8615 <row>
8616 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8617 \begin_inset Text
8618
8619 \begin_layout Standard
8620
8621 \series bold
8622 Malfatti
8623 \end_layout
8624
8625 \end_inset
8626 </cell>
8627 <cell alignment="center" valignment="top" topline="true" usebox="none">
8628 \begin_inset Text
8629
8630 \begin_layout Standard
8631 Valeriano
8632 \end_layout
8633
8634 \end_inset
8635 </cell>
8636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8637 \begin_inset Text
8638
8639 \begin_layout Standard
8640 555
8641 \end_layout
8642
8643 \end_inset
8644 </cell>
8645 </row>
8646 <row>
8647 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8648 \begin_inset Text
8649
8650 \begin_layout Standard
8651
8652 \series bold
8653 Meneguzzo
8654 \end_layout
8655
8656 \end_inset
8657 </cell>
8658 <cell alignment="center" valignment="top" topline="true" usebox="none">
8659 \begin_inset Text
8660
8661 \begin_layout Standard
8662 Roberto
8663 \end_layout
8664
8665 \end_inset
8666 </cell>
8667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8668 \begin_inset Text
8669
8670 \begin_layout Standard
8671 555
8672 \end_layout
8673
8674 \end_inset
8675 </cell>
8676 </row>
8677 <row bottomline="true">
8678 <cell alignment="left" valignment="top" bottomline="true" leftline="true" usebox="none">
8679 \begin_inset Text
8680
8681 \begin_layout Standard
8682
8683 \series bold
8684 Mezzadra
8685 \end_layout
8686
8687 \end_inset
8688 </cell>
8689 <cell alignment="center" valignment="top" topline="true" usebox="none">
8690 \begin_inset Text
8691
8692 \begin_layout Standard
8693 Roberto
8694 \end_layout
8695
8696 \end_inset
8697 </cell>
8698 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8699 \begin_inset Text
8700
8701 \begin_layout Standard
8702 555
8703 \end_layout
8704
8705 \end_inset
8706 </cell>
8707 </row>
8708 <row bottomline="true" endlastfoot="true">
8709 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
8710 \begin_inset Text
8711
8712 \begin_layout Standard
8713
8714 \end_layout
8715
8716 \end_inset
8717 </cell>
8718 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
8719 \begin_inset Text
8720
8721 \begin_layout Standard
8722
8723 \end_layout
8724
8725 \end_inset
8726 </cell>
8727 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
8728 \begin_inset Text
8729
8730 \begin_layout Standard
8731
8732 \end_layout
8733
8734 \end_inset
8735 </cell>
8736 </row>
8737 </lyxtabular>
8738
8739 \end_inset
8740
8741
8742 \end_layout
8743
8744 \begin_layout Section
8745 Special Longtable Issues
8746 \begin_inset LatexCommand label
8747 name "sec:Special-Longtable-Issues"
8748
8749 \end_inset
8750
8751
8752 \end_layout
8753
8754 \begin_layout Subsection
8755 Longtable Calculation
8756 \begin_inset LatexCommand index
8757 name "Longtables ! Calculation"
8758
8759 \end_inset
8760
8761
8762 \end_layout
8763
8764 \begin_layout Standard
8765 LaTeX calculates the height of table pages and their page breaks using so
8766  called chunks.
8767  Chunks are pieces of the tables that are at once in LaTeX's memory.
8768  The default value is historically set to only 20 table rows.
8769  If you are using longtables with many pages this may slow down the creation
8770  of your document.
8771  You can safely increase the chunk size to values of 100-1000 by adding
8772  this command line to your document preamble:
8773 \end_layout
8774
8775 \begin_layout Standard
8776
8777 \series bold
8778
8779 \backslash
8780 setcounter{LTchunksize}{100}
8781 \end_layout
8782
8783 \begin_layout Subsection
8784 Floats and Longtables
8785 \begin_inset LatexCommand index
8786 name "Longtables ! Floats"
8787
8788 \end_inset
8789
8790
8791 \end_layout
8792
8793 \begin_layout Standard
8794 There might be problems when a float appears on the same page where a longtable
8795  starts.
8796  To avoid such situation, add the command 
8797 \series bold
8798
8799 \backslash
8800 clearpage
8801 \series default
8802  as TeX-Code before your longtable.
8803 \end_layout
8804
8805 \begin_layout Subsection
8806 Forced Page Breaks
8807 \begin_inset LatexCommand index
8808 name "Longtables ! Forced Page Breaks"
8809
8810 \end_inset
8811
8812
8813 \end_layout
8814
8815 \begin_layout Standard
8816 By default tables are only broken between rows.
8817  If you have a cell with multiples lines and want to have a page break within
8818  the cell, insert the new line command 
8819 \begin_inset Quotes eld
8820 \end_inset
8821
8822
8823 \series bold
8824
8825 \backslash
8826
8827 \backslash
8828
8829 \series default
8830
8831 \begin_inset Quotes erd
8832 \end_inset
8833
8834  as TeX-Code at this point of the cell where it should be broken.
8835  Before the 
8836 \series bold
8837
8838 \backslash
8839
8840 \backslash
8841
8842 \series default
8843  command you have to insert in TeX-Code so many 
8844 \begin_inset Quotes eld
8845 \end_inset
8846
8847
8848 \series bold
8849 &
8850 \series default
8851
8852 \begin_inset Quotes erd
8853 \end_inset
8854
8855  characters like the number of the following table columns.
8856  The 
8857 \series bold
8858 &
8859 \series default
8860  is the character to separate table cells.
8861  Write in TeX-Code after each 
8862 \series bold
8863 &
8864 \series default
8865  the content of the corresponding following cell and delete the content
8866  of these cells.
8867 \newline
8868 Behind the the 
8869 \series bold
8870
8871 \backslash
8872
8873 \backslash
8874
8875 \series default
8876  command, insert so many 
8877 \series bold
8878 &
8879 \series default
8880  characters like the number of table columns before the current column.
8881  In Table\InsetSpace ~
8882
8883 \begin_inset LatexCommand ref
8884 reference "tab:ForcedPagebreak"
8885
8886 \end_inset
8887
8888  the cell that should be broken is in the second column followed by another
8889  column.
8890  Therefore the following command was inserted in the cell as TeX-Code behind
8891  
8892 \begin_inset Quotes eld
8893 \end_inset
8894
8895
8896 \emph on
8897 Castelchiodato,
8898 \emph default
8899
8900 \begin_inset Quotes erd
8901 \end_inset
8902
8903 :
8904 \end_layout
8905
8906 \begin_layout Standard
8907
8908 \series bold
8909 & 111
8910 \backslash
8911
8912 \backslash
8913
8914 \newline
8915 &
8916 \end_layout
8917
8918 \begin_layout Standard
8919 The 
8920 \begin_inset Quotes eld
8921 \end_inset
8922
8923 111
8924 \begin_inset Quotes erd
8925 \end_inset
8926
8927  in the third columns of the row was deleted.
8928  If your footer row of the longtable has for a certain reason no upper line
8929  but you would have a horizontal line where the cell is broken, use this
8930  command instead:
8931 \end_layout
8932
8933 \begin_layout Standard
8934
8935 \series bold
8936 & 111
8937 \backslash
8938
8939 \backslash
8940
8941 \newline
8942
8943 \backslash
8944 hline &
8945 \end_layout
8946
8947 \begin_layout Standard
8948 When the cell to be broken is in the last column, the command
8949 \end_layout
8950
8951 \begin_layout Standard
8952
8953 \series bold
8954
8955 \backslash
8956 setlength{
8957 \backslash
8958 parf\SpecialChar \textcompwordmark{}
8959 illskip}{0pt}
8960 \end_layout
8961
8962 \begin_layout Standard
8963 must be inserted as TeX-Code at the beginning of the cell.
8964  This assures that the part of the cell that will be displayed on the new
8965  page appears with the full width.
8966 \end_layout
8967
8968 \begin_layout Standard
8969 \align center
8970 \begin_inset Tabular
8971 <lyxtabular version="3" rows="39" columns="3">
8972 <features islongtable="true">
8973 <column alignment="left" valignment="top" leftline="true" width="0cm">
8974 <column alignment="left" valignment="top" rightline="true" width="3cm">
8975 <column alignment="right" valignment="top" rightline="true" width="0pt">
8976 <row endfirsthead="true">
8977 <cell alignment="right" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
8978 \begin_inset Text
8979
8980 \begin_layout Standard
8981 \begin_inset Caption
8982
8983 \begin_layout Standard
8984 Table with forced page break in table cell
8985 \begin_inset LatexCommand label
8986 name "tab:ForcedPagebreak"
8987
8988 \end_inset
8989
8990
8991 \begin_inset OptArg
8992 status collapsed
8993
8994 \begin_layout Standard
8995 Table with forced page break in table cell
8996 \end_layout
8997
8998 \end_inset
8999
9000
9001 \end_layout
9002
9003 \end_inset
9004
9005
9006 \begin_inset ERT
9007 status collapsed
9008
9009 \begin_layout Standard
9010
9011
9012 \backslash
9013
9014 \backslash
9015 %
9016 \end_layout
9017
9018 \end_inset
9019
9020
9021 \end_layout
9022
9023 \end_inset
9024 </cell>
9025 <cell alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9026 \begin_inset Text
9027
9028 \begin_layout Standard
9029
9030 \end_layout
9031
9032 \end_inset
9033 </cell>
9034 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9035 \begin_inset Text
9036
9037 \begin_layout Standard
9038
9039 \end_layout
9040
9041 \end_inset
9042 </cell>
9043 </row>
9044 <row topline="true" bottomline="true" endfirsthead="true">
9045 <cell multicolumn="1" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9046 \begin_inset Text
9047
9048 \begin_layout Standard
9049
9050 \series bold
9051 Example Phone List (ignore the names)
9052 \end_layout
9053
9054 \end_inset
9055 </cell>
9056 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9057 \begin_inset Text
9058
9059 \begin_layout Standard
9060
9061 \end_layout
9062
9063 \end_inset
9064 </cell>
9065 <cell multicolumn="2" alignment="right" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9066 \begin_inset Text
9067
9068 \begin_layout Standard
9069
9070 \end_layout
9071
9072 \end_inset
9073 </cell>
9074 </row>
9075 <row topline="true" bottomline="true" endfirsthead="true">
9076 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9077 \begin_inset Text
9078
9079 \begin_layout Standard
9080
9081 \series bold
9082 NAME
9083 \end_layout
9084
9085 \end_inset
9086 </cell>
9087 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9088 \begin_inset Text
9089
9090 \begin_layout Standard
9091
9092 \end_layout
9093
9094 \end_inset
9095 </cell>
9096 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9097 \begin_inset Text
9098
9099 \begin_layout Standard
9100
9101 \series bold
9102 TEL.
9103 \end_layout
9104
9105 \end_inset
9106 </cell>
9107 </row>
9108 <row bottomline="true" endhead="true">
9109 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9110 \begin_inset Text
9111
9112 \begin_layout Standard
9113 \begin_inset ERT
9114 status collapsed
9115
9116 \begin_layout Standard
9117
9118
9119 \backslash
9120 caption*{Continued table with forced page break in table cell}
9121 \backslash
9122
9123 \backslash
9124 %
9125 \end_layout
9126
9127 \end_inset
9128
9129
9130 \end_layout
9131
9132 \end_inset
9133 </cell>
9134 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9135 \begin_inset Text
9136
9137 \begin_layout Standard
9138
9139 \end_layout
9140
9141 \end_inset
9142 </cell>
9143 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9144 \begin_inset Text
9145
9146 \begin_layout Standard
9147
9148 \end_layout
9149
9150 \end_inset
9151 </cell>
9152 </row>
9153 <row topline="true" bottomline="true" endhead="true">
9154 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9155 \begin_inset Text
9156
9157 \begin_layout Standard
9158  
9159 \series bold
9160 Example Phone List
9161 \end_layout
9162
9163 \end_inset
9164 </cell>
9165 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9166 \begin_inset Text
9167
9168 \begin_layout Standard
9169
9170 \end_layout
9171
9172 \end_inset
9173 </cell>
9174 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9175 \begin_inset Text
9176
9177 \begin_layout Standard
9178
9179 \end_layout
9180
9181 \end_inset
9182 </cell>
9183 </row>
9184 <row topline="true" bottomline="true" endhead="true">
9185 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
9186 \begin_inset Text
9187
9188 \begin_layout Standard
9189
9190 \series bold
9191 NAME
9192 \end_layout
9193
9194 \end_inset
9195 </cell>
9196 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9197 \begin_inset Text
9198
9199 \begin_layout Standard
9200
9201 \end_layout
9202
9203 \end_inset
9204 </cell>
9205 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" rightline="true" usebox="none">
9206 \begin_inset Text
9207
9208 \begin_layout Standard
9209
9210 \series bold
9211 TEL.
9212 \end_layout
9213
9214 \end_inset
9215 </cell>
9216 </row>
9217 <row topline="true" bottomline="true" endfoot="true">
9218 <cell multicolumn="1" alignment="right" valignment="top" topline="true" usebox="none">
9219 \begin_inset Text
9220
9221 \begin_layout Standard
9222 continued on next page
9223 \end_layout
9224
9225 \end_inset
9226 </cell>
9227 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" usebox="none">
9228 \begin_inset Text
9229
9230 \begin_layout Standard
9231
9232 \end_layout
9233
9234 \end_inset
9235 </cell>
9236 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
9237 \begin_inset Text
9238
9239 \begin_layout Standard
9240
9241 \end_layout
9242
9243 \end_inset
9244 </cell>
9245 </row>
9246 <row>
9247 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9248 \begin_inset Text
9249
9250 \begin_layout Standard
9251
9252 \series bold
9253 Annovi
9254 \end_layout
9255
9256 \end_inset
9257 </cell>
9258 <cell alignment="center" valignment="top" topline="true" usebox="none">
9259 \begin_inset Text
9260
9261 \begin_layout Standard
9262 Silvia
9263 \end_layout
9264
9265 \end_inset
9266 </cell>
9267 <cell alignment="right" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9268 \begin_inset Text
9269
9270 \begin_layout Standard
9271 111
9272 \end_layout
9273
9274 \end_inset
9275 </cell>
9276 </row>
9277 <row>
9278 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9279 \begin_inset Text
9280
9281 \begin_layout Standard
9282
9283 \series bold
9284 Bertoli
9285 \end_layout
9286
9287 \end_inset
9288 </cell>
9289 <cell alignment="center" valignment="top" topline="true" usebox="none">
9290 \begin_inset Text
9291
9292 \begin_layout Standard
9293 Stefano
9294 \end_layout
9295
9296 \end_inset
9297 </cell>
9298 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9299 \begin_inset Text
9300
9301 \begin_layout Standard
9302 111
9303 \end_layout
9304
9305 \end_inset
9306 </cell>
9307 </row>
9308 <row>
9309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9310 \begin_inset Text
9311
9312 \begin_layout Standard
9313
9314 \series bold
9315 Bozzi
9316 \end_layout
9317
9318 \end_inset
9319 </cell>
9320 <cell alignment="center" valignment="top" topline="true" usebox="none">
9321 \begin_inset Text
9322
9323 \begin_layout Standard
9324 Walter
9325 \end_layout
9326
9327 \end_inset
9328 </cell>
9329 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9330 \begin_inset Text
9331
9332 \begin_layout Standard
9333 111
9334 \end_layout
9335
9336 \end_inset
9337 </cell>
9338 </row>
9339 <row>
9340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9341 \begin_inset Text
9342
9343 \begin_layout Standard
9344
9345 \series bold
9346 Cachia
9347 \end_layout
9348
9349 \end_inset
9350 </cell>
9351 <cell alignment="center" valignment="top" topline="true" usebox="none">
9352 \begin_inset Text
9353
9354 \begin_layout Standard
9355 Maria
9356 \end_layout
9357
9358 \end_inset
9359 </cell>
9360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9361 \begin_inset Text
9362
9363 \begin_layout Standard
9364 111
9365 \end_layout
9366
9367 \end_inset
9368 </cell>
9369 </row>
9370 <row>
9371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9372 \begin_inset Text
9373
9374 \begin_layout Standard
9375
9376 \series bold
9377 Cachia
9378 \end_layout
9379
9380 \end_inset
9381 </cell>
9382 <cell alignment="center" valignment="top" topline="true" usebox="none">
9383 \begin_inset Text
9384
9385 \begin_layout Standard
9386 Maurizio
9387 \end_layout
9388
9389 \end_inset
9390 </cell>
9391 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9392 \begin_inset Text
9393
9394 \begin_layout Standard
9395 111
9396 \end_layout
9397
9398 \end_inset
9399 </cell>
9400 </row>
9401 <row>
9402 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9403 \begin_inset Text
9404
9405 \begin_layout Standard
9406
9407 \series bold
9408 Cinquemani
9409 \end_layout
9410
9411 \end_inset
9412 </cell>
9413 <cell alignment="center" valignment="top" topline="true" usebox="none">
9414 \begin_inset Text
9415
9416 \begin_layout Standard
9417 Giusi
9418 \end_layout
9419
9420 \end_inset
9421 </cell>
9422 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9423 \begin_inset Text
9424
9425 \begin_layout Standard
9426 111
9427 \end_layout
9428
9429 \end_inset
9430 </cell>
9431 </row>
9432 <row>
9433 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9434 \begin_inset Text
9435
9436 \begin_layout Standard
9437
9438 \series bold
9439 Colin
9440 \end_layout
9441
9442 \end_inset
9443 </cell>
9444 <cell alignment="center" valignment="top" topline="true" usebox="none">
9445 \begin_inset Text
9446
9447 \begin_layout Standard
9448 Bernard
9449 \end_layout
9450
9451 \end_inset
9452 </cell>
9453 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9454 \begin_inset Text
9455
9456 \begin_layout Standard
9457 111
9458 \end_layout
9459
9460 \end_inset
9461 </cell>
9462 </row>
9463 <row>
9464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9465 \begin_inset Text
9466
9467 \begin_layout Standard
9468
9469 \series bold
9470 Concli
9471 \end_layout
9472
9473 \end_inset
9474 </cell>
9475 <cell alignment="center" valignment="top" topline="true" usebox="none">
9476 \begin_inset Text
9477
9478 \begin_layout Standard
9479 Gianfranco
9480 \end_layout
9481
9482 \end_inset
9483 </cell>
9484 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9485 \begin_inset Text
9486
9487 \begin_layout Standard
9488 111
9489 \end_layout
9490
9491 \end_inset
9492 </cell>
9493 </row>
9494 <row>
9495 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9496 \begin_inset Text
9497
9498 \begin_layout Standard
9499
9500 \series bold
9501 Dal Bosco
9502 \end_layout
9503
9504 \end_inset
9505 </cell>
9506 <cell alignment="center" valignment="top" topline="true" usebox="none">
9507 \begin_inset Text
9508
9509 \begin_layout Standard
9510 Carolina
9511 \end_layout
9512
9513 \end_inset
9514 </cell>
9515 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9516 \begin_inset Text
9517
9518 \begin_layout Standard
9519 111
9520 \end_layout
9521
9522 \end_inset
9523 </cell>
9524 </row>
9525 <row>
9526 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9527 \begin_inset Text
9528
9529 \begin_layout Standard
9530
9531 \series bold
9532 Dalpiaz
9533 \end_layout
9534
9535 \end_inset
9536 </cell>
9537 <cell alignment="center" valignment="top" topline="true" usebox="none">
9538 \begin_inset Text
9539
9540 \begin_layout Standard
9541 Annamaria
9542 \end_layout
9543
9544 \end_inset
9545 </cell>
9546 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9547 \begin_inset Text
9548
9549 \begin_layout Standard
9550 111
9551 \end_layout
9552
9553 \end_inset
9554 </cell>
9555 </row>
9556 <row>
9557 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9558 \begin_inset Text
9559
9560 \begin_layout Standard
9561
9562 \series bold
9563 Feliciello
9564 \end_layout
9565
9566 \end_inset
9567 </cell>
9568 <cell alignment="center" valignment="top" topline="true" usebox="none">
9569 \begin_inset Text
9570
9571 \begin_layout Standard
9572 Domenico
9573 \end_layout
9574
9575 \end_inset
9576 </cell>
9577 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9578 \begin_inset Text
9579
9580 \begin_layout Standard
9581 111
9582 \end_layout
9583
9584 \end_inset
9585 </cell>
9586 </row>
9587 <row>
9588 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9589 \begin_inset Text
9590
9591 \begin_layout Standard
9592
9593 \series bold
9594 Focarelli
9595 \end_layout
9596
9597 \end_inset
9598 </cell>
9599 <cell alignment="center" valignment="top" topline="true" usebox="none">
9600 \begin_inset Text
9601
9602 \begin_layout Standard
9603 Paola
9604 \end_layout
9605
9606 \end_inset
9607 </cell>
9608 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9609 \begin_inset Text
9610
9611 \begin_layout Standard
9612 111
9613 \end_layout
9614
9615 \end_inset
9616 </cell>
9617 </row>
9618 <row>
9619 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9620 \begin_inset Text
9621
9622 \begin_layout Standard
9623
9624 \series bold
9625 Galletti
9626 \end_layout
9627
9628 \end_inset
9629 </cell>
9630 <cell alignment="center" valignment="top" topline="true" usebox="none">
9631 \begin_inset Text
9632
9633 \begin_layout Standard
9634 Oreste
9635 \end_layout
9636
9637 \end_inset
9638 </cell>
9639 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9640 \begin_inset Text
9641
9642 \begin_layout Standard
9643 111
9644 \end_layout
9645
9646 \end_inset
9647 </cell>
9648 </row>
9649 <row>
9650 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9651 \begin_inset Text
9652
9653 \begin_layout Standard
9654
9655 \series bold
9656 Gasparini
9657 \end_layout
9658
9659 \end_inset
9660 </cell>
9661 <cell alignment="center" valignment="top" topline="true" usebox="none">
9662 \begin_inset Text
9663
9664 \begin_layout Standard
9665 Franca
9666 \end_layout
9667
9668 \end_inset
9669 </cell>
9670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9671 \begin_inset Text
9672
9673 \begin_layout Standard
9674 111
9675 \end_layout
9676
9677 \end_inset
9678 </cell>
9679 </row>
9680 <row>
9681 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9682 \begin_inset Text
9683
9684 \begin_layout Standard
9685
9686 \series bold
9687 Lassini
9688 \end_layout
9689
9690 \end_inset
9691 </cell>
9692 <cell alignment="center" valignment="top" topline="true" usebox="none">
9693 \begin_inset Text
9694
9695 \begin_layout Standard
9696 Giancarlo
9697 \end_layout
9698
9699 \end_inset
9700 </cell>
9701 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9702 \begin_inset Text
9703
9704 \begin_layout Standard
9705 111
9706 \end_layout
9707
9708 \end_inset
9709 </cell>
9710 </row>
9711 <row>
9712 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9713 \begin_inset Text
9714
9715 \begin_layout Standard
9716
9717 \series bold
9718 Malfatti
9719 \end_layout
9720
9721 \end_inset
9722 </cell>
9723 <cell alignment="center" valignment="top" topline="true" usebox="none">
9724 \begin_inset Text
9725
9726 \begin_layout Standard
9727 Luciano
9728 \end_layout
9729
9730 \end_inset
9731 </cell>
9732 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9733 \begin_inset Text
9734
9735 \begin_layout Standard
9736 111
9737 \end_layout
9738
9739 \end_inset
9740 </cell>
9741 </row>
9742 <row>
9743 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9744 \begin_inset Text
9745
9746 \begin_layout Standard
9747
9748 \series bold
9749 Malfatti
9750 \end_layout
9751
9752 \end_inset
9753 </cell>
9754 <cell alignment="center" valignment="top" topline="true" usebox="none">
9755 \begin_inset Text
9756
9757 \begin_layout Standard
9758 Valeriano
9759 \end_layout
9760
9761 \end_inset
9762 </cell>
9763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9764 \begin_inset Text
9765
9766 \begin_layout Standard
9767 111
9768 \end_layout
9769
9770 \end_inset
9771 </cell>
9772 </row>
9773 <row>
9774 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9775 \begin_inset Text
9776
9777 \begin_layout Standard
9778
9779 \series bold
9780 Meneguzzo
9781 \end_layout
9782
9783 \end_inset
9784 </cell>
9785 <cell alignment="center" valignment="top" topline="true" usebox="none">
9786 \begin_inset Text
9787
9788 \begin_layout Standard
9789 Roberto
9790 \end_layout
9791
9792 \end_inset
9793 </cell>
9794 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9795 \begin_inset Text
9796
9797 \begin_layout Standard
9798 111
9799 \end_layout
9800
9801 \end_inset
9802 </cell>
9803 </row>
9804 <row>
9805 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9806 \begin_inset Text
9807
9808 \begin_layout Standard
9809
9810 \series bold
9811 Mezzadra
9812 \end_layout
9813
9814 \end_inset
9815 </cell>
9816 <cell alignment="center" valignment="top" topline="true" usebox="none">
9817 \begin_inset Text
9818
9819 \begin_layout Standard
9820 Roberto
9821 \end_layout
9822
9823 \end_inset
9824 </cell>
9825 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9826 \begin_inset Text
9827
9828 \begin_layout Standard
9829 111
9830 \end_layout
9831
9832 \end_inset
9833 </cell>
9834 </row>
9835 <row>
9836 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9837 \begin_inset Text
9838
9839 \begin_layout Standard
9840
9841 \series bold
9842 Pirpamer
9843 \end_layout
9844
9845 \end_inset
9846 </cell>
9847 <cell alignment="center" valignment="top" topline="true" usebox="none">
9848 \begin_inset Text
9849
9850 \begin_layout Standard
9851 Erich
9852 \end_layout
9853
9854 \end_inset
9855 </cell>
9856 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9857 \begin_inset Text
9858
9859 \begin_layout Standard
9860 111
9861 \end_layout
9862
9863 \end_inset
9864 </cell>
9865 </row>
9866 <row>
9867 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9868 \begin_inset Text
9869
9870 \begin_layout Standard
9871
9872 \series bold
9873 Pochiesa
9874 \end_layout
9875
9876 \end_inset
9877 </cell>
9878 <cell alignment="center" valignment="top" topline="true" usebox="none">
9879 \begin_inset Text
9880
9881 \begin_layout Standard
9882 Paolo
9883 \end_layout
9884
9885 \end_inset
9886 </cell>
9887 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9888 \begin_inset Text
9889
9890 \begin_layout Standard
9891 111, 222
9892 \end_layout
9893
9894 \end_inset
9895 </cell>
9896 </row>
9897 <row>
9898 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9899 \begin_inset Text
9900
9901 \begin_layout Standard
9902
9903 \series bold
9904 Radina
9905 \end_layout
9906
9907 \end_inset
9908 </cell>
9909 <cell alignment="center" valignment="top" topline="true" usebox="none">
9910 \begin_inset Text
9911
9912 \begin_layout Standard
9913 Claudio
9914 \end_layout
9915
9916 \end_inset
9917 </cell>
9918 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9919 \begin_inset Text
9920
9921 \begin_layout Standard
9922 111
9923 \end_layout
9924
9925 \end_inset
9926 </cell>
9927 </row>
9928 <row>
9929 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9930 \begin_inset Text
9931
9932 \begin_layout Standard
9933
9934 \series bold
9935 Rizzardi
9936 \end_layout
9937
9938 \end_inset
9939 </cell>
9940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9941 \begin_inset Text
9942
9943 \begin_layout Standard
9944 Paolo, 11.
9945  Fürst von Montecompatri, 11.
9946  Fürst von Sulmona und Vivaro, 10.
9947  Fürst von Rossano, 5.
9948  Herzog von Canemorte, 11.
9949  Herzog von Palombara, 5.
9950  Herzog von Castelchiodato,
9951 \begin_inset ERT
9952 status collapsed
9953
9954 \begin_layout Standard
9955
9956 & 111
9957 \backslash
9958
9959 \backslash
9960
9961 \end_layout
9962
9963 \begin_layout Standard
9964
9965 &
9966 \end_layout
9967
9968 \end_inset
9969
9970  11.
9971  Herzog von Poggionativo, 11.
9972  Markis von Mentana, Norma, Civitella, Pratica, Moricone und Percille, 11.
9973  Graf von Valinfreda, 11.
9974  Baron von Cropalati, 11.
9975  Herr von Scarpa, Edelmann von Rom, Patrizier von Venedig, Neapel und Genua
9976 \end_layout
9977
9978 \end_inset
9979 </cell>
9980 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
9981 \begin_inset Text
9982
9983 \begin_layout Standard
9984
9985 \end_layout
9986
9987 \end_inset
9988 </cell>
9989 </row>
9990 <row>
9991 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
9992 \begin_inset Text
9993
9994 \begin_layout Standard
9995
9996 \series bold
9997 Stuffer
9998 \end_layout
9999
10000 \end_inset
10001 </cell>
10002 <cell alignment="center" valignment="top" topline="true" usebox="none">
10003 \begin_inset Text
10004
10005 \begin_layout Standard
10006 Oskar
10007 \end_layout
10008
10009 \end_inset
10010 </cell>
10011 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10012 \begin_inset Text
10013
10014 \begin_layout Standard
10015 111
10016 \end_layout
10017
10018 \end_inset
10019 </cell>
10020 </row>
10021 <row>
10022 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10023 \begin_inset Text
10024
10025 \begin_layout Standard
10026
10027 \series bold
10028 Tacchelli
10029 \end_layout
10030
10031 \end_inset
10032 </cell>
10033 <cell alignment="center" valignment="top" topline="true" usebox="none">
10034 \begin_inset Text
10035
10036 \begin_layout Standard
10037 Ugo
10038 \end_layout
10039
10040 \end_inset
10041 </cell>
10042 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10043 \begin_inset Text
10044
10045 \begin_layout Standard
10046 111
10047 \end_layout
10048
10049 \end_inset
10050 </cell>
10051 </row>
10052 <row>
10053 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10054 \begin_inset Text
10055
10056 \begin_layout Standard
10057
10058 \series bold
10059 Tezzele
10060 \end_layout
10061
10062 \end_inset
10063 </cell>
10064 <cell alignment="center" valignment="top" topline="true" usebox="none">
10065 \begin_inset Text
10066
10067 \begin_layout Standard
10068 Margit
10069 \end_layout
10070
10071 \end_inset
10072 </cell>
10073 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10074 \begin_inset Text
10075
10076 \begin_layout Standard
10077 111
10078 \end_layout
10079
10080 \end_inset
10081 </cell>
10082 </row>
10083 <row>
10084 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10085 \begin_inset Text
10086
10087 \begin_layout Standard
10088
10089 \series bold
10090 Unterkalmsteiner
10091 \end_layout
10092
10093 \end_inset
10094 </cell>
10095 <cell alignment="center" valignment="top" topline="true" usebox="none">
10096 \begin_inset Text
10097
10098 \begin_layout Standard
10099 Frieda
10100 \end_layout
10101
10102 \end_inset
10103 </cell>
10104 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10105 \begin_inset Text
10106
10107 \begin_layout Standard
10108 111
10109 \end_layout
10110
10111 \end_inset
10112 </cell>
10113 </row>
10114 <row>
10115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10116 \begin_inset Text
10117
10118 \begin_layout Standard
10119
10120 \series bold
10121 Vieider
10122 \end_layout
10123
10124 \end_inset
10125 </cell>
10126 <cell alignment="center" valignment="top" topline="true" usebox="none">
10127 \begin_inset Text
10128
10129 \begin_layout Standard
10130 Hilde
10131 \end_layout
10132
10133 \end_inset
10134 </cell>
10135 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10136 \begin_inset Text
10137
10138 \begin_layout Standard
10139 111
10140 \end_layout
10141
10142 \end_inset
10143 </cell>
10144 </row>
10145 <row>
10146 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10147 \begin_inset Text
10148
10149 \begin_layout Standard
10150
10151 \series bold
10152 Vigna
10153 \end_layout
10154
10155 \end_inset
10156 </cell>
10157 <cell alignment="center" valignment="top" topline="true" usebox="none">
10158 \begin_inset Text
10159
10160 \begin_layout Standard
10161 Jürgen
10162 \end_layout
10163
10164 \end_inset
10165 </cell>
10166 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10167 \begin_inset Text
10168
10169 \begin_layout Standard
10170 111
10171 \end_layout
10172
10173 \end_inset
10174 </cell>
10175 </row>
10176 <row>
10177 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10178 \begin_inset Text
10179
10180 \begin_layout Standard
10181
10182 \series bold
10183 Weber
10184 \end_layout
10185
10186 \end_inset
10187 </cell>
10188 <cell alignment="center" valignment="top" topline="true" usebox="none">
10189 \begin_inset Text
10190
10191 \begin_layout Standard
10192 Maurizio
10193 \end_layout
10194
10195 \end_inset
10196 </cell>
10197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10198 \begin_inset Text
10199
10200 \begin_layout Standard
10201 111
10202 \end_layout
10203
10204 \end_inset
10205 </cell>
10206 </row>
10207 <row bottomline="true">
10208 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10209 \begin_inset Text
10210
10211 \begin_layout Standard
10212
10213 \series bold
10214 Winkler
10215 \end_layout
10216
10217 \end_inset
10218 </cell>
10219 <cell alignment="center" valignment="top" topline="true" usebox="none">
10220 \begin_inset Text
10221
10222 \begin_layout Standard
10223 Franz
10224 \end_layout
10225
10226 \end_inset
10227 </cell>
10228 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10229 \begin_inset Text
10230
10231 \begin_layout Standard
10232 111
10233 \end_layout
10234
10235 \end_inset
10236 </cell>
10237 </row>
10238 <row endlastfoot="true">
10239 <cell multicolumn="1" alignment="left" valignment="top" usebox="none">
10240 \begin_inset Text
10241
10242 \begin_layout Standard
10243
10244 \end_layout
10245
10246 \end_inset
10247 </cell>
10248 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10249 \begin_inset Text
10250
10251 \begin_layout Standard
10252
10253 \end_layout
10254
10255 \end_inset
10256 </cell>
10257 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10258 \begin_inset Text
10259
10260 \begin_layout Standard
10261
10262 \end_layout
10263
10264 \end_inset
10265 </cell>
10266 </row>
10267 </lyxtabular>
10268
10269 \end_inset
10270
10271
10272 \end_layout
10273
10274 \begin_layout Standard
10275
10276 \newpage
10277
10278 \end_layout
10279
10280 \begin_layout Section
10281 Multiple Lines Columns and Rows
10282 \end_layout
10283
10284 \begin_layout Subsection
10285 Multiple Lines in Table Cells
10286 \begin_inset LatexCommand label
10287 name "sub:Multiple-Lines-in"
10288
10289 \end_inset
10290
10291
10292 \begin_inset LatexCommand index
10293 name "Multiple Lines in Table Cells"
10294
10295 \end_inset
10296
10297
10298 \begin_inset LatexCommand index
10299 name "Table ! Linebreaks"
10300
10301 \end_inset
10302
10303
10304 \end_layout
10305
10306 \begin_layout Standard
10307 \align center
10308 \begin_inset Float table
10309 placement H
10310 wide false
10311 sideways false
10312 status open
10313
10314 \begin_layout Standard
10315 \begin_inset Caption
10316
10317 \begin_layout Standard
10318 \begin_inset LatexCommand label
10319 name "tab:Table-with-multiple"
10320
10321 \end_inset
10322
10323 Table with multiple lines in cells
10324 \end_layout
10325
10326 \end_inset
10327
10328
10329 \end_layout
10330
10331 \begin_layout Standard
10332 \align center
10333 \begin_inset Tabular
10334 <lyxtabular version="3" rows="3" columns="3">
10335 <features>
10336 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10337 <column alignment="center" valignment="middle" leftline="true" width="0">
10338 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10339 <row topline="true">
10340 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10341 \begin_inset Text
10342
10343 \begin_layout Standard
10344 multiple
10345 \begin_inset ERT
10346 status collapsed
10347
10348 \begin_layout Standard
10349
10350
10351 \backslash
10352 linebreak 
10353 \end_layout
10354
10355 \end_inset
10356
10357  lines
10358 \end_layout
10359
10360 \end_inset
10361 </cell>
10362 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10363 \begin_inset Text
10364
10365 \begin_layout Standard
10366 b
10367 \end_layout
10368
10369 \end_inset
10370 </cell>
10371 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10372 \begin_inset Text
10373
10374 \begin_layout Standard
10375 c
10376 \end_layout
10377
10378 \end_inset
10379 </cell>
10380 </row>
10381 <row topline="true">
10382 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10383 \begin_inset Text
10384
10385 \begin_layout Standard
10386 d
10387 \end_layout
10388
10389 \end_inset
10390 </cell>
10391 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10392 \begin_inset Text
10393
10394 \begin_layout Standard
10395 e
10396 \end_layout
10397
10398 \end_inset
10399 </cell>
10400 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10401 \begin_inset Text
10402
10403 \begin_layout Standard
10404 f
10405 \end_layout
10406
10407 \end_inset
10408 </cell>
10409 </row>
10410 <row topline="true" bottomline="true">
10411 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10412 \begin_inset Text
10413
10414 \begin_layout Standard
10415 g
10416 \end_layout
10417
10418 \end_inset
10419 </cell>
10420 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10421 \begin_inset Text
10422
10423 \begin_layout Standard
10424 h
10425 \end_layout
10426
10427 \end_inset
10428 </cell>
10429 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10430 \begin_inset Text
10431
10432 \begin_layout Standard
10433 i
10434 \end_layout
10435
10436 \end_inset
10437 </cell>
10438 </row>
10439 </lyxtabular>
10440
10441 \end_inset
10442
10443
10444 \end_layout
10445
10446 \end_inset
10447
10448
10449 \end_layout
10450
10451 \begin_layout Standard
10452 Adjusting a fixed width for a column, enables to enter text as a paragraph
10453  with multiple lines and hyphenations.
10454 \end_layout
10455
10456 \begin_layout Standard
10457 To produce Table\InsetSpace ~
10458
10459 \begin_inset LatexCommand ref
10460 reference "tab:Table-with-multiple"
10461
10462 \end_inset
10463
10464 , create a 3×3 table, mark the first cell and right-click on it.
10465  In the appearing table dialog we set a cell width of 2.5\InsetSpace \thinspace{}
10466 cm and choose centered
10467  for the vertical and horizontal alignment.
10468  The vertical alignment is used for all cells of the row.
10469  As our text is smaller than than 2.5\InsetSpace \thinspace{}
10470 cm, only one line will appear.
10471  To get two lines, we add a line break with the command
10472 \end_layout
10473
10474 \begin_layout Standard
10475
10476 \series bold
10477
10478 \backslash
10479 linebreak
10480 \end_layout
10481
10482 \begin_layout Standard
10483 in TeX-Code.
10484  If the text is wider than the set cell width it will automatically be broken
10485  to several lines.
10486 \end_layout
10487
10488 \begin_layout Standard
10489 If you have a long word in a cell with a fixed width, it cannot be hyphenated
10490  by LaTeX if it is the first entry.
10491  Therefore you need to insert something, to make the word not being the
10492  first entry: Add the command
10493 \end_layout
10494
10495 \begin_layout Standard
10496
10497 \series bold
10498
10499 \backslash
10500 hspace{0pt}
10501 \end_layout
10502
10503 \begin_layout Standard
10504 in TeX-Code before the word.
10505  As the space is zero, it doesn't change the output.
10506  Table\InsetSpace ~
10507
10508 \begin_inset LatexCommand ref
10509 reference "tab:Table-with-and"
10510
10511 \end_inset
10512
10513  shows the effect.
10514 \end_layout
10515
10516 \begin_layout Standard
10517 \begin_inset Float table
10518 placement h
10519 wide false
10520 sideways false
10521 status open
10522
10523 \begin_layout Standard
10524 \begin_inset Caption
10525
10526 \begin_layout Standard
10527 \begin_inset LatexCommand label
10528 name "tab:Table-with-and"
10529
10530 \end_inset
10531
10532 Table with and without hyphenation
10533 \end_layout
10534
10535 \end_inset
10536
10537
10538 \end_layout
10539
10540 \begin_layout Standard
10541
10542 \hfill
10543
10544 \begin_inset Tabular
10545 <lyxtabular version="3" rows="3" columns="3">
10546 <features>
10547 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10548 <column alignment="center" valignment="middle" leftline="true" width="0">
10549 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10550 <row topline="true">
10551 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10552 \begin_inset Text
10553
10554 \begin_layout Standard
10555 verylongtablecellword
10556 \end_layout
10557
10558 \end_inset
10559 </cell>
10560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10561 \begin_inset Text
10562
10563 \begin_layout Standard
10564 b
10565 \end_layout
10566
10567 \end_inset
10568 </cell>
10569 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10570 \begin_inset Text
10571
10572 \begin_layout Standard
10573 c
10574 \end_layout
10575
10576 \end_inset
10577 </cell>
10578 </row>
10579 <row topline="true">
10580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10581 \begin_inset Text
10582
10583 \begin_layout Standard
10584 d
10585 \end_layout
10586
10587 \end_inset
10588 </cell>
10589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10590 \begin_inset Text
10591
10592 \begin_layout Standard
10593 e
10594 \end_layout
10595
10596 \end_inset
10597 </cell>
10598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10599 \begin_inset Text
10600
10601 \begin_layout Standard
10602 f
10603 \end_layout
10604
10605 \end_inset
10606 </cell>
10607 </row>
10608 <row topline="true" bottomline="true">
10609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10610 \begin_inset Text
10611
10612 \begin_layout Standard
10613 g
10614 \end_layout
10615
10616 \end_inset
10617 </cell>
10618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10619 \begin_inset Text
10620
10621 \begin_layout Standard
10622 h
10623 \end_layout
10624
10625 \end_inset
10626 </cell>
10627 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10628 \begin_inset Text
10629
10630 \begin_layout Standard
10631 i
10632 \end_layout
10633
10634 \end_inset
10635 </cell>
10636 </row>
10637 </lyxtabular>
10638
10639 \end_inset
10640
10641
10642 \hfill
10643
10644 \begin_inset Tabular
10645 <lyxtabular version="3" rows="3" columns="3">
10646 <features>
10647 <column alignment="center" valignment="middle" leftline="true" width="2.5cm">
10648 <column alignment="center" valignment="middle" leftline="true" width="0">
10649 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0">
10650 <row topline="true">
10651 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10652 \begin_inset Text
10653
10654 \begin_layout Standard
10655 \begin_inset ERT
10656 status collapsed
10657
10658 \begin_layout Standard
10659
10660
10661 \backslash
10662 hspace{0pt}
10663 \end_layout
10664
10665 \end_inset
10666
10667 verylongtablecellword
10668 \end_layout
10669
10670 \end_inset
10671 </cell>
10672 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10673 \begin_inset Text
10674
10675 \begin_layout Standard
10676 b
10677 \end_layout
10678
10679 \end_inset
10680 </cell>
10681 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10682 \begin_inset Text
10683
10684 \begin_layout Standard
10685 c
10686 \end_layout
10687
10688 \end_inset
10689 </cell>
10690 </row>
10691 <row topline="true">
10692 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10693 \begin_inset Text
10694
10695 \begin_layout Standard
10696 d
10697 \end_layout
10698
10699 \end_inset
10700 </cell>
10701 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10702 \begin_inset Text
10703
10704 \begin_layout Standard
10705 e
10706 \end_layout
10707
10708 \end_inset
10709 </cell>
10710 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10711 \begin_inset Text
10712
10713 \begin_layout Standard
10714 f
10715 \end_layout
10716
10717 \end_inset
10718 </cell>
10719 </row>
10720 <row topline="true" bottomline="true">
10721 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10722 \begin_inset Text
10723
10724 \begin_layout Standard
10725 g
10726 \end_layout
10727
10728 \end_inset
10729 </cell>
10730 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10731 \begin_inset Text
10732
10733 \begin_layout Standard
10734 h
10735 \end_layout
10736
10737 \end_inset
10738 </cell>
10739 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10740 \begin_inset Text
10741
10742 \begin_layout Standard
10743 i
10744 \end_layout
10745
10746 \end_inset
10747 </cell>
10748 </row>
10749 </lyxtabular>
10750
10751 \end_inset
10752
10753
10754 \hfill
10755
10756 \end_layout
10757
10758 \end_inset
10759
10760
10761 \end_layout
10762
10763 \begin_layout Standard
10764
10765 \newpage
10766
10767 \end_layout
10768
10769 \begin_layout Subsection
10770 Multicolumns
10771 \begin_inset LatexCommand label
10772 name "sub:Multicolumns"
10773
10774 \end_inset
10775
10776
10777 \begin_inset LatexCommand index
10778 name "Multicolumns"
10779
10780 \end_inset
10781
10782
10783 \begin_inset LatexCommand index
10784 name "Table ! Multicolumns"
10785
10786 \end_inset
10787
10788
10789 \end_layout
10790
10791 \begin_layout Subsubsection
10792 Multicolumn Basics
10793 \end_layout
10794
10795 \begin_layout Standard
10796 To span a cell over multiple columns, mark as much cells within a line that
10797  should be one spanned cell and use either the table-toolbar button 
10798 \begin_inset Graphics
10799         filename ../images/tabular-feature_multicolumn.png
10800         scale 85
10801         scaleBeforeRotation
10802
10803 \end_inset
10804
10805 , or the menu 
10806 \family sans
10807 Edit\SpecialChar \menuseparator
10808 Table\SpecialChar \menuseparator
10809 Multicolumn
10810 \family default
10811 , or right click on the marked cells and choose multicolumn in the appearing
10812  table dialog under the tab 
10813 \family sans
10814 Table Settings
10815 \family default
10816 .
10817 \end_layout
10818
10819 \begin_layout Standard
10820 Multicolumns have there own cell settings.
10821  That means changing cell borders, cell alignment, and the width only affects
10822  the multicolumn.
10823  Here is an example table with a multicolumn cell in the first row and one
10824  in the last row without the upper border:
10825 \end_layout
10826
10827 \begin_layout Standard
10828 \align center
10829 \begin_inset Tabular
10830 <lyxtabular version="3" rows="3" columns="4">
10831 <features firstHeadTopDL="true" firstHeadBottomDL="true">
10832 <column alignment="center" valignment="top" leftline="true" width="0pt">
10833 <column alignment="center" valignment="middle" leftline="true" width="0">
10834 <column alignment="center" valignment="top" leftline="true" width="0in">
10835 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
10836 <row topline="true" bottomline="true">
10837 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10838 \begin_inset Text
10839
10840 \begin_layout Standard
10841 abc
10842 \end_layout
10843
10844 \end_inset
10845 </cell>
10846 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" bottomline="true" leftline="true" usebox="none">
10847 \begin_inset Text
10848
10849 \begin_layout Standard
10850 def ghi
10851 \end_layout
10852
10853 \end_inset
10854 </cell>
10855 <cell multicolumn="2" alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
10856 \begin_inset Text
10857
10858 \begin_layout Standard
10859
10860 \end_layout
10861
10862 \end_inset
10863 </cell>
10864 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" rightline="true" usebox="none">
10865 \begin_inset Text
10866
10867 \begin_layout Standard
10868 jkl
10869 \end_layout
10870
10871 \end_inset
10872 </cell>
10873 </row>
10874 <row topline="true">
10875 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10876 \begin_inset Text
10877
10878 \begin_layout Standard
10879
10880 \family roman
10881 \series medium
10882 \shape up
10883 \size normal
10884 \emph off
10885 \bar no
10886 \noun off
10887 \color none
10888 A
10889 \end_layout
10890
10891 \end_inset
10892 </cell>
10893 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10894 \begin_inset Text
10895
10896 \begin_layout Standard
10897 B
10898 \end_layout
10899
10900 \end_inset
10901 </cell>
10902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10903 \begin_inset Text
10904
10905 \begin_layout Standard
10906 C
10907 \end_layout
10908
10909 \end_inset
10910 </cell>
10911 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10912 \begin_inset Text
10913
10914 \begin_layout Standard
10915 D
10916 \end_layout
10917
10918 \end_inset
10919 </cell>
10920 </row>
10921 <row topline="true" bottomline="true">
10922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
10923 \begin_inset Text
10924
10925 \begin_layout Standard
10926 1
10927 \end_layout
10928
10929 \end_inset
10930 </cell>
10931 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
10932 \begin_inset Text
10933
10934 \begin_layout Standard
10935 2
10936 \end_layout
10937
10938 \end_inset
10939 </cell>
10940 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10941 \begin_inset Text
10942
10943 \begin_layout Standard
10944 3
10945 \end_layout
10946
10947 \end_inset
10948 </cell>
10949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
10950 \begin_inset Text
10951
10952 \begin_layout Standard
10953 4
10954 \end_layout
10955
10956 \end_inset
10957 </cell>
10958 </row>
10959 </lyxtabular>
10960
10961 \end_inset
10962
10963
10964 \end_layout
10965
10966 \begin_layout Subsubsection
10967 Multicolumn Calculations
10968 \begin_inset LatexCommand label
10969 name "sub:Multicolumn-Calculations"
10970
10971 \end_inset
10972
10973
10974 \begin_inset LatexCommand index
10975 name "Multicolumns ! Calculations"
10976
10977 \end_inset
10978
10979
10980 \end_layout
10981
10982 \begin_layout Standard
10983 LyX supports multicolumns directly, but we have to take notice of the cell
10984  width of the columns spanned by the multicolumn cell.
10985 \end_layout
10986
10987 \begin_layout Standard
10988 \begin_inset Float table
10989 wide false
10990 sideways false
10991 status open
10992
10993 \begin_layout Standard
10994 \begin_inset Caption
10995
10996 \begin_layout Standard
10997 \begin_inset LatexCommand label
10998 name "tab:Table-with-centered"
10999
11000 \end_inset
11001
11002 Table with centered multicolumn text above two columns that have exactly
11003  half the width of the multicolumn cell
11004 \begin_inset OptArg
11005 status collapsed
11006
11007 \begin_layout Standard
11008 Perfect multicolumn table
11009 \end_layout
11010
11011 \end_inset
11012
11013
11014 \end_layout
11015
11016 \end_inset
11017
11018
11019 \end_layout
11020
11021 \begin_layout Standard
11022 \align center
11023 \begin_inset Tabular
11024 <lyxtabular version="3" rows="3" columns="3">
11025 <features>
11026 <column alignment="center" valignment="middle" leftline="true" width="0" special=">{\centering}m{1.25cm-6.2pt}">
11027 <column alignment="center" valignment="middle" leftline="true" width="0">
11028 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11029 <row topline="true">
11030 <cell multicolumn="1" alignment="center" valignment="middle" topline="true" leftline="true" usebox="none" special=">{\centering}m{2.5cm}">
11031 \begin_inset Text
11032
11033 \begin_layout Standard
11034 multiple lines multicolumn
11035 \end_layout
11036
11037 \end_inset
11038 </cell>
11039 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11040 \begin_inset Text
11041
11042 \begin_layout Standard
11043
11044 \end_layout
11045
11046 \end_inset
11047 </cell>
11048 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11049 \begin_inset Text
11050
11051 \begin_layout Standard
11052 c
11053 \end_layout
11054
11055 \end_inset
11056 </cell>
11057 </row>
11058 <row topline="true">
11059 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11060 \begin_inset Text
11061
11062 \begin_layout Standard
11063 d
11064 \end_layout
11065
11066 \end_inset
11067 </cell>
11068 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11069 \begin_inset Text
11070
11071 \begin_layout Standard
11072 e
11073 \end_layout
11074
11075 \end_inset
11076 </cell>
11077 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11078 \begin_inset Text
11079
11080 \begin_layout Standard
11081 f
11082 \end_layout
11083
11084 \end_inset
11085 </cell>
11086 </row>
11087 <row topline="true" bottomline="true">
11088 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11089 \begin_inset Text
11090
11091 \begin_layout Standard
11092 g
11093 \end_layout
11094
11095 \end_inset
11096 </cell>
11097 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11098 \begin_inset Text
11099
11100 \begin_layout Standard
11101 h
11102 \end_layout
11103
11104 \end_inset
11105 </cell>
11106 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11107 \begin_inset Text
11108
11109 \begin_layout Standard
11110 i
11111 \end_layout
11112
11113 \end_inset
11114 </cell>
11115 </row>
11116 </lyxtabular>
11117
11118 \end_inset
11119
11120
11121 \end_layout
11122
11123 \end_inset
11124
11125
11126 \end_layout
11127
11128 \begin_layout Standard
11129 To create for example Table\InsetSpace ~
11130
11131 \begin_inset LatexCommand ref
11132 reference "tab:Table-with-centered"
11133
11134 \end_inset
11135
11136 , mark the first two cells in the first row of a 3×3 table and right-click
11137  on them.
11138  Now choose for this cell 
11139 \emph on
11140 multicolumn
11141 \emph default
11142
11143 \emph on
11144 centered alignment
11145 \emph default
11146  and a width of 2.5\InsetSpace \thinspace{}
11147 cm in the table dialog.
11148  The spanned columns should have exactly half the width of the multicolumn
11149  cell, so that you would adjust a width of 1.25\InsetSpace \thinspace{}
11150 cm for the first column.
11151  The second column has then automatically a width of 1.25\InsetSpace \thinspace{}
11152 cm (multicolumn
11153  width - width of first column).
11154  This was done for Table\InsetSpace ~
11155
11156 \begin_inset LatexCommand ref
11157 reference "tab:Table-without-half"
11158
11159 \end_inset
11160
11161 .
11162 \end_layout
11163
11164 \begin_layout Standard
11165 \begin_inset Float table
11166 wide false
11167 sideways false
11168 status open
11169
11170 \begin_layout Standard
11171 \begin_inset Caption
11172
11173 \begin_layout Standard
11174 \begin_inset LatexCommand label
11175 name "tab:Table-without-half"
11176
11177 \end_inset
11178
11179 Table where the spanned table columns have not exactly half the width of
11180  the multicolumn cell
11181 \begin_inset OptArg
11182 status collapsed
11183
11184 \begin_layout Standard
11185 Imperfect multicolumn table
11186 \end_layout
11187
11188 \end_inset
11189
11190
11191 \end_layout
11192
11193 \end_inset
11194
11195
11196 \end_layout
11197
11198 \begin_layout Standard
11199 \align center
11200 \begin_inset Tabular
11201 <lyxtabular version="3" rows="3" columns="3">
11202 <features>
11203 <column alignment="center" valignment="top" leftline="true" width="1.25cm">
11204 <column alignment="center" valignment="top" leftline="true" width="0">
11205 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11206 <row topline="true" bottomline="true">
11207 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" usebox="none" width="2.5cm">
11208 \begin_inset Text
11209
11210 \begin_layout Standard
11211 multiple lines multicolumn
11212 \end_layout
11213
11214 \end_inset
11215 </cell>
11216 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11217 \begin_inset Text
11218
11219 \begin_layout Standard
11220
11221 \end_layout
11222
11223 \end_inset
11224 </cell>
11225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11226 \begin_inset Text
11227
11228 \begin_layout Standard
11229 c
11230 \end_layout
11231
11232 \end_inset
11233 </cell>
11234 </row>
11235 <row topline="true">
11236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11237 \begin_inset Text
11238
11239 \begin_layout Standard
11240 d
11241 \end_layout
11242
11243 \end_inset
11244 </cell>
11245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11246 \begin_inset Text
11247
11248 \begin_layout Standard
11249 e
11250 \end_layout
11251
11252 \end_inset
11253 </cell>
11254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11255 \begin_inset Text
11256
11257 \begin_layout Standard
11258 f
11259 \end_layout
11260
11261 \end_inset
11262 </cell>
11263 </row>
11264 <row topline="true" bottomline="true">
11265 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11266 \begin_inset Text
11267
11268 \begin_layout Standard
11269 g
11270 \end_layout
11271
11272 \end_inset
11273 </cell>
11274 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11275 \begin_inset Text
11276
11277 \begin_layout Standard
11278 h
11279 \end_layout
11280
11281 \end_inset
11282 </cell>
11283 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11284 \begin_inset Text
11285
11286 \begin_layout Standard
11287 i
11288 \end_layout
11289
11290 \end_inset
11291 </cell>
11292 </row>
11293 </lyxtabular>
11294
11295 \end_inset
11296
11297
11298 \end_layout
11299
11300 \end_inset
11301
11302
11303 \end_layout
11304
11305 \begin_layout Standard
11306 You can see that the first column has not the half width of the multicolumn
11307  cell, it is a bit bigger.
11308  The reason is that the given width of a cell 
11309 \begin_inset Formula $W_{g}$
11310 \end_inset
11311
11312  is not its total width 
11313 \begin_inset Formula $W_{\mathrm{tot}}$
11314 \end_inset
11315
11316  because a cell is always a bit larger than its given width.
11317  Appendix\InsetSpace ~
11318
11319 \begin_inset LatexCommand eqref
11320 reference "cha:Explanation-of-Equation"
11321
11322 \end_inset
11323
11324  explains it in detail.
11325 \end_layout
11326
11327 \begin_layout Standard
11328 The needed given width 
11329 \begin_inset Formula $W_{g\, n}$
11330 \end_inset
11331
11332  when 
11333 \emph on
11334 n
11335 \emph default
11336  columns are spanned can be calculated, so that each column has a total
11337  width of 
11338 \begin_inset Formula $W_{\mathrm{tot\, multicolumn}}/n$
11339 \end_inset
11340
11341 :
11342 \begin_inset Formula \begin{equation}
11343 W_{g\, n}=(W_{g\,\mathrm{multicolumn}}+(1-n)\cdot(12.4\,\mathrm{pt}))/n\label{eq:Wgn}\end{equation}
11344
11345 \end_inset
11346
11347
11348 \end_layout
11349
11350 \begin_layout Standard
11351 In our case we have 
11352 \begin_inset Formula $n=2$
11353 \end_inset
11354
11355
11356 \begin_inset Formula $W_{g\,\mathrm{multicolumn}}=2.5\,$
11357 \end_inset
11358
11359 cm and the default values for the lengths, so that equation 
11360 \begin_inset LatexCommand ref
11361 reference "eq:Wgn"
11362
11363 \end_inset
11364
11365  becomes
11366 \begin_inset Formula \begin{equation}
11367 W_{g\,2}=1.25\,\mathrm{cm}-6.2\,\mathrm{pt}\end{equation}
11368
11369 \end_inset
11370
11371
11372 \end_layout
11373
11374 \begin_layout Standard
11375 To enable calculations in LaTeX, the LaTeX-package 
11376 \series bold
11377 calc
11378 \series default
11379  must be loaded with the document preamble line
11380 \begin_inset LatexCommand index
11381 name "LaTeX-packages ! calc"
11382
11383 \end_inset
11384
11385
11386 \end_layout
11387
11388 \begin_layout Standard
11389
11390 \series bold
11391
11392 \backslash
11393 usepackage{calc}
11394 \end_layout
11395
11396 \begin_layout Standard
11397 LyX does not allow to calculate lengths in the width-field of the table
11398  dialog.
11399  Therefore you have to format the column by inserting a LaTeX-argument in
11400  the dialog.
11401  Here is an overview about the arguments:
11402 \end_layout
11403
11404 \begin_layout Itemize
11405
11406 \series bold
11407 p{width}
11408 \series default
11409  creates cell with a fixed width, its text is vertically top-aligned
11410 \end_layout
11411
11412 \begin_layout Itemize
11413
11414 \series bold
11415 m{width}
11416 \series default
11417  creates cell with a fixed width, its text is vertically centered
11418 \end_layout
11419
11420 \begin_layout Itemize
11421
11422 \series bold
11423 b{width}
11424 \series default
11425  creates cell with a fixed width, its text is vertically bottom-aligned
11426 \end_layout
11427
11428 \begin_layout Standard
11429 By entering a LaTeX-argument, all cell settings set in the table dialog
11430  are overwritten.
11431 \end_layout
11432
11433 \begin_layout Standard
11434 \begin_inset Note Greyedout
11435 status open
11436
11437 \begin_layout Standard
11438
11439 \series bold
11440 Note:
11441 \series default
11442  Due to a bug, LyX shows the overwritten settings anyway.
11443 \end_layout
11444
11445 \end_inset
11446
11447
11448 \end_layout
11449
11450 \begin_layout Standard
11451 As the text should be horizontally centered, the command 
11452 \series bold
11453
11454 \backslash
11455 centering
11456 \series default
11457  is added.
11458  You can now enter the following LaTeX-argument for the first spanned column:
11459 \end_layout
11460
11461 \begin_layout Standard
11462
11463 \series bold
11464 >{
11465 \backslash
11466 centering}m{1.25cm-6.2pt}
11467 \end_layout
11468
11469 \begin_layout Standard
11470 The command 
11471 \series bold
11472 >{ }
11473 \series default
11474  means, that the commands inside the braces are applied before the cell
11475  is created.
11476 \end_layout
11477
11478 \begin_layout Standard
11479 Although we have chosen centered alignment for the text of the multicolumn
11480  cell, it is still left aligned.
11481  This is because LyX only applies the alignment to single columns.
11482  So we have to use for the multicolumn the LaTeX-argument
11483 \end_layout
11484
11485 \begin_layout Standard
11486
11487 \series bold
11488 >{
11489 \backslash
11490 centering}m{2.5cm}
11491 \end_layout
11492
11493 \begin_layout Subsection
11494 Multirows
11495 \begin_inset LatexCommand index
11496 name "Multirows"
11497
11498 \end_inset
11499
11500
11501 \begin_inset LatexCommand index
11502 name "Table ! Multirows"
11503
11504 \end_inset
11505
11506
11507 \begin_inset LatexCommand index
11508 name "LaTeX-packages ! multirow"
11509
11510 \end_inset
11511
11512
11513 \end_layout
11514
11515 \begin_layout Standard
11516 In contrary to multicolumns multirows are not yet supported by LyX so a
11517  bit of TeX-Code needs to be used.
11518  To use multirows load the LaTeX-package 
11519 \series bold
11520 multirow
11521 \series default
11522  in your document preamble with the command
11523 \end_layout
11524
11525 \begin_layout Standard
11526
11527 \series bold
11528
11529 \backslash
11530 usepackage{multirow}
11531 \end_layout
11532
11533 \begin_layout Standard
11534 Multirows are created with the command
11535 \end_layout
11536
11537 \begin_layout Standard
11538
11539 \series bold
11540
11541 \backslash
11542 multirow{number of rows}{cell width}{cell entry}
11543 \end_layout
11544
11545 \begin_layout Standard
11546 To create the following table:
11547 \end_layout
11548
11549 \begin_layout Standard
11550 \align center
11551 \begin_inset ERT
11552 status collapsed
11553
11554 \begin_layout Standard
11555
11556
11557 \backslash
11558 renewcommand{
11559 \backslash
11560 multirowsetup}{
11561 \backslash
11562 centering}
11563 \end_layout
11564
11565 \end_inset
11566
11567
11568 \begin_inset Tabular
11569 <lyxtabular version="3" rows="3" columns="3">
11570 <features>
11571 <column alignment="center" valignment="top" leftline="true" width="0">
11572 <column alignment="center" valignment="top" leftline="true" width="0">
11573 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
11574 <row topline="true">
11575 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11576 \begin_inset Text
11577
11578 \begin_layout Standard
11579 a
11580 \end_layout
11581
11582 \end_inset
11583 </cell>
11584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11585 \begin_inset Text
11586
11587 \begin_layout Standard
11588 b
11589 \end_layout
11590
11591 \end_inset
11592 </cell>
11593 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11594 \begin_inset Text
11595
11596 \begin_layout Standard
11597 c
11598 \end_layout
11599
11600 \end_inset
11601 </cell>
11602 </row>
11603 <row topline="true">
11604 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11605 \begin_inset Text
11606
11607 \begin_layout Standard
11608 \begin_inset ERT
11609 status collapsed
11610
11611 \begin_layout Standard
11612
11613
11614 \backslash
11615 multirow{2}{2.5cm}{
11616 \end_layout
11617
11618 \end_inset
11619
11620 multirow entry
11621 \begin_inset ERT
11622 status collapsed
11623
11624 \begin_layout Standard
11625
11626 }
11627 \end_layout
11628
11629 \end_inset
11630
11631
11632 \end_layout
11633
11634 \end_inset
11635 </cell>
11636 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11637 \begin_inset Text
11638
11639 \begin_layout Standard
11640 e
11641 \end_layout
11642
11643 \end_inset
11644 </cell>
11645 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11646 \begin_inset Text
11647
11648 \begin_layout Standard
11649 f
11650 \end_layout
11651
11652 \end_inset
11653 </cell>
11654 </row>
11655 <row topline="true" bottomline="true">
11656 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" leftline="true" usebox="none">
11657 \begin_inset Text
11658
11659 \begin_layout Standard
11660
11661 \end_layout
11662
11663 \end_inset
11664 </cell>
11665 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11666 \begin_inset Text
11667
11668 \begin_layout Standard
11669 h
11670 \end_layout
11671
11672 \end_inset
11673 </cell>
11674 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11675 \begin_inset Text
11676
11677 \begin_layout Standard
11678 i
11679 \end_layout
11680
11681 \end_inset
11682 </cell>
11683 </row>
11684 </lyxtabular>
11685
11686 \end_inset
11687
11688
11689 \begin_inset ERT
11690 status collapsed
11691
11692 \begin_layout Standard
11693
11694
11695 \backslash
11696 renewcommand{
11697 \backslash
11698 multirowsetup}{
11699 \backslash
11700 raggedright}
11701 \end_layout
11702
11703 \end_inset
11704
11705
11706 \end_layout
11707
11708 \begin_layout Standard
11709 create a 3×3 table.
11710  To get rid of the line above the last cell in the first column, the cell
11711  is marked as multicolumn and the upper border is unset.
11712  The multirow is now created in the second row of the first column by inserting
11713  there the command
11714 \end_layout
11715
11716 \begin_layout Standard
11717
11718 \series bold
11719
11720 \backslash
11721 multirow{2}{2.5cm}{
11722 \end_layout
11723
11724 \begin_layout Standard
11725 as TeX-Code.
11726  According to the command parameters the multirow spans now two rows and
11727  has a width of 2.5\InsetSpace \thinspace{}
11728 cm.
11729  The content of the multirow cell follows outside the TeX-Code box and the
11730  command is finished with a right brace 
11731 \series bold
11732 }
11733 \series default
11734  in another TeX-Code-box behind the text.
11735 \end_layout
11736
11737 \begin_layout Standard
11738
11739 \series bold
11740
11741 \backslash
11742 multirow
11743 \series default
11744  left-aligns its content by default.
11745  To override the default, renew the command 
11746 \series bold
11747
11748 \backslash
11749 multirowsetup
11750 \series default
11751  with the command
11752 \end_layout
11753
11754 \begin_layout Standard
11755
11756 \series bold
11757
11758 \backslash
11759 renewcommand{
11760 \backslash
11761 multirowsetup}{
11762 \backslash
11763 centering}
11764 \end_layout
11765
11766 \begin_layout Standard
11767 in TeX-Code in the document preamble.
11768  Then all entries of multirow cells in the document are centered.
11769  If centering is only needed for several tables, you can renew the command
11770  in an TeX-Code box just before the table instead of the preamble.
11771  If the text should be right-aligned, replace 
11772 \series bold
11773
11774 \backslash
11775 centering
11776 \series default
11777  by 
11778 \series bold
11779
11780 \backslash
11781 raggedleft
11782 \series default
11783 .
11784  To return to left-alignment 
11785 \series bold
11786
11787 \backslash
11788 raggedright
11789 \series default
11790  is used.
11791 \end_layout
11792
11793 \begin_layout Section
11794 Formal Tables
11795 \begin_inset LatexCommand label
11796 name "sec:Formal-Tables"
11797
11798 \end_inset
11799
11800
11801 \begin_inset LatexCommand index
11802 name "Table ! Formal"
11803
11804 \end_inset
11805
11806
11807 \end_layout
11808
11809 \begin_layout Standard
11810 Tables are often typeset in books similar to Table\InsetSpace ~
11811
11812 \begin_inset LatexCommand ref
11813 reference "tab:Example-booktabs-table"
11814
11815 \end_inset
11816
11817 .
11818  This kind of tables is called 
11819 \begin_inset Quotes eld
11820 \end_inset
11821
11822
11823 \emph on
11824 formal
11825 \emph default
11826
11827 \begin_inset Quotes erd
11828 \end_inset
11829
11830 .
11831  To make a table a formal table use the option 
11832 \family sans
11833 Formal
11834 \family default
11835  in the 
11836 \family sans
11837 Borders
11838 \family default
11839  tab of the table dialog.
11840 \end_layout
11841
11842 \begin_layout Standard
11843 \begin_inset Float table
11844 placement h
11845 wide false
11846 sideways false
11847 status open
11848
11849 \begin_layout Standard
11850 \begin_inset Caption
11851
11852 \begin_layout Standard
11853 \begin_inset LatexCommand label
11854 name "tab:Example-booktabs-table"
11855
11856 \end_inset
11857
11858 Example booktabs-table
11859 \end_layout
11860
11861 \end_inset
11862
11863
11864 \end_layout
11865
11866 \begin_layout Standard
11867 \align center
11868 \begin_inset Tabular
11869 <lyxtabular version="3" rows="8" columns="4">
11870 <features booktabs="true">
11871 <column alignment="center" valignment="top" rightline="true" width="0">
11872 <column alignment="center" valignment="top" width="0">
11873 <column alignment="center" valignment="top" width="0">
11874 <column alignment="center" valignment="top" width="0">
11875 <row topline="true">
11876 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11877 \begin_inset Text
11878
11879 \begin_layout Standard
11880 System
11881 \end_layout
11882
11883 \end_inset
11884 </cell>
11885 <cell alignment="center" valignment="top" topline="true" usebox="none">
11886 \begin_inset Text
11887
11888 \begin_layout Standard
11889 Medipix
11890 \begin_inset Formula $\,$
11891 \end_inset
11892
11893 1
11894 \end_layout
11895
11896 \end_inset
11897 </cell>
11898 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
11899 \begin_inset Text
11900
11901 \begin_layout Standard
11902 Medipix
11903 \begin_inset Formula $\,$
11904 \end_inset
11905
11906 2
11907 \end_layout
11908
11909 \end_inset
11910 </cell>
11911 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11912 \begin_inset Text
11913
11914 \begin_layout Standard
11915
11916 \end_layout
11917
11918 \end_inset
11919 </cell>
11920 </row>
11921 <row>
11922 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11923 \begin_inset Text
11924
11925 \begin_layout Standard
11926 \begin_inset ERT
11927 status collapsed
11928
11929 \begin_layout Standard
11930
11931
11932 \backslash
11933 cmidrule(r){2-2}
11934 \end_layout
11935
11936 \end_inset
11937
11938
11939 \begin_inset ERT
11940 status collapsed
11941
11942 \begin_layout Standard
11943
11944
11945 \backslash
11946 cmidrule(l){3-4}
11947 \end_layout
11948
11949 \end_inset
11950
11951 Detector thickness [µm]
11952 \end_layout
11953
11954 \end_inset
11955 </cell>
11956 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11957 \begin_inset Text
11958
11959 \begin_layout Standard
11960 300
11961 \end_layout
11962
11963 \end_inset
11964 </cell>
11965 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11966 \begin_inset Text
11967
11968 \begin_layout Standard
11969 300
11970 \end_layout
11971
11972 \end_inset
11973 </cell>
11974 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
11975 \begin_inset Text
11976
11977 \begin_layout Standard
11978 700
11979 \end_layout
11980
11981 \end_inset
11982 </cell>
11983 </row>
11984 <row topline="true">
11985 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11986 \begin_inset Text
11987
11988 \begin_layout Standard
11989 Edge angle [°]
11990 \end_layout
11991
11992 \end_inset
11993 </cell>
11994 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
11995 \begin_inset Text
11996
11997 \begin_layout Standard
11998 3.55
11999 \end_layout
12000
12001 \end_inset
12002 </cell>
12003 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12004 \begin_inset Text
12005
12006 \begin_layout Standard
12007 2.71
12008 \end_layout
12009
12010 \end_inset
12011 </cell>
12012 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12013 \begin_inset Text
12014
12015 \begin_layout Standard
12016 7.99
12017 \end_layout
12018
12019 \end_inset
12020 </cell>
12021 </row>
12022 <row topspace="default">
12023 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12024 \begin_inset Text
12025
12026 \begin_layout Standard
12027 Spatial resolution [µm]
12028 \end_layout
12029
12030 \end_inset
12031 </cell>
12032 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12033 \begin_inset Text
12034
12035 \begin_layout Standard
12036 4.26
12037 \end_layout
12038
12039 \end_inset
12040 </cell>
12041 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12042 \begin_inset Text
12043
12044 \begin_layout Standard
12045 10.17
12046 \end_layout
12047
12048 \end_inset
12049 </cell>
12050 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12051 \begin_inset Text
12052
12053 \begin_layout Standard
12054 10.56
12055 \end_layout
12056
12057 \end_inset
12058 </cell>
12059 </row>
12060 <row topspace="default">
12061 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12062 \begin_inset Text
12063
12064 \begin_layout Standard
12065 MTF at 
12066 \begin_inset Formula $f_{\mathrm{max}}$
12067 \end_inset
12068
12069
12070 \end_layout
12071
12072 \end_inset
12073 </cell>
12074 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12075 \begin_inset Text
12076
12077 \begin_layout Standard
12078 0.53
12079 \end_layout
12080
12081 \end_inset
12082 </cell>
12083 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12084 \begin_inset Text
12085
12086 \begin_layout Standard
12087 0.37
12088 \end_layout
12089
12090 \end_inset
12091 </cell>
12092 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12093 \begin_inset Text
12094
12095 \begin_layout Standard
12096 0.39
12097 \end_layout
12098
12099 \end_inset
12100 </cell>
12101 </row>
12102 <row topspace="default">
12103 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12104 \begin_inset Text
12105
12106 \begin_layout Standard
12107 \begin_inset ERT
12108 status collapsed
12109
12110 \begin_layout Standard
12111
12112
12113 \backslash
12114 cmidrule(l{10pt}){1-1}
12115 \end_layout
12116
12117 \end_inset
12118
12119 LSF-spatial resolution
12120 \end_layout
12121
12122 \end_inset
12123 </cell>
12124 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12125 \begin_inset Text
12126
12127 \begin_layout Standard
12128
12129 \end_layout
12130
12131 \end_inset
12132 </cell>
12133 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12134 \begin_inset Text
12135
12136 \begin_layout Standard
12137
12138 \end_layout
12139
12140 \end_inset
12141 </cell>
12142 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12143 \begin_inset Text
12144
12145 \begin_layout Standard
12146
12147 \end_layout
12148
12149 \end_inset
12150 </cell>
12151 </row>
12152 <row>
12153 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12154 \begin_inset Text
12155
12156 \begin_layout Standard
12157 in Âµm
12158 \end_layout
12159
12160 \end_inset
12161 </cell>
12162 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12163 \begin_inset Text
12164
12165 \begin_layout Standard
12166 129.7
12167 \end_layout
12168
12169 \end_inset
12170 </cell>
12171 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12172 \begin_inset Text
12173
12174 \begin_layout Standard
12175 52.75
12176 \end_layout
12177
12178 \end_inset
12179 </cell>
12180 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12181 \begin_inset Text
12182
12183 \begin_layout Standard
12184 50.78
12185 \end_layout
12186
12187 \end_inset
12188 </cell>
12189 </row>
12190 <row bottomline="true">
12191 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12192 \begin_inset Text
12193
12194 \begin_layout Standard
12195 in % of pixel size
12196 \end_layout
12197
12198 \end_inset
12199 </cell>
12200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12201 \begin_inset Text
12202
12203 \begin_layout Standard
12204 76.3
12205 \end_layout
12206
12207 \end_inset
12208 </cell>
12209 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12210 \begin_inset Text
12211
12212 \begin_layout Standard
12213 95.9
12214 \end_layout
12215
12216 \end_inset
12217 </cell>
12218 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12219 \begin_inset Text
12220
12221 \begin_layout Standard
12222 92.3
12223 \end_layout
12224
12225 \end_inset
12226 </cell>
12227 </row>
12228 </lyxtabular>
12229
12230 \end_inset
12231
12232
12233 \end_layout
12234
12235 \end_inset
12236
12237
12238 \end_layout
12239
12240 \begin_layout Standard
12241 Spaces to table rows can be added using the 
12242 \family sans
12243 Borders
12244 \family default
12245  tab of the table dialog as described in section\InsetSpace ~
12246
12247 \begin_inset LatexCommand ref
12248 reference "sub:Row-Spacing"
12249
12250 \end_inset
12251
12252 .
12253 \end_layout
12254
12255 \begin_layout Standard
12256 In contrary to normal tables, formal tables have no vertical table lines.
12257  The horizontal table lines can be set like for normal tables but they appear
12258  with different width in the output:
12259 \newline
12260 The first and the last table line have
12261  a default width of 0.08\InsetSpace \thinspace{}
12262 em while the other lines have a default width of
12263  0.05\InsetSpace \thinspace{}
12264 em.
12265 \end_layout
12266
12267 \begin_layout Standard
12268 The default widths can be changed with the following preamble lines
12269 \end_layout
12270
12271 \begin_layout Standard
12272
12273 \series bold
12274
12275 \backslash
12276 let
12277 \backslash
12278 mytoprule
12279 \backslash
12280 toprule
12281 \newline
12282
12283 \backslash
12284 renewcommand{
12285 \backslash
12286 toprule}{
12287 \backslash
12288 mytoprule[width]}
12289 \end_layout
12290
12291 \begin_layout Standard
12292 This example is for the first line, the so called 
12293 \series bold
12294 toprule
12295 \series default
12296 .
12297  If you want to change the width for the last line, replace 
12298 \series bold
12299 toprule
12300 \series default
12301  by 
12302 \series bold
12303 bottomrule
12304 \series default
12305 .
12306  To change the width for the other lines replace 
12307 \series bold
12308 toprule
12309 \series default
12310  by 
12311 \series bold
12312 midrule
12313 \series default
12314 .
12315  You can use all units listed in appendix\InsetSpace ~
12316
12317 \begin_inset LatexCommand ref
12318 reference "cha:Units-available-in"
12319
12320 \end_inset
12321
12322  to set the width.
12323 \end_layout
12324
12325 \begin_layout Standard
12326 Lines that don't span over all table columns can be created by setting a
12327  table line for multicolumn cells.
12328  LyX will then internally use the command 
12329 \series bold
12330
12331 \backslash
12332 cmidrule
12333 \series default
12334  to create this line.
12335  Its full scheme is
12336 \end_layout
12337
12338 \begin_layout Standard
12339
12340 \series bold
12341
12342 \backslash
12343 cmidrule[width](trim){startcol-endcol}
12344 \end_layout
12345
12346 \begin_layout Standard
12347 The options of 
12348 \series bold
12349
12350 \backslash
12351 cmidrule
12352 \series default
12353  are are currently not supported by LyX so you have to use TeX-Code to be
12354  able to use them.
12355  
12356 \series bold
12357
12358 \backslash
12359 cmidrule
12360 \series default
12361 s can manually be created by inserting the command as TeX-Code as first
12362  cell entry of the first cell of a row.
12363  The line is then drawn in the output above the current row.
12364 \end_layout
12365
12366 \begin_layout Standard
12367 The default for the width is 0.03\InsetSpace \thinspace{}
12368 em.
12369  Startcol is the number of the column where the line starts and endcol the
12370  column number where the line ends.
12371  The endcol always needs to be specified, also when the line should span
12372  only one column.
12373  The optional parameter trim could be either 
12374 \emph on
12375 l{trimwidth}
12376 \emph default
12377 , or 
12378 \emph on
12379 r{trimwidth}
12380 \emph default
12381  where the trimwidth is also optional.
12382  Using for example the parameter 
12383 \emph on
12384 l{2pt}
12385 \emph default
12386  means that the line is trimmed from its left end by 2\InsetSpace \thinspace{}
12387 pt.
12388  If you don't specify the trimwidth the lines are trimmed by the default
12389  of 0.5\InsetSpace \thinspace{}
12390 em.
12391 \end_layout
12392
12393 \begin_layout Standard
12394 \begin_inset VSpace bigskip
12395 \end_inset
12396
12397 Table\InsetSpace ~
12398
12399 \begin_inset LatexCommand ref
12400 reference "tab:Example-booktabs-table"
12401
12402 \end_inset
12403
12404  was created using the commands
12405 \end_layout
12406
12407 \begin_layout Standard
12408
12409 \series bold
12410
12411 \backslash
12412 cmidrule(r){2-2}
12413 \backslash
12414 cmidrule(l){3-4}
12415 \end_layout
12416
12417 \begin_layout Standard
12418 at the beginning of the in the second row and
12419 \end_layout
12420
12421 \begin_layout Standard
12422
12423 \series bold
12424
12425 \backslash
12426 cmidrule(l{10pt}){1-1}
12427 \end_layout
12428
12429 \begin_layout Standard
12430 in the sixth row.
12431 \end_layout
12432
12433 \begin_layout Standard
12434 \begin_inset VSpace bigskip
12435 \end_inset
12436
12437
12438 \end_layout
12439
12440 \begin_layout Standard
12441 You might want to have overlapping 
12442 \series bold
12443
12444 \backslash
12445 cmidrule
12446 \series default
12447 s like in Table\InsetSpace ~
12448
12449 \begin_inset LatexCommand ref
12450 reference "tab:Special-booktabs-table"
12451
12452 \end_inset
12453
12454 .
12455  This can be achieved with the TeX-Code command
12456 \end_layout
12457
12458 \begin_layout Standard
12459
12460 \series bold
12461
12462 \backslash
12463 morecmidrules
12464 \end_layout
12465
12466 \begin_layout Standard
12467 The command that was used for the second row of Table\InsetSpace ~
12468
12469 \begin_inset LatexCommand ref
12470 reference "tab:Special-booktabs-table"
12471
12472 \end_inset
12473
12474  is
12475 \end_layout
12476
12477 \begin_layout Standard
12478
12479 \series bold
12480
12481 \backslash
12482 cmidrule(r){2-2}
12483 \backslash
12484 cmidrule(l){3-4}
12485 \backslash
12486 morecmidrules
12487 \backslash
12488 cmidrule{2-4}
12489 \end_layout
12490
12491 \begin_layout Standard
12492 The command for the sixth row is
12493 \end_layout
12494
12495 \begin_layout Standard
12496
12497 \series bold
12498
12499 \backslash
12500 midrule
12501 \backslash
12502 morecmidrules
12503 \backslash
12504 cmidrule{3-4}
12505 \end_layout
12506
12507 \begin_layout Standard
12508 \begin_inset VSpace bigskip
12509 \end_inset
12510
12511
12512 \end_layout
12513
12514 \begin_layout Standard
12515 If you are anyway not satisfied with the border line spacing, you can use
12516  the following command to produce lines that span over all table columns
12517 \series bold
12518 :
12519 \end_layout
12520
12521 \begin_layout Standard
12522
12523 \series bold
12524
12525 \backslash
12526 specialrule{width}{space above}{space below}
12527 \end_layout
12528
12529 \begin_layout Standard
12530 For more informations about these specialties, we refer to the manual of
12531  the LaTeX-package 
12532 \series bold
12533 booktabs
12534 \series default
12535  
12536 \begin_inset LatexCommand cite
12537 key "booktabs"
12538
12539 \end_inset
12540
12541 .
12542 \begin_inset LatexCommand index
12543 name "LaTeX-packages ! booktabs"
12544
12545 \end_inset
12546
12547
12548 \end_layout
12549
12550 \begin_layout Standard
12551 \begin_inset Float table
12552 placement h
12553 wide false
12554 sideways false
12555 status open
12556
12557 \begin_layout Standard
12558 \begin_inset Caption
12559
12560 \begin_layout Standard
12561 \begin_inset LatexCommand label
12562 name "tab:Special-booktabs-table"
12563
12564 \end_inset
12565
12566 Special booktabs-table
12567 \end_layout
12568
12569 \end_inset
12570
12571
12572 \end_layout
12573
12574 \begin_layout Standard
12575 \align center
12576 \begin_inset Tabular
12577 <lyxtabular version="3" rows="8" columns="4">
12578 <features booktabs="true">
12579 <column alignment="center" valignment="top" width="0">
12580 <column alignment="center" valignment="top" width="0">
12581 <column alignment="center" valignment="top" width="0">
12582 <column alignment="center" valignment="top" width="0">
12583 <row topline="true">
12584 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12585 \begin_inset Text
12586
12587 \begin_layout Standard
12588 System
12589 \end_layout
12590
12591 \end_inset
12592 </cell>
12593 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12594 \begin_inset Text
12595
12596 \begin_layout Standard
12597 Medipix\InsetSpace \thinspace{}
12598 1
12599 \end_layout
12600
12601 \end_inset
12602 </cell>
12603 <cell multicolumn="1" alignment="center" valignment="top" leftline="true" usebox="none">
12604 \begin_inset Text
12605
12606 \begin_layout Standard
12607 Medipix\InsetSpace \thinspace{}
12608 2
12609 \end_layout
12610
12611 \end_inset
12612 </cell>
12613 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12614 \begin_inset Text
12615
12616 \begin_layout Standard
12617
12618 \end_layout
12619
12620 \end_inset
12621 </cell>
12622 </row>
12623 <row>
12624 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12625 \begin_inset Text
12626
12627 \begin_layout Standard
12628 \begin_inset ERT
12629 status collapsed
12630
12631 \begin_layout Standard
12632
12633
12634 \backslash
12635 cmidrule(r){2-2}
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 cmidrule(l){3-4}
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 morecmidrules 
12662 \end_layout
12663
12664 \end_inset
12665
12666
12667 \begin_inset ERT
12668 status collapsed
12669
12670 \begin_layout Standard
12671
12672
12673 \backslash
12674 cmidrule{2-4}
12675 \end_layout
12676
12677 \end_inset
12678
12679 Detector thickness [µm]
12680 \end_layout
12681
12682 \end_inset
12683 </cell>
12684 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12685 \begin_inset Text
12686
12687 \begin_layout Standard
12688 300
12689 \end_layout
12690
12691 \end_inset
12692 </cell>
12693 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12694 \begin_inset Text
12695
12696 \begin_layout Standard
12697 300
12698 \end_layout
12699
12700 \end_inset
12701 </cell>
12702 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12703 \begin_inset Text
12704
12705 \begin_layout Standard
12706 700
12707 \end_layout
12708
12709 \end_inset
12710 </cell>
12711 </row>
12712 <row topline="true">
12713 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12714 \begin_inset Text
12715
12716 \begin_layout Standard
12717 Edge angle [°]
12718 \end_layout
12719
12720 \end_inset
12721 </cell>
12722 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12723 \begin_inset Text
12724
12725 \begin_layout Standard
12726 3.55
12727 \end_layout
12728
12729 \end_inset
12730 </cell>
12731 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12732 \begin_inset Text
12733
12734 \begin_layout Standard
12735 2.71
12736 \end_layout
12737
12738 \end_inset
12739 </cell>
12740 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12741 \begin_inset Text
12742
12743 \begin_layout Standard
12744 7.99
12745 \end_layout
12746
12747 \end_inset
12748 </cell>
12749 </row>
12750 <row topspace="default">
12751 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12752 \begin_inset Text
12753
12754 \begin_layout Standard
12755 Spatial resolution [µm]
12756 \end_layout
12757
12758 \end_inset
12759 </cell>
12760 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12761 \begin_inset Text
12762
12763 \begin_layout Standard
12764 4.26
12765 \end_layout
12766
12767 \end_inset
12768 </cell>
12769 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12770 \begin_inset Text
12771
12772 \begin_layout Standard
12773 10.17
12774 \end_layout
12775
12776 \end_inset
12777 </cell>
12778 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12779 \begin_inset Text
12780
12781 \begin_layout Standard
12782 10.56
12783 \end_layout
12784
12785 \end_inset
12786 </cell>
12787 </row>
12788 <row topspace="default">
12789 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12790 \begin_inset Text
12791
12792 \begin_layout Standard
12793 MTF at 
12794 \begin_inset Formula $f_{\mathrm{max}}$
12795 \end_inset
12796
12797
12798 \end_layout
12799
12800 \end_inset
12801 </cell>
12802 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12803 \begin_inset Text
12804
12805 \begin_layout Standard
12806 0.53
12807 \end_layout
12808
12809 \end_inset
12810 </cell>
12811 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12812 \begin_inset Text
12813
12814 \begin_layout Standard
12815 0.37
12816 \end_layout
12817
12818 \end_inset
12819 </cell>
12820 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12821 \begin_inset Text
12822
12823 \begin_layout Standard
12824 0.39
12825 \end_layout
12826
12827 \end_inset
12828 </cell>
12829 </row>
12830 <row topline="true">
12831 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12832 \begin_inset Text
12833
12834 \begin_layout Standard
12835 \begin_inset ERT
12836 status collapsed
12837
12838 \begin_layout Standard
12839
12840
12841 \backslash
12842 morecmidrules 
12843 \end_layout
12844
12845 \end_inset
12846
12847
12848 \begin_inset ERT
12849 status collapsed
12850
12851 \begin_layout Standard
12852
12853
12854 \backslash
12855 cmidrule{3-4}
12856 \end_layout
12857
12858 \end_inset
12859
12860 LSF-spatial resolution
12861 \end_layout
12862
12863 \end_inset
12864 </cell>
12865 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12866 \begin_inset Text
12867
12868 \begin_layout Standard
12869
12870 \end_layout
12871
12872 \end_inset
12873 </cell>
12874 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12875 \begin_inset Text
12876
12877 \begin_layout Standard
12878
12879 \end_layout
12880
12881 \end_inset
12882 </cell>
12883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12884 \begin_inset Text
12885
12886 \begin_layout Standard
12887
12888 \end_layout
12889
12890 \end_inset
12891 </cell>
12892 </row>
12893 <row>
12894 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12895 \begin_inset Text
12896
12897 \begin_layout Standard
12898 in Âµm
12899 \end_layout
12900
12901 \end_inset
12902 </cell>
12903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12904 \begin_inset Text
12905
12906 \begin_layout Standard
12907 129.7
12908 \end_layout
12909
12910 \end_inset
12911 </cell>
12912 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12913 \begin_inset Text
12914
12915 \begin_layout Standard
12916 52.75
12917 \end_layout
12918
12919 \end_inset
12920 </cell>
12921 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12922 \begin_inset Text
12923
12924 \begin_layout Standard
12925 50.78
12926 \end_layout
12927
12928 \end_inset
12929 </cell>
12930 </row>
12931 <row bottomline="true">
12932 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12933 \begin_inset Text
12934
12935 \begin_layout Standard
12936 in % of pixel size
12937 \end_layout
12938
12939 \end_inset
12940 </cell>
12941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12942 \begin_inset Text
12943
12944 \begin_layout Standard
12945 76.3
12946 \end_layout
12947
12948 \end_inset
12949 </cell>
12950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
12951 \begin_inset Text
12952
12953 \begin_layout Standard
12954 95.9
12955 \end_layout
12956
12957 \end_inset
12958 </cell>
12959 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
12960 \begin_inset Text
12961
12962 \begin_layout Standard
12963 92.3
12964 \end_layout
12965
12966 \end_inset
12967 </cell>
12968 </row>
12969 </lyxtabular>
12970
12971 \end_inset
12972
12973
12974 \end_layout
12975
12976 \end_inset
12977
12978
12979 \end_layout
12980
12981 \begin_layout Section
12982 Vertical Table Alignment
12983 \begin_inset LatexCommand index
12984 name "Table ! Alignment"
12985
12986 \end_inset
12987
12988
12989 \end_layout
12990
12991 \begin_layout Standard
12992 To align tables vertically in a text line the table must be inside a box.
12993  The box can then be vertically aligned as described in section\InsetSpace ~
12994
12995 \begin_inset LatexCommand ref
12996 reference "sec:Box-Dialog"
12997
12998 \end_inset
12999
13000 .
13001 \end_layout
13002
13003 \begin_layout Standard
13004 In the following example the tables are inside a minipage
13005 \begin_inset Foot
13006 status collapsed
13007
13008 \begin_layout Standard
13009 Minipages are described in section\InsetSpace ~
13010
13011 \begin_inset LatexCommand ref
13012 reference "sec:Minipages"
13013
13014 \end_inset
13015
13016 .
13017 \end_layout
13018
13019 \end_inset
13020
13021  box that has a width of 15\InsetSpace \thinspace{}
13022 col%:
13023 \end_layout
13024
13025 \begin_layout Itemize
13026 test 
13027 \begin_inset Box Frameless
13028 position "t"
13029 hor_pos "c"
13030 has_inner_box 1
13031 inner_pos "c"
13032 use_parbox 0
13033 width "15col%"
13034 special "none"
13035 height "1in"
13036 height_special "totalheight"
13037 status collapsed
13038
13039 \begin_layout Standard
13040 \begin_inset Tabular
13041 <lyxtabular version="3" rows="3" columns="3">
13042 <features>
13043 <column alignment="center" valignment="top" leftline="true" width="0">
13044 <column alignment="center" valignment="top" leftline="true" width="0">
13045 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13046 <row topline="true">
13047 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13048 \begin_inset Text
13049
13050 \begin_layout Standard
13051 a
13052 \end_layout
13053
13054 \end_inset
13055 </cell>
13056 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13057 \begin_inset Text
13058
13059 \begin_layout Standard
13060 d
13061 \end_layout
13062
13063 \end_inset
13064 </cell>
13065 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13066 \begin_inset Text
13067
13068 \begin_layout Standard
13069 g
13070 \end_layout
13071
13072 \end_inset
13073 </cell>
13074 </row>
13075 <row topline="true">
13076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13077 \begin_inset Text
13078
13079 \begin_layout Standard
13080 b
13081 \end_layout
13082
13083 \end_inset
13084 </cell>
13085 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13086 \begin_inset Text
13087
13088 \begin_layout Standard
13089 e
13090 \end_layout
13091
13092 \end_inset
13093 </cell>
13094 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13095 \begin_inset Text
13096
13097 \begin_layout Standard
13098 h
13099 \end_layout
13100
13101 \end_inset
13102 </cell>
13103 </row>
13104 <row topline="true" bottomline="true">
13105 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13106 \begin_inset Text
13107
13108 \begin_layout Standard
13109 c
13110 \end_layout
13111
13112 \end_inset
13113 </cell>
13114 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13115 \begin_inset Text
13116
13117 \begin_layout Standard
13118 f
13119 \end_layout
13120
13121 \end_inset
13122 </cell>
13123 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13124 \begin_inset Text
13125
13126 \begin_layout Standard
13127 i
13128 \end_layout
13129
13130 \end_inset
13131 </cell>
13132 </row>
13133 </lyxtabular>
13134
13135 \end_inset
13136
13137
13138 \end_layout
13139
13140 \end_inset
13141
13142  test 
13143 \begin_inset ERT
13144 status collapsed
13145
13146 \begin_layout Standard
13147
13148
13149 \backslash
13150 raisebox{0.85
13151 \backslash
13152 baselineskip}{
13153 \end_layout
13154
13155 \end_inset
13156
13157
13158 \begin_inset Box Frameless
13159 position "t"
13160 hor_pos "c"
13161 has_inner_box 1
13162 inner_pos "c"
13163 use_parbox 0
13164 width "15col%"
13165 special "none"
13166 height "1in"
13167 height_special "totalheight"
13168 status collapsed
13169
13170 \begin_layout Standard
13171 \begin_inset Tabular
13172 <lyxtabular version="3" rows="3" columns="3">
13173 <features>
13174 <column alignment="center" valignment="top" leftline="true" width="0">
13175 <column alignment="center" valignment="top" leftline="true" width="0">
13176 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13177 <row topline="true">
13178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13179 \begin_inset Text
13180
13181 \begin_layout Standard
13182 a
13183 \end_layout
13184
13185 \end_inset
13186 </cell>
13187 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13188 \begin_inset Text
13189
13190 \begin_layout Standard
13191 d
13192 \end_layout
13193
13194 \end_inset
13195 </cell>
13196 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13197 \begin_inset Text
13198
13199 \begin_layout Standard
13200 g
13201 \end_layout
13202
13203 \end_inset
13204 </cell>
13205 </row>
13206 <row topline="true">
13207 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13208 \begin_inset Text
13209
13210 \begin_layout Standard
13211 b
13212 \end_layout
13213
13214 \end_inset
13215 </cell>
13216 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13217 \begin_inset Text
13218
13219 \begin_layout Standard
13220 e
13221 \end_layout
13222
13223 \end_inset
13224 </cell>
13225 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13226 \begin_inset Text
13227
13228 \begin_layout Standard
13229 h
13230 \end_layout
13231
13232 \end_inset
13233 </cell>
13234 </row>
13235 <row topline="true" bottomline="true">
13236 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13237 \begin_inset Text
13238
13239 \begin_layout Standard
13240 c
13241 \end_layout
13242
13243 \end_inset
13244 </cell>
13245 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13246 \begin_inset Text
13247
13248 \begin_layout Standard
13249 f
13250 \end_layout
13251
13252 \end_inset
13253 </cell>
13254 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13255 \begin_inset Text
13256
13257 \begin_layout Standard
13258 i
13259 \end_layout
13260
13261 \end_inset
13262 </cell>
13263 </row>
13264 </lyxtabular>
13265
13266 \end_inset
13267
13268
13269 \end_layout
13270
13271 \end_inset
13272
13273
13274 \begin_inset ERT
13275 status collapsed
13276
13277 \begin_layout Standard
13278
13279 }
13280 \end_layout
13281
13282 \end_inset
13283
13284
13285 \end_layout
13286
13287 \begin_layout Itemize
13288 test 
13289 \begin_inset Box Frameless
13290 position "c"
13291 hor_pos "c"
13292 has_inner_box 1
13293 inner_pos "c"
13294 use_parbox 0
13295 width "15col%"
13296 special "none"
13297 height "1in"
13298 height_special "totalheight"
13299 status collapsed
13300
13301 \begin_layout Standard
13302 \begin_inset Tabular
13303 <lyxtabular version="3" rows="3" columns="3">
13304 <features>
13305 <column alignment="center" valignment="top" leftline="true" width="0">
13306 <column alignment="center" valignment="top" leftline="true" width="0">
13307 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13308 <row topline="true">
13309 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13310 \begin_inset Text
13311
13312 \begin_layout Standard
13313 a
13314 \end_layout
13315
13316 \end_inset
13317 </cell>
13318 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13319 \begin_inset Text
13320
13321 \begin_layout Standard
13322 d
13323 \end_layout
13324
13325 \end_inset
13326 </cell>
13327 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13328 \begin_inset Text
13329
13330 \begin_layout Standard
13331 g
13332 \end_layout
13333
13334 \end_inset
13335 </cell>
13336 </row>
13337 <row topline="true">
13338 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13339 \begin_inset Text
13340
13341 \begin_layout Standard
13342 b
13343 \end_layout
13344
13345 \end_inset
13346 </cell>
13347 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13348 \begin_inset Text
13349
13350 \begin_layout Standard
13351 e
13352 \end_layout
13353
13354 \end_inset
13355 </cell>
13356 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13357 \begin_inset Text
13358
13359 \begin_layout Standard
13360 h
13361 \end_layout
13362
13363 \end_inset
13364 </cell>
13365 </row>
13366 <row topline="true" bottomline="true">
13367 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13368 \begin_inset Text
13369
13370 \begin_layout Standard
13371 c
13372 \end_layout
13373
13374 \end_inset
13375 </cell>
13376 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13377 \begin_inset Text
13378
13379 \begin_layout Standard
13380 f
13381 \end_layout
13382
13383 \end_inset
13384 </cell>
13385 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13386 \begin_inset Text
13387
13388 \begin_layout Standard
13389 i
13390 \end_layout
13391
13392 \end_inset
13393 </cell>
13394 </row>
13395 </lyxtabular>
13396
13397 \end_inset
13398
13399
13400 \end_layout
13401
13402 \end_inset
13403
13404
13405 \end_layout
13406
13407 \begin_layout Itemize
13408 test 
13409 \begin_inset Box Frameless
13410 position "b"
13411 hor_pos "c"
13412 has_inner_box 1
13413 inner_pos "c"
13414 use_parbox 0
13415 width "15col%"
13416 special "none"
13417 height "1in"
13418 height_special "totalheight"
13419 status collapsed
13420
13421 \begin_layout Standard
13422 \begin_inset Tabular
13423 <lyxtabular version="3" rows="3" columns="3">
13424 <features>
13425 <column alignment="center" valignment="top" leftline="true" width="0">
13426 <column alignment="center" valignment="top" leftline="true" width="0">
13427 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13428 <row topline="true">
13429 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13430 \begin_inset Text
13431
13432 \begin_layout Standard
13433 a
13434 \end_layout
13435
13436 \end_inset
13437 </cell>
13438 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13439 \begin_inset Text
13440
13441 \begin_layout Standard
13442 d
13443 \end_layout
13444
13445 \end_inset
13446 </cell>
13447 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13448 \begin_inset Text
13449
13450 \begin_layout Standard
13451 g
13452 \end_layout
13453
13454 \end_inset
13455 </cell>
13456 </row>
13457 <row topline="true">
13458 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13459 \begin_inset Text
13460
13461 \begin_layout Standard
13462 b
13463 \end_layout
13464
13465 \end_inset
13466 </cell>
13467 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13468 \begin_inset Text
13469
13470 \begin_layout Standard
13471 e
13472 \end_layout
13473
13474 \end_inset
13475 </cell>
13476 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13477 \begin_inset Text
13478
13479 \begin_layout Standard
13480 h
13481 \end_layout
13482
13483 \end_inset
13484 </cell>
13485 </row>
13486 <row topline="true" bottomline="true">
13487 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13488 \begin_inset Text
13489
13490 \begin_layout Standard
13491 c
13492 \end_layout
13493
13494 \end_inset
13495 </cell>
13496 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13497 \begin_inset Text
13498
13499 \begin_layout Standard
13500 f
13501 \end_layout
13502
13503 \end_inset
13504 </cell>
13505 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13506 \begin_inset Text
13507
13508 \begin_layout Standard
13509 i
13510 \end_layout
13511
13512 \end_inset
13513 </cell>
13514 </row>
13515 </lyxtabular>
13516
13517 \end_inset
13518
13519
13520 \end_layout
13521
13522 \end_inset
13523
13524  test 
13525 \begin_inset ERT
13526 status collapsed
13527
13528 \begin_layout Standard
13529
13530
13531 \backslash
13532 raisebox{-0.32
13533 \backslash
13534 baselineskip}{
13535 \end_layout
13536
13537 \end_inset
13538
13539
13540 \begin_inset Box Frameless
13541 position "b"
13542 hor_pos "c"
13543 has_inner_box 1
13544 inner_pos "c"
13545 use_parbox 0
13546 width "15col%"
13547 special "none"
13548 height "1in"
13549 height_special "totalheight"
13550 status collapsed
13551
13552 \begin_layout Standard
13553 \begin_inset Tabular
13554 <lyxtabular version="3" rows="3" columns="3">
13555 <features>
13556 <column alignment="center" valignment="top" leftline="true" width="0">
13557 <column alignment="center" valignment="top" leftline="true" width="0">
13558 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13559 <row topline="true">
13560 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13561 \begin_inset Text
13562
13563 \begin_layout Standard
13564 a
13565 \end_layout
13566
13567 \end_inset
13568 </cell>
13569 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13570 \begin_inset Text
13571
13572 \begin_layout Standard
13573 d
13574 \end_layout
13575
13576 \end_inset
13577 </cell>
13578 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13579 \begin_inset Text
13580
13581 \begin_layout Standard
13582 g
13583 \end_layout
13584
13585 \end_inset
13586 </cell>
13587 </row>
13588 <row topline="true">
13589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13590 \begin_inset Text
13591
13592 \begin_layout Standard
13593 b
13594 \end_layout
13595
13596 \end_inset
13597 </cell>
13598 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13599 \begin_inset Text
13600
13601 \begin_layout Standard
13602 e
13603 \end_layout
13604
13605 \end_inset
13606 </cell>
13607 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13608 \begin_inset Text
13609
13610 \begin_layout Standard
13611 h
13612 \end_layout
13613
13614 \end_inset
13615 </cell>
13616 </row>
13617 <row topline="true" bottomline="true">
13618 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13619 \begin_inset Text
13620
13621 \begin_layout Standard
13622 c
13623 \end_layout
13624
13625 \end_inset
13626 </cell>
13627 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13628 \begin_inset Text
13629
13630 \begin_layout Standard
13631 f
13632 \end_layout
13633
13634 \end_inset
13635 </cell>
13636 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13637 \begin_inset Text
13638
13639 \begin_layout Standard
13640 i
13641 \end_layout
13642
13643 \end_inset
13644 </cell>
13645 </row>
13646 </lyxtabular>
13647
13648 \end_inset
13649
13650
13651 \end_layout
13652
13653 \end_inset
13654
13655
13656 \begin_inset ERT
13657 status collapsed
13658
13659 \begin_layout Standard
13660
13661 }
13662 \end_layout
13663
13664 \end_inset
13665
13666
13667 \end_layout
13668
13669 \begin_layout Standard
13670 As you can see, the content of the first and last table row is not correctly
13671  aligned with the text line where the table is in.
13672  To get this alignment, the minipage box must be set into a raisebox
13673 \begin_inset Foot
13674 status collapsed
13675
13676 \begin_layout Standard
13677 Raiseboxes are described in section\InsetSpace ~
13678
13679 \begin_inset LatexCommand ref
13680 reference "sub:Vertical-Alignment"
13681
13682 \end_inset
13683
13684 .
13685 \end_layout
13686
13687 \end_inset
13688
13689 .
13690  In the example above the second table in the first item is aligned using
13691  the TeX-Code-command
13692 \end_layout
13693
13694 \begin_layout Standard
13695
13696 \series bold
13697
13698 \backslash
13699 raisebox{0.85
13700 \backslash
13701 baselineskip}{
13702 \end_layout
13703
13704 \begin_layout Standard
13705 before the box.
13706  Behind the box the closing brace 
13707 \series bold
13708 }
13709 \series default
13710  is inserted as TeX-Code.
13711  For the second table in the last item the command
13712 \end_layout
13713
13714 \begin_layout Standard
13715
13716 \series bold
13717
13718 \backslash
13719 raisebox{-0.32
13720 \backslash
13721 baselineskip}{
13722 \end_layout
13723
13724 \begin_layout Standard
13725 is used.
13726 \end_layout
13727
13728 \begin_layout Standard
13729 \begin_inset Note Greyedout
13730 status open
13731
13732 \begin_layout Standard
13733
13734 \series bold
13735 Note:
13736 \series default
13737  The alignment of the table row content to the surrounding text line is
13738  not exact.
13739  The needed factor of the 
13740 \series bold
13741
13742 \backslash
13743 raisebox
13744 \series default
13745  command for this alignment depends on the document font, the font size,
13746  and the table line thickness.
13747 \end_layout
13748
13749 \end_inset
13750
13751
13752 \end_layout
13753
13754 \begin_layout Section
13755 Colored Tables
13756 \begin_inset LatexCommand label
13757 name "sec:Colored-Tables"
13758
13759 \end_inset
13760
13761
13762 \begin_inset LatexCommand index
13763 name "Table ! Color"
13764
13765 \end_inset
13766
13767
13768 \end_layout
13769
13770 \begin_layout Subsection
13771 Colored Cells
13772 \begin_inset LatexCommand index
13773 name "Table Color ! for Cells"
13774
13775 \end_inset
13776
13777
13778 \begin_inset LatexCommand index
13779 name "Color ! for Table Cells"
13780
13781 \end_inset
13782
13783
13784 \end_layout
13785
13786 \begin_layout Standard
13787 \begin_inset Float table
13788 placement h
13789 wide false
13790 sideways false
13791 status open
13792
13793 \begin_layout Standard
13794 \begin_inset Caption
13795
13796 \begin_layout Standard
13797 \begin_inset LatexCommand label
13798 name "tab:Table-colored-without"
13799
13800 \end_inset
13801
13802 Table colored without using the package 
13803 \series bold
13804 colortbl
13805 \series default
13806
13807 \begin_inset OptArg
13808 status collapsed
13809
13810 \begin_layout Standard
13811 Table without colortbl
13812 \end_layout
13813
13814 \end_inset
13815
13816
13817 \end_layout
13818
13819 \end_inset
13820
13821
13822 \end_layout
13823
13824 \begin_layout Standard
13825 \align center
13826 \begin_inset Tabular
13827 <lyxtabular version="3" rows="3" columns="3">
13828 <features>
13829 <column alignment="center" valignment="top" leftline="true" width="0">
13830 <column alignment="center" valignment="top" leftline="true" width="0">
13831 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
13832 <row topline="true">
13833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13834 \begin_inset Text
13835
13836 \begin_layout Standard
13837
13838 \color green
13839 a
13840 \end_layout
13841
13842 \end_inset
13843 </cell>
13844 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13845 \begin_inset Text
13846
13847 \begin_layout Standard
13848
13849 \color red
13850 b
13851 \end_layout
13852
13853 \end_inset
13854 </cell>
13855 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13856 \begin_inset Text
13857
13858 \begin_layout Standard
13859
13860 \color red
13861 c
13862 \end_layout
13863
13864 \end_inset
13865 </cell>
13866 </row>
13867 <row topline="true">
13868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13869 \begin_inset Text
13870
13871 \begin_layout Standard
13872
13873 \color green
13874 d
13875 \end_layout
13876
13877 \end_inset
13878 </cell>
13879 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13880 \begin_inset Text
13881
13882 \begin_layout Standard
13883
13884 \color blue
13885 e
13886 \end_layout
13887
13888 \end_inset
13889 </cell>
13890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13891 \begin_inset Text
13892
13893 \begin_layout Standard
13894
13895 \color blue
13896 f
13897 \end_layout
13898
13899 \end_inset
13900 </cell>
13901 </row>
13902 <row topline="true" bottomline="true">
13903 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13904 \begin_inset Text
13905
13906 \begin_layout Standard
13907
13908 \color green
13909 g
13910 \end_layout
13911
13912 \end_inset
13913 </cell>
13914 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
13915 \begin_inset Text
13916
13917 \begin_layout Standard
13918
13919 \color blue
13920 h
13921 \end_layout
13922
13923 \end_inset
13924 </cell>
13925 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
13926 \begin_inset Text
13927
13928 \begin_layout Standard
13929
13930 \color blue
13931 i
13932 \end_layout
13933
13934 \end_inset
13935 </cell>
13936 </row>
13937 </lyxtabular>
13938
13939 \end_inset
13940
13941
13942 \end_layout
13943
13944 \end_inset
13945
13946
13947 \end_layout
13948
13949 \begin_layout Standard
13950 If you only need colored text, mark the cells and choose a color in the
13951  menu 
13952 \family sans
13953 Edit\SpecialChar \menuseparator
13954 Text\InsetSpace ~
13955 Style
13956 \family default
13957 .
13958  This was used to create Table\InsetSpace ~
13959
13960 \begin_inset LatexCommand ref
13961 reference "tab:Table-colored-without"
13962
13963 \end_inset
13964
13965 .
13966  In any other case you have to use the LaTeX-package 
13967 \series bold
13968 colortbl
13969 \series default
13970 .
13971 \begin_inset LatexCommand index
13972 name "LaTeX-packages ! colortbl"
13973
13974 \end_inset
13975
13976
13977 \end_layout
13978
13979 \begin_layout Standard
13980 \begin_inset ERT
13981 status collapsed
13982
13983 \begin_layout Standard
13984
13985
13986 \backslash
13987 ifcolortbl
13988 \end_layout
13989
13990 \end_inset
13991
13992
13993 \begin_inset Note Note
13994 status open
13995
13996 \begin_layout Standard
13997 The following section part will only be displayed when the LaTeX-package
13998  
13999 \series bold
14000 colortbl
14001 \series default
14002  is installed.
14003 \end_layout
14004
14005 \end_inset
14006
14007
14008 \end_layout
14009
14010 \begin_layout Standard
14011 To create colored tables, 
14012 \series bold
14013 colortbl
14014 \series default
14015  must be loaded in the preamble with the line
14016 \end_layout
14017
14018 \begin_layout Standard
14019
14020 \series bold
14021
14022 \backslash
14023 usepackage{colortbl}
14024 \end_layout
14025
14026 \begin_layout Standard
14027 The color of a column is adjusted with the command
14028 \end_layout
14029
14030 \begin_layout Standard
14031
14032 \series bold
14033
14034 \backslash
14035 columncolor{name of color}
14036 \end_layout
14037
14038 \begin_layout Standard
14039 inside the command 
14040 \series bold
14041 >{ }
14042 \series default
14043 .
14044  More about the command 
14045 \series bold
14046 >{}
14047 \series default
14048  is described in section\InsetSpace ~
14049
14050 \begin_inset LatexCommand ref
14051 reference "sub:Multicolumn-Calculations"
14052
14053 \end_inset
14054
14055 .
14056 \end_layout
14057
14058 \begin_layout Standard
14059 The following color names are predefined:
14060 \end_layout
14061
14062 \begin_layout Standard
14063
14064 \family sans
14065 red
14066 \family default
14067
14068 \family sans
14069 green
14070 \family default
14071
14072 \family sans
14073 yellow
14074 \family default
14075
14076 \family sans
14077 blue
14078 \family default
14079
14080 \family sans
14081 cyan
14082 \family default
14083
14084 \family sans
14085 magenta
14086 \family default
14087
14088 \family sans
14089 black
14090 \family default
14091  and 
14092 \family sans
14093 white
14094 \end_layout
14095
14096 \begin_layout Standard
14097 \begin_inset VSpace medskip
14098 \end_inset
14099
14100
14101 \end_layout
14102
14103 \begin_layout Standard
14104 You can also define your own color with the command
14105 \end_layout
14106
14107 \begin_layout Standard
14108
14109 \series bold
14110
14111 \backslash
14112 def\SpecialChar \textcompwordmark{}
14113 inecolor{color name}{color model}{color values}
14114 \end_layout
14115
14116 \begin_layout Standard
14117 The color model can be
14118 \end_layout
14119
14120 \begin_layout Labeling
14121 \labelwidthstring 00.00.0000
14122 cmyk: cyan, magenta, yellow, black
14123 \end_layout
14124
14125 \begin_layout Labeling
14126 \labelwidthstring 00.00.0000
14127 rgb: red, green blue
14128 \end_layout
14129
14130 \begin_layout Labeling
14131 \labelwidthstring 00.00.0000
14132 gray gray
14133 \end_layout
14134
14135 \begin_layout Standard
14136 and the color values are comma separated numbers between 0 and 1 describing
14137  the factor for the corresponding color of the color model.
14138 \end_layout
14139
14140 \begin_layout Standard
14141 You can e.\InsetSpace \thinspace{}
14142 g.\InsetSpace ~
14143 define the color "
14144 \emph on
14145 darkgreen
14146 \emph default
14147 " in the preamble with
14148 \end_layout
14149
14150 \begin_layout Standard
14151
14152 \series bold
14153
14154 \backslash
14155 def\SpecialChar \textcompwordmark{}
14156 inecolor{darkgreen}{cmyk}{0.5, 0, 1, 0.5}
14157 \end_layout
14158
14159 \begin_layout Standard
14160 and the color "
14161 \emph on
14162 lightgray
14163 \emph default
14164 " with
14165 \end_layout
14166
14167 \begin_layout Standard
14168
14169 \series bold
14170
14171 \backslash
14172 def\SpecialChar \textcompwordmark{}
14173 inecolor{lightgray}{gray}{0.8}
14174 \end_layout
14175
14176 \begin_layout Standard
14177 \begin_inset VSpace medskip
14178 \end_inset
14179
14180
14181 \end_layout
14182
14183 \begin_layout Standard
14184 Lines are colored with the command
14185 \end_layout
14186
14187 \begin_layout Standard
14188
14189 \series bold
14190
14191 \backslash
14192 rowcolor{name of color}
14193 \end_layout
14194
14195 \begin_layout Standard
14196 and cells are colored with the command
14197 \end_layout
14198
14199 \begin_layout Standard
14200
14201 \series bold
14202
14203 \backslash
14204 cellcolor{name of color}
14205 \end_layout
14206
14207 \begin_layout Standard
14208 Both commands are inserted at the beginning of a cell as TeX-Code.
14209 \end_layout
14210
14211 \begin_layout Standard
14212 To color characters in the table, mark the cells and use the LyX menu 
14213 \family sans
14214 Edit\SpecialChar \menuseparator
14215 Text\InsetSpace ~
14216 Style
14217 \family default
14218 .
14219  If a cell contains TeX-Code mark only the characters, otherwise the colored
14220  TeX-Code will cause LaTeX-errors.
14221 \end_layout
14222
14223 \begin_layout Standard
14224 \begin_inset Note Greyedout
14225 status open
14226
14227 \begin_layout Standard
14228
14229 \series bold
14230 Note:
14231 \series default
14232  Not all DVI-viewers are able to display self-defined colors.
14233 \end_layout
14234
14235 \end_inset
14236
14237
14238 \end_layout
14239
14240 \begin_layout Standard
14241 \begin_inset VSpace bigskip
14242 \end_inset
14243
14244
14245 \end_layout
14246
14247 \begin_layout Standard
14248 To create Table\InsetSpace ~
14249
14250 \begin_inset LatexCommand ref
14251 reference "tab:Table-colored-using"
14252
14253 \end_inset
14254
14255  do the following: The color of the first column should be 
14256 \emph on
14257 darkgreen
14258 \emph default
14259 .
14260  So insert
14261 \end_layout
14262
14263 \begin_layout Standard
14264
14265 \series bold
14266 >{
14267 \backslash
14268 columncolor{darkgreen}
14269 \backslash
14270 centering}c
14271 \end_layout
14272
14273 \begin_layout Standard
14274 as LaTeX-argument for this column.
14275  The first row should be blue, therefore the TeX-Code command
14276 \end_layout
14277
14278 \begin_layout Standard
14279
14280 \series bold
14281
14282 \backslash
14283 rowcolow{cyan}
14284 \end_layout
14285
14286 \begin_layout Standard
14287 is inserted to the first cell of this row.
14288  Note that this overwrites the column color for the first cell.
14289  The last cell of the last row is colored magenta by inserting the TeX-Code
14290  command
14291 \end_layout
14292
14293 \begin_layout Standard
14294
14295 \series bold
14296
14297 \backslash
14298 cellcolor{magenta}
14299 \end_layout
14300
14301 \begin_layout Standard
14302 The characters could now be colored using the menu 
14303 \family sans
14304 Edit\SpecialChar \menuseparator
14305 Text\InsetSpace ~
14306 Style
14307 \family default
14308 .
14309 \end_layout
14310
14311 \begin_layout Standard
14312 \begin_inset Float table
14313 placement h
14314 wide false
14315 sideways false
14316 status open
14317
14318 \begin_layout Standard
14319 \begin_inset Caption
14320
14321 \begin_layout Standard
14322 \begin_inset LatexCommand label
14323 name "tab:Table-colored-using"
14324
14325 \end_inset
14326
14327 Table colored using the package 
14328 \series bold
14329 colortbl
14330 \series default
14331
14332 \begin_inset OptArg
14333 status collapsed
14334
14335 \begin_layout Standard
14336 Table with colortbl
14337 \end_layout
14338
14339 \end_inset
14340
14341
14342 \end_layout
14343
14344 \end_inset
14345
14346
14347 \end_layout
14348
14349 \begin_layout Standard
14350 \align center
14351 \begin_inset Tabular
14352 <lyxtabular version="3" rows="3" columns="3">
14353 <features>
14354 <column alignment="center" valignment="top" width="0" special=">{\columncolor{darkgreen}\centering}c">
14355 <column alignment="center" valignment="top" width="0">
14356 <column alignment="center" valignment="top" width="0">
14357 <row>
14358 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14359 \begin_inset Text
14360
14361 \begin_layout Standard
14362 \begin_inset ERT
14363 status collapsed
14364
14365 \begin_layout Standard
14366
14367
14368 \backslash
14369 rowcolor{cyan}
14370 \end_layout
14371
14372 \end_inset
14373
14374
14375 \color magenta
14376 a
14377 \end_layout
14378
14379 \end_inset
14380 </cell>
14381 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14382 \begin_inset Text
14383
14384 \begin_layout Standard
14385
14386 \color red
14387 b
14388 \end_layout
14389
14390 \end_inset
14391 </cell>
14392 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14393 \begin_inset Text
14394
14395 \begin_layout Standard
14396
14397 \color red
14398 c
14399 \end_layout
14400
14401 \end_inset
14402 </cell>
14403 </row>
14404 <row>
14405 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14406 \begin_inset Text
14407
14408 \begin_layout Standard
14409
14410 \color yellow
14411 d
14412 \end_layout
14413
14414 \end_inset
14415 </cell>
14416 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14417 \begin_inset Text
14418
14419 \begin_layout Standard
14420
14421 \color blue
14422 e
14423 \end_layout
14424
14425 \end_inset
14426 </cell>
14427 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14428 \begin_inset Text
14429
14430 \begin_layout Standard
14431
14432 \color blue
14433 f
14434 \end_layout
14435
14436 \end_inset
14437 </cell>
14438 </row>
14439 <row>
14440 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14441 \begin_inset Text
14442
14443 \begin_layout Standard
14444
14445 \color yellow
14446 g
14447 \end_layout
14448
14449 \end_inset
14450 </cell>
14451 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14452 \begin_inset Text
14453
14454 \begin_layout Standard
14455
14456 \color blue
14457 h
14458 \end_layout
14459
14460 \end_inset
14461 </cell>
14462 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14463 \begin_inset Text
14464
14465 \begin_layout Standard
14466 \begin_inset ERT
14467 status collapsed
14468
14469 \begin_layout Standard
14470
14471
14472 \backslash
14473 cellcolor{magenta}
14474 \end_layout
14475
14476 \end_inset
14477
14478
14479 \color green
14480 i
14481 \end_layout
14482
14483 \end_inset
14484 </cell>
14485 </row>
14486 </lyxtabular>
14487
14488 \end_inset
14489
14490
14491 \end_layout
14492
14493 \end_inset
14494
14495
14496 \end_layout
14497
14498 \begin_layout Standard
14499 \begin_inset ERT
14500 status collapsed
14501
14502 \begin_layout Standard
14503
14504
14505 \backslash
14506 else
14507 \end_layout
14508
14509 \end_inset
14510
14511
14512 \begin_inset Note Note
14513 status open
14514
14515 \begin_layout Standard
14516 The following will be displayed when the LaTeX-package 
14517 \series bold
14518 colortbl
14519 \series default
14520  is not installed:
14521 \end_layout
14522
14523 \end_inset
14524
14525
14526 \end_layout
14527
14528 \begin_layout Standard
14529 You need to install the package 
14530 \series bold
14531 colortbl
14532 \series default
14533  to see the content of this section in the output.
14534 \end_layout
14535
14536 \begin_layout Standard
14537 \begin_inset ERT
14538 status collapsed
14539
14540 \begin_layout Standard
14541
14542
14543 \backslash
14544 fi
14545 \end_layout
14546
14547 \end_inset
14548
14549
14550 \end_layout
14551
14552 \begin_layout Subsection
14553 Colored Lines
14554 \begin_inset LatexCommand index
14555 name "Table Color ! for Lines"
14556
14557 \end_inset
14558
14559
14560 \begin_inset LatexCommand index
14561 name "Color ! for Table Lines"
14562
14563 \end_inset
14564
14565
14566 \end_layout
14567
14568 \begin_layout Standard
14569 As described in section\InsetSpace ~
14570
14571 \begin_inset LatexCommand ref
14572 reference "sub:Line-Thickness"
14573
14574 \end_inset
14575
14576 , the line thickness for all lines in a table can be adjusted with the length
14577  
14578 \series bold
14579
14580 \backslash
14581 arrayrulewidth
14582 \series default
14583 .
14584  It is set to 1.5\InsetSpace \thinspace{}
14585 pt for all tables of this section.
14586 \begin_inset ERT
14587 status collapsed
14588
14589 \begin_layout Standard
14590
14591
14592 \backslash
14593 setlength{
14594 \backslash
14595 arrayrulewidth}{1.5pt}
14596 \end_layout
14597
14598 \end_inset
14599
14600
14601 \end_layout
14602
14603 \begin_layout Standard
14604 To color vertical lines for example with green, create the following column
14605  format in the document preamble, according to the description in section\InsetSpace ~
14606
14607 \begin_inset LatexCommand ref
14608 reference "sub:Customized-Format"
14609
14610 \end_inset
14611
14612 :
14613 \end_layout
14614
14615 \begin_layout Standard
14616
14617 \series bold
14618
14619 \backslash
14620 newcolumntype{W}{!{
14621 \backslash
14622 color{green}
14623 \backslash
14624 vline}}
14625 \end_layout
14626
14627 \begin_layout Standard
14628 For Table\InsetSpace ~
14629
14630 \begin_inset LatexCommand ref
14631 reference "tab:Table-with-vertical-colored"
14632
14633 \end_inset
14634
14635  the LaTeX-argument
14636 \series bold
14637  WcW
14638 \series default
14639  was used for the last column and
14640 \series bold
14641  Wc
14642 \series default
14643  for the other columns.
14644 \end_layout
14645
14646 \begin_layout Standard
14647 If you want to have several colors, define more column formats.
14648 \end_layout
14649
14650 \begin_layout Standard
14651 \begin_inset Float table
14652 wide false
14653 sideways false
14654 status open
14655
14656 \begin_layout Standard
14657 \begin_inset Caption
14658
14659 \begin_layout Standard
14660 \begin_inset LatexCommand label
14661 name "tab:Table-with-vertical-colored"
14662
14663 \end_inset
14664
14665 Table with colored vertical lines
14666 \end_layout
14667
14668 \end_inset
14669
14670
14671 \end_layout
14672
14673 \begin_layout Standard
14674 \align center
14675 \begin_inset Tabular
14676 <lyxtabular version="3" rows="3" columns="3">
14677 <features>
14678 <column alignment="center" valignment="top" width="0" special="Wc">
14679 <column alignment="center" valignment="top" width="0" special="Wc">
14680 <column alignment="center" valignment="top" width="0" special="WcW">
14681 <row topline="true">
14682 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14683 \begin_inset Text
14684
14685 \begin_layout Standard
14686 sd
14687 \end_layout
14688
14689 \end_inset
14690 </cell>
14691 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14692 \begin_inset Text
14693
14694 \begin_layout Standard
14695
14696 \end_layout
14697
14698 \end_inset
14699 </cell>
14700 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14701 \begin_inset Text
14702
14703 \begin_layout Standard
14704
14705 \end_layout
14706
14707 \end_inset
14708 </cell>
14709 </row>
14710 <row topline="true">
14711 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14712 \begin_inset Text
14713
14714 \begin_layout Standard
14715
14716 \end_layout
14717
14718 \end_inset
14719 </cell>
14720 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14721 \begin_inset Text
14722
14723 \begin_layout Standard
14724 sd
14725 \end_layout
14726
14727 \end_inset
14728 </cell>
14729 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14730 \begin_inset Text
14731
14732 \begin_layout Standard
14733
14734 \end_layout
14735
14736 \end_inset
14737 </cell>
14738 </row>
14739 <row topline="true" bottomline="true">
14740 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14741 \begin_inset Text
14742
14743 \begin_layout Standard
14744
14745 \end_layout
14746
14747 \end_inset
14748 </cell>
14749 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14750 \begin_inset Text
14751
14752 \begin_layout Standard
14753
14754 \end_layout
14755
14756 \end_inset
14757 </cell>
14758 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14759 \begin_inset Text
14760
14761 \begin_layout Standard
14762 sd
14763 \end_layout
14764
14765 \end_inset
14766 </cell>
14767 </row>
14768 </lyxtabular>
14769
14770 \end_inset
14771
14772
14773 \end_layout
14774
14775 \end_inset
14776
14777
14778 \end_layout
14779
14780 \begin_layout Standard
14781 \begin_inset VSpace bigskip
14782 \end_inset
14783
14784 To color horizontal lines for example with red, like in Table\InsetSpace ~
14785
14786 \begin_inset LatexCommand ref
14787 reference "tab:Table-with-horizontal-colored"
14788
14789 \end_inset
14790
14791 , insert these commands in TeX-Code before the table or table float:
14792 \end_layout
14793
14794 \begin_layout Standard
14795
14796 \series bold
14797
14798 \backslash
14799 let
14800 \backslash
14801 myHlineC
14802 \backslash
14803 hline
14804 \newline
14805
14806 \backslash
14807 renewcommand{
14808 \backslash
14809 hline}
14810 \newline
14811
14812 \begin_inset ERT
14813 status collapsed
14814
14815 \begin_layout Standard
14816
14817
14818 \backslash
14819 hphantom{ }
14820 \end_layout
14821
14822 \end_inset
14823
14824 {
14825 \backslash
14826 arrayrulecolor{red}
14827 \backslash
14828 myHlineC
14829 \backslash
14830 arrayrulecolor{black}}
14831 \end_layout
14832
14833 \begin_layout Standard
14834 \begin_inset ERT
14835 status collapsed
14836
14837 \begin_layout Standard
14838
14839
14840 \backslash
14841 let
14842 \backslash
14843 myHlineC
14844 \backslash
14845 hline
14846 \end_layout
14847
14848 \begin_layout Standard
14849
14850
14851 \backslash
14852 renewcommand{
14853 \backslash
14854 hline}
14855 \end_layout
14856
14857 \begin_layout Standard
14858
14859  {
14860 \backslash
14861 arrayrulecolor{red}
14862 \backslash
14863 myHlineC
14864 \backslash
14865 arrayrulecolor{black}}
14866 \end_layout
14867
14868 \end_inset
14869
14870
14871 \begin_inset Float table
14872 wide false
14873 sideways false
14874 status open
14875
14876 \begin_layout Standard
14877 \begin_inset Caption
14878
14879 \begin_layout Standard
14880 \begin_inset LatexCommand label
14881 name "tab:Table-with-horizontal-colored"
14882
14883 \end_inset
14884
14885 Table with colored horizontal lines
14886 \end_layout
14887
14888 \end_inset
14889
14890
14891 \end_layout
14892
14893 \begin_layout Standard
14894 \align center
14895 \begin_inset Tabular
14896 <lyxtabular version="3" rows="3" columns="3">
14897 <features>
14898 <column alignment="center" valignment="top" leftline="true" width="0">
14899 <column alignment="center" valignment="top" leftline="true" width="0">
14900 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
14901 <row topline="true">
14902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14903 \begin_inset Text
14904
14905 \begin_layout Standard
14906 sd
14907 \end_layout
14908
14909 \end_inset
14910 </cell>
14911 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14912 \begin_inset Text
14913
14914 \begin_layout Standard
14915
14916 \end_layout
14917
14918 \end_inset
14919 </cell>
14920 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14921 \begin_inset Text
14922
14923 \begin_layout Standard
14924
14925 \end_layout
14926
14927 \end_inset
14928 </cell>
14929 </row>
14930 <row topline="true">
14931 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14932 \begin_inset Text
14933
14934 \begin_layout Standard
14935
14936 \end_layout
14937
14938 \end_inset
14939 </cell>
14940 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14941 \begin_inset Text
14942
14943 \begin_layout Standard
14944 sd
14945 \end_layout
14946
14947 \end_inset
14948 </cell>
14949 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14950 \begin_inset Text
14951
14952 \begin_layout Standard
14953
14954 \end_layout
14955
14956 \end_inset
14957 </cell>
14958 </row>
14959 <row topline="true" bottomline="true">
14960 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14961 \begin_inset Text
14962
14963 \begin_layout Standard
14964
14965 \end_layout
14966
14967 \end_inset
14968 </cell>
14969 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
14970 \begin_inset Text
14971
14972 \begin_layout Standard
14973
14974 \end_layout
14975
14976 \end_inset
14977 </cell>
14978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
14979 \begin_inset Text
14980
14981 \begin_layout Standard
14982 sd
14983 \end_layout
14984
14985 \end_inset
14986 </cell>
14987 </row>
14988 </lyxtabular>
14989
14990 \end_inset
14991
14992
14993 \end_layout
14994
14995 \end_inset
14996
14997
14998 \end_layout
14999
15000 \begin_layout Standard
15001 \begin_inset ERT
15002 status collapsed
15003
15004 \begin_layout Standard
15005
15006
15007 \backslash
15008 pagebreak 
15009 \end_layout
15010
15011 \end_inset
15012
15013
15014 \end_layout
15015
15016 \begin_layout Standard
15017 To return to the default line color black, insert this command in TeX-Code
15018  behind the table or table float:
15019 \end_layout
15020
15021 \begin_layout Standard
15022
15023 \series bold
15024
15025 \backslash
15026 renewcommand{
15027 \backslash
15028 hline}{
15029 \backslash
15030 myHlineC}
15031 \end_layout
15032
15033 \begin_layout Standard
15034 Table\InsetSpace ~
15035
15036 \begin_inset LatexCommand ref
15037 reference "tab:Table-with-colored"
15038
15039 \end_inset
15040
15041  is an example with colored vertical and horizontal lines.
15042 \end_layout
15043
15044 \begin_layout Standard
15045 \begin_inset Float table
15046 placement h
15047 wide false
15048 sideways false
15049 status open
15050
15051 \begin_layout Standard
15052 \begin_inset Caption
15053
15054 \begin_layout Standard
15055 \begin_inset LatexCommand label
15056 name "tab:Table-with-colored"
15057
15058 \end_inset
15059
15060 Table with colored lines
15061 \end_layout
15062
15063 \end_inset
15064
15065
15066 \end_layout
15067
15068 \begin_layout Standard
15069 \align center
15070 \begin_inset Tabular
15071 <lyxtabular version="3" rows="3" columns="3">
15072 <features>
15073 <column alignment="center" valignment="top" width="0" special="Wc">
15074 <column alignment="center" valignment="top" width="0" special="Wc">
15075 <column alignment="center" valignment="top" width="0" special="WcW">
15076 <row topline="true">
15077 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15078 \begin_inset Text
15079
15080 \begin_layout Standard
15081 sd
15082 \end_layout
15083
15084 \end_inset
15085 </cell>
15086 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15087 \begin_inset Text
15088
15089 \begin_layout Standard
15090
15091 \end_layout
15092
15093 \end_inset
15094 </cell>
15095 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15096 \begin_inset Text
15097
15098 \begin_layout Standard
15099
15100 \end_layout
15101
15102 \end_inset
15103 </cell>
15104 </row>
15105 <row topline="true">
15106 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15107 \begin_inset Text
15108
15109 \begin_layout Standard
15110
15111 \end_layout
15112
15113 \end_inset
15114 </cell>
15115 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15116 \begin_inset Text
15117
15118 \begin_layout Standard
15119 sd
15120 \end_layout
15121
15122 \end_inset
15123 </cell>
15124 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15125 \begin_inset Text
15126
15127 \begin_layout Standard
15128
15129 \end_layout
15130
15131 \end_inset
15132 </cell>
15133 </row>
15134 <row topline="true" bottomline="true" topspace="default">
15135 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15136 \begin_inset Text
15137
15138 \begin_layout Standard
15139
15140 \end_layout
15141
15142 \end_inset
15143 </cell>
15144 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15145 \begin_inset Text
15146
15147 \begin_layout Standard
15148
15149 \end_layout
15150
15151 \end_inset
15152 </cell>
15153 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15154 \begin_inset Text
15155
15156 \begin_layout Standard
15157 sd
15158 \end_layout
15159
15160 \end_inset
15161 </cell>
15162 </row>
15163 </lyxtabular>
15164
15165 \end_inset
15166
15167
15168 \end_layout
15169
15170 \end_inset
15171
15172
15173 \end_layout
15174
15175 \begin_layout Standard
15176 \begin_inset ERT
15177 status collapsed
15178
15179 \begin_layout Standard
15180
15181
15182 \backslash
15183 renewcommand{
15184 \backslash
15185 hline}{
15186 \backslash
15187 myHlineC}
15188 \end_layout
15189
15190 \end_inset
15191
15192
15193 \end_layout
15194
15195 \begin_layout Standard
15196 \begin_inset ERT
15197 status collapsed
15198
15199 \begin_layout Standard
15200
15201
15202 \backslash
15203 setlength{
15204 \backslash
15205 arrayrulewidth}{0.4pt}
15206 \end_layout
15207
15208 \end_inset
15209
15210
15211 \end_layout
15212
15213 \begin_layout Section
15214 Table Customization
15215 \begin_inset LatexCommand index
15216 name "Table Customization"
15217
15218 \end_inset
15219
15220
15221 \begin_inset LatexCommand index
15222 name "Table ! Customization"
15223
15224 \end_inset
15225
15226
15227 \end_layout
15228
15229 \begin_layout Subsection
15230 Row Spacing
15231 \begin_inset LatexCommand label
15232 name "sub:Row-Spacing"
15233
15234 \end_inset
15235
15236
15237 \begin_inset LatexCommand index
15238 name "Table Customization ! Row Spacing"
15239
15240 \end_inset
15241
15242
15243 \end_layout
15244
15245 \begin_layout Standard
15246 You can add vertical space to table rows in the 
15247 \family sans
15248 Borders
15249 \family default
15250  tab of the table dialog.
15251  You find there three possibilities:
15252 \end_layout
15253
15254 \begin_layout Description
15255 Top\InsetSpace ~
15256 of\InsetSpace ~
15257 row will add space above the characters of the table row.
15258  If the table is a formal table
15259 \begin_inset Foot
15260 status collapsed
15261
15262 \begin_layout Standard
15263 Formal tables are explained in section\InsetSpace ~
15264
15265 \begin_inset LatexCommand ref
15266 reference "sec:Formal-Tables"
15267
15268 \end_inset
15269
15270 .
15271 \end_layout
15272
15273 \end_inset
15274
15275  LyX will insert as default 0.5\InsetSpace \thinspace{}
15276 em space.
15277  For normal tables the inserted space will unfortunately destroy the vertical
15278  table lines as in the following table:
15279 \begin_inset VSpace medskip
15280 \end_inset
15281
15282
15283 \newline
15284
15285 \begin_inset ERT
15286 status collapsed
15287
15288 \begin_layout Standard
15289
15290
15291 \backslash
15292 hspace*{0pt}
15293 \end_layout
15294
15295 \end_inset
15296
15297
15298 \hfill
15299
15300 \begin_inset Tabular
15301 <lyxtabular version="3" rows="3" columns="1">
15302 <features>
15303 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15304 <row topline="true">
15305 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15306 \begin_inset Text
15307
15308 \begin_layout Standard
15309 A
15310 \end_layout
15311
15312 \end_inset
15313 </cell>
15314 </row>
15315 <row topline="true" topspace="3mm">
15316 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15317 \begin_inset Text
15318
15319 \begin_layout Standard
15320 3\InsetSpace \thinspace{}
15321 mm space top of row
15322 \end_layout
15323
15324 \end_inset
15325 </cell>
15326 </row>
15327 <row topline="true" bottomline="true">
15328 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15329 \begin_inset Text
15330
15331 \begin_layout Standard
15332 C
15333 \end_layout
15334
15335 \end_inset
15336 </cell>
15337 </row>
15338 </lyxtabular>
15339
15340 \end_inset
15341
15342
15343 \hfill
15344
15345 \begin_inset ERT
15346 status collapsed
15347
15348 \begin_layout Standard
15349
15350
15351 \backslash
15352 hspace*{0pt}
15353 \end_layout
15354
15355 \end_inset
15356
15357
15358 \begin_inset VSpace medskip
15359 \end_inset
15360
15361
15362 \newline
15363 So inserting space to the top of row for normal tables is only useful when
15364  you don't have vertical lines.
15365 \end_layout
15366
15367 \begin_layout Description
15368 Bottom\InsetSpace ~
15369 of\InsetSpace ~
15370 row will add space below the characters of the table row.
15371  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15372 em space, for
15373  normal tables the default size is 2\InsetSpace \thinspace{}
15374 pt.
15375 \end_layout
15376
15377 \begin_layout Description
15378 Between\InsetSpace ~
15379 rows adds space between the current and the following row.
15380  If the table is a formal table LyX will insert as default 0.5\InsetSpace \thinspace{}
15381 em space.
15382  For normal tables the inserted space will unfortunately destroy the vertical
15383  table lines as in the following table:
15384 \begin_inset VSpace medskip
15385 \end_inset
15386
15387
15388 \newline
15389
15390 \begin_inset ERT
15391 status collapsed
15392
15393 \begin_layout Standard
15394
15395
15396 \backslash
15397 hspace*{0pt}
15398 \end_layout
15399
15400 \end_inset
15401
15402
15403 \hfill
15404
15405 \begin_inset Tabular
15406 <lyxtabular version="3" rows="3" columns="1">
15407 <features>
15408 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
15409 <row topline="true">
15410 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15411 \begin_inset Text
15412
15413 \begin_layout Standard
15414 A
15415 \end_layout
15416
15417 \end_inset
15418 </cell>
15419 </row>
15420 <row topline="true" interlinespace="3mm">
15421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15422 \begin_inset Text
15423
15424 \begin_layout Standard
15425 \begin_inset Formula $\downarrow$
15426 \end_inset
15427
15428  3\InsetSpace \thinspace{}
15429 mm space between row 
15430 \begin_inset Formula $\downarrow$
15431 \end_inset
15432
15433
15434 \end_layout
15435
15436 \end_inset
15437 </cell>
15438 </row>
15439 <row topline="true" bottomline="true">
15440 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15441 \begin_inset Text
15442
15443 \begin_layout Standard
15444 \begin_inset Formula $\uparrow$
15445 \end_inset
15446
15447  3\InsetSpace \thinspace{}
15448 mm space between row 
15449 \begin_inset Formula $\uparrow$
15450 \end_inset
15451
15452
15453 \end_layout
15454
15455 \end_inset
15456 </cell>
15457 </row>
15458 </lyxtabular>
15459
15460 \end_inset
15461
15462
15463 \hfill
15464
15465 \begin_inset ERT
15466 status collapsed
15467
15468 \begin_layout Standard
15469
15470
15471 \backslash
15472 hspace*{0pt}
15473 \end_layout
15474
15475 \end_inset
15476
15477
15478 \begin_inset VSpace medskip
15479 \end_inset
15480
15481
15482 \newline
15483 So inserting space between rows for normal tables is only useful when you
15484  don't have vertical lines.
15485 \end_layout
15486
15487 \begin_layout Standard
15488 \begin_inset VSpace bigskip
15489 \end_inset
15490
15491 When you want to add extra height to all cells of all tables, you can do
15492  this with the following preamble lines:
15493 \end_layout
15494
15495 \begin_layout Standard
15496
15497 \series bold
15498
15499 \backslash
15500 @ifundef\SpecialChar \textcompwordmark{}
15501 ined{extrarowheight}
15502 \newline
15503
15504 \begin_inset ERT
15505 status collapsed
15506
15507 \begin_layout Standard
15508
15509
15510 \backslash
15511 hphantom{ }
15512 \end_layout
15513
15514 \end_inset
15515
15516 {
15517 \backslash
15518 usepackage{array}}{}
15519 \newline
15520
15521 \backslash
15522 setlength{
15523 \backslash
15524 extrarowheight}{height}
15525 \end_layout
15526
15527 \begin_layout Standard
15528 But this has the disadvantage that the cell texts are no longer exactly
15529  vertically centered.
15530  (The package 
15531 \series bold
15532 array
15533 \series default
15534  will be loaded automatically by LyX when you use self defined table formats.
15535  To avoid that it is loaded twice the command 
15536 \series bold
15537
15538 \backslash
15539 @ifundef\SpecialChar \textcompwordmark{}
15540 ined
15541 \series default
15542  is used in the above command.)
15543 \end_layout
15544
15545 \begin_layout Subsection
15546 Special Cell Alignment
15547 \begin_inset LatexCommand index
15548 name "Table Customization ! Special Cell Alignment"
15549
15550 \end_inset
15551
15552
15553 \end_layout
15554
15555 \begin_layout Standard
15556 Sometimes it looks better when the cell entries of a column are aligned
15557  with a special character, e.\InsetSpace \thinspace{}
15558 g.\InsetSpace ~
15559 with the decimal separator as in Table\InsetSpace ~
15560
15561 \begin_inset LatexCommand ref
15562 reference "tab:Table-cells-of"
15563
15564 \end_inset
15565
15566 .
15567 \end_layout
15568
15569 \begin_layout Standard
15570 \begin_inset Float table
15571 placement h
15572 wide false
15573 sideways false
15574 status open
15575
15576 \begin_layout Standard
15577 \begin_inset Caption
15578
15579 \begin_layout Standard
15580 \begin_inset LatexCommand label
15581 name "tab:Table-cells-of"
15582
15583 \end_inset
15584
15585 Table cells of a column aligned with the decimal separator.
15586 \end_layout
15587
15588 \end_inset
15589
15590
15591 \end_layout
15592
15593 \begin_layout Standard
15594 \align center
15595 \begin_inset Tabular
15596 <lyxtabular version="3" rows="4" columns="2">
15597 <features>
15598 <column alignment="right" valignment="top" width="0">
15599 <column alignment="left" valignment="top" width="0" special="@{}l">
15600 <row bottomline="true">
15601 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15602 \begin_inset Text
15603
15604 \begin_layout Standard
15605 heading
15606 \end_layout
15607
15608 \end_inset
15609 </cell>
15610 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15611 \begin_inset Text
15612
15613 \begin_layout Standard
15614
15615 \end_layout
15616
15617 \end_inset
15618 </cell>
15619 </row>
15620 <row>
15621 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15622 \begin_inset Text
15623
15624 \begin_layout Standard
15625 12.
15626 \end_layout
15627
15628 \end_inset
15629 </cell>
15630 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15631 \begin_inset Text
15632
15633 \begin_layout Standard
15634 6
15635 \end_layout
15636
15637 \end_inset
15638 </cell>
15639 </row>
15640 <row>
15641 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15642 \begin_inset Text
15643
15644 \begin_layout Standard
15645 0.
15646 \end_layout
15647
15648 \end_inset
15649 </cell>
15650 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15651 \begin_inset Text
15652
15653 \begin_layout Standard
15654 68
15655 \end_layout
15656
15657 \end_inset
15658 </cell>
15659 </row>
15660 <row>
15661 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15662 \begin_inset Text
15663
15664 \begin_layout Standard
15665 -123.
15666 \end_layout
15667
15668 \end_inset
15669 </cell>
15670 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15671 \begin_inset Text
15672
15673 \begin_layout Standard
15674 0
15675 \end_layout
15676
15677 \end_inset
15678 </cell>
15679 </row>
15680 </lyxtabular>
15681
15682 \end_inset
15683
15684
15685 \end_layout
15686
15687 \end_inset
15688
15689
15690 \end_layout
15691
15692 \begin_layout Standard
15693 This table was created with a 4×2 table.
15694  The heading is a centered multicolumn.
15695  The first column is right-aligned and contains the digits before the decimal
15696  point and the decimal point.
15697  The second column is left aligned and contains the digits after the decimal
15698  point.
15699  To omit the space that is normally between two table columns, use the following
15700  LaTeX-argument for the second column:
15701 \end_layout
15702
15703 \begin_layout Standard
15704
15705 \series bold
15706 @{}l
15707 \end_layout
15708
15709 \begin_layout Standard
15710 Table\InsetSpace ~
15711
15712 \begin_inset LatexCommand ref
15713 reference "tab:Several-table-cell"
15714
15715 \end_inset
15716
15717  shows some example alignments.
15718  For the alignment with the relation sign, you must add the second smallest
15719  math-space at the beginning of the last column to get the correct space
15720  surrounding the relation sign.
15721 \end_layout
15722
15723 \begin_layout Standard
15724 \begin_inset Float table
15725 wide false
15726 sideways false
15727 status open
15728
15729 \begin_layout Standard
15730 \begin_inset Caption
15731
15732 \begin_layout Standard
15733 \begin_inset LatexCommand label
15734 name "tab:Several-table-cell"
15735
15736 \end_inset
15737
15738 Several table cell alignments.
15739 \end_layout
15740
15741 \end_inset
15742
15743
15744 \end_layout
15745
15746 \begin_layout Standard
15747 \align center
15748 \begin_inset Tabular
15749 <lyxtabular version="3" rows="4" columns="6">
15750 <features>
15751 <column alignment="right" valignment="top" width="0">
15752 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15753 <column alignment="right" valignment="top" width="0">
15754 <column alignment="left" valignment="top" rightline="true" width="0" special="@{}l">
15755 <column alignment="right" valignment="top" width="0">
15756 <column alignment="left" valignment="top" width="0" special="@{}l">
15757 <row bottomline="true">
15758 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15759 \begin_inset Text
15760
15761 \begin_layout Standard
15762 units
15763 \end_layout
15764
15765 \end_inset
15766 </cell>
15767 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15768 \begin_inset Text
15769
15770 \begin_layout Standard
15771
15772 \end_layout
15773
15774 \end_inset
15775 </cell>
15776 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
15777 \begin_inset Text
15778
15779 \begin_layout Standard
15780 exponents
15781 \end_layout
15782
15783 \end_inset
15784 </cell>
15785 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15786 \begin_inset Text
15787
15788 \begin_layout Standard
15789
15790 \end_layout
15791
15792 \end_inset
15793 </cell>
15794 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
15795 \begin_inset Text
15796
15797 \begin_layout Standard
15798 relations
15799 \end_layout
15800
15801 \end_inset
15802 </cell>
15803 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15804 \begin_inset Text
15805
15806 \begin_layout Standard
15807
15808 \end_layout
15809
15810 \end_inset
15811 </cell>
15812 </row>
15813 <row>
15814 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15815 \begin_inset Text
15816
15817 \begin_layout Standard
15818 12×
15819 \end_layout
15820
15821 \end_inset
15822 </cell>
15823 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15824 \begin_inset Text
15825
15826 \begin_layout Standard
15827 24\InsetSpace \thinspace{}
15828 bottles
15829 \end_layout
15830
15831 \end_inset
15832 </cell>
15833 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15834 \begin_inset Text
15835
15836 \begin_layout Standard
15837 \begin_inset Formula $10\cdot$
15838 \end_inset
15839
15840
15841 \end_layout
15842
15843 \end_inset
15844 </cell>
15845 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15846 \begin_inset Text
15847
15848 \begin_layout Standard
15849 \begin_inset Formula $10^{\mbox{-}17}$
15850 \end_inset
15851
15852
15853 \end_layout
15854
15855 \end_inset
15856 </cell>
15857 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15858 \begin_inset Text
15859
15860 \begin_layout Standard
15861 \begin_inset Formula $\Gamma(t)\propto$
15862 \end_inset
15863
15864
15865 \end_layout
15866
15867 \end_inset
15868 </cell>
15869 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15870 \begin_inset Text
15871
15872 \begin_layout Standard
15873 \begin_inset Formula $\:\Upsilon(t)$
15874 \end_inset
15875
15876
15877 \end_layout
15878
15879 \end_inset
15880 </cell>
15881 </row>
15882 <row>
15883 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15884 \begin_inset Text
15885
15886 \begin_layout Standard
15887 1024×
15888 \end_layout
15889
15890 \end_inset
15891 </cell>
15892 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15893 \begin_inset Text
15894
15895 \begin_layout Standard
15896 768\InsetSpace \thinspace{}
15897 Pixels
15898 \end_layout
15899
15900 \end_inset
15901 </cell>
15902 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15903 \begin_inset Text
15904
15905 \begin_layout Standard
15906 \begin_inset Formula $5.78\cdot$
15907 \end_inset
15908
15909
15910 \end_layout
15911
15912 \end_inset
15913 </cell>
15914 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15915 \begin_inset Text
15916
15917 \begin_layout Standard
15918 \begin_inset Formula $10^{7}$
15919 \end_inset
15920
15921
15922 \end_layout
15923
15924 \end_inset
15925 </cell>
15926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15927 \begin_inset Text
15928
15929 \begin_layout Standard
15930 \begin_inset Formula $A\ne$
15931 \end_inset
15932
15933
15934 \end_layout
15935
15936 \end_inset
15937 </cell>
15938 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15939 \begin_inset Text
15940
15941 \begin_layout Standard
15942 \begin_inset Formula $\: B_{\mathrm{red}}$
15943 \end_inset
15944
15945
15946 \end_layout
15947
15948 \end_inset
15949 </cell>
15950 </row>
15951 <row>
15952 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15953 \begin_inset Text
15954
15955 \begin_layout Standard
15956 32×
15957 \end_layout
15958
15959 \end_inset
15960 </cell>
15961 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15962 \begin_inset Text
15963
15964 \begin_layout Standard
15965 6\InsetSpace \thinspace{}
15966 cm
15967 \end_layout
15968
15969 \end_inset
15970 </cell>
15971 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15972 \begin_inset Text
15973
15974 \begin_layout Standard
15975 -
15976 \begin_inset Formula $33.5\cdot$
15977 \end_inset
15978
15979
15980 \end_layout
15981
15982 \end_inset
15983 </cell>
15984 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
15985 \begin_inset Text
15986
15987 \begin_layout Standard
15988 \begin_inset Formula $10^{4}$
15989 \end_inset
15990
15991
15992 \end_layout
15993
15994 \end_inset
15995 </cell>
15996 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
15997 \begin_inset Text
15998
15999 \begin_layout Standard
16000 \begin_inset Formula $\sin(\alpha)\ge$
16001 \end_inset
16002
16003
16004 \end_layout
16005
16006 \end_inset
16007 </cell>
16008 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16009 \begin_inset Text
16010
16011 \begin_layout Standard
16012 \begin_inset Formula $\:\sin(\beta)$
16013 \end_inset
16014
16015
16016 \end_layout
16017
16018 \end_inset
16019 </cell>
16020 </row>
16021 </lyxtabular>
16022
16023 \end_inset
16024
16025
16026 \end_layout
16027
16028 \end_inset
16029
16030
16031 \end_layout
16032
16033 \begin_layout Standard
16034 \begin_inset VSpace bigskip
16035 \end_inset
16036
16037 There is also the LaTeX-package 
16038 \series bold
16039 dcolumn
16040 \series default
16041
16042 \begin_inset LatexCommand index
16043 name "LaTeX-packages ! dcolumn"
16044
16045 \end_inset
16046
16047  that provides table cell alignments.
16048  But this unfortunately treats the cell entries as math and doesn't allow
16049  formulas in table cells: The first column of Table\InsetSpace ~
16050
16051 \begin_inset LatexCommand ref
16052 reference "tab:Several-table-cell"
16053
16054 \end_inset
16055
16056  will look with 
16057 \series bold
16058 dcolumn
16059 \series default
16060  like the first column in Table\InsetSpace ~
16061
16062 \begin_inset LatexCommand ref
16063 reference "tab:Alignments-when"
16064
16065 \end_inset
16066
16067  and only with some tricks like the expected.
16068  The alignment of the second and third column of Table\InsetSpace ~
16069
16070 \begin_inset LatexCommand ref
16071 reference "tab:Several-table-cell"
16072
16073 \end_inset
16074
16075  is not possible with 
16076 \series bold
16077 dcolumn
16078 \series default
16079 .
16080 \end_layout
16081
16082 \begin_layout Standard
16083 \begin_inset Float table
16084 placement h
16085 wide false
16086 sideways false
16087 status open
16088
16089 \begin_layout Standard
16090 \begin_inset Caption
16091
16092 \begin_layout Standard
16093 \begin_inset LatexCommand label
16094 name "tab:Alignments-when"
16095
16096 \end_inset
16097
16098 Alignments when LaTeX-package dcolumn is used.
16099  For all column alignments tricks have to be used to get the output.
16100 \end_layout
16101
16102 \end_inset
16103
16104
16105 \end_layout
16106
16107 \begin_layout Standard
16108 \align center
16109 \begin_inset Tabular
16110 <lyxtabular version="3" rows="4" columns="3">
16111 <features>
16112 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{-1}">
16113 <column alignment="center" valignment="top" rightline="true" width="0" special="D{x}{\times}{4.9}">
16114 <column alignment="center" valignment="top" width="0" special="D{~}{\,}{9.7}">
16115 <row bottomline="true">
16116 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16117 \begin_inset Text
16118
16119 \begin_layout Standard
16120 units
16121 \end_layout
16122
16123 \end_inset
16124 </cell>
16125 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" rightline="true" usebox="none">
16126 \begin_inset Text
16127
16128 \begin_layout Standard
16129 units
16130 \end_layout
16131
16132 \end_inset
16133 </cell>
16134 <cell multicolumn="1" alignment="center" valignment="top" bottomline="true" usebox="none">
16135 \begin_inset Text
16136
16137 \begin_layout Standard
16138 units
16139 \end_layout
16140
16141 \end_inset
16142 </cell>
16143 </row>
16144 <row>
16145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16146 \begin_inset Text
16147
16148 \begin_layout Standard
16149 12x24\InsetSpace \thinspace{}
16150 bottles
16151 \end_layout
16152
16153 \end_inset
16154 </cell>
16155 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16156 \begin_inset Text
16157
16158 \begin_layout Standard
16159 12x24\InsetSpace \thinspace{}
16160
16161 \begin_inset Formula $\mbox{bottles}$
16162 \end_inset
16163
16164
16165 \end_layout
16166
16167 \end_inset
16168 </cell>
16169 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16170 \begin_inset Text
16171
16172 \begin_layout Standard
16173 12
16174 \begin_inset ERT
16175 status collapsed
16176
16177 \begin_layout Standard
16178
16179
16180 \backslash
16181 times 
16182 \end_layout
16183
16184 \end_inset
16185
16186 24~
16187 \begin_inset Formula $\mbox{bottles}$
16188 \end_inset
16189
16190
16191 \end_layout
16192
16193 \end_inset
16194 </cell>
16195 </row>
16196 <row>
16197 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16198 \begin_inset Text
16199
16200 \begin_layout Standard
16201 1024x768\InsetSpace \thinspace{}
16202 Pixels
16203 \end_layout
16204
16205 \end_inset
16206 </cell>
16207 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16208 \begin_inset Text
16209
16210 \begin_layout Standard
16211 1024x768\InsetSpace \thinspace{}
16212
16213 \begin_inset Formula $\mbox{Pixels}$
16214 \end_inset
16215
16216
16217 \end_layout
16218
16219 \end_inset
16220 </cell>
16221 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16222 \begin_inset Text
16223
16224 \begin_layout Standard
16225 1024
16226 \begin_inset ERT
16227 status collapsed
16228
16229 \begin_layout Standard
16230
16231
16232 \backslash
16233 times 
16234 \end_layout
16235
16236 \end_inset
16237
16238 768~
16239 \begin_inset Formula $\mbox{Pixels}$
16240 \end_inset
16241
16242
16243 \end_layout
16244
16245 \end_inset
16246 </cell>
16247 </row>
16248 <row>
16249 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16250 \begin_inset Text
16251
16252 \begin_layout Standard
16253 32x6\InsetSpace \thinspace{}
16254 cm
16255 \end_layout
16256
16257 \end_inset
16258 </cell>
16259 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16260 \begin_inset Text
16261
16262 \begin_layout Standard
16263 32x6\InsetSpace \thinspace{}
16264
16265 \begin_inset Formula $\mbox{cm}$
16266 \end_inset
16267
16268
16269 \end_layout
16270
16271 \end_inset
16272 </cell>
16273 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16274 \begin_inset Text
16275
16276 \begin_layout Standard
16277 32
16278 \begin_inset ERT
16279 status collapsed
16280
16281 \begin_layout Standard
16282
16283
16284 \backslash
16285 times 
16286 \end_layout
16287
16288 \end_inset
16289
16290 6~
16291 \begin_inset Formula $\mbox{cm}$
16292 \end_inset
16293
16294
16295 \end_layout
16296
16297 \end_inset
16298 </cell>
16299 </row>
16300 </lyxtabular>
16301
16302 \end_inset
16303
16304
16305 \end_layout
16306
16307 \end_inset
16308
16309
16310 \end_layout
16311
16312 \begin_layout Subsection
16313 Customized Cell/Column Format
16314 \begin_inset LatexCommand label
16315 name "sub:Customized-Format"
16316
16317 \end_inset
16318
16319
16320 \begin_inset LatexCommand index
16321 name "Table Customization ! Cell/Column Format"
16322
16323 \end_inset
16324
16325
16326 \end_layout
16327
16328 \begin_layout Standard
16329 Calculating the needed width for spanned columns like in section\InsetSpace ~
16330
16331 \begin_inset LatexCommand ref
16332 reference "sub:Multicolumn-Calculations"
16333
16334 \end_inset
16335
16336  is very annoying if you have several tables with multicolumn cells.
16337  To make life easier, you can define a cell/column format in the preamble,
16338  so that it can be used in all tables of the document.
16339  The format is defined with the command
16340 \end_layout
16341
16342 \begin_layout Standard
16343
16344 \series bold
16345
16346 \backslash
16347 newcolumntype{name of format}[number of arguments]{commands}
16348 \end_layout
16349
16350 \begin_layout Standard
16351 The format name may only consist of one letter.
16352  The letters 
16353 \emph on
16354 b
16355 \emph default
16356
16357 \emph on
16358 c
16359 \emph default
16360
16361 \emph on
16362 l
16363 \emph default
16364
16365 \emph on
16366 m
16367 \emph default
16368
16369 \emph on
16370 p
16371 \emph default
16372  and 
16373 \emph on
16374 r
16375 \emph default
16376  are predefined and cannot be used.
16377  But all letters are allowed as capitals.
16378 \end_layout
16379
16380 \begin_layout Standard
16381 \begin_inset VSpace medskip
16382 \end_inset
16383
16384
16385 \end_layout
16386
16387 \begin_layout Standard
16388 For vertically and horizontally centered multicolumn cells with a fixed
16389  width you can define the cell format
16390 \end_layout
16391
16392 \begin_layout Standard
16393
16394 \series bold
16395
16396 \backslash
16397 newcolumntype{M}[1]{>{
16398 \backslash
16399 centering
16400 \backslash
16401 hspace{0pt}}m{#1}}
16402 \end_layout
16403
16404 \begin_layout Standard
16405 where 
16406 \series bold
16407
16408 \backslash
16409 hspace{0pt}
16410 \series default
16411  avoids the problem of hyphenating the first word, as described in section\InsetSpace ~
16412
16413 \begin_inset LatexCommand ref
16414 reference "sub:Multiple-Lines-in"
16415
16416 \end_inset
16417
16418 .
16419  Now you can simply enter
16420 \end_layout
16421
16422 \begin_layout Standard
16423
16424 \series bold
16425 M{width}
16426 \end_layout
16427
16428 \begin_layout Standard
16429 as LaTeX-argument in the table dialog to create a multicolumn.
16430 \end_layout
16431
16432 \begin_layout Standard
16433 \begin_inset VSpace bigskip
16434 \end_inset
16435
16436
16437 \end_layout
16438
16439 \begin_layout Standard
16440 For cells spanned by a multicolumn cell, you can define the format
16441 \end_layout
16442
16443 \begin_layout Standard
16444
16445 \series bold
16446
16447 \backslash
16448 newcolumntype{S}[2]{>{
16449 \backslash
16450 centering
16451 \backslash
16452 hspace{0pt}}
16453 \newline
16454
16455 \begin_inset ERT
16456 status collapsed
16457
16458 \begin_layout Standard
16459
16460
16461 \backslash
16462 phantom{
16463 \end_layout
16464
16465 \end_inset
16466
16467
16468 \backslash
16469 newcolumntype
16470 \begin_inset ERT
16471 status collapsed
16472
16473 \begin_layout Standard
16474
16475 }
16476 \end_layout
16477
16478 \end_inset
16479
16480 m{(#1+(2
16481 \backslash
16482 tabcolsep+
16483 \backslash
16484 arrayrulewidth)*(1-#2))/#2}}
16485 \end_layout
16486
16487 \begin_layout Standard
16488 This format uses equation 
16489 \begin_inset LatexCommand eqref
16490 reference "eq:Wgn"
16491
16492 \end_inset
16493
16494  to calculate the needed width so that each spanned cell has the same width.
16495 \end_layout
16496
16497 \begin_layout Standard
16498 You can now enter
16499 \end_layout
16500
16501 \begin_layout Standard
16502
16503 \series bold
16504 S{width of multicolumn cell}{number of spanned columns}
16505 \end_layout
16506
16507 \begin_layout Standard
16508 as LaTeX-argument of the column.
16509 \end_layout
16510
16511 \begin_layout Standard
16512 \begin_inset VSpace bigskip
16513 \end_inset
16514
16515
16516 \end_layout
16517
16518 \begin_layout Standard
16519 For colored columns, you can define
16520 \end_layout
16521
16522 \begin_layout Standard
16523
16524 \series bold
16525
16526 \backslash
16527 newcolumntype{K}[1]{>{
16528 \backslash
16529 columncolor{#1}
16530 \backslash
16531 hspace{0pt}}c}
16532 \end_layout
16533
16534 \begin_layout Standard
16535 The 
16536 \begin_inset Quotes eld
16537 \end_inset
16538
16539 c
16540 \begin_inset Quotes erd
16541 \end_inset
16542
16543  at the end creates a column with a flexible width whose text is horizontally
16544  centered.
16545  You can now enter
16546 \end_layout
16547
16548 \begin_layout Standard
16549
16550 \series bold
16551 K{color name}
16552 \end_layout
16553
16554 \begin_layout Standard
16555 as LaTeX-argument.
16556 \end_layout
16557
16558 \begin_layout Standard
16559 \begin_inset VSpace bigskip
16560 \end_inset
16561
16562
16563 \end_layout
16564
16565 \begin_layout Standard
16566 To create Table\InsetSpace ~
16567
16568 \begin_inset LatexCommand ref
16569 reference "tab:Table-using-user-defined"
16570
16571 \end_inset
16572
16573  use the LaTeX-arguments
16574 \end_layout
16575
16576 \begin_layout Standard
16577
16578 \series bold
16579 M{2.5cm}
16580 \end_layout
16581
16582 \begin_layout Standard
16583 for the first column and the multicolumn,
16584 \end_layout
16585
16586 \begin_layout Standard
16587
16588 \series bold
16589 K{red}
16590 \end_layout
16591
16592 \begin_layout Standard
16593 for the the last column, and
16594 \end_layout
16595
16596 \begin_layout Standard
16597
16598 \series bold
16599 S{2.5cm}{2}
16600 \end_layout
16601
16602 \begin_layout Standard
16603 for the cells in the second column.
16604 \end_layout
16605
16606 \begin_layout Standard
16607 \begin_inset Float table
16608 placement h
16609 wide false
16610 sideways false
16611 status open
16612
16613 \begin_layout Standard
16614 \begin_inset Caption
16615
16616 \begin_layout Standard
16617 \begin_inset LatexCommand label
16618 name "tab:Table-using-user-defined"
16619
16620 \end_inset
16621
16622 Table using user-defined table formats
16623 \end_layout
16624
16625 \end_inset
16626
16627
16628 \end_layout
16629
16630 \begin_layout Standard
16631 \align center
16632 \begin_inset Tabular
16633 <lyxtabular version="3" rows="3" columns="4">
16634 <features>
16635 <column alignment="center" valignment="middle" leftline="true" width="2.5cm" special="M{2.5cm}">
16636 <column alignment="center" valignment="middle" leftline="true" width="0" special="S{2.5cm}{2}">
16637 <column alignment="center" valignment="middle" leftline="true" width="0">
16638 <column alignment="center" valignment="middle" leftline="true" rightline="true" width="0" special="K{red}">
16639 <row topline="true">
16640 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16641 \begin_inset Text
16642
16643 \begin_layout Standard
16644 verylongtablecellword
16645 \end_layout
16646
16647 \end_inset
16648 </cell>
16649 <cell multicolumn="1" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none" special="M{2.5cm}">
16650 \begin_inset Text
16651
16652 \begin_layout Standard
16653 multiple lines multicolumn
16654 \end_layout
16655
16656 \end_inset
16657 </cell>
16658 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16659 \begin_inset Text
16660
16661 \begin_layout Standard
16662
16663 \end_layout
16664
16665 \end_inset
16666 </cell>
16667 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16668 \begin_inset Text
16669
16670 \begin_layout Standard
16671 c
16672 \end_layout
16673
16674 \end_inset
16675 </cell>
16676 </row>
16677 <row topline="true">
16678 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16679 \begin_inset Text
16680
16681 \begin_layout Standard
16682 d
16683 \end_layout
16684
16685 \end_inset
16686 </cell>
16687 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16688 \begin_inset Text
16689
16690 \begin_layout Standard
16691 e
16692 \end_layout
16693
16694 \end_inset
16695 </cell>
16696 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16697 \begin_inset Text
16698
16699 \begin_layout Standard
16700 f
16701 \end_layout
16702
16703 \end_inset
16704 </cell>
16705 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16706 \begin_inset Text
16707
16708 \begin_layout Standard
16709 g
16710 \end_layout
16711
16712 \end_inset
16713 </cell>
16714 </row>
16715 <row topline="true" bottomline="true">
16716 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16717 \begin_inset Text
16718
16719 \begin_layout Standard
16720 h
16721 \end_layout
16722
16723 \end_inset
16724 </cell>
16725 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16726 \begin_inset Text
16727
16728 \begin_layout Standard
16729 i
16730 \end_layout
16731
16732 \end_inset
16733 </cell>
16734 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16735 \begin_inset Text
16736
16737 \begin_layout Standard
16738 j
16739 \end_layout
16740
16741 \end_inset
16742 </cell>
16743 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16744 \begin_inset Text
16745
16746 \begin_layout Standard
16747 k
16748 \end_layout
16749
16750 \end_inset
16751 </cell>
16752 </row>
16753 </lyxtabular>
16754
16755 \end_inset
16756
16757
16758 \end_layout
16759
16760 \end_inset
16761
16762
16763 \end_layout
16764
16765 \begin_layout Subsection
16766 Line Thickness
16767 \begin_inset LatexCommand label
16768 name "sub:Line-Thickness"
16769
16770 \end_inset
16771
16772
16773 \begin_inset LatexCommand index
16774 name "Table Customization ! Line Thickness"
16775
16776 \end_inset
16777
16778
16779 \end_layout
16780
16781 \begin_layout Standard
16782 The line thickness for all lines in a table can be adjusted with the length
16783  
16784 \series bold
16785
16786 \backslash
16787 arrayrulewidth
16788 \series default
16789 .
16790  To set for example a line thickness of 1.5\InsetSpace \thinspace{}
16791 pt, like in Table\InsetSpace ~
16792
16793 \begin_inset LatexCommand ref
16794 reference "tab:Table-with-1.5"
16795
16796 \end_inset
16797
16798 , insert the command
16799 \end_layout
16800
16801 \begin_layout Standard
16802
16803 \series bold
16804
16805 \backslash
16806 setlength{
16807 \backslash
16808 arrayrulewidth}{1.5pt}
16809 \end_layout
16810
16811 \begin_layout Standard
16812 in TeX-Code before the table or table float.
16813  The changed thickness is valid for all following tables.
16814  To use the default value again, set 
16815 \series bold
16816
16817 \backslash
16818 arrayrulewidth
16819 \series default
16820  to 0.4\InsetSpace \thinspace{}
16821 pt in TeX-Code behind the table or table float.
16822 \end_layout
16823
16824 \begin_layout Standard
16825 \begin_inset ERT
16826 status collapsed
16827
16828 \begin_layout Standard
16829
16830
16831 \backslash
16832 setlength{
16833 \backslash
16834 arrayrulewidth}{1.5pt}
16835 \end_layout
16836
16837 \end_inset
16838
16839
16840 \begin_inset Float table
16841 wide false
16842 sideways false
16843 status open
16844
16845 \begin_layout Standard
16846 \begin_inset Caption
16847
16848 \begin_layout Standard
16849 \begin_inset LatexCommand label
16850 name "tab:Table-with-1.5"
16851
16852 \end_inset
16853
16854 Table with 1.5\InsetSpace \thinspace{}
16855 pt thick lines
16856 \end_layout
16857
16858 \end_inset
16859
16860
16861 \end_layout
16862
16863 \begin_layout Standard
16864 \align center
16865 \begin_inset Tabular
16866 <lyxtabular version="3" rows="3" columns="3">
16867 <features>
16868 <column alignment="center" valignment="top" leftline="true" width="0">
16869 <column alignment="center" valignment="top" leftline="true" width="0">
16870 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
16871 <row topline="true">
16872 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16873 \begin_inset Text
16874
16875 \begin_layout Standard
16876 sd
16877 \end_layout
16878
16879 \end_inset
16880 </cell>
16881 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16882 \begin_inset Text
16883
16884 \begin_layout Standard
16885
16886 \end_layout
16887
16888 \end_inset
16889 </cell>
16890 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16891 \begin_inset Text
16892
16893 \begin_layout Standard
16894
16895 \end_layout
16896
16897 \end_inset
16898 </cell>
16899 </row>
16900 <row topline="true">
16901 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16902 \begin_inset Text
16903
16904 \begin_layout Standard
16905
16906 \end_layout
16907
16908 \end_inset
16909 </cell>
16910 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16911 \begin_inset Text
16912
16913 \begin_layout Standard
16914 sd
16915 \end_layout
16916
16917 \end_inset
16918 </cell>
16919 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16920 \begin_inset Text
16921
16922 \begin_layout Standard
16923
16924 \end_layout
16925
16926 \end_inset
16927 </cell>
16928 </row>
16929 <row topline="true" bottomline="true">
16930 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16931 \begin_inset Text
16932
16933 \begin_layout Standard
16934
16935 \end_layout
16936
16937 \end_inset
16938 </cell>
16939 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
16940 \begin_inset Text
16941
16942 \begin_layout Standard
16943
16944 \end_layout
16945
16946 \end_inset
16947 </cell>
16948 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
16949 \begin_inset Text
16950
16951 \begin_layout Standard
16952 sd
16953 \end_layout
16954
16955 \end_inset
16956 </cell>
16957 </row>
16958 </lyxtabular>
16959
16960 \end_inset
16961
16962
16963 \end_layout
16964
16965 \end_inset
16966
16967
16968 \begin_inset ERT
16969 status collapsed
16970
16971 \begin_layout Standard
16972
16973
16974 \backslash
16975 setlength{
16976 \backslash
16977 arrayrulewidth}{0.4pt}
16978 \end_layout
16979
16980 \end_inset
16981
16982
16983 \end_layout
16984
16985 \begin_layout Standard
16986 \begin_inset VSpace bigskip
16987 \end_inset
16988
16989 To set the line thickness to 1.5\InsetSpace \thinspace{}
16990 pt only for horizontal lines, like in Table\InsetSpace ~
16991
16992 \begin_inset LatexCommand ref
16993 reference "tab:Table-with-horizontal"
16994
16995 \end_inset
16996
16997 , insert these commands in TeX-Code before the table or table float:
16998 \end_layout
16999
17000 \begin_layout Standard
17001
17002 \series bold
17003
17004 \backslash
17005 let
17006 \backslash
17007 myHline
17008 \backslash
17009 hline
17010 \newline
17011
17012 \backslash
17013 renewcommand{
17014 \backslash
17015 hline}
17016 \newline
17017  {
17018 \backslash
17019 noalign{
17020 \backslash
17021 global
17022 \backslash
17023 arrayrulewidth 1.5pt}
17024 \newline
17025  
17026 \backslash
17027 myHline
17028 \backslash
17029 noalign{
17030 \backslash
17031 global
17032 \backslash
17033 arrayrulewidth 0.4pt}}
17034 \end_layout
17035
17036 \begin_layout Standard
17037 To return to the default line thickness, insert this command in TeX-Code
17038  behind the table or table float:
17039 \end_layout
17040
17041 \begin_layout Standard
17042
17043 \series bold
17044
17045 \backslash
17046 renewcommand{
17047 \backslash
17048 hline}{
17049 \backslash
17050 myHline}
17051 \end_layout
17052
17053 \begin_layout Standard
17054 \begin_inset ERT
17055 status collapsed
17056
17057 \begin_layout Standard
17058
17059
17060 \backslash
17061 let
17062 \backslash
17063 myHline
17064 \backslash
17065 hline
17066 \end_layout
17067
17068 \begin_layout Standard
17069
17070
17071 \backslash
17072 renewcommand{
17073 \backslash
17074 hline}
17075 \end_layout
17076
17077 \begin_layout Standard
17078
17079  {
17080 \backslash
17081 noalign{
17082 \backslash
17083 global
17084 \backslash
17085 arrayrulewidth 1.5pt}
17086 \end_layout
17087
17088 \begin_layout Standard
17089
17090   
17091 \backslash
17092 myHline
17093 \backslash
17094 noalign{
17095 \backslash
17096 global
17097 \backslash
17098 arrayrulewidth 0.4pt}}
17099 \end_layout
17100
17101 \end_inset
17102
17103
17104 \begin_inset Float table
17105 wide false
17106 sideways false
17107 status open
17108
17109 \begin_layout Standard
17110 \begin_inset Caption
17111
17112 \begin_layout Standard
17113 \begin_inset LatexCommand label
17114 name "tab:Table-with-horizontal"
17115
17116 \end_inset
17117
17118 Table with 1.5\InsetSpace \thinspace{}
17119 pt thick horizontal lines
17120 \end_layout
17121
17122 \end_inset
17123
17124
17125 \end_layout
17126
17127 \begin_layout Standard
17128 \align center
17129 \begin_inset Tabular
17130 <lyxtabular version="3" rows="3" columns="3">
17131 <features>
17132 <column alignment="center" valignment="top" leftline="true" width="0">
17133 <column alignment="center" valignment="top" leftline="true" width="0">
17134 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17135 <row topline="true">
17136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17137 \begin_inset Text
17138
17139 \begin_layout Standard
17140 sd
17141 \end_layout
17142
17143 \end_inset
17144 </cell>
17145 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17146 \begin_inset Text
17147
17148 \begin_layout Standard
17149
17150 \end_layout
17151
17152 \end_inset
17153 </cell>
17154 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17155 \begin_inset Text
17156
17157 \begin_layout Standard
17158
17159 \end_layout
17160
17161 \end_inset
17162 </cell>
17163 </row>
17164 <row topline="true">
17165 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17166 \begin_inset Text
17167
17168 \begin_layout Standard
17169
17170 \end_layout
17171
17172 \end_inset
17173 </cell>
17174 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17175 \begin_inset Text
17176
17177 \begin_layout Standard
17178 sd
17179 \end_layout
17180
17181 \end_inset
17182 </cell>
17183 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17184 \begin_inset Text
17185
17186 \begin_layout Standard
17187
17188 \end_layout
17189
17190 \end_inset
17191 </cell>
17192 </row>
17193 <row topline="true" bottomline="true">
17194 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17195 \begin_inset Text
17196
17197 \begin_layout Standard
17198
17199 \end_layout
17200
17201 \end_inset
17202 </cell>
17203 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17204 \begin_inset Text
17205
17206 \begin_layout Standard
17207
17208 \end_layout
17209
17210 \end_inset
17211 </cell>
17212 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17213 \begin_inset Text
17214
17215 \begin_layout Standard
17216 sd
17217 \end_layout
17218
17219 \end_inset
17220 </cell>
17221 </row>
17222 </lyxtabular>
17223
17224 \end_inset
17225
17226
17227 \end_layout
17228
17229 \end_inset
17230
17231
17232 \begin_inset ERT
17233 status collapsed
17234
17235 \begin_layout Standard
17236
17237
17238 \backslash
17239 renewcommand{
17240 \backslash
17241 hline}{
17242 \backslash
17243 myHline}
17244 \end_layout
17245
17246 \end_inset
17247
17248
17249 \end_layout
17250
17251 \begin_layout Standard
17252 \begin_inset VSpace bigskip
17253 \end_inset
17254
17255 To set the line thickness to 1.5\InsetSpace \thinspace{}
17256 pt only for vertical lines, create the following
17257  column format in the document preamble, according to the description in
17258  section\InsetSpace ~
17259
17260 \begin_inset LatexCommand ref
17261 reference "sub:Customized-Format"
17262
17263 \end_inset
17264
17265 :
17266 \end_layout
17267
17268 \begin_layout Standard
17269
17270 \series bold
17271
17272 \backslash
17273 newcolumntype{V}{!{
17274 \backslash
17275 vrule width 1.5pt}}
17276 \end_layout
17277
17278 \begin_layout Standard
17279 For Table\InsetSpace ~
17280
17281 \begin_inset LatexCommand ref
17282 reference "tab:Table-with-vertical"
17283
17284 \end_inset
17285
17286  the LaTeX-argument
17287 \end_layout
17288
17289 \begin_layout Standard
17290
17291 \series bold
17292 VcV
17293 \end_layout
17294
17295 \begin_layout Standard
17296 was used for the last column and
17297 \end_layout
17298
17299 \begin_layout Standard
17300
17301 \series bold
17302 Vc
17303 \end_layout
17304
17305 \begin_layout Standard
17306 for the other columns.
17307 \end_layout
17308
17309 \begin_layout Standard
17310 \begin_inset Float table
17311 wide false
17312 sideways false
17313 status open
17314
17315 \begin_layout Standard
17316 \begin_inset Caption
17317
17318 \begin_layout Standard
17319 \begin_inset LatexCommand label
17320 name "tab:Table-with-vertical"
17321
17322 \end_inset
17323
17324 Table with 1.5\InsetSpace \thinspace{}
17325 pt thick vertical lines
17326 \end_layout
17327
17328 \end_inset
17329
17330
17331 \end_layout
17332
17333 \begin_layout Standard
17334 \align center
17335 \begin_inset Tabular
17336 <lyxtabular version="3" rows="3" columns="3">
17337 <features>
17338 <column alignment="center" valignment="top" width="0" special="Vc">
17339 <column alignment="center" valignment="top" width="0" special="Vc">
17340 <column alignment="center" valignment="top" width="0" special="VcV">
17341 <row topline="true">
17342 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17343 \begin_inset Text
17344
17345 \begin_layout Standard
17346 sd
17347 \end_layout
17348
17349 \end_inset
17350 </cell>
17351 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17352 \begin_inset Text
17353
17354 \begin_layout Standard
17355
17356 \end_layout
17357
17358 \end_inset
17359 </cell>
17360 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17361 \begin_inset Text
17362
17363 \begin_layout Standard
17364
17365 \end_layout
17366
17367 \end_inset
17368 </cell>
17369 </row>
17370 <row topline="true">
17371 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17372 \begin_inset Text
17373
17374 \begin_layout Standard
17375
17376 \end_layout
17377
17378 \end_inset
17379 </cell>
17380 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17381 \begin_inset Text
17382
17383 \begin_layout Standard
17384 sd
17385 \end_layout
17386
17387 \end_inset
17388 </cell>
17389 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17390 \begin_inset Text
17391
17392 \begin_layout Standard
17393
17394 \end_layout
17395
17396 \end_inset
17397 </cell>
17398 </row>
17399 <row topline="true" bottomline="true">
17400 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17401 \begin_inset Text
17402
17403 \begin_layout Standard
17404
17405 \end_layout
17406
17407 \end_inset
17408 </cell>
17409 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17410 \begin_inset Text
17411
17412 \begin_layout Standard
17413
17414 \end_layout
17415
17416 \end_inset
17417 </cell>
17418 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17419 \begin_inset Text
17420
17421 \begin_layout Standard
17422 sd
17423 \end_layout
17424
17425 \end_inset
17426 </cell>
17427 </row>
17428 </lyxtabular>
17429
17430 \end_inset
17431
17432
17433 \end_layout
17434
17435 \end_inset
17436
17437
17438 \end_layout
17439
17440 \begin_layout Subsection
17441 Dashed Lines
17442 \begin_inset LatexCommand index
17443 name "Table Customization ! Dashed Lines"
17444
17445 \end_inset
17446
17447
17448 \end_layout
17449
17450 \begin_layout Standard
17451 \begin_inset ERT
17452 status collapsed
17453
17454 \begin_layout Standard
17455
17456
17457 \backslash
17458 ifarydshln
17459 \end_layout
17460
17461 \end_inset
17462
17463
17464 \begin_inset Note Note
17465 status open
17466
17467 \begin_layout Standard
17468 The following section will only be displayed when the LaTeX-package 
17469 \series bold
17470 arydshln
17471 \series default
17472  is installed.
17473 \end_layout
17474
17475 \end_inset
17476
17477
17478 \end_layout
17479
17480 \begin_layout Standard
17481 \begin_inset Float table
17482 placement H
17483 wide false
17484 sideways false
17485 status open
17486
17487 \begin_layout Standard
17488 \begin_inset Caption
17489
17490 \begin_layout Standard
17491 \begin_inset LatexCommand label
17492 name "tab:Table-with-dashed"
17493
17494 \end_inset
17495
17496 Table with dashed lines
17497 \end_layout
17498
17499 \end_inset
17500
17501
17502 \end_layout
17503
17504 \begin_layout Standard
17505 \align center
17506 \begin_inset Tabular
17507 <lyxtabular version="3" rows="5" columns="5">
17508 <features>
17509 <column alignment="center" valignment="top" leftline="true" width="0">
17510 <column alignment="center" valignment="top" leftline="true" width="0">
17511 <column alignment="center" valignment="top" width="0" special=":c">
17512 <column alignment="center" valignment="top" leftline="true" width="0">
17513 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
17514 <row topline="true" bottomline="true">
17515 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17516 \begin_inset Text
17517
17518 \begin_layout Standard
17519 a
17520 \end_layout
17521
17522 \end_inset
17523 </cell>
17524 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17525 \begin_inset Text
17526
17527 \begin_layout Standard
17528 b
17529 \end_layout
17530
17531 \end_inset
17532 </cell>
17533 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17534 \begin_inset Text
17535
17536 \begin_layout Standard
17537 c
17538 \end_layout
17539
17540 \end_inset
17541 </cell>
17542 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17543 \begin_inset Text
17544
17545 \begin_layout Standard
17546 d
17547 \end_layout
17548
17549 \end_inset
17550 </cell>
17551 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17552 \begin_inset Text
17553
17554 \begin_layout Standard
17555 e
17556 \end_layout
17557
17558 \end_inset
17559 </cell>
17560 </row>
17561 <row topline="true">
17562 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17563 \begin_inset Text
17564
17565 \begin_layout Standard
17566 f
17567 \end_layout
17568
17569 \end_inset
17570 </cell>
17571 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17572 \begin_inset Text
17573
17574 \begin_layout Standard
17575 g
17576 \end_layout
17577
17578 \end_inset
17579 </cell>
17580 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17581 \begin_inset Text
17582
17583 \begin_layout Standard
17584 h
17585 \end_layout
17586
17587 \end_inset
17588 </cell>
17589 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17590 \begin_inset Text
17591
17592 \begin_layout Standard
17593 i
17594 \end_layout
17595
17596 \end_inset
17597 </cell>
17598 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17599 \begin_inset Text
17600
17601 \begin_layout Standard
17602 j
17603 \end_layout
17604
17605 \end_inset
17606 </cell>
17607 </row>
17608 <row>
17609 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17610 \begin_inset Text
17611
17612 \begin_layout Standard
17613 \begin_inset ERT
17614 status collapsed
17615
17616 \begin_layout Standard
17617
17618
17619 \backslash
17620 hdashline 
17621 \end_layout
17622
17623 \end_inset
17624
17625 k
17626 \end_layout
17627
17628 \end_inset
17629 </cell>
17630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17631 \begin_inset Text
17632
17633 \begin_layout Standard
17634 l
17635 \end_layout
17636
17637 \end_inset
17638 </cell>
17639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17640 \begin_inset Text
17641
17642 \begin_layout Standard
17643 m
17644 \end_layout
17645
17646 \end_inset
17647 </cell>
17648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17649 \begin_inset Text
17650
17651 \begin_layout Standard
17652 n
17653 \end_layout
17654
17655 \end_inset
17656 </cell>
17657 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17658 \begin_inset Text
17659
17660 \begin_layout Standard
17661 o
17662 \end_layout
17663
17664 \end_inset
17665 </cell>
17666 </row>
17667 <row topline="true">
17668 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17669 \begin_inset Text
17670
17671 \begin_layout Standard
17672 \begin_inset ERT
17673 status collapsed
17674
17675 \begin_layout Standard
17676
17677
17678 \backslash
17679 cdashline{4-5}
17680 \end_layout
17681
17682 \end_inset
17683
17684 p
17685 \end_layout
17686
17687 \end_inset
17688 </cell>
17689 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17690 \begin_inset Text
17691
17692 \begin_layout Standard
17693 q
17694 \end_layout
17695
17696 \end_inset
17697 </cell>
17698 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none" special="c:">
17699 \begin_inset Text
17700
17701 \begin_layout Standard
17702 r
17703 \end_layout
17704
17705 \end_inset
17706 </cell>
17707 <cell multicolumn="1" alignment="center" valignment="top" rightline="true" usebox="none" special="c:">
17708 \begin_inset Text
17709
17710 \begin_layout Standard
17711 s
17712 \end_layout
17713
17714 \end_inset
17715 </cell>
17716 <cell multicolumn="2" alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17717 \begin_inset Text
17718
17719 \begin_layout Standard
17720
17721 \end_layout
17722
17723 \end_inset
17724 </cell>
17725 </row>
17726 <row topline="true" bottomline="true">
17727 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17728 \begin_inset Text
17729
17730 \begin_layout Standard
17731 t
17732 \end_layout
17733
17734 \end_inset
17735 </cell>
17736 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17737 \begin_inset Text
17738
17739 \begin_layout Standard
17740 u
17741 \end_layout
17742
17743 \end_inset
17744 </cell>
17745 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
17746 \begin_inset Text
17747
17748 \begin_layout Standard
17749 v
17750 \end_layout
17751
17752 \end_inset
17753 </cell>
17754 <cell alignment="center" valignment="top" topline="true" bottomline="true" leftline="true" usebox="none">
17755 \begin_inset Text
17756
17757 \begin_layout Standard
17758 w
17759 \end_layout
17760
17761 \end_inset
17762 </cell>
17763 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
17764 \begin_inset Text
17765
17766 \begin_layout Standard
17767 x
17768 \end_layout
17769
17770 \end_inset
17771 </cell>
17772 </row>
17773 </lyxtabular>
17774
17775 \end_inset
17776
17777
17778 \end_layout
17779
17780 \end_inset
17781
17782
17783 \end_layout
17784
17785 \begin_layout Standard
17786 LyX doesn't natively support dashed lines, so you have to use TeX-Code.
17787  As prerequisite the LaTeX-package 
17788 \series bold
17789 arydshln
17790 \series default
17791
17792 \begin_inset LatexCommand index
17793 name "LaTeX-packages ! arydshln"
17794
17795 \end_inset
17796
17797  must be loaded in the document preamble with the command
17798 \end_layout
17799
17800 \begin_layout Standard
17801
17802 \series bold
17803
17804 \backslash
17805 usepackage{arydshln}
17806 \end_layout
17807
17808 \begin_layout Standard
17809 To make a vertical line dashed, enter the colon 
17810 \begin_inset Quotes eld
17811 \end_inset
17812
17813 :
17814 \begin_inset Quotes erd
17815 \end_inset
17816
17817  together with the character for the horizontal alignment as LaTeX-argument
17818  in the table cell dialog.
17819 \end_layout
17820
17821 \begin_layout Standard
17822 For a horizontal dashed line add the command
17823 \end_layout
17824
17825 \begin_layout Standard
17826
17827 \series bold
17828
17829 \backslash
17830 hdashline
17831 \end_layout
17832
17833 \begin_layout Standard
17834 in TeX-Code as first element of the first cell in the table row.
17835 \end_layout
17836
17837 \begin_layout Standard
17838 For dashed multicolumn lines use the command
17839 \end_layout
17840
17841 \begin_layout Standard
17842
17843 \series bold
17844
17845 \backslash
17846 cdashline{line number
17847 \series default
17848 }
17849 \end_layout
17850
17851 \begin_layout Standard
17852 in TeX-Code as first element of the first cell in the table row.
17853  If you have for example a multicolumn spanning over columns 2 to 4 and
17854  you want to have a dashed line above, add the command
17855 \end_layout
17856
17857 \begin_layout Standard
17858
17859 \series bold
17860
17861 \backslash
17862 cdashline{2-4}
17863 \end_layout
17864
17865 \begin_layout Standard
17866 as first element of the first cell in the row of the multicolumn.
17867 \end_layout
17868
17869 \begin_layout Standard
17870 \begin_inset VSpace bigskip
17871 \end_inset
17872
17873
17874 \end_layout
17875
17876 \begin_layout Standard
17877 Table\InsetSpace ~
17878
17879 \begin_inset LatexCommand ref
17880 reference "tab:Table-with-dashed"
17881
17882 \end_inset
17883
17884  was created using 
17885 \begin_inset Quotes eld
17886 \end_inset
17887
17888
17889 \series bold
17890 :c
17891 \series default
17892
17893 \begin_inset Quotes erd
17894 \end_inset
17895
17896  as LaTeX-argument of the third column.
17897  The TeX-Code command 
17898 \series bold
17899
17900 \backslash
17901 hdashline
17902 \series default
17903  was inserted to the first cell of the third row and the the TeX-Code command
17904 \newline
17905
17906  
17907 \series bold
17908
17909 \backslash
17910 cdashline{4-5}
17911 \series default
17912  was inserted to the first cell of the fourth row.
17913 \end_layout
17914
17915 \begin_layout Standard
17916 \begin_inset Note Greyedout
17917 status open
17918
17919 \begin_layout Standard
17920
17921 \series bold
17922 Note:
17923 \series default
17924  The used LaTeX-package 
17925 \series bold
17926 arydshln
17927 \series default
17928  is apparently not compatible with the LaTeX-package 
17929 \series bold
17930 colortbl
17931 \series default
17932
17933 \begin_inset LatexCommand index
17934 name "LaTeX-packages ! colortbl"
17935
17936 \end_inset
17937
17938  that is used for colored tables in section\InsetSpace ~
17939
17940 \begin_inset LatexCommand ref
17941 reference "sec:Colored-Tables"
17942
17943 \end_inset
17944
17945 .
17946  That means colored tables cannot have dashed lines.
17947 \end_layout
17948
17949 \end_inset
17950
17951
17952 \end_layout
17953
17954 \begin_layout Standard
17955 \begin_inset ERT
17956 status collapsed
17957
17958 \begin_layout Standard
17959
17960
17961 \backslash
17962 else
17963 \end_layout
17964
17965 \end_inset
17966
17967
17968 \begin_inset Note Note
17969 status open
17970
17971 \begin_layout Standard
17972 The following will be displayed when the LaTeX-package 
17973 \series bold
17974 arydshln
17975 \series default
17976  is not installed:
17977 \end_layout
17978
17979 \end_inset
17980
17981
17982 \end_layout
17983
17984 \begin_layout Standard
17985 You need to install the package 
17986 \series bold
17987 arydshln
17988 \series default
17989  to see the content of this section in the output.
17990 \end_layout
17991
17992 \begin_layout Standard
17993 \begin_inset ERT
17994 status collapsed
17995
17996 \begin_layout Standard
17997
17998
17999 \backslash
18000 fi
18001 \end_layout
18002
18003 \end_inset
18004
18005
18006 \end_layout
18007
18008 \begin_layout Chapter
18009 Floats
18010 \begin_inset LatexCommand index
18011 name "Floats"
18012
18013 \end_inset
18014
18015
18016 \begin_inset LatexCommand label
18017 name "cha:Floats"
18018
18019 \end_inset
18020
18021
18022 \end_layout
18023
18024 \begin_layout Section
18025 Introduction
18026 \begin_inset LatexCommand label
18027 name "sec:FloatIntroduction"
18028
18029 \end_inset
18030
18031
18032 \begin_inset LatexCommand index
18033 name "Floats ! Introduction"
18034
18035 \end_inset
18036
18037
18038 \end_layout
18039
18040 \begin_layout Standard
18041 A float is a block of text associated with some sort of label, which doesn't
18042  have a fixed location.
18043  It can 
18044 \begin_inset Quotes eld
18045 \end_inset
18046
18047 float
18048 \begin_inset Quotes erd
18049 \end_inset
18050
18051  forward or backward a page or two, to wherever it fits best.
18052  
18053 \family sans
18054 Footnotes
18055 \family default
18056  and 
18057 \family sans
18058 Margin\InsetSpace ~
18059 Notes
18060 \family default
18061  are also floats, because they can float to the next page when there are
18062  too many notes at the page.
18063 \end_layout
18064
18065 \begin_layout Standard
18066 Floats allow a high quality layout.
18067  Images and tables can evenly be spread to the pages to avoid white space
18068  and pages without text.
18069  As the floating often destroys the context between the text and the image/table
18070 , every float can be referenced in the text.
18071  Floats are therefore numbered.
18072  Referencing is described in section\InsetSpace ~
18073
18074 \begin_inset LatexCommand ref
18075 reference "sec:Referencing-Floats"
18076
18077 \end_inset
18078
18079 .
18080 \end_layout
18081
18082 \begin_layout Standard
18083 To insert a float, use the menu 
18084 \family sans
18085 Insert\SpecialChar \menuseparator
18086 Float
18087 \family default
18088 .
18089  This inserts the 
18090 \family sans
18091 Caption
18092 \family default
18093  inset, a box with a label.
18094  The label will automatically be translated to the document language in
18095  the output.
18096  Behind the label you can insert the caption text.
18097  The image or table is inserted above or below the caption in a separate
18098  paragraph within the float.
18099  More about the caption placement is described in section\InsetSpace ~
18100
18101 \begin_inset LatexCommand ref
18102 reference "sec:Caption-Placement"
18103
18104 \end_inset
18105
18106 .
18107  To keep your LyX-document readable, you can open and close the float box
18108  by left-clicking on the box label.
18109  A closed float box looks like this: 
18110 \begin_inset Graphics
18111         filename clipart/floatQt4.png
18112         scale 70
18113         scaleBeforeRotation
18114
18115 \end_inset
18116
18117  -- a gray button with a red label.
18118 \end_layout
18119
18120 \begin_layout Standard
18121 It is recommended to insert floats as a separate paragraph to avoid possible
18122  LaTeX-errors that can occur when the surrounding text is specially formatted.
18123 \end_layout
18124
18125 \begin_layout Standard
18126 Existing figures or tables can be put into a float by marking them and then
18127  pressing the corresponding toolbar button for a new float.
18128 \end_layout
18129
18130 \begin_layout Section
18131 Float Types
18132 \end_layout
18133
18134 \begin_layout Standard
18135 Besides figure and table floats that are described in section\InsetSpace ~
18136
18137 \begin_inset LatexCommand ref
18138 reference "sec:Figure-Floats"
18139
18140 \end_inset
18141
18142  and 
18143 \begin_inset LatexCommand ref
18144 reference "sec:Table-Floats"
18145
18146 \end_inset
18147
18148 , respectively, LyX offers the float types 
18149 \series bold
18150 Algorithm
18151 \series default
18152  and 
18153 \series bold
18154 Text\InsetSpace ~
18155 Wrap\InsetSpace ~
18156 Float
18157 \series default
18158 .
18159 \end_layout
18160
18161 \begin_layout Subsection
18162 Algorithm Floats
18163 \begin_inset LatexCommand index
18164 name "Floats ! Algorithms"
18165
18166 \end_inset
18167
18168
18169 \begin_inset LatexCommand label
18170 name "sub:Algorithm-Floats"
18171
18172 \end_inset
18173
18174
18175 \end_layout
18176
18177 \begin_layout Standard
18178 \begin_inset Float algorithm
18179 placement h
18180 wide false
18181 sideways false
18182 status open
18183
18184 \begin_layout Standard
18185 \begin_inset Caption
18186
18187 \begin_layout Standard
18188 \begin_inset LatexCommand label
18189 name "alg:Example-Algorithm-float"
18190
18191 \end_inset
18192
18193 Example Algorithm float
18194 \end_layout
18195
18196 \end_inset
18197
18198
18199 \end_layout
18200
18201 \begin_layout LyX-Code
18202 for I in 1..N loop
18203 \newline
18204  Sum:= Sum + A(I); /*comment*/
18205 \newline
18206 end loop
18207 \begin_inset VSpace -4mm
18208 \end_inset
18209
18210
18211 \end_layout
18212
18213 \end_inset
18214
18215
18216 \end_layout
18217
18218 \begin_layout Standard
18219 This float type is inserted with the menu 
18220 \family sans
18221 Insert\SpecialChar \menuseparator
18222 Floats\SpecialChar \menuseparator
18223 Algorithm
18224 \family default
18225 .
18226  It is used for program codes and descriptions of algorithms.
18227  A possible environment for algorithms is the 
18228 \family sans
18229 LyX-Code
18230 \family default
18231 , described in LyX's 
18232 \emph on
18233 Userguide
18234 \emph default
18235 .
18236  Algorithm\InsetSpace ~
18237
18238 \begin_inset LatexCommand ref
18239 reference "alg:Example-Algorithm-float"
18240
18241 \end_inset
18242
18243  is an example of an algorithm float where -4\InsetSpace \thinspace{}
18244 mm vertical space was added
18245  at the end of the float to have the bottom rule exactly below the last
18246  text line.
18247 \end_layout
18248
18249 \begin_layout Standard
18250 The float label is not automatically translated into the document language.
18251  If your document is not in English, you have to do this manually by adding
18252  the following line to the document preamble
18253 \series bold
18254 :
18255 \end_layout
18256
18257 \begin_layout Standard
18258
18259 \series bold
18260
18261 \backslash
18262 floatname{algorithm}{your\InsetSpace ~
18263 name}
18264 \end_layout
18265
18266 \begin_layout Standard
18267
18268 \family sans
18269 your\InsetSpace ~
18270 name
18271 \family default
18272  is the word 
18273 \begin_inset Quotes eld
18274 \end_inset
18275
18276
18277 \emph on
18278 algorithm
18279 \emph default
18280
18281 \begin_inset Quotes erd
18282 \end_inset
18283
18284  in your language.
18285 \end_layout
18286
18287 \begin_layout Description
18288
18289 \series bold
18290 Note:
18291 \series default
18292  When the LaTeX-package 
18293 \series bold
18294 hyperref
18295 \series default
18296
18297 \begin_inset LatexCommand index
18298 name "LaTeX-packages ! hyperref"
18299
18300 \end_inset
18301
18302  is used to link cross-references to floats in the PDF-output, it must be
18303  loaded in the document preamble before the definition of floats to be able
18304  to reference floats.
18305  As LyX sets the float definition for algorithm floats automatically before
18306  the user editable part of the document preamble, you need to insert the
18307  following preamble lines 
18308 \emph on
18309 after
18310 \emph default
18311  the loading command of 
18312 \series bold
18313 hyperref
18314 \series default
18315 :
18316 \begin_inset VSpace defskip
18317 \end_inset
18318
18319
18320 \series bold
18321
18322 \newline
18323
18324 \backslash
18325 newfloat{Xalgorithm}{tbp}{loa}
18326 \newline
18327
18328 \backslash
18329 floatname{Xalgorithm}{your\InsetSpace ~
18330 name}
18331 \newline
18332
18333 \backslash
18334 newcommand{
18335 \backslash
18336 theHalgorithm}{
18337 \backslash
18338 theHXalgorithm}
18339 \newline
18340
18341 \backslash
18342 renewenvironment{algorithm}[1][tbp]
18343 \newline
18344
18345 \begin_inset ERT
18346 status collapsed
18347
18348 \begin_layout Standard
18349
18350
18351 \backslash
18352 hphantom{ }
18353 \end_layout
18354
18355 \end_inset
18356
18357 {
18358 \backslash
18359 begin{Xalgorithm}[#1]}{
18360 \backslash
18361 end{Xalgorithm}}
18362 \series default
18363
18364 \begin_inset VSpace defskip
18365 \end_inset
18366
18367
18368 \newline
18369 To insert the list of algorithms you can in this case not use the menu 
18370 \family sans
18371 Insert\SpecialChar \menuseparator
18372 List\InsetSpace \thinspace{}
18373 /\InsetSpace \thinspace{}
18374 TOC\SpecialChar \menuseparator
18375 List of Algorithms
18376 \family default
18377  but have to use this command in TeX-Code instead:
18378 \newline
18379
18380 \series bold
18381
18382 \backslash
18383 listof{Xalgorithm}{List of Algorithms}
18384 \series default
18385
18386 \begin_inset Note Note
18387 status collapsed
18388
18389 \begin_layout Standard
18390
18391 \series medium
18392 is used at the end of this document
18393 \end_layout
18394
18395 \end_inset
18396
18397
18398 \end_layout
18399
18400 \begin_layout Standard
18401 Algorithm floats are not by default numbered in the scheme 
18402 \begin_inset Quotes eld
18403 \end_inset
18404
18405 chapter.algorithm
18406 \begin_inset Quotes erd
18407 \end_inset
18408
18409  like it is the case for table and figure floats in many document-classes.
18410  To number algorithm floats in the same scheme, add this command to your
18411  document preamble:
18412 \end_layout
18413
18414 \begin_layout Standard
18415
18416 \series bold
18417
18418 \backslash
18419 numberwithin{algorithm}{chapter}
18420 \end_layout
18421
18422 \begin_layout Standard
18423 If you use the LaTeX-package 
18424 \series bold
18425 hyperref
18426 \series default
18427 , add this line instead 
18428 \emph on
18429 after
18430 \emph default
18431  the definition of 
18432 \family sans
18433 Xalgorithm
18434 \family default
18435  (the commands from above) to the preamble:
18436 \end_layout
18437
18438 \begin_layout Standard
18439
18440 \series bold
18441
18442 \backslash
18443 numberwithin{Xalgorithm}{chapter}
18444 \end_layout
18445
18446 \begin_layout Standard
18447 To be able to use the command 
18448 \series bold
18449
18450 \backslash
18451 numberwithin
18452 \series default
18453 , set in the tab 
18454 \family sans
18455 Math\InsetSpace ~
18456 Options
18457 \family default
18458  in the document settings the option 
18459 \family sans
18460 Use\InsetSpace ~
18461 AMS\InsetSpace ~
18462 math\InsetSpace ~
18463 package
18464 \family default
18465 .
18466 \end_layout
18467
18468 \begin_layout Subsection
18469 Text Wrap Floats
18470 \begin_inset LatexCommand index
18471 name "Floats ! Text Wrap Floats"
18472
18473 \end_inset
18474
18475
18476 \begin_inset LatexCommand label
18477 name "sub:floatflt-wrap-float"
18478
18479 \end_inset
18480
18481
18482 \end_layout
18483
18484 \begin_layout Standard
18485 This float type is used if you want to 
18486 \begin_inset Quotes eld
18487 \end_inset
18488
18489 wrap
18490 \begin_inset Quotes erd
18491 \end_inset
18492
18493  text around a figure so that it only occupies some fraction of the column
18494  width.
18495  It can be inserted using the menu 
18496 \begin_inset Wrap figure
18497 placement l
18498 width "40col%"
18499 status open
18500
18501 \begin_layout Standard
18502 \begin_inset Graphics
18503         filename clipart/mobius.eps
18504         display color
18505         width 40col%
18506         scaleBeforeRotation
18507         rotateOrigin center
18508
18509 \end_inset
18510
18511
18512 \end_layout
18513
18514 \begin_layout Standard
18515 \begin_inset Caption
18516
18517 \begin_layout Standard
18518 \begin_inset LatexCommand label
18519 name "fig:This-is-a"
18520
18521 \end_inset
18522
18523 This is a wrapped figure, and this is the brilliant caption that describes
18524  it.
18525 \begin_inset VSpace medskip
18526 \end_inset
18527
18528
18529 \end_layout
18530
18531 \end_inset
18532
18533
18534 \end_layout
18535
18536 \end_inset
18537
18538  
18539 \family sans
18540 Insert\SpecialChar \menuseparator
18541 Floats\SpecialChar \menuseparator
18542 Text\InsetSpace ~
18543 Wrap\InsetSpace ~
18544 Float
18545 \family default
18546  if the LaTeX-package 
18547 \series bold
18548 wrapfig
18549 \series default
18550
18551 \begin_inset LatexCommand index
18552 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
18553
18554 \end_inset
18555
18556  is installed.
18557 \begin_inset Foot
18558 status collapsed
18559
18560 \begin_layout Standard
18561 Installing a LaTeX-package is explained it in the 
18562 \emph on
18563 LaTeX\InsetSpace ~
18564 Configuration
18565 \emph default
18566  manual.
18567 \end_layout
18568
18569 \end_inset
18570
18571  The width and placement of the float is adjusted by right-clicking on the
18572  float box.
18573  Figure\InsetSpace ~
18574
18575 \begin_inset LatexCommand ref
18576 reference "fig:This-is-a"
18577
18578 \end_inset
18579
18580  is an example text wrap float with a width of 40\InsetSpace \thinspace{}
18581 col%.
18582 \begin_inset Foot
18583 status collapsed
18584
18585 \begin_layout Standard
18586 Available units are explained in appendix\InsetSpace ~
18587
18588 \begin_inset LatexCommand ref
18589 reference "cha:Units-available-in"
18590
18591 \end_inset
18592
18593 .
18594 \end_layout
18595
18596 \end_inset
18597
18598  Some space was added under the caption to separate it better from the surroundi
18599 ng text.
18600 \end_layout
18601
18602 \begin_layout Standard
18603 The LaTeX-package 
18604 \series bold
18605 wrapfig
18606 \series default
18607  also supports table wrap floats, but they are not yet supported by LyX.
18608  If you need this, read the documentation of 
18609 \series bold
18610 wrapfig
18611 \series default
18612  
18613 \begin_inset LatexCommand cite
18614 key "wrapfig"
18615
18616 \end_inset
18617
18618 .
18619 \end_layout
18620
18621 \begin_layout Standard
18622 \begin_inset Note Greyedout
18623 status open
18624
18625 \begin_layout Standard
18626
18627 \series bold
18628 Note:
18629 \series default
18630  Text\InsetSpace ~
18631 wrap float floats are fragile! E.\InsetSpace \thinspace{}
18632 g.\InsetSpace ~
18633 having a figure too close to the bottom
18634  of the page can mess things up in the way that the float doesn't appear
18635  in the output or that it is placed over some other text.
18636 \end_layout
18637
18638 \end_inset
18639
18640
18641 \end_layout
18642
18643 \begin_layout Standard
18644 In general:
18645 \end_layout
18646
18647 \begin_layout Itemize
18648 Wrap floats should not be placed in paragraphs that run over a page break.
18649  That means that wrap floats should better be inserted to the exact place
18650  when the document is nearly finished and you are able to estimate where
18651  page breaks will appear.
18652 \end_layout
18653
18654 \begin_layout Itemize
18655 Wrap floats should either be placed in an own paragraph before the paragraph
18656  where they should wrap into or within a paragraph.
18657 \end_layout
18658
18659 \begin_layout Itemize
18660 Wrap floats in consecutive paragraphs may cause troubles, so assure that
18661  there is a text paragraph between them as separator.
18662 \end_layout
18663
18664 \begin_layout Itemize
18665 Wrap floats are not allowed in section headings or tables.
18666 \end_layout
18667
18668 \begin_layout Section
18669 Float Numbering
18670 \begin_inset LatexCommand label
18671 name "sec:Float-Numbering"
18672
18673 \end_inset
18674
18675
18676 \begin_inset LatexCommand index
18677 name "Floats ! Numbering"
18678
18679 \end_inset
18680
18681
18682 \end_layout
18683
18684 \begin_layout Standard
18685 Floats are usually numbered either independent from the sections the floats
18686  are in, or in the scheme 
18687 \begin_inset Quotes eld
18688 \end_inset
18689
18690 chapter.number
18691 \begin_inset Quotes erd
18692 \end_inset
18693
18694  or 
18695 \begin_inset Quotes eld
18696 \end_inset
18697
18698 section.number
18699 \begin_inset Quotes erd
18700 \end_inset
18701
18702 .
18703  This depends on the used document class.
18704 \end_layout
18705
18706 \begin_layout Standard
18707 To change the section independent numbering, you can use this command in
18708  the document preamble:
18709 \end_layout
18710
18711 \begin_layout Standard
18712
18713 \series bold
18714
18715 \backslash
18716 renewcommand{
18717 \backslash
18718 thetable}{
18719 \backslash
18720 roman{table}}
18721 \end_layout
18722
18723 \begin_layout Standard
18724
18725 \series bold
18726
18727 \backslash
18728 thetable
18729 \series default
18730  is the command that prints the table number, for figure floats, the command
18731  would be 
18732 \series bold
18733
18734 \backslash
18735 thefigure
18736 \series default
18737 .
18738  The command 
18739 \series bold
18740
18741 \backslash
18742 roman
18743 \series default
18744  prints in the command above the table number as small roman number.
18745 \end_layout
18746
18747 \begin_layout Standard
18748 To change the numbering scheme for example to 
18749 \begin_inset Quotes eld
18750 \end_inset
18751
18752 subsection.number
18753 \begin_inset Quotes erd
18754 \end_inset
18755
18756 , use this command in the preamble:
18757 \end_layout
18758
18759 \begin_layout Standard
18760
18761 \series bold
18762
18763 \backslash
18764 numberwithin{table}{subsection}
18765 \end_layout
18766
18767 \begin_layout Standard
18768 To be able to use the command 
18769 \series bold
18770
18771 \backslash
18772 numberwithin
18773 \series default
18774 , set in the tab 
18775 \family sans
18776 Math\InsetSpace ~
18777 Options
18778 \family default
18779  in the document settings the option 
18780 \family sans
18781 Use\InsetSpace ~
18782 AMS\InsetSpace ~
18783 math\InsetSpace ~
18784 package
18785 \family default
18786 .
18787 \end_layout
18788
18789 \begin_layout Standard
18790 Please also have a look at section\InsetSpace ~
18791
18792 \begin_inset LatexCommand ref
18793 reference "sub:Footnote-Numbering"
18794
18795 \end_inset
18796
18797  for the details and important notes about the numbering commands.
18798 \end_layout
18799
18800 \begin_layout Section
18801 Referencing Floats
18802 \begin_inset LatexCommand label
18803 name "sec:Referencing-Floats"
18804
18805 \end_inset
18806
18807
18808 \begin_inset LatexCommand index
18809 name "Floats ! References"
18810
18811 \end_inset
18812
18813
18814 \begin_inset LatexCommand index
18815 name "References"
18816
18817 \end_inset
18818
18819
18820 \end_layout
18821
18822 \begin_layout Standard
18823 To reference a float, insert a label into its caption using the menu 
18824 \family sans
18825 Insert\SpecialChar \menuseparator
18826 Label
18827 \family default
18828  or the toolbar button 
18829 \begin_inset Graphics
18830         filename ../images/label-insert.png
18831         scale 85
18832         scaleBeforeRotation
18833
18834 \end_inset
18835
18836 .
18837  A grey label box like this one: 
18838 \begin_inset Graphics
18839         filename clipart/labelQt4.png
18840         scale 85
18841         scaleBeforeRotation
18842
18843 \end_inset
18844
18845  will be inserted and the label window pops up asking for the label text.
18846  LyX offers as text the first words of the caption with a prefix.
18847  The prefix depends on the float type, e.\InsetSpace \thinspace{}
18848 g.\InsetSpace ~
18849 for figure floats the prefix will
18850  be "
18851 \family sans
18852 fig:
18853 \family default
18854 ".
18855 \end_layout
18856
18857 \begin_layout Standard
18858 The label is used as anchor and name for the reference.
18859  You can refer to the label using the menu 
18860 \family sans
18861 Insert\SpecialChar \menuseparator
18862 Cross-reference
18863 \family default
18864  or the toolbar button 
18865 \begin_inset Graphics
18866         filename ../images/dialog-show-new-inset_ref.png
18867         scale 85
18868         scaleBeforeRotation
18869
18870 \end_inset
18871
18872 .
18873  A grey cross-reference box like this one: 
18874 \begin_inset Graphics
18875         filename clipart/referenceQt4.png
18876         scale 85
18877         scaleBeforeRotation
18878
18879 \end_inset
18880
18881  will be inserted and the cross-reference window appear showing all labels
18882  of the document.
18883  If you have multiple LyX-documents opened, choose the one you are working
18884  on from the drop-list at the top of the dialog.
18885  You can now sort the labels alphabetically and then choose one.
18886  At the position of the cross-reference box the float number will appear
18887  in the output.
18888 \end_layout
18889
18890 \begin_layout Standard
18891 It is recommended to use a protected space between the cross-reference name
18892  and its number to avoid line breaks between them.
18893  If a cross-reference refers to a non-existing label, you will see two question
18894  marks in the output instead of the reference.
18895 \end_layout
18896
18897 \begin_layout Standard
18898 You can change labels at any time by clicking on the label box.
18899  References to the changed label will automatically change its link to the
18900  new label text, so that you don't need to take care about this.
18901 \end_layout
18902
18903 \begin_layout Standard
18904 The button 
18905 \family sans
18906 Go\InsetSpace ~
18907 to\InsetSpace ~
18908 Label
18909 \family default
18910  in the cross-reference window sets the cursor before the referred label.
18911  The button text changes then to Go\InsetSpace ~
18912 Back and you can use it to set the cursor
18913  back to the cross-reference.
18914  Right-clicking on a cross-reference box also sets the cursor before the
18915  referenced label but without a possibility to go back.
18916 \end_layout
18917
18918 \begin_layout Subsection
18919 Cross-Reference Formats
18920 \begin_inset LatexCommand label
18921 name "sub:Cross-Reference-Formats"
18922
18923 \end_inset
18924
18925
18926 \begin_inset LatexCommand index
18927 name "References ! Formats"
18928
18929 \end_inset
18930
18931
18932 \end_layout
18933
18934 \begin_layout Standard
18935 There are six varieties of cross-references:
18936 \end_layout
18937
18938 \begin_layout Description
18939 <reference>: prints the float number, this is the default: 
18940 \begin_inset LatexCommand ref
18941 reference "fig:Two-distorted-images"
18942
18943 \end_inset
18944
18945
18946 \end_layout
18947
18948 \begin_layout Description
18949 (<reference>): prints the float number within two parentheses, this is the
18950  style normally used to reference formulas, especially when the reference
18951  name 
18952 \begin_inset Quotes eld
18953 \end_inset
18954
18955 Equation
18956 \begin_inset Quotes erd
18957 \end_inset
18958
18959  is omitted: 
18960 \begin_inset LatexCommand eqref
18961 reference "eq:Wgn"
18962
18963 \end_inset
18964
18965
18966 \end_layout
18967
18968 \begin_layout Description
18969 <page>: prints the page number: Page\InsetSpace ~
18970
18971 \begin_inset LatexCommand pageref
18972 reference "fig:Two-distorted-images"
18973
18974 \end_inset
18975
18976
18977 \end_layout
18978
18979 \begin_layout Description
18980 on\InsetSpace ~
18981 page\InsetSpace ~
18982 <page>: prints the text "on page" and the page number: 
18983 \begin_inset LatexCommand vpageref
18984 reference "fig:Two-distorted-images"
18985
18986 \end_inset
18987
18988
18989 \end_layout
18990
18991 \begin_layout Description
18992 <reference>\InsetSpace ~
18993 on\InsetSpace ~
18994 page\InsetSpace ~
18995 <page>: prints the float number, the text "on page", and
18996  the page number: 
18997 \begin_inset LatexCommand vref
18998 reference "fig:Two-distorted-images"
18999
19000 \end_inset
19001
19002
19003 \end_layout
19004
19005 \begin_layout Description
19006 Formatted\InsetSpace ~
19007 reference: prints a self defined cross-reference format.
19008  
19009 \begin_inset Note Greyedout
19010 status open
19011
19012 \begin_layout Standard
19013
19014 \series bold
19015 Note:
19016 \series default
19017  This feature is only available when you have the LaTeX-package 
19018 \series bold
19019 prettyref
19020 \series default
19021  installed.
19022 \end_layout
19023
19024 \end_inset
19025
19026
19027 \end_layout
19028
19029 \begin_layout Standard
19030 Note that the style <page> won't print the page number if the label is on
19031  the previous, the same, or the next page.
19032  You will e.\InsetSpace \thinspace{}
19033 g.\InsetSpace ~
19034 see the text 
19035 \begin_inset Quotes eld
19036 \end_inset
19037
19038
19039 \family sans
19040 on this page
19041 \family default
19042
19043 \begin_inset Quotes erd
19044 \end_inset
19045
19046  instead.
19047 \end_layout
19048
19049 \begin_layout Standard
19050 The number and current page of the referred document part in the output,
19051  is automatically calculated by LaTeX.
19052  The varieties are adjusted in the field 
19053 \family sans
19054 Format
19055 \family default
19056  of the cross-reference window, that appear when you click on the cross-referenc
19057 e box.
19058 \end_layout
19059
19060 \begin_layout Subsection
19061 Referencing Subfigures
19062 \begin_inset LatexCommand label
19063 name "sub:Referencing-Subfigures"
19064
19065 \end_inset
19066
19067
19068 \begin_inset LatexCommand index
19069 name "References ! to Subfigures"
19070
19071 \end_inset
19072
19073
19074 \end_layout
19075
19076 \begin_layout Standard
19077 Currently referencing subfigures is not supported by LyX, so you have to
19078  use LaTeX-commands.
19079  The label is the created with the command
19080 \end_layout
19081
19082 \begin_layout Standard
19083
19084 \series bold
19085
19086 \backslash
19087 label{fig:YourLabelName}
19088 \end_layout
19089
19090 \begin_layout Standard
19091 that is directly inserted into the subfigure caption field.
19092  To reference the label add this command in TeX-Code
19093 \end_layout
19094
19095 \begin_layout Standard
19096
19097 \series bold
19098
19099 \backslash
19100 ref{fig:YourLabelName}
19101 \end_layout
19102
19103 \begin_layout Standard
19104 to the position in your document where the reference should be placed.
19105  Here is a reference to a subfigure: Subfigure\InsetSpace ~
19106
19107 \begin_inset ERT
19108 status collapsed
19109
19110 \begin_layout Standard
19111
19112
19113 \backslash
19114 ref{fig:Platypus}
19115 \end_layout
19116
19117 \end_inset
19118
19119 .
19120 \end_layout
19121
19122 \begin_layout Subsection
19123 Automatic Reference Naming
19124 \begin_inset LatexCommand index
19125 name "References ! Automatic Reference Naming"
19126
19127 \end_inset
19128
19129
19130 \end_layout
19131
19132 \begin_layout Standard
19133 The LaTeX-package 
19134 \series bold
19135 hyperref
19136 \series default
19137  provides a very useful feature that cross-references automatically include
19138  the name of the referenced floats (or text parts like sections).
19139  You save to write e.\InsetSpace \thinspace{}
19140 g.\InsetSpace ~
19141 the name 
19142 \begin_inset Quotes eld
19143 \end_inset
19144
19145 Figure
19146 \begin_inset Quotes erd
19147 \end_inset
19148
19149  before every reference box.
19150  To get this automatic reference naming, you have to load the LaTeX-package
19151  
19152 \series bold
19153 hyperref
19154 \series default
19155
19156 \begin_inset LatexCommand index
19157 name "LaTeX-packages ! hyperref"
19158
19159 \end_inset
19160
19161  in the document preamble with
19162 \end_layout
19163
19164 \begin_layout Standard
19165
19166 \series bold
19167
19168 \backslash
19169 usepackage[pdfborder={0 0 0}]{hyperref}
19170 \newline
19171
19172 \backslash
19173 AtBeginDocument{
19174 \backslash
19175 renewcommand{
19176 \backslash
19177 ref}[1]{
19178 \backslash
19179 mbox{
19180 \backslash
19181 autoref{#1}}}}
19182 \end_layout
19183
19184 \begin_layout Standard
19185
19186 \series bold
19187 hyperref
19188 \series default
19189  is used to link cross-references in the DVI- and PDF-output, this means
19190  that the reader of your document will be able to click on a table of content
19191  (TOC) entry or on a reference and he will be shown the referenced document
19192  part.
19193  
19194 \series bold
19195 hyperref
19196 \series default
19197  also creates PDF-bookmarks for every section of your document to make it
19198  easier for readers to navigate through the document.
19199  This is also used in this document but when you have a look in the document
19200  preamble you will find various options in the load command of 
19201 \series bold
19202 hyperref
19203 \series default
19204 .
19205  To learn more about the 
19206 \series bold
19207 hyperref
19208 \series default
19209  package, we refer to its documentation 
19210 \begin_inset LatexCommand cite
19211 key "hyperref"
19212
19213 \end_inset
19214
19215 .
19216 \end_layout
19217
19218 \begin_layout Standard
19219 \begin_inset Note Greyedout
19220 status open
19221
19222 \begin_layout Standard
19223
19224 \series bold
19225 Note:
19226 \series default
19227  Automatic reference naming cannot be used when you use cross-references
19228  in the 
19229 \family sans
19230 Formatted\InsetSpace ~
19231 reference
19232 \family default
19233  style, described in section\InsetSpace ~
19234
19235 \begin_inset LatexCommand ref
19236 reference "sub:Cross-Reference-Formats"
19237
19238 \end_inset
19239
19240 .
19241 \end_layout
19242
19243 \end_inset
19244
19245
19246 \end_layout
19247
19248 \begin_layout Subsection
19249 Reference Position
19250 \begin_inset LatexCommand label
19251 name "sub:Reference-Position"
19252
19253 \end_inset
19254
19255
19256 \begin_inset LatexCommand index
19257 name "References ! Reference Position"
19258
19259 \end_inset
19260
19261
19262 \end_layout
19263
19264 \begin_layout Standard
19265 If you use 
19266 \series bold
19267 hyperref
19268 \series default
19269
19270 \begin_inset LatexCommand index
19271 name "LaTeX-packages ! hyperref"
19272
19273 \end_inset
19274
19275  to link cross-references in the output, you will see that clicking on an
19276  image float reference jumps to the image label.
19277  The caption will be the first text part on the screen, so that you cannot
19278  see the image without scrolling.
19279  This is because the reference link anchor is placed at the position of
19280  the label.
19281  With the use of the package 
19282 \series bold
19283 hypcap
19284 \series default
19285
19286 \begin_inset LatexCommand index
19287 name "LaTeX-packages ! hypcap"
19288
19289 \end_inset
19290
19291 , which is part of the LaTeX-package 
19292 \series bold
19293 oberdiek
19294 \series default
19295
19296 \begin_inset LatexCommand index
19297 name "LaTeX-packages ! oberdiek"
19298
19299 \end_inset
19300
19301 , the link anchor is placed at the beginning of a float.
19302  To use this feature for figure floats, load 
19303 \series bold
19304 hypcap
19305 \series default
19306  in the document preamble with the line
19307 \end_layout
19308
19309 \begin_layout Standard
19310
19311 \series bold
19312
19313 \backslash
19314 usepackage[figure]{hypcap}
19315 \end_layout
19316
19317 \begin_layout Standard
19318 You can also use 
19319 \series bold
19320 hypcap
19321 \series default
19322  for all floats but this isn't recommended for stability reasons.
19323  For more informations, have a look at 
19324 \series bold
19325 hypcap
19326 \series default
19327 's manual 
19328 \begin_inset LatexCommand cite
19329 key "hypcap"
19330
19331 \end_inset
19332
19333 .
19334 \end_layout
19335
19336 \begin_layout Standard
19337 \begin_inset Note Greyedout
19338 status open
19339
19340 \begin_layout Standard
19341
19342 \series bold
19343 Note:
19344 \series default
19345  
19346 \series bold
19347 hypcap
19348 \series default
19349  must be loaded after 
19350 \series bold
19351 hyperref
19352 \series default
19353  in the document preamble.
19354 \end_layout
19355
19356 \end_inset
19357
19358
19359 \end_layout
19360
19361 \begin_layout Standard
19362 \begin_inset Note Greyedout
19363 status open
19364
19365 \begin_layout Standard
19366
19367 \series bold
19368 Note:
19369 \series default
19370  
19371 \series bold
19372 hypcap
19373 \series default
19374  has no effect for references to subfigures.
19375 \end_layout
19376
19377 \end_inset
19378
19379
19380 \end_layout
19381
19382 \begin_layout Section
19383 Float Placement
19384 \begin_inset LatexCommand label
19385 name "sec:Float-Placement"
19386
19387 \end_inset
19388
19389
19390 \begin_inset LatexCommand index
19391 name "Floats ! Placement"
19392
19393 \end_inset
19394
19395
19396 \end_layout
19397
19398 \begin_layout Standard
19399 Right-clicking on a float-box opens a dialog where you can alter the placement
19400  options that LaTeX uses for positioning the float.
19401 \newline
19402 The option 
19403 \family sans
19404 Span\InsetSpace ~
19405 columns
19406 \family default
19407  is only useful for two-column documents: If you select it, the float will
19408  span across both columns on the page instead of being confined to just
19409  one.
19410 \newline
19411 The option 
19412 \family sans
19413 Rotate\InsetSpace ~
19414 sideways
19415 \family default
19416  is used to rotate floats, see section 
19417 \begin_inset LatexCommand ref
19418 reference "sec:Rotated-Floats"
19419
19420 \end_inset
19421
19422 .
19423 \end_layout
19424
19425 \begin_layout Standard
19426 You can use one ore more of the following options in the float dialog to
19427  set the placement for a particular float when you uncheck the option 
19428 \family sans
19429 Use\InsetSpace ~
19430 default\InsetSpace ~
19431 placement
19432 \family default
19433 :
19434 \end_layout
19435
19436 \begin_layout Description
19437 Here\InsetSpace ~
19438 if\InsetSpace ~
19439 possible try to place the float on the position where it is inserted
19440 \end_layout
19441
19442 \begin_layout Description
19443 Top\InsetSpace ~
19444 of\InsetSpace ~
19445 page try to place the float on the top of the current page
19446 \end_layout
19447
19448 \begin_layout Description
19449 Bottom\InsetSpace ~
19450 of\InsetSpace ~
19451 page try to place the float on the bottom of the current page
19452 \end_layout
19453
19454 \begin_layout Description
19455 Page\InsetSpace ~
19456 of\InsetSpace ~
19457 floats try to place the float on an own page 
19458 \end_layout
19459
19460 \begin_layout Standard
19461 The order of the above option is 
19462 \emph on
19463 always
19464 \emph default
19465  used by LaTeX.
19466  That means, if you use the default placement, LaTeX will first try out
19467  
19468 \family sans
19469 Here\InsetSpace ~
19470 if\InsetSpace ~
19471 possible
19472 \family default
19473 , then 
19474 \family sans
19475 Top\InsetSpace ~
19476 of\InsetSpace ~
19477 page
19478 \family default
19479 , and then the others.
19480  If you don't use the default, LaTeX will try only the checked options but
19481  in the same order.
19482  If none of the 4 placements are possible the procedure is internally repeated
19483  but it is tried to put the float on the following page.
19484 \end_layout
19485
19486 \begin_layout Standard
19487 By default, each option has its own rules:
19488 \end_layout
19489
19490 \begin_layout Labeling
19491 \labelwidthstring 00.00.0000
19492
19493 \family sans
19494 Top\InsetSpace ~
19495 of\InsetSpace ~
19496 page
19497 \family default
19498  only floats occupying less than 70\InsetSpace \thinspace{}
19499 % of the page can be placed at the top
19500  of a page (
19501 \series bold
19502
19503 \backslash
19504 topfraction
19505 \series default
19506 )
19507 \end_layout
19508
19509 \begin_layout Labeling
19510 \labelwidthstring 00.00.0000
19511
19512 \family sans
19513 Bottom\InsetSpace ~
19514 of\InsetSpace ~
19515 page
19516 \family default
19517 : only floats occupying less than 30\InsetSpace \thinspace{}
19518 % of the page can be placed at the bottom
19519  of a page.
19520  (
19521 \series bold
19522
19523 \backslash
19524 bottomfraction
19525 \series default
19526 )
19527 \end_layout
19528
19529 \begin_layout Labeling
19530 \labelwidthstring 00.00.0000
19531
19532 \family sans
19533 Page\InsetSpace ~
19534 of\InsetSpace ~
19535 floats
19536 \family default
19537 : only if more than 50\InsetSpace \thinspace{}
19538 % of the page are occupied by floats, several floats
19539  can be set together on a page.
19540  (
19541 \series bold
19542
19543 \backslash
19544 floatpagefraction
19545 \series default
19546 )
19547 \end_layout
19548
19549 \begin_layout Standard
19550 If you don't like these rules, you can ignore them by using the additional
19551  option 
19552 \family sans
19553 Ignore\InsetSpace ~
19554 LaTeX\InsetSpace ~
19555 rules
19556 \family default
19557 .
19558 \newline
19559 You can also redefine the rules with LaTeX-commands that are given in parenthese
19560 s behind the rules description above.
19561  To increase for example the often too small default of the bottom-rule
19562  to 50\InsetSpace \thinspace{}
19563 % of the page, add this line to your document preamble:
19564 \end_layout
19565
19566 \begin_layout Standard
19567
19568 \series bold
19569
19570 \backslash
19571 renewcommand{
19572 \backslash
19573 bottomfraction}{0.5}
19574 \end_layout
19575
19576 \begin_layout Standard
19577 Sometimes you might need, under all circumstances, a float to be placed
19578  exactly at the position where it is inserted.
19579  For this case you can use the option 
19580 \family sans
19581 Here\InsetSpace ~
19582 definitely
19583 \family default
19584 .
19585  Use this option very rarely and only if the document is nearly ready to
19586  be printed.
19587  Because the float is then no longer able to 
19588 \begin_inset Quotes eld
19589 \end_inset
19590
19591 float
19592 \begin_inset Quotes erd
19593 \end_inset
19594
19595  when you change your document and this will often destroy the page layout.
19596 \end_layout
19597
19598 \begin_layout Standard
19599 There are no placement options for text wrap floats, because they are always
19600  surrounded by the text of a certain paragraph.
19601 \begin_inset VSpace bigskip
19602 \end_inset
19603
19604
19605 \end_layout
19606
19607 \begin_layout Standard
19608 Sometimes you have the problem that a float is placed at the top of a page
19609  while its corresponding section starts at the middle of the page, so that
19610  the reader could think the float is part of the previous section.
19611  To avoid this the LaTeX-command 
19612 \series bold
19613
19614 \backslash
19615 suppressfloats
19616 \series default
19617  can be used.
19618  It suppresses a given float placement for the page where it is inserted
19619  and can therefore be used to avoid that floats could be set before a section
19620  starts.
19621  To get this, add these commands to your document preamble:
19622 \end_layout
19623
19624 \begin_layout Standard
19625
19626 \series bold
19627
19628 \backslash
19629 let
19630 \backslash
19631 mySection
19632 \backslash
19633 section
19634 \newline
19635
19636 \backslash
19637 renewcommand{
19638 \backslash
19639 section}{
19640 \backslash
19641 suppressfloats[t]
19642 \backslash
19643 mySection}
19644 \end_layout
19645
19646 \begin_layout Standard
19647 You can define the same for all section headings, like chapters and subsections.
19648  This definition is not recommended to be used for small text parts like
19649  subsubsections because LaTeX may then have problems to find a suitable
19650  placement.
19651 \end_layout
19652
19653 \begin_layout Standard
19654 \begin_inset VSpace bigskip
19655 \end_inset
19656
19657 In some cases it is required to have all figures/tables at the end of the
19658  document.
19659  For this purpose the LaTeX-package 
19660 \series bold
19661 endfloat
19662 \series default
19663
19664 \begin_inset LatexCommand index
19665 name "LaTeX-packages ! endfloat"
19666
19667 \end_inset
19668
19669  was developed.
19670  It puts all figure and table floats at the end of the document into own
19671  sections.
19672  At the original float position a text hint like 
19673 \begin_inset Quotes eld
19674 \end_inset
19675
19676
19677 \family sans
19678 [Figure\InsetSpace ~
19679 3.2 about here.]
19680 \family default
19681
19682 \begin_inset Quotes erd
19683 \end_inset
19684
19685  is inserted.
19686  The endfloat-package is loaded in the preamble with the line
19687 \end_layout
19688
19689 \begin_layout Standard
19690
19691 \series bold
19692
19693 \backslash
19694 usepackage[options]{endfloat}
19695 \end_layout
19696
19697 \begin_layout Standard
19698 There are various package options to format the created figure/table sections.
19699  For more information we refer to the 
19700 \series bold
19701 endfloat
19702 \series default
19703  documentation 
19704 \begin_inset LatexCommand cite
19705 key "endfloat"
19706
19707 \end_inset
19708
19709 .
19710 \newline
19711
19712 \begin_inset Note Greyedout
19713 status open
19714
19715 \begin_layout Standard
19716
19717 \series bold
19718 Note: endfloat
19719 \series default
19720  doesn't provide an automatic translation for the text hint, you have to
19721  do this manually, see section\InsetSpace ~
19722 4 in 
19723 \begin_inset LatexCommand cite
19724 key "endfloat"
19725
19726 \end_inset
19727
19728 .
19729 \end_layout
19730
19731 \end_inset
19732
19733
19734 \newline
19735
19736 \begin_inset Note Greyedout
19737 status open
19738
19739 \begin_layout Standard
19740
19741 \series bold
19742 Note:
19743 \series default
19744  There is currently a bug in 
19745 \series bold
19746 endfloat
19747 \series default
19748  when the caption contains a German 
19749 \begin_inset Quotes eld
19750 \end_inset
19751
19752 ß
19753 \begin_inset Quotes erd
19754 \end_inset
19755
19756 .
19757  Use in this case the command 
19758 \begin_inset Quotes eld
19759 \end_inset
19760
19761
19762 \series bold
19763
19764 \backslash
19765 ss
19766 \series default
19767
19768 \begin_inset Quotes erd
19769 \end_inset
19770
19771  in TeX-Code instead of 
19772 \begin_inset Quotes eld
19773 \end_inset
19774
19775 ß
19776 \begin_inset Quotes erd
19777 \end_inset
19778
19779 .
19780 \end_layout
19781
19782 \end_inset
19783
19784
19785 \end_layout
19786
19787 \begin_layout Standard
19788 \begin_inset VSpace bigskip
19789 \end_inset
19790
19791 For more details about float placements, have a look at LaTeX books, 
19792 \begin_inset LatexCommand cite
19793 key "latexcompanion,latexguide,latexbook"
19794
19795 \end_inset
19796
19797 .
19798 \end_layout
19799
19800 \begin_layout Section
19801 Rotated Floats
19802 \begin_inset LatexCommand label
19803 name "sec:Rotated-Floats"
19804
19805 \end_inset
19806
19807
19808 \begin_inset LatexCommand index
19809 name "Floats ! Rotating"
19810
19811 \end_inset
19812
19813
19814 \end_layout
19815
19816 \begin_layout Standard
19817 Especially for wide tables you might have floats rotated.
19818  To rotate a whole float including the caption, right-click on the float-box
19819  and use the option 
19820 \family sans
19821 Rotate\InsetSpace ~
19822 sideways
19823 \family default
19824 .
19825 \end_layout
19826
19827 \begin_layout Standard
19828 Rotated floats are always placed on its own page (or column, when you have
19829  a two-column document).
19830  They are rotated so that you can read them from the outside margin.
19831  To force a certain rotation direction for all pages, you can add either
19832  the option 
19833 \series bold
19834 figuresleft
19835 \series default
19836  or 
19837 \series bold
19838 figuresright
19839 \series default
19840  to the document class options.
19841 \end_layout
19842
19843 \begin_layout Standard
19844 Referencing rotated floats is the same like for normal floats, the caption
19845  format is also the same: Table\InsetSpace ~
19846
19847 \begin_inset LatexCommand ref
19848 reference "tab:Rotated-table"
19849
19850 \end_inset
19851
19852  is an example of a rotated table float.
19853 \end_layout
19854
19855 \begin_layout Standard
19856 \begin_inset Note Greyedout
19857 status open
19858
19859 \begin_layout Standard
19860
19861 \series bold
19862 Note:
19863 \series default
19864  Not all DVI-viewers are able to display rotated floats.
19865 \end_layout
19866
19867 \end_inset
19868
19869
19870 \end_layout
19871
19872 \begin_layout Standard
19873 \begin_inset Float table
19874 wide false
19875 sideways true
19876 status open
19877
19878 \begin_layout Standard
19879 \begin_inset Caption
19880
19881 \begin_layout Standard
19882 \begin_inset LatexCommand label
19883 name "tab:Rotated-table"
19884
19885 \end_inset
19886
19887  Rotated table
19888 \end_layout
19889
19890 \end_inset
19891
19892
19893 \end_layout
19894
19895 \begin_layout Standard
19896 \align center
19897 \begin_inset Tabular
19898 <lyxtabular version="3" rows="1" columns="5">
19899 <features>
19900 <column alignment="center" valignment="top" leftline="true" width="0">
19901 <column alignment="center" valignment="top" leftline="true" width="0">
19902 <column alignment="center" valignment="top" leftline="true" width="0">
19903 <column alignment="center" valignment="top" leftline="true" width="0">
19904 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
19905 <row topline="true" bottomline="true">
19906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19907 \begin_inset Text
19908
19909 \begin_layout Standard
19910 test
19911 \end_layout
19912
19913 \end_inset
19914 </cell>
19915 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19916 \begin_inset Text
19917
19918 \begin_layout Standard
19919 b
19920 \end_layout
19921
19922 \end_inset
19923 </cell>
19924 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19925 \begin_inset Text
19926
19927 \begin_layout Standard
19928 c
19929 \end_layout
19930
19931 \end_inset
19932 </cell>
19933 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
19934 \begin_inset Text
19935
19936 \begin_layout Standard
19937 d
19938 \end_layout
19939
19940 \end_inset
19941 </cell>
19942 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
19943 \begin_inset Text
19944
19945 \begin_layout Standard
19946 e
19947 \end_layout
19948
19949 \end_inset
19950 </cell>
19951 </row>
19952 </lyxtabular>
19953
19954 \end_inset
19955
19956
19957 \end_layout
19958
19959 \end_inset
19960
19961
19962 \end_layout
19963
19964 \begin_layout Section
19965 Floats Side by Side
19966 \begin_inset LatexCommand index
19967 name "Floats ! Side by side"
19968
19969 \end_inset
19970
19971
19972 \end_layout
19973
19974 \begin_layout Standard
19975 To place floats side by side, like for Figure\InsetSpace ~
19976
19977 \begin_inset LatexCommand ref
19978 reference "fig:Float-left"
19979
19980 \end_inset
19981
19982  and 
19983 \begin_inset LatexCommand ref
19984 reference "fig:Float-right"
19985
19986 \end_inset
19987
19988 , only 
19989 \emph on
19990 one
19991 \emph default
19992  float is used.
19993  In it two minipage boxes are inserted.
19994 \begin_inset Foot
19995 status collapsed
19996
19997 \begin_layout Standard
19998 Minipages are explained in section\InsetSpace ~
19999
20000 \begin_inset LatexCommand ref
20001 reference "sec:Minipages"
20002
20003 \end_inset
20004
20005 .
20006 \end_layout
20007
20008 \end_inset
20009
20010  The width is set to 45\InsetSpace \thinspace{}
20011 -50\InsetSpace \thinspace{}
20012 column% and the box alignment to 
20013 \family sans
20014 Bottom
20015 \family default
20016  for each minipage.
20017  The minipage boxes contain the image and the caption in the same way as
20018  they are in a float.
20019  The only difference is that the image unit 
20020 \family sans
20021 Column\InsetSpace ~
20022 Width\InsetSpace ~
20023 %
20024 \family default
20025  is now calculated according to the width of the minipage boxes.
20026 \end_layout
20027
20028 \begin_layout Standard
20029 \begin_inset Float figure
20030 wide false
20031 sideways false
20032 status open
20033
20034 \begin_layout Standard
20035 \begin_inset Box Frameless
20036 position "b"
20037 hor_pos "c"
20038 has_inner_box 1
20039 inner_pos "t"
20040 use_parbox 0
20041 width "45col%"
20042 special "none"
20043 height "1in"
20044 height_special "totalheight"
20045 status open
20046
20047 \begin_layout Standard
20048 \align center
20049 \begin_inset Graphics
20050         filename clipart/mobius.eps
20051         lyxscale 50
20052         width 100col%
20053         scaleBeforeRotation
20054
20055 \end_inset
20056
20057
20058 \end_layout
20059
20060 \begin_layout Standard
20061 \begin_inset Caption
20062
20063 \begin_layout Standard
20064 \begin_inset LatexCommand label
20065 name "fig:Float-left"
20066
20067 \end_inset
20068
20069 Float on the left side.
20070 \end_layout
20071
20072 \end_inset
20073
20074
20075 \end_layout
20076
20077 \end_inset
20078
20079
20080 \hfill
20081
20082 \begin_inset Box Frameless
20083 position "b"
20084 hor_pos "c"
20085 has_inner_box 1
20086 inner_pos "t"
20087 use_parbox 0
20088 width "45col%"
20089 special "none"
20090 height "1in"
20091 height_special "totalheight"
20092 status open
20093
20094 \begin_layout Standard
20095 \align center
20096 \begin_inset Graphics
20097         filename clipart/platypus.eps
20098         lyxscale 50
20099         width 100col%
20100         scaleBeforeRotation
20101
20102 \end_inset
20103
20104
20105 \end_layout
20106
20107 \begin_layout Standard
20108 \begin_inset Caption
20109
20110 \begin_layout Standard
20111 \begin_inset LatexCommand label
20112 name "fig:Float-right"
20113
20114 \end_inset
20115
20116 Float on the right side.
20117 \end_layout
20118
20119 \end_inset
20120
20121
20122 \end_layout
20123
20124 \end_inset
20125
20126
20127 \end_layout
20128
20129 \begin_layout Standard
20130
20131 \end_layout
20132
20133 \end_inset
20134
20135
20136 \end_layout
20137
20138 \begin_layout Section
20139 Caption Formatting
20140 \begin_inset LatexCommand index
20141 name "Caption ! Formatting"
20142
20143 \end_inset
20144
20145
20146 \begin_inset LatexCommand index
20147 name "Floats ! Caption Formatting"
20148
20149 \end_inset
20150
20151
20152 \begin_inset LatexCommand index
20153 name "LaTeX-packages ! caption"
20154
20155 \end_inset
20156
20157
20158 \begin_inset LatexCommand label
20159 name "sec:Caption-Formatting"
20160
20161 \end_inset
20162
20163
20164 \end_layout
20165
20166 \begin_layout Standard
20167 The 
20168 \family sans
20169 Caption
20170 \family default
20171  environment is the default paragraph environment for 
20172 \family sans
20173 Floats
20174 \family default
20175 .
20176  On the LyX screen captions appear as label, e.\InsetSpace \thinspace{}
20177 g.\InsetSpace ~
20178
20179 \begin_inset Quotes eld
20180 \end_inset
20181
20182
20183 \family sans
20184 Figure #:
20185 \family default
20186
20187 \begin_inset Quotes erd
20188 \end_inset
20189
20190  followed by the caption text.
20191  
20192 \begin_inset Quotes eld
20193 \end_inset
20194
20195 #
20196 \begin_inset Quotes erd
20197 \end_inset
20198
20199  is the actual reference number.
20200  By default the label and the number are in the same font as the caption
20201  text and a colon follows the number to divide the label from the text.
20202  This caption format is not suitable for all document formats.
20203  
20204 \end_layout
20205
20206 \begin_layout Standard
20207 To change the default caption format, load the LaTeX-package 
20208 \series bold
20209 caption
20210 \series default
20211
20212 \begin_inset LatexCommand index
20213 name "LaTeX-packages ! caption"
20214
20215 \end_inset
20216
20217  in the document preamble with this line:
20218 \end_layout
20219
20220 \begin_layout Standard
20221
20222 \series bold
20223
20224 \backslash
20225 usepackage[format definition]{caption}
20226 \end_layout
20227
20228 \begin_layout Standard
20229 To have for example the label and the number in sans-serif bold font and
20230  the table captions always above the table like in this document, use the
20231  following command:
20232 \end_layout
20233
20234 \begin_layout Standard
20235
20236 \series bold
20237
20238 \backslash
20239 usepackage[labelfont={bf,sf}, tableposition=top]{caption}
20240 \end_layout
20241
20242 \begin_layout Standard
20243 You can also define different caption formats for the different float types.
20244  In this case load the 
20245 \series bold
20246 caption
20247 \series default
20248  package without format specific options and define the different formats
20249  with the help of the command
20250 \end_layout
20251
20252 \begin_layout Standard
20253
20254 \series bold
20255
20256 \backslash
20257 captionsetup[float type]{format definition}
20258 \end_layout
20259
20260 \begin_layout Standard
20261 in the document preamble.
20262  For example the caption formats of Figure\InsetSpace ~
20263
20264 \begin_inset LatexCommand ref
20265 reference "fig:This-is-an-fig"
20266
20267 \end_inset
20268
20269  and Table\InsetSpace ~
20270
20271 \begin_inset LatexCommand ref
20272 reference "tab:This-is-an-tab"
20273
20274 \end_inset
20275
20276  can be created using these commands in the document preamble:
20277 \end_layout
20278
20279 \begin_layout Standard
20280
20281 \series bold
20282
20283 \backslash
20284 usepackage[tableposition=top]{caption}
20285 \series default
20286
20287 \newline
20288
20289 \series bold
20290
20291 \backslash
20292 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm,%
20293 \newline
20294
20295 \begin_inset ERT
20296 status collapsed
20297
20298 \begin_layout Standard
20299
20300
20301 \backslash
20302 hphantom{
20303 \backslash
20304
20305 \backslash
20306 captionsetup[figure]
20307 \backslash
20308 {}
20309 \end_layout
20310
20311 \end_inset
20312
20313  labelsep=period}
20314 \newline
20315
20316 \backslash
20317 captionsetup[table]{labelfont={bf,sf}}
20318 \end_layout
20319
20320 \begin_layout Standard
20321 \begin_inset Note Greyedout
20322 status open
20323
20324 \begin_layout Standard
20325
20326 \series bold
20327 Note:
20328 \series default
20329  The option 
20330 \series bold
20331 tableposition=top
20332 \series default
20333  has no effect when a 
20334 \series bold
20335 koma-script
20336 \series default
20337
20338 \begin_inset LatexCommand index
20339 name "LaTeX-packages ! koma-script"
20340
20341 \end_inset
20342
20343  document class is used.
20344  In this case the document class option 
20345 \series bold
20346 tablecaptionabove
20347 \series default
20348  must be used.
20349 \end_layout
20350
20351 \end_inset
20352
20353
20354 \end_layout
20355
20356 \begin_layout Standard
20357 For more information about the package 
20358 \series bold
20359 caption
20360 \series default
20361  we refer to its documentation 
20362 \begin_inset LatexCommand cite
20363 key "caption,caption-de"
20364
20365 \end_inset
20366
20367 .
20368 \end_layout
20369
20370 \begin_layout Standard
20371 To change the label name from e.g.
20372  
20373 \begin_inset Quotes eld
20374 \end_inset
20375
20376 Figure
20377 \begin_inset Quotes erd
20378 \end_inset
20379
20380  to 
20381 \begin_inset Quotes eld
20382 \end_inset
20383
20384 Image
20385 \begin_inset Quotes erd
20386 \end_inset
20387
20388  use this preamble command:
20389 \end_layout
20390
20391 \begin_layout Standard
20392
20393 \series bold
20394
20395 \backslash
20396 renewcommand{
20397 \backslash
20398 fnum@figure}{Image~
20399 \backslash
20400 thefigure}
20401 \end_layout
20402
20403 \begin_layout Standard
20404 where 
20405 \series bold
20406
20407 \backslash
20408 thefigure
20409 \series default
20410  inserts the figure number and
20411 \series bold
20412  
20413 \begin_inset Quotes eld
20414 \end_inset
20415
20416 ~
20417 \series default
20418
20419 \begin_inset Quotes erd
20420 \end_inset
20421
20422  creates a protected space.
20423 \end_layout
20424
20425 \begin_layout Standard
20426 \begin_inset VSpace bigskip
20427 \end_inset
20428
20429 If you are using a 
20430 \series bold
20431 koma-script
20432 \series default
20433
20434 \begin_inset LatexCommand index
20435 name "LaTeX-packages ! koma-script"
20436
20437 \end_inset
20438
20439  document class (
20440 \family sans
20441 article (koma-script)
20442 \family default
20443
20444 \family sans
20445 book (koma-script)
20446 \family default
20447
20448 \family sans
20449 letter (koma-script)
20450 \family default
20451 , or 
20452 \family sans
20453 report (koma-script)
20454 \family default
20455 \InsetSpace \thinspace{}
20456 ), you can alternatively to the 
20457 \series bold
20458 caption
20459 \series default
20460  package use 
20461 \series bold
20462 koma-script
20463 \series default
20464 's built-in command 
20465 \series bold
20466
20467 \backslash
20468 setkomafont
20469 \series default
20470 .
20471  For example, to have the caption label in bold, add this command to your
20472  document preamble:
20473 \end_layout
20474
20475 \begin_layout Standard
20476
20477 \series bold
20478
20479 \backslash
20480 setkomafont{captionlabel}{
20481 \backslash
20482 bfseries}
20483 \end_layout
20484
20485 \begin_layout Standard
20486 For more information about 
20487 \series bold
20488
20489 \backslash
20490 setkomafont
20491 \series default
20492  we refer to the 
20493 \series bold
20494 koma-script
20495 \series default
20496  documentation 
20497 \begin_inset LatexCommand cite
20498 key "koma-script"
20499
20500 \end_inset
20501
20502 .
20503 \end_layout
20504
20505 \begin_layout Standard
20506 \begin_inset ERT
20507 status collapsed
20508
20509 \begin_layout Standard
20510
20511
20512 \backslash
20513 captionsetup[figure]{labelfont={tt}, textfont=it, indention=1cm, labelsep=period
20514 }
20515 \end_layout
20516
20517 \end_inset
20518
20519
20520 \begin_inset Note Note
20521 status open
20522
20523 \begin_layout Standard
20524 The caption format is changed only for this example.
20525 \end_layout
20526
20527 \end_inset
20528
20529
20530 \end_layout
20531
20532 \begin_layout Standard
20533 \begin_inset Float figure
20534 placement !p
20535 wide false
20536 sideways false
20537 status open
20538
20539 \begin_layout Standard
20540 \align center
20541 \begin_inset Graphics
20542         filename clipart/mobius.eps
20543         lyxscale 50
20544         scale 50
20545         scaleBeforeRotation
20546
20547 \end_inset
20548
20549
20550 \end_layout
20551
20552 \begin_layout Standard
20553 \begin_inset Caption
20554
20555 \begin_layout Standard
20556 \begin_inset LatexCommand label
20557 name "fig:This-is-an-fig"
20558
20559 \end_inset
20560
20561 This is an example figure caption that is longer than one line to show the
20562  different caption format.
20563  Here a self-defined caption format is used.
20564 \end_layout
20565
20566 \end_inset
20567
20568
20569 \end_layout
20570
20571 \end_inset
20572
20573
20574 \end_layout
20575
20576 \begin_layout Standard
20577 \begin_inset ERT
20578 status collapsed
20579
20580 \begin_layout Standard
20581
20582
20583 \backslash
20584 captionsetup[figure]{labelfont={bf,sf}, textfont=rm, indention=0cm, labelsep=col
20585 on}
20586 \end_layout
20587
20588 \end_inset
20589
20590
20591 \end_layout
20592
20593 \begin_layout Standard
20594 \begin_inset Float table
20595 placement !p
20596 wide false
20597 sideways false
20598 status open
20599
20600 \begin_layout Standard
20601 \begin_inset Caption
20602
20603 \begin_layout Standard
20604 \begin_inset LatexCommand label
20605 name "tab:This-is-an-tab"
20606
20607 \end_inset
20608
20609 This is an example table caption that is longer than one line to show the
20610  different caption format.
20611  Here the standard caption format for tables in this document is used.
20612 \end_layout
20613
20614 \end_inset
20615
20616
20617 \end_layout
20618
20619 \begin_layout Standard
20620 \align center
20621 \begin_inset Tabular
20622 <lyxtabular version="3" rows="1" columns="5">
20623 <features>
20624 <column alignment="center" valignment="top" leftline="true" width="0">
20625 <column alignment="center" valignment="top" leftline="true" width="0">
20626 <column alignment="center" valignment="top" leftline="true" width="0">
20627 <column alignment="center" valignment="top" leftline="true" width="0">
20628 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
20629 <row topline="true" bottomline="true">
20630 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20631 \begin_inset Text
20632
20633 \begin_layout Standard
20634 a
20635 \end_layout
20636
20637 \end_inset
20638 </cell>
20639 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20640 \begin_inset Text
20641
20642 \begin_layout Standard
20643 b
20644 \end_layout
20645
20646 \end_inset
20647 </cell>
20648 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20649 \begin_inset Text
20650
20651 \begin_layout Standard
20652 c
20653 \end_layout
20654
20655 \end_inset
20656 </cell>
20657 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
20658 \begin_inset Text
20659
20660 \begin_layout Standard
20661 d
20662 \end_layout
20663
20664 \end_inset
20665 </cell>
20666 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
20667 \begin_inset Text
20668
20669 \begin_layout Standard
20670 e
20671 \end_layout
20672
20673 \end_inset
20674 </cell>
20675 </row>
20676 </lyxtabular>
20677
20678 \end_inset
20679
20680
20681 \end_layout
20682
20683 \end_inset
20684
20685
20686 \end_layout
20687
20688 \begin_layout Section
20689 Caption Placement
20690 \begin_inset LatexCommand index
20691 name "Caption ! Placement"
20692
20693 \end_inset
20694
20695
20696 \begin_inset LatexCommand index
20697 name "Floats ! Caption Placement"
20698
20699 \end_inset
20700
20701
20702 \begin_inset LatexCommand label
20703 name "sec:Caption-Placement"
20704
20705 \end_inset
20706
20707
20708 \end_layout
20709
20710 \begin_layout Standard
20711 The common caption placement rule is:
20712 \end_layout
20713
20714 \begin_layout Description
20715 Figure: Caption is set below the figure
20716 \end_layout
20717
20718 \begin_layout Description
20719 Table: Caption is set above the table
20720 \end_layout
20721
20722 \begin_layout Standard
20723 Having the caption above the table is unfortunately not supported in LaTeX's
20724  standard classes.
20725  That means if you are using the document classes 
20726 \family sans
20727 article
20728 \family default
20729
20730 \family sans
20731 book
20732 \family default
20733
20734 \family sans
20735 letter
20736 \family default
20737 , or 
20738 \family sans
20739 report
20740 \family default
20741  there will be no space between the caption and the table.
20742  To insert the needed space, add the following option to the load command
20743  of the LaTeX-package 
20744 \series bold
20745 caption
20746 \series default
20747  in your document preamble
20748 \begin_inset Foot
20749 status collapsed
20750
20751 \begin_layout Standard
20752 See section\InsetSpace ~
20753
20754 \begin_inset LatexCommand ref
20755 reference "sec:Caption-Formatting"
20756
20757 \end_inset
20758
20759  for more information of the package 
20760 \series bold
20761 caption
20762 \series default
20763 .
20764 \end_layout
20765
20766 \end_inset
20767
20768 :
20769 \end_layout
20770
20771 \begin_layout Standard
20772
20773 \series bold
20774 tableposition=top
20775 \end_layout
20776
20777 \begin_layout Standard
20778 If you are using a 
20779 \series bold
20780 koma-script
20781 \series default
20782
20783 \begin_inset LatexCommand index
20784 name "LaTeX-packages ! koma-script"
20785
20786 \end_inset
20787
20788  document class (
20789 \family sans
20790 article (koma-script)
20791 \family default
20792
20793 \family sans
20794 book (koma-script)
20795 \family default
20796
20797 \family sans
20798 letter (koma-script)
20799 \family default
20800 , or 
20801 \family sans
20802 report (koma-script)
20803 \family default
20804 \InsetSpace \thinspace{}
20805 ), you can alternatively to the 
20806 \series bold
20807 caption
20808 \series default
20809  package set the document class option 
20810 \series bold
20811 tablecaptionabove
20812 \series default
20813 .
20814 \end_layout
20815
20816 \begin_layout Standard
20817 \begin_inset VSpace bigskip
20818 \end_inset
20819
20820 It is also possible to set the caption beside a figure or table.
20821  To get this the LaTeX-package 
20822 \series bold
20823 sidecap
20824 \series default
20825
20826 \begin_inset LatexCommand index
20827 name "LaTeX-packages ! sidecap"
20828
20829 \end_inset
20830
20831  has to be loaded in the document preamble with the line
20832 \end_layout
20833
20834 \begin_layout Standard
20835
20836 \series bold
20837
20838 \backslash
20839 usepackage[option]{sidecap}
20840 \end_layout
20841
20842 \begin_layout Standard
20843 If you set no option, the caption is placed on the side of the outer page
20844  margin -- to the right on odd pages, to the left on even pages.
20845  You can change the placement to inner margin with the option 
20846 \series bold
20847 innercaption
20848 \series default
20849 .
20850  To force the placement always to the right or left, use the option 
20851 \series bold
20852 rightcaption
20853 \series default
20854  or 
20855 \series bold
20856 leftcaption
20857 \series default
20858 , respectively.
20859 \end_layout
20860
20861 \begin_layout Standard
20862 \begin_inset ERT
20863 status collapsed
20864
20865 \begin_layout Standard
20866
20867
20868 \backslash
20869 ifsidecap
20870 \end_layout
20871
20872 \end_inset
20873
20874
20875 \begin_inset Note Note
20876 status open
20877
20878 \begin_layout Standard
20879 The following section will only be displayed when the LaTeX-package 
20880 \series bold
20881 sidecap
20882 \series default
20883  is installed.
20884 \end_layout
20885
20886 \end_inset
20887
20888
20889 \end_layout
20890
20891 \begin_layout Standard
20892 To place in LyX the caption of a float on the side, it is necessary to add
20893  these commands to the document preamble:
20894 \end_layout
20895
20896 \begin_layout Standard
20897
20898 \lyxline
20899
20900 \end_layout
20901
20902 \begin_layout Standard
20903
20904 \series bold
20905
20906 \backslash
20907 newcommand{
20908 \backslash
20909 TabBesBeg}{%
20910 \newline
20911
20912 \begin_inset ERT
20913 status collapsed
20914
20915 \begin_layout Standard
20916
20917
20918 \backslash
20919 hphantom{ }
20920 \end_layout
20921
20922 \end_inset
20923
20924
20925 \backslash
20926 let
20927 \backslash
20928 MyTable
20929 \backslash
20930 table
20931 \newline
20932
20933 \begin_inset ERT
20934 status collapsed
20935
20936 \begin_layout Standard
20937
20938
20939 \backslash
20940 hphantom{ }
20941 \end_layout
20942
20943 \end_inset
20944
20945
20946 \backslash
20947 let
20948 \backslash
20949 MyEndtable
20950 \backslash
20951 endtable
20952 \newline
20953
20954 \begin_inset ERT
20955 status collapsed
20956
20957 \begin_layout Standard
20958
20959
20960 \backslash
20961 hphantom{ }
20962 \end_layout
20963
20964 \end_inset
20965
20966
20967 \backslash
20968 renewenvironment{table}{
20969 \backslash
20970 begin{SCtable}}{
20971 \backslash
20972 end{SCtable}}}
20973 \end_layout
20974
20975 \begin_layout Standard
20976
20977 \series bold
20978
20979 \backslash
20980 newcommand{
20981 \backslash
20982 TabBesEnd}{%
20983 \newline
20984
20985 \begin_inset ERT
20986 status collapsed
20987
20988 \begin_layout Standard
20989
20990
20991 \backslash
20992 hphantom{ }
20993 \end_layout
20994
20995 \end_inset
20996
20997
20998 \backslash
20999 let
21000 \backslash
21001 table
21002 \backslash
21003 MyTable
21004 \newline
21005
21006 \begin_inset ERT
21007 status collapsed
21008
21009 \begin_layout Standard
21010
21011
21012 \backslash
21013 hphantom{ }
21014 \end_layout
21015
21016 \end_inset
21017
21018
21019 \backslash
21020 let
21021 \backslash
21022 endtable
21023 \backslash
21024 MyEndtable
21025 \end_layout
21026
21027 \begin_layout Standard
21028
21029 \series bold
21030
21031 \backslash
21032 newcommand{
21033 \backslash
21034 FigBesBeg}{%
21035 \newline
21036
21037 \begin_inset ERT
21038 status collapsed
21039
21040 \begin_layout Standard
21041
21042
21043 \backslash
21044 hphantom{ }
21045 \end_layout
21046
21047 \end_inset
21048
21049
21050 \backslash
21051 let
21052 \backslash
21053 MyFigure
21054 \backslash
21055 figure
21056 \newline
21057
21058 \begin_inset ERT
21059 status collapsed
21060
21061 \begin_layout Standard
21062
21063
21064 \backslash
21065 hphantom{ }
21066 \end_layout
21067
21068 \end_inset
21069
21070
21071 \backslash
21072 let
21073 \backslash
21074 MyEndfigure
21075 \backslash
21076 endfigure
21077 \newline
21078
21079 \begin_inset ERT
21080 status collapsed
21081
21082 \begin_layout Standard
21083
21084
21085 \backslash
21086 hphantom{ }
21087 \end_layout
21088
21089 \end_inset
21090
21091
21092 \backslash
21093 renewenvironment{figure}{
21094 \backslash
21095 begin{SCfigure}}{
21096 \backslash
21097 end{SCfigure}}}
21098 \end_layout
21099
21100 \begin_layout Standard
21101
21102 \series bold
21103
21104 \backslash
21105 newcommand{
21106 \backslash
21107 FigBesEnd}{%
21108 \newline
21109
21110 \begin_inset ERT
21111 status collapsed
21112
21113 \begin_layout Standard
21114
21115
21116 \backslash
21117 hphantom{ }
21118 \end_layout
21119
21120 \end_inset
21121
21122
21123 \backslash
21124 let
21125 \backslash
21126 figure
21127 \backslash
21128 MyFigure
21129 \newline
21130
21131 \begin_inset ERT
21132 status collapsed
21133
21134 \begin_layout Standard
21135
21136
21137 \backslash
21138 hphantom{ }
21139 \end_layout
21140
21141 \end_inset
21142
21143
21144 \backslash
21145 let
21146 \backslash
21147 endfigure
21148 \backslash
21149 MyEndfigure}
21150 \end_layout
21151
21152 \begin_layout Standard
21153
21154 \lyxline
21155
21156 \end_layout
21157
21158 \begin_layout Standard
21159 The commands allow you to redefine the floats so that the caption is set
21160  on the side.
21161  For figure floats use the command
21162 \end_layout
21163
21164 \begin_layout Standard
21165
21166 \series bold
21167
21168 \backslash
21169 FigBesBeg
21170 \end_layout
21171
21172 \begin_layout Standard
21173 in TeX-Code before the float.
21174  Behind the float insert the command
21175 \end_layout
21176
21177 \begin_layout Standard
21178
21179 \series bold
21180
21181 \backslash
21182 FigBesEnd
21183 \end_layout
21184
21185 \begin_layout Standard
21186 in TeX-Code to get back to the original float definition.
21187 \end_layout
21188
21189 \begin_layout Standard
21190 For table floats use the corresponding commands
21191 \end_layout
21192
21193 \begin_layout Standard
21194
21195 \series bold
21196
21197 \backslash
21198 TabBesBeg
21199 \series default
21200  and 
21201 \series bold
21202
21203 \backslash
21204 TabBesEnd
21205 \end_layout
21206
21207 \begin_layout Standard
21208 Figure\InsetSpace ~
21209
21210 \begin_inset LatexCommand ref
21211 reference "fig:cap-beside-fig"
21212
21213 \end_inset
21214
21215  and Table\InsetSpace ~
21216
21217 \begin_inset LatexCommand ref
21218 reference "tab:cap-beside-tab"
21219
21220 \end_inset
21221
21222  are examples where the caption is set beside.
21223 \end_layout
21224
21225 \begin_layout Standard
21226 You can see in the examples that the caption text appears at the top of
21227  the floats for table floats and at the bottom for figure floats.
21228  To change this, you can use the command
21229 \end_layout
21230
21231 \begin_layout Standard
21232
21233 \series bold
21234
21235 \backslash
21236 sidecaptionvpos{float type}{placement}
21237 \end_layout
21238
21239 \begin_layout Standard
21240 in the document preamble or in TeX-Code before the float.
21241  The float type is either 
21242 \family sans
21243 figure
21244 \family default
21245  or 
21246 \family sans
21247 table
21248 \family default
21249 , the placement can be 
21250 \begin_inset Quotes eld
21251 \end_inset
21252
21253
21254 \family sans
21255 t
21256 \family default
21257
21258 \begin_inset Quotes erd
21259 \end_inset
21260
21261  for top, 
21262 \begin_inset Quotes eld
21263 \end_inset
21264
21265
21266 \family sans
21267 c
21268 \family default
21269
21270 \begin_inset Quotes erd
21271 \end_inset
21272
21273  for center, or 
21274 \begin_inset Quotes eld
21275 \end_inset
21276
21277
21278 \family sans
21279 b
21280 \family default
21281
21282 \begin_inset Quotes erd
21283 \end_inset
21284
21285  for bottom.
21286  To have for example the caption of figure floats vertically centered, use
21287  the command
21288 \end_layout
21289
21290 \begin_layout Standard
21291
21292 \series bold
21293
21294 \backslash
21295 sidecaptionvpos{figure}{c}
21296 \end_layout
21297
21298 \begin_layout Standard
21299 This was used for Figure\InsetSpace ~
21300
21301 \begin_inset LatexCommand ref
21302 reference "fig:cap-beside-fig-2"
21303
21304 \end_inset
21305
21306 .
21307 \end_layout
21308
21309 \begin_layout Standard
21310 \begin_inset VSpace medskip
21311 \end_inset
21312
21313 For more information about the package 
21314 \series bold
21315 sidecap
21316 \series default
21317  we refer to its documentation 
21318 \begin_inset LatexCommand cite
21319 key "sidecap"
21320
21321 \end_inset
21322
21323 .
21324 \end_layout
21325
21326 \begin_layout Standard
21327 \begin_inset Note Greyedout
21328 status open
21329
21330 \begin_layout Standard
21331
21332 \series bold
21333 Note:
21334 \series default
21335  The LaTeX-package 
21336 \series bold
21337 hypcap
21338 \series default
21339
21340 \begin_inset LatexCommand index
21341 name "LaTeX-packages ! hypcap"
21342
21343 \end_inset
21344
21345 , described in section\InsetSpace ~
21346
21347 \begin_inset LatexCommand ref
21348 reference "sub:Reference-Position"
21349
21350 \end_inset
21351
21352 , has no effect on floats with the caption set beside.
21353 \end_layout
21354
21355 \end_inset
21356
21357
21358 \end_layout
21359
21360 \begin_layout Standard
21361 \begin_inset ERT
21362 status collapsed
21363
21364 \begin_layout Standard
21365
21366
21367 \backslash
21368 FigBesBeg 
21369 \end_layout
21370
21371 \end_inset
21372
21373
21374 \end_layout
21375
21376 \begin_layout Standard
21377 \begin_inset Float figure
21378 wide false
21379 sideways false
21380 status open
21381
21382 \begin_layout Standard
21383 \begin_inset Graphics
21384         filename clipart/escher-lsd.eps
21385         scale 75
21386         scaleBeforeRotation
21387
21388 \end_inset
21389
21390
21391 \end_layout
21392
21393 \begin_layout Standard
21394 \begin_inset Caption
21395
21396 \begin_layout Standard
21397 \begin_inset LatexCommand label
21398 name "fig:cap-beside-fig"
21399
21400 \end_inset
21401
21402 This is a caption beside a figure.
21403 \end_layout
21404
21405 \end_inset
21406
21407
21408 \end_layout
21409
21410 \end_inset
21411
21412
21413 \end_layout
21414
21415 \begin_layout Standard
21416 \begin_inset ERT
21417 status collapsed
21418
21419 \begin_layout Standard
21420
21421
21422 \backslash
21423 TabBesBeg 
21424 \end_layout
21425
21426 \end_inset
21427
21428
21429 \end_layout
21430
21431 \begin_layout Standard
21432 \begin_inset Float table
21433 wide false
21434 sideways false
21435 status open
21436
21437 \begin_layout Standard
21438 \begin_inset Caption
21439
21440 \begin_layout Standard
21441 \begin_inset LatexCommand label
21442 name "tab:cap-beside-tab"
21443
21444 \end_inset
21445
21446 This is a caption beside a table.
21447 \end_layout
21448
21449 \end_inset
21450
21451
21452 \end_layout
21453
21454 \begin_layout Standard
21455 \begin_inset Tabular
21456 <lyxtabular version="3" rows="4" columns="5">
21457 <features>
21458 <column alignment="center" valignment="top" leftline="true" width="0">
21459 <column alignment="center" valignment="top" leftline="true" width="0">
21460 <column alignment="center" valignment="top" leftline="true" width="0">
21461 <column alignment="center" valignment="top" leftline="true" width="0">
21462 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
21463 <row topline="true">
21464 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21465 \begin_inset Text
21466
21467 \begin_layout Standard
21468 a
21469 \end_layout
21470
21471 \end_inset
21472 </cell>
21473 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21474 \begin_inset Text
21475
21476 \begin_layout Standard
21477
21478 \end_layout
21479
21480 \end_inset
21481 </cell>
21482 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21483 \begin_inset Text
21484
21485 \begin_layout Standard
21486 b
21487 \end_layout
21488
21489 \end_inset
21490 </cell>
21491 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21492 \begin_inset Text
21493
21494 \begin_layout Standard
21495
21496 \end_layout
21497
21498 \end_inset
21499 </cell>
21500 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21501 \begin_inset Text
21502
21503 \begin_layout Standard
21504 c
21505 \end_layout
21506
21507 \end_inset
21508 </cell>
21509 </row>
21510 <row topline="true">
21511 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21512 \begin_inset Text
21513
21514 \begin_layout Standard
21515
21516 \end_layout
21517
21518 \end_inset
21519 </cell>
21520 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21521 \begin_inset Text
21522
21523 \begin_layout Standard
21524 d
21525 \end_layout
21526
21527 \end_inset
21528 </cell>
21529 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21530 \begin_inset Text
21531
21532 \begin_layout Standard
21533
21534 \end_layout
21535
21536 \end_inset
21537 </cell>
21538 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21539 \begin_inset Text
21540
21541 \begin_layout Standard
21542 e
21543 \end_layout
21544
21545 \end_inset
21546 </cell>
21547 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21548 \begin_inset Text
21549
21550 \begin_layout Standard
21551
21552 \end_layout
21553
21554 \end_inset
21555 </cell>
21556 </row>
21557 <row topline="true">
21558 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21559 \begin_inset Text
21560
21561 \begin_layout Standard
21562 f
21563 \end_layout
21564
21565 \end_inset
21566 </cell>
21567 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21568 \begin_inset Text
21569
21570 \begin_layout Standard
21571
21572 \end_layout
21573
21574 \end_inset
21575 </cell>
21576 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21577 \begin_inset Text
21578
21579 \begin_layout Standard
21580 g
21581 \end_layout
21582
21583 \end_inset
21584 </cell>
21585 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21586 \begin_inset Text
21587
21588 \begin_layout Standard
21589
21590 \end_layout
21591
21592 \end_inset
21593 </cell>
21594 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
21595 \begin_inset Text
21596
21597 \begin_layout Standard
21598 h
21599 \end_layout
21600
21601 \end_inset
21602 </cell>
21603 </row>
21604 <row topline="true" bottomline="true">
21605 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21606 \begin_inset Text
21607
21608 \begin_layout Standard
21609
21610 \end_layout
21611
21612 \end_inset
21613 </cell>
21614 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21615 \begin_inset Text
21616
21617 \begin_layout Standard
21618 i
21619 \end_layout
21620
21621 \end_inset
21622 </cell>
21623 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21624 \begin_inset Text
21625
21626 \begin_layout Standard
21627
21628 \end_layout
21629
21630 \end_inset
21631 </cell>
21632 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21633 \begin_inset Text
21634
21635 \begin_layout Standard
21636 j
21637 \end_layout
21638
21639 \end_inset
21640 </cell>
21641 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
21642 \begin_inset Text
21643
21644 \begin_layout Standard
21645
21646 \end_layout
21647
21648 \end_inset
21649 </cell>
21650 </row>
21651 </lyxtabular>
21652
21653 \end_inset
21654
21655
21656 \end_layout
21657
21658 \end_inset
21659
21660
21661 \end_layout
21662
21663 \begin_layout Standard
21664 \begin_inset ERT
21665 status collapsed
21666
21667 \begin_layout Standard
21668
21669
21670 \backslash
21671 TabBesEnd
21672 \end_layout
21673
21674 \end_inset
21675
21676
21677 \end_layout
21678
21679 \begin_layout Standard
21680 \begin_inset ERT
21681 status collapsed
21682
21683 \begin_layout Standard
21684
21685
21686 \backslash
21687 sidecaptionvpos{figure}{c}
21688 \end_layout
21689
21690 \end_inset
21691
21692
21693 \begin_inset Float figure
21694 wide false
21695 sideways false
21696 status open
21697
21698 \begin_layout Standard
21699 \begin_inset Graphics
21700         filename clipart/escher-lsd.eps
21701         scale 75
21702         scaleBeforeRotation
21703
21704 \end_inset
21705
21706
21707 \end_layout
21708
21709 \begin_layout Standard
21710 \begin_inset Caption
21711
21712 \begin_layout Standard
21713 \begin_inset LatexCommand label
21714 name "fig:cap-beside-fig-2"
21715
21716 \end_inset
21717
21718 This is a vertically centered caption beside a figure.
21719 \end_layout
21720
21721 \end_inset
21722
21723
21724 \end_layout
21725
21726 \end_inset
21727
21728
21729 \end_layout
21730
21731 \begin_layout Standard
21732 \begin_inset ERT
21733 status collapsed
21734
21735 \begin_layout Standard
21736
21737
21738 \backslash
21739 FigBesEnd
21740 \end_layout
21741
21742 \end_inset
21743
21744
21745 \end_layout
21746
21747 \begin_layout Standard
21748 \begin_inset ERT
21749 status collapsed
21750
21751 \begin_layout Standard
21752
21753
21754 \backslash
21755 else
21756 \end_layout
21757
21758 \end_inset
21759
21760
21761 \begin_inset Note Note
21762 status open
21763
21764 \begin_layout Standard
21765 The following will be displayed when the LaTeX-package 
21766 \series bold
21767 sidecap
21768 \series default
21769  is not installed:
21770 \end_layout
21771
21772 \end_inset
21773
21774
21775 \end_layout
21776
21777 \begin_layout Standard
21778 You need to install the LaTeX-package 
21779 \series bold
21780 sidecap
21781 \series default
21782  to see the following part of this section in the output.
21783 \end_layout
21784
21785 \begin_layout Standard
21786 \begin_inset ERT
21787 status collapsed
21788
21789 \begin_layout Standard
21790
21791
21792 \backslash
21793 fi
21794 \end_layout
21795
21796 \end_inset
21797
21798
21799 \end_layout
21800
21801 \begin_layout Section
21802 Listings of Floats
21803 \begin_inset LatexCommand label
21804 name "sec:Listings-of-Floats"
21805
21806 \end_inset
21807
21808
21809 \begin_inset LatexCommand index
21810 name "Floats ! Float Lists"
21811
21812 \end_inset
21813
21814
21815 \end_layout
21816
21817 \begin_layout Standard
21818 Similar to the the table of contents where the sections of the document
21819  are listed, there are listings for all float types, like the figures of
21820  the documents.
21821  You can insert them via the 
21822 \family sans
21823 Insert\SpecialChar \menuseparator
21824 List\InsetSpace ~
21825 /\InsetSpace ~
21826 TOC
21827 \family default
21828  sub menus.
21829 \end_layout
21830
21831 \begin_layout Standard
21832 The list entries are the float captions or its short title, the float number,
21833  and the page number where they appear in the document.
21834 \end_layout
21835
21836 \begin_layout Standard
21837 You can find the list of figures and tables at the end of this document.
21838 \end_layout
21839
21840 \begin_layout Chapter
21841 Notes
21842 \end_layout
21843
21844 \begin_layout Section
21845 LyX Notes
21846 \begin_inset LatexCommand label
21847 name "sec:LyX-Notes"
21848
21849 \end_inset
21850
21851
21852 \begin_inset LatexCommand index
21853 name "Notes ! LyX Notes"
21854
21855 \end_inset
21856
21857
21858 \end_layout
21859
21860 \begin_layout Standard
21861 Notes are inserted with the toolbar button 
21862 \begin_inset Graphics
21863         filename ../images/note-insert.png
21864         scale 85
21865         scaleBeforeRotation
21866
21867 \end_inset
21868
21869  or the menu 
21870 \family sans
21871 Insert\SpecialChar \menuseparator
21872 Note
21873 \family default
21874 .
21875  There are five types of notes:
21876 \end_layout
21877
21878 \begin_layout Description
21879 LyX\InsetSpace ~
21880 Note This note type is for internal notes that won't appear in the output.
21881  Its note-box looks like this:
21882 \newline
21883
21884 \newline
21885
21886 \begin_inset Graphics
21887         filename clipart/LyXNoteImageQt4.png
21888         display none
21889         scale 85
21890         scaleBeforeRotation
21891
21892 \end_inset
21893
21894  
21895 \begin_inset Note Note
21896 status open
21897
21898 \begin_layout Standard
21899 This is text in a note box that doesn't appear in the output.
21900 \end_layout
21901
21902 \end_inset
21903
21904
21905 \end_layout
21906
21907 \begin_layout Description
21908 Comment This note also doesn't appear in the output but it appears as LaTeX-comm
21909 ent, when you export the document to LaTeX via the menu 
21910 \family sans
21911 File\SpecialChar \menuseparator
21912 Export\SpecialChar \menuseparator
21913 LaTeX (pdflatex) / (plain)
21914 \family default
21915 .
21916  Its note-box looks like this:
21917 \newline
21918
21919 \newline
21920
21921 \begin_inset Graphics
21922         filename clipart/CommentNoteImageQt4.png
21923         display none
21924         scale 85
21925         scaleBeforeRotation
21926
21927 \end_inset
21928
21929  
21930 \begin_inset Note Comment
21931 status open
21932
21933 \begin_layout Standard
21934 This is text in a note box that only appears as comment in LaTeX-files.
21935 \end_layout
21936
21937 \end_inset
21938
21939
21940 \end_layout
21941
21942 \begin_layout Description
21943 Greyed\InsetSpace ~
21944 Out This note will appear in the output as grey text.
21945  Its note-box looks like this:
21946 \newline
21947
21948 \newline
21949
21950 \begin_inset Graphics
21951         filename clipart/GreyedOutNoteImageQt4.png
21952         display none
21953         scale 85
21954         scaleBeforeRotation
21955
21956 \end_inset
21957
21958
21959 \newline
21960
21961 \begin_inset ERT
21962 status collapsed
21963
21964 \begin_layout Standard
21965
21966
21967 \backslash
21968 renewenvironment{lyxgreyedout}
21969 \end_layout
21970
21971 \begin_layout Standard
21972
21973 {
21974 \backslash
21975 textcolor[gray]{0.8}
21976 \backslash
21977 bgroup}{
21978 \backslash
21979 egroup}
21980 \end_layout
21981
21982 \end_inset
21983
21984
21985 \begin_inset Note Greyedout
21986 status open
21987
21988 \begin_layout Standard
21989 This is text
21990 \begin_inset Foot
21991 status open
21992
21993 \begin_layout Standard
21994 This is an example footnote within a greyed out note.
21995 \end_layout
21996
21997 \end_inset
21998
21999  of a comment that appears in the output as grey text.
22000 \end_layout
22001
22002 \end_inset
22003
22004
22005 \begin_inset ERT
22006 status collapsed
22007
22008 \begin_layout Standard
22009
22010
22011 \backslash
22012 renewenvironment{lyxgreyedout}
22013 \end_layout
22014
22015 \begin_layout Standard
22016
22017 {
22018 \backslash
22019 textcolor{blue}
22020 \backslash
22021 bgroup}{
22022 \backslash
22023 egroup}
22024 \end_layout
22025
22026 \end_inset
22027
22028
22029 \begin_inset Note Note
22030 status collapsed
22031
22032 \begin_layout Standard
22033 The greyed out note is here redefined to show it with the original LyX definitio
22034 n because greyed out notes are redefined in the preamble of this document,
22035  as described below, to have blue text.
22036 \end_layout
22037
22038 \end_inset
22039
22040
22041 \newline
22042
22043 \newline
22044 As you can see in the example, the first line of greyed out notes is a bit
22045  indented and greyed out notes can have footnotes.
22046 \end_layout
22047
22048 \begin_layout Description
22049 Framed This note will appear in the output as framed text.
22050  Its note-box looks like this:
22051 \newline
22052
22053 \newline
22054
22055 \begin_inset Graphics
22056         filename clipart/FramedNoteImageQt4.png
22057         display none
22058         scale 85
22059         scaleBeforeRotation
22060
22061 \end_inset
22062
22063  
22064 \begin_inset Note Framed
22065 status open
22066
22067 \begin_layout Standard
22068 This is text in a note box that appears framed in the output.
22069 \end_layout
22070
22071 \end_inset
22072
22073  In contrary to framed boxes
22074 \begin_inset Foot
22075 status collapsed
22076
22077 \begin_layout Standard
22078 Framed boxes are described in section\InsetSpace ~
22079
22080 \begin_inset LatexCommand ref
22081 reference "sec:Framed-Boxes"
22082
22083 \end_inset
22084
22085 .
22086 \end_layout
22087
22088 \end_inset
22089
22090  the frame uses always the whole text width and the note is set into its
22091  own paragraph.
22092 \end_layout
22093
22094 \begin_layout Description
22095 Shaded This note will appear in the output with red background color.
22096  Its note box looks like this:
22097 \newline
22098
22099 \newline
22100
22101 \begin_inset Graphics
22102         filename clipart/ShadedNoteImageQt4.png
22103         display none
22104         scale 85
22105         scaleBeforeRotation
22106
22107 \end_inset
22108
22109
22110 \begin_inset Note Shaded
22111 status open
22112
22113 \begin_layout Standard
22114 This text in a note box appears in the output with red background.
22115 \end_layout
22116
22117 \end_inset
22118
22119 In contrary to colored boxes
22120 \begin_inset Foot
22121 status collapsed
22122
22123 \begin_layout Standard
22124 Colored boxes are described in section\InsetSpace ~
22125
22126 \begin_inset LatexCommand ref
22127 reference "sec:Colored-Boxes"
22128
22129 \end_inset
22130
22131 .
22132 \end_layout
22133
22134 \end_inset
22135
22136  the note uses always the whole text width and the note is set into its
22137  own paragraph.
22138 \end_layout
22139
22140 \begin_layout Standard
22141 \begin_inset VSpace bigskip
22142 \end_inset
22143
22144 When you use the toolbar button 
22145 \begin_inset Graphics
22146         filename ../images/note-insert.png
22147         scale 85
22148         scaleBeforeRotation
22149
22150 \end_inset
22151
22152  to insert notes, a 
22153 \family sans
22154 LyX\InsetSpace ~
22155 Note
22156 \family default
22157  is inserted.
22158  You can switch between the five note types by right-clicking on the note-box.
22159  
22160 \family roman
22161 \series medium
22162 \bar no
22163 If you want to turn existing text into a note, mark it and click on the
22164  note
22165 \family default
22166 \series default
22167 \bar default
22168  toolbar 
22169 \family roman
22170 \series medium
22171 \bar no
22172 button
22173 \family default
22174 \series default
22175 \bar default
22176 .
22177  To change a note to text, press the backspace key when the cursor is in
22178  the first position of a note, or press the deletey key when the cursor
22179  is in the very last position of the note, respectively.
22180 \end_layout
22181
22182 \begin_layout Standard
22183 \begin_inset VSpace bigskip
22184 \end_inset
22185
22186 You can change the text color of the greyed out notes in the preamble with
22187  the following command:
22188 \end_layout
22189
22190 \begin_layout Standard
22191
22192 \series bold
22193
22194 \backslash
22195 renewenvironment{lyxgreyedout}
22196 \newline
22197
22198 \begin_inset ERT
22199 status collapsed
22200
22201 \begin_layout Standard
22202
22203
22204 \backslash
22205 hphantom{ }
22206 \end_layout
22207
22208 \end_inset
22209
22210 {
22211 \backslash
22212 textcolor{color}
22213 \backslash
22214 bgroup}{
22215 \backslash
22216 egroup}
22217 \end_layout
22218
22219 \begin_layout Standard
22220 The available colors and the method to define own colors is explained in
22221  section\InsetSpace ~
22222
22223 \begin_inset LatexCommand ref
22224 reference "sec:Colored-Tables"
22225
22226 \end_inset
22227
22228 .
22229 \end_layout
22230
22231 \begin_layout Standard
22232 Notes that appear in blue in this document are set using greyed out notes
22233  with blue text.
22234 \end_layout
22235
22236 \begin_layout Standard
22237 \begin_inset VSpace bigskip
22238 \end_inset
22239
22240
22241 \end_layout
22242
22243 \begin_layout Standard
22244 The text style of 
22245 \family sans
22246 Framed
22247 \family default
22248  and 
22249 \family sans
22250 Shaded
22251 \family default
22252  notes can be set in the 
22253 \family sans
22254 Text Style
22255 \family default
22256  dialog.
22257 \end_layout
22258
22259 \begin_layout Standard
22260 The default frame width for 
22261 \family sans
22262 Framed
22263 \family default
22264  notes is 0.4\InsetSpace \thinspace{}
22265 pt; it can be changed by changing the size 
22266 \series bold
22267
22268 \backslash
22269 FrameRule
22270 \series default
22271 .
22272  The default space between the note content and the frame is 9\InsetSpace \thinspace{}
22273 pt; it can
22274  be changed by changing the size 
22275 \series bold
22276
22277 \backslash
22278 FrameSep
22279 \series default
22280 .
22281  For example the frame appearance of the following 
22282 \family sans
22283 Framed
22284 \family default
22285  note is set with the TeX-Code commands
22286 \end_layout
22287
22288 \begin_layout Standard
22289
22290 \series bold
22291
22292 \backslash
22293 FrameRule 5pt 
22294 \backslash
22295 FrameSep 0.5cm
22296 \end_layout
22297
22298 \begin_layout Standard
22299 \begin_inset ERT
22300 status collapsed
22301
22302 \begin_layout Standard
22303
22304
22305 \backslash
22306 FrameRule 5pt 
22307 \backslash
22308 FrameSep 0.5cm
22309 \end_layout
22310
22311 \end_inset
22312
22313
22314 \begin_inset Note Framed
22315 status open
22316
22317 \begin_layout Standard
22318 This is text in a 
22319 \family sans
22320 Framed
22321 \family default
22322  note.
22323 \end_layout
22324
22325 \end_inset
22326
22327
22328 \begin_inset ERT
22329 status collapsed
22330
22331 \begin_layout Standard
22332
22333
22334 \backslash
22335 FrameRule 0.4pt 
22336 \backslash
22337 FrameSep 9pt
22338 \end_layout
22339
22340 \end_inset
22341
22342
22343 \end_layout
22344
22345 \begin_layout Standard
22346 \begin_inset VSpace bigskip
22347 \end_inset
22348
22349
22350 \end_layout
22351
22352 \begin_layout Standard
22353 For 
22354 \family sans
22355 Shaded
22356 \family default
22357  notes the default space between the note content and the note border is
22358  3\InsetSpace \thinspace{}
22359 pt; it can be changed by changing the size 
22360 \series bold
22361
22362 \backslash
22363 fboxsep
22364 \series default
22365 .
22366 \newline
22367 The default background color red can be changed with the command 
22368 \series bold
22369
22370 \backslash
22371 def\SpecialChar \textcompwordmark{}
22372 inecolor{shadebox}
22373 \series default
22374 .
22375  The scheme of the 
22376 \series bold
22377
22378 \backslash
22379 def\SpecialChar \textcompwordmark{}
22380 inecolor
22381 \series default
22382  command is explained in section\InsetSpace ~
22383
22384 \begin_inset LatexCommand ref
22385 reference "sec:Colored-Tables"
22386
22387 \end_inset
22388
22389
22390 \begin_inset Foot
22391 status collapsed
22392
22393 \begin_layout Standard
22394 Note that 
22395 \series bold
22396
22397 \backslash
22398 def
22399 \series default
22400 \SpecialChar \textcompwordmark{}
22401
22402 \series bold
22403 inecolor
22404 \series default
22405  requires the LaTeX-package 
22406 \series bold
22407 color
22408 \series default
22409  in the preamble, see section\InsetSpace ~
22410
22411 \begin_inset LatexCommand ref
22412 reference "sec:Colored-Boxes"
22413
22414 \end_inset
22415
22416 .
22417 \end_layout
22418
22419 \end_inset
22420
22421 .
22422 \end_layout
22423
22424 \begin_layout Standard
22425 For example the appearance of the following 
22426 \family sans
22427 Shaded
22428 \family default
22429  note is set with the TeX-Code commands
22430 \end_layout
22431
22432 \begin_layout Standard
22433
22434 \series bold
22435
22436 \backslash
22437 fboxsep 0.5cm
22438 \series default
22439
22440 \newline
22441
22442 \series bold
22443
22444 \backslash
22445 def\SpecialChar \textcompwordmark{}
22446 inecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22447 \end_layout
22448
22449 \begin_layout Standard
22450 \begin_inset ERT
22451 status collapsed
22452
22453 \begin_layout Standard
22454
22455
22456 \backslash
22457 fboxsep 0.5cm
22458 \end_layout
22459
22460 \end_inset
22461
22462
22463 \begin_inset ERT
22464 status collapsed
22465
22466 \begin_layout Standard
22467
22468
22469 \backslash
22470 definecolor{shadecolor}{cmyk}{0.5,0,1,0.5}
22471 \end_layout
22472
22473 \end_inset
22474
22475
22476 \begin_inset Note Shaded
22477 status open
22478
22479 \begin_layout Standard
22480
22481 \color yellow
22482 This is yellow text in a
22483 \color none
22484  
22485 \family sans
22486 \color yellow
22487 Shaded
22488 \family default
22489 \color none
22490  
22491 \color yellow
22492 note with darkgreen background.
22493 \end_layout
22494
22495 \end_inset
22496
22497
22498 \begin_inset ERT
22499 status collapsed
22500
22501 \begin_layout Standard
22502
22503
22504 \backslash
22505 fboxsep 3pt
22506 \end_layout
22507
22508 \end_inset
22509
22510
22511 \begin_inset ERT
22512 status collapsed
22513
22514 \begin_layout Standard
22515
22516
22517 \backslash
22518 definecolor{shadecolor}{rgb}{1,0,0}
22519 \end_layout
22520
22521 \end_inset
22522
22523
22524 \end_layout
22525
22526 \begin_layout Section
22527 Footnotes
22528 \begin_inset LatexCommand label
22529 name "sec:Footnotes"
22530
22531 \end_inset
22532
22533
22534 \begin_inset LatexCommand index
22535 name "Notes ! Footnotes"
22536
22537 \end_inset
22538
22539
22540 \begin_inset LatexCommand index
22541 name "Footnotes"
22542
22543 \end_inset
22544
22545
22546 \end_layout
22547
22548 \begin_layout Standard
22549 Footnotes can be inserted using the toolbar button 
22550 \begin_inset Graphics
22551         filename ../images/footnote-insert.png
22552         scale 85
22553         scaleBeforeRotation
22554
22555 \end_inset
22556
22557  or the menu 
22558 \family sans
22559 Insert\SpecialChar \menuseparator
22560 Footnote
22561 \family default
22562 .
22563  
22564 \family roman
22565 \series medium
22566 \bar no
22567 You'll see
22568 \family default
22569 \series default
22570 \bar default
22571  then the following footnote-box: 
22572 \begin_inset Graphics
22573         filename clipart/footnoteQt4.png
22574         scale 80
22575         scaleBeforeRotation
22576
22577 \end_inset
22578
22579  
22580 \family roman
22581 \series medium
22582 \bar no
22583 where you can enter the footnote text.
22584  If you want to turn existing text into a footnote, mark it and click on
22585  the footnote
22586 \family default
22587 \series default
22588 \bar default
22589  toolbar 
22590 \family roman
22591 \series medium
22592 \bar no
22593 button
22594 \family default
22595 \series default
22596 \bar default
22597 .
22598  To change a 
22599 \family roman
22600 \series medium
22601 \bar no
22602 footnote
22603 \family default
22604 \series default
22605 \bar default
22606  to text, press the Backspace key when the cursor is in the first position
22607  of a 
22608 \family roman
22609 \series medium
22610 \bar no
22611 footnote
22612 \family default
22613 \series default
22614 \bar default
22615 , or press the Delete key when the cursor is in the very last position of
22616  the 
22617 \family roman
22618 \series medium
22619 \bar no
22620 footnote
22621 \family default
22622 \series default
22623 \bar default
22624 , respectively.
22625 \end_layout
22626
22627 \begin_layout Standard
22628 Here is an example footnote:
22629 \family roman
22630 \series medium
22631 \bar no
22632
22633 \begin_inset Foot
22634 status open
22635
22636 \begin_layout Standard
22637 \begin_inset LatexCommand label
22638 name "foot:This-is-an"
22639
22640 \end_inset
22641
22642 This is an example footnote.
22643 \end_layout
22644
22645 \end_inset
22646
22647
22648 \family default
22649 \series default
22650 \bar default
22651
22652 \begin_inset ERT
22653 status collapsed
22654
22655 \begin_layout Standard
22656
22657
22658 \backslash
22659 newcounter{MyRepeatFoot}
22660 \end_layout
22661
22662 \begin_layout Standard
22663
22664
22665 \backslash
22666 setcounter{MyRepeatFoot}{
22667 \backslash
22668 thefootnote}
22669 \end_layout
22670
22671 \end_inset
22672
22673
22674 \end_layout
22675
22676 \begin_layout Standard
22677 The footnote will appear in the output as a superscript number at the text
22678  position where the footnote box is placed.
22679  The footnote text is placed at the bottom of the current page.
22680  The footnote number is calculated by LaTeX, the numbers are consecutive.
22681  It depends on your document-class, if the footnote number is reset for
22682  every chapter.
22683 \end_layout
22684
22685 \begin_layout Standard
22686 Footnotes can be referenced like floats: Insert a label into the footnote
22687  and cross-reference this label in the text as described in section\InsetSpace ~
22688
22689 \begin_inset LatexCommand ref
22690 reference "sec:Referencing-Floats"
22691
22692 \end_inset
22693
22694 .
22695 \newline
22696 This is a cross-reference of Footnote\InsetSpace ~
22697
22698 \begin_inset LatexCommand ref
22699 reference "foot:This-is-an"
22700
22701 \end_inset
22702
22703 .
22704 \end_layout
22705
22706 \begin_layout Standard
22707 \begin_inset VSpace defskip
22708 \end_inset
22709
22710 To use footnotes within tables, you have to use minipages, see section\InsetSpace ~
22711
22712 \begin_inset LatexCommand ref
22713 reference "sec:Minipages"
22714
22715 \end_inset
22716
22717 .
22718  Footnotes within longtables are described in section\InsetSpace ~
22719
22720 \begin_inset LatexCommand ref
22721 reference "sub:Footnotes-in-Longtables"
22722
22723 \end_inset
22724
22725 .
22726 \end_layout
22727
22728 \begin_layout Standard
22729 \begin_inset VSpace defskip
22730 \end_inset
22731
22732 To create only a mark for a footnote, use the command 
22733 \series bold
22734
22735 \backslash
22736 footnotemark[number]
22737 \series default
22738  in TeX-Code.
22739  This is used when you have the same annotation several times in a text
22740  but doesn't want to print the footnote text every time.
22741 \newline
22742 As you don't know
22743  the number of the repeating footnote while you are writing the text, you
22744  have to store its number.
22745  For the following footnote mark example, these commands were inserted in
22746  TeX-Code behind Footnote\InsetSpace ~
22747
22748 \begin_inset LatexCommand ref
22749 reference "foot:This-is-an"
22750
22751 \end_inset
22752
22753  to store the footnote number:
22754 \end_layout
22755
22756 \begin_layout Standard
22757
22758 \series bold
22759
22760 \backslash
22761 newcounter{MyRepeatFoot}
22762 \newline
22763
22764 \backslash
22765 setcounter{MyRepeatFoot}{
22766 \backslash
22767 thefootnote}
22768 \end_layout
22769
22770 \begin_layout Standard
22771 The footnote mark was then created with this command:
22772 \end_layout
22773
22774 \begin_layout Standard
22775
22776 \series bold
22777
22778 \backslash
22779 footnotemark[
22780 \backslash
22781 theMyRepeatFoot]
22782 \end_layout
22783
22784 \begin_layout Standard
22785 Here is an example footnote mark:
22786 \family roman
22787 \series medium
22788 \bar no
22789
22790 \begin_inset ERT
22791 status collapsed
22792
22793 \begin_layout Standard
22794
22795
22796 \backslash
22797 footnotemark[
22798 \backslash
22799 theMyRepeatFoot]
22800 \end_layout
22801
22802 \end_inset
22803
22804
22805 \end_layout
22806
22807 \begin_layout Subsection
22808 Footnote Numbering
22809 \begin_inset LatexCommand label
22810 name "sub:Footnote-Numbering"
22811
22812 \end_inset
22813
22814
22815 \begin_inset LatexCommand index
22816 name "Footnotes ! Numbering"
22817
22818 \end_inset
22819
22820
22821 \end_layout
22822
22823 \begin_layout Standard
22824 To reset the footnote number back to 1 after each section
22825 \family roman
22826 , add this command to your document preamble:
22827 \end_layout
22828
22829 \begin_layout Standard
22830
22831 \series bold
22832
22833 \backslash
22834 @addtoreset{footnote}{section}
22835 \end_layout
22836
22837 \begin_layout Standard
22838 \begin_inset VSpace bigskip
22839 \end_inset
22840
22841 The following preamble command changes the footnote numbering style to small
22842  roman numerals:
22843 \end_layout
22844
22845 \begin_layout Standard
22846
22847 \series bold
22848
22849 \backslash
22850 renewcommand{
22851 \backslash
22852 thefootnote}{
22853 \backslash
22854 roman{footnote}}
22855 \end_layout
22856
22857 \begin_layout Standard
22858 \begin_inset ERT
22859 status collapsed
22860
22861 \begin_layout Standard
22862
22863
22864 \backslash
22865 renewcommand{
22866 \backslash
22867 thefootnote}{
22868 \backslash
22869 roman{footnote}}
22870 \end_layout
22871
22872 \end_inset
22873
22874  This is a footnote with roman numbering:
22875 \begin_inset Foot
22876 status open
22877
22878 \begin_layout Standard
22879 This is an example footnote with roman numbering.
22880 \end_layout
22881
22882 \end_inset
22883
22884
22885 \end_layout
22886
22887 \begin_layout Standard
22888 To change the numbering style to capital roman numerals replace in the command
22889  above 
22890 \series bold
22891
22892 \backslash
22893 roman
22894 \series default
22895  by 
22896 \series bold
22897
22898 \backslash
22899 Roman
22900 \series default
22901 .
22902  To 
22903 \begin_inset Quotes eld
22904 \end_inset
22905
22906 number
22907 \begin_inset Quotes erd
22908 \end_inset
22909
22910  footnotes with capital or small Latin letters use 
22911 \series bold
22912
22913 \backslash
22914 Alph
22915 \series default
22916  or 
22917 \series bold
22918
22919 \backslash
22920 alph
22921 \series default
22922 , respectively.
22923  To 
22924 \begin_inset Quotes eld
22925 \end_inset
22926
22927 number
22928 \begin_inset Quotes erd
22929 \end_inset
22930
22931  footnotes with symbols use 
22932 \series bold
22933
22934 \backslash
22935 fnsymbol
22936 \series default
22937 .
22938 \end_layout
22939
22940 \begin_layout Standard
22941 \begin_inset Note Greyedout
22942 status open
22943
22944 \begin_layout Standard
22945
22946 \series bold
22947 Note:
22948 \series default
22949  You can only number 26 footnotes with Latin letters, because this numbering
22950  is limited to single letters.
22951 \end_layout
22952
22953 \end_inset
22954
22955
22956 \newline
22957
22958 \begin_inset Note Greyedout
22959 status open
22960
22961 \begin_layout Standard
22962
22963 \series bold
22964 Note:
22965 \series default
22966  You can only number 9 footnotes with symbols.
22967 \end_layout
22968
22969 \end_inset
22970
22971
22972 \end_layout
22973
22974 \begin_layout Standard
22975 To return to the default numbering style when you changed to another one,
22976  use 
22977 \series bold
22978
22979 \backslash
22980 arabic
22981 \series default
22982  instead of 
22983 \series bold
22984
22985 \backslash
22986 roman
22987 \series default
22988  in the command above.
22989 \begin_inset ERT
22990 status collapsed
22991
22992 \begin_layout Standard
22993
22994
22995 \backslash
22996 renewcommand{
22997 \backslash
22998 thefootnote}{
22999 \backslash
23000 arabic{footnote}}
23001 \end_layout
23002
23003 \end_inset
23004
23005
23006 \end_layout
23007
23008 \begin_layout Standard
23009 \begin_inset VSpace bigskip
23010 \end_inset
23011
23012
23013 \end_layout
23014
23015 \begin_layout Standard
23016 If you want to have footnotes numbered in the scheme 
23017 \begin_inset Quotes eld
23018 \end_inset
23019
23020 chapter.footnote
23021 \begin_inset Quotes erd
23022 \end_inset
23023
23024 , add the following command to your document preamble:
23025 \end_layout
23026
23027 \begin_layout Standard
23028
23029 \series bold
23030
23031 \backslash
23032 numberwithin{footnote}{chapter}
23033 \end_layout
23034
23035 \begin_layout Standard
23036 To be able to use the command 
23037 \series bold
23038
23039 \backslash
23040 numberwithin
23041 \series default
23042 , set in the tab 
23043 \family sans
23044 Math\InsetSpace ~
23045 Options
23046 \family default
23047  in the document settings the option 
23048 \family sans
23049 Use\InsetSpace ~
23050 AMS\InsetSpace ~
23051 math\InsetSpace ~
23052 package
23053 \family default
23054 .
23055 \end_layout
23056
23057 \begin_layout Standard
23058 \begin_inset ERT
23059 status collapsed
23060
23061 \begin_layout Standard
23062
23063
23064 \backslash
23065 numberwithin{footnote}{chapter}
23066 \end_layout
23067
23068 \end_inset
23069
23070 This is another example footnote:
23071 \series bold
23072
23073 \begin_inset Foot
23074 status open
23075
23076 \begin_layout Standard
23077 This is a footnote numbered in the scheme 
23078 \begin_inset Quotes eld
23079 \end_inset
23080
23081 chapter.footnote
23082 \begin_inset Quotes erd
23083 \end_inset
23084
23085 .
23086 \end_layout
23087
23088 \end_inset
23089
23090
23091 \series default
23092
23093 \begin_inset ERT
23094 status collapsed
23095
23096 \begin_layout Standard
23097
23098
23099 \backslash
23100 renewcommand{
23101 \backslash
23102 thefootnote}{
23103 \backslash
23104 arabic{footnote}}
23105 \end_layout
23106
23107 \end_inset
23108
23109
23110 \end_layout
23111
23112 \begin_layout Standard
23113 \begin_inset Note Greyedout
23114 status open
23115
23116 \begin_layout Standard
23117
23118 \series bold
23119 Note:
23120 \series default
23121  
23122 \series bold
23123
23124 \backslash
23125 numberwithin
23126 \series default
23127  always prints out the footnote number as arabic number; previous redefinitions
23128  to get non-arabic numbers are overwritten.
23129 \end_layout
23130
23131 \end_inset
23132
23133
23134 \end_layout
23135
23136 \begin_layout Standard
23137 So to get for example the scheme 
23138 \begin_inset Quotes eld
23139 \end_inset
23140
23141 chapter.
23142 \backslash
23143 Roman{footnote}
23144 \begin_inset Quotes erd
23145 \end_inset
23146
23147 , use this command instead of 
23148 \series bold
23149
23150 \backslash
23151 numberwithin
23152 \series default
23153 :
23154 \end_layout
23155
23156 \begin_layout Standard
23157
23158 \series bold
23159
23160 \backslash
23161 renewcommand{
23162 \backslash
23163 thefootnote}{
23164 \backslash
23165 thechapter.
23166 \backslash
23167 Roman{footnote}}
23168 \end_layout
23169
23170 \begin_layout Subsection
23171 Footnote Placement
23172 \begin_inset LatexCommand index
23173 name "Footnotes ! Placement"
23174
23175 \end_inset
23176
23177
23178 \end_layout
23179
23180 \begin_layout Standard
23181 If you have several footnotes in one page, they appear without vertical
23182  space between them at the bottom of the page.
23183  To make them better readable you can e.\InsetSpace \thinspace{}
23184 g.\InsetSpace ~
23185 add 1.5\InsetSpace \thinspace{}
23186 mm space with the following
23187  preamble command:
23188 \end_layout
23189
23190 \begin_layout Standard
23191
23192 \series bold
23193
23194 \backslash
23195 let
23196 \backslash
23197 myFoot
23198 \backslash
23199 footnote
23200 \newline
23201
23202 \backslash
23203 renewcommand{
23204 \backslash
23205 footnote}[1]{
23206 \backslash
23207 myFoot{#1
23208 \backslash
23209 vspace{1.5mm}}}
23210 \end_layout
23211
23212 \begin_layout Standard
23213 \begin_inset VSpace bigskip
23214 \end_inset
23215
23216 In a two-column document the footnotes appear at the bottom of every column,
23217  see Figure\InsetSpace ~
23218
23219 \begin_inset LatexCommand ref
23220 reference "fig:Standard-footnote-placement"
23221
23222 \end_inset
23223
23224 .
23225  If the footnotes should only appear at the bottom of the right column,
23226  as in Figure\InsetSpace ~
23227
23228 \begin_inset LatexCommand ref
23229 reference "fig:Footnote-placement-in"
23230
23231 \end_inset
23232
23233 , use the LaTeX-package 
23234 \series bold
23235 ftnright
23236 \series default
23237
23238 \begin_inset LatexCommand index
23239 name "LaTeX-packages ! ftnright"
23240
23241 \end_inset
23242
23243  with this command in the document preamble:
23244 \end_layout
23245
23246 \begin_layout Standard
23247
23248 \series bold
23249
23250 \backslash
23251 usepackage{ftnright}
23252 \end_layout
23253
23254 \begin_layout Standard
23255 \begin_inset Float figure
23256 placement !h
23257 wide false
23258 sideways false
23259 status open
23260
23261 \begin_layout Standard
23262 \begin_inset ERT
23263 status collapsed
23264
23265 \begin_layout Standard
23266
23267
23268 \backslash
23269 framebox{
23270 \end_layout
23271
23272 \end_inset
23273
23274
23275 \begin_inset Graphics
23276         filename clipart/without_fntright.pdf
23277         width 100col%
23278         scaleBeforeRotation
23279
23280 \end_inset
23281
23282
23283 \begin_inset ERT
23284 status collapsed
23285
23286 \begin_layout Standard
23287
23288 }
23289 \end_layout
23290
23291 \end_inset
23292
23293
23294 \end_layout
23295
23296 \begin_layout Standard
23297 \begin_inset Caption
23298
23299 \begin_layout Standard
23300 \begin_inset LatexCommand label
23301 name "fig:Standard-footnote-placement"
23302
23303 \end_inset
23304
23305 Standard footnote placement in two-column documents.
23306 \end_layout
23307
23308 \end_inset
23309
23310
23311 \end_layout
23312
23313 \end_inset
23314
23315
23316 \end_layout
23317
23318 \begin_layout Standard
23319 \begin_inset Float figure
23320 placement !h
23321 wide false
23322 sideways false
23323 status open
23324
23325 \begin_layout Standard
23326 \begin_inset ERT
23327 status collapsed
23328
23329 \begin_layout Standard
23330
23331
23332 \backslash
23333 framebox{
23334 \end_layout
23335
23336 \end_inset
23337
23338
23339 \begin_inset Graphics
23340         filename clipart/with_fntright.pdf
23341         width 100col%
23342         scaleBeforeRotation
23343
23344 \end_inset
23345
23346
23347 \begin_inset ERT
23348 status collapsed
23349
23350 \begin_layout Standard
23351
23352 }
23353 \end_layout
23354
23355 \end_inset
23356
23357
23358 \end_layout
23359
23360 \begin_layout Standard
23361 \begin_inset Caption
23362
23363 \begin_layout Standard
23364 \begin_inset LatexCommand label
23365 name "fig:Footnote-placement-in"
23366
23367 \end_inset
23368
23369 Footnote placement in two-column documents when the LaTeX-package 
23370 \series bold
23371 ftnright
23372 \series default
23373  is used.
23374 \end_layout
23375
23376 \end_inset
23377
23378
23379 \end_layout
23380
23381 \end_inset
23382
23383
23384 \end_layout
23385
23386 \begin_layout Standard
23387 \begin_inset VSpace bigskip
23388 \end_inset
23389
23390 In some scientific literature it is usual to collect the footnotes and print
23391  them in a separate paragraph at the the end of a section, like in Figure\InsetSpace ~
23392
23393 \begin_inset LatexCommand ref
23394 reference "fig:Endnotes----footnotes"
23395
23396 \end_inset
23397
23398 .
23399  They are then so called 
23400 \begin_inset Quotes eld
23401 \end_inset
23402
23403 endnotes
23404 \begin_inset Quotes erd
23405 \end_inset
23406
23407 .
23408 \begin_inset LatexCommand index
23409 name "Endnotes"
23410
23411 \end_inset
23412
23413  To use endnotes instead of footnotes in your document, load the LaTeX-package
23414  
23415 \series bold
23416 endnotes
23417 \series default
23418
23419 \begin_inset LatexCommand index
23420 name "LaTeX-packages ! endnotes"
23421
23422 \end_inset
23423
23424  with the document preamble lines
23425 \end_layout
23426
23427 \begin_layout Standard
23428
23429 \series bold
23430
23431 \backslash
23432 usepackage{endnotes}
23433 \newline
23434
23435 \backslash
23436 let
23437 \backslash
23438 footnote
23439 \backslash
23440 endnote
23441 \end_layout
23442
23443 \begin_layout Standard
23444 To insert the collected footnotes, insert the command
23445 \end_layout
23446
23447 \begin_layout Standard
23448
23449 \series bold
23450
23451 \backslash
23452 theendnotes
23453 \end_layout
23454
23455 \begin_layout Standard
23456 in TeX-Code at the the end of a section or chapter.
23457 \end_layout
23458
23459 \begin_layout Standard
23460 \begin_inset Float figure
23461 wide false
23462 sideways false
23463 status open
23464
23465 \begin_layout Standard
23466 \align center
23467 \begin_inset ERT
23468 status collapsed
23469
23470 \begin_layout Standard
23471
23472
23473 \backslash
23474 framebox{
23475 \end_layout
23476
23477 \end_inset
23478
23479
23480 \begin_inset Graphics
23481         filename clipart/endnotes.pdf
23482         scaleBeforeRotation
23483
23484 \end_inset
23485
23486
23487 \begin_inset ERT
23488 status collapsed
23489
23490 \begin_layout Standard
23491
23492 }
23493 \end_layout
23494
23495 \end_inset
23496
23497
23498 \end_layout
23499
23500 \begin_layout Standard
23501 \begin_inset Caption
23502
23503 \begin_layout Standard
23504 \begin_inset LatexCommand label
23505 name "fig:Endnotes----footnotes"
23506
23507 \end_inset
23508
23509 Endnotes -- footnotes are printed in a separate paragraph at the end of
23510  sections or chapters.
23511 \end_layout
23512
23513 \end_inset
23514
23515
23516 \end_layout
23517
23518 \end_inset
23519
23520
23521 \end_layout
23522
23523 \begin_layout Standard
23524 \begin_inset VSpace medskip
23525 \end_inset
23526
23527 The paragraph heading for the endnotes isn't automatically translated into
23528  the document language, this must be done manually.
23529  The following preamble command translate the default English name 
23530 \begin_inset Quotes eld
23531 \end_inset
23532
23533 Notes
23534 \begin_inset Quotes erd
23535 \end_inset
23536
23537  to the German translation 
23538 \begin_inset Quotes eld
23539 \end_inset
23540
23541 Anmerkungen
23542 \begin_inset Quotes erd
23543 \end_inset
23544
23545 :
23546 \end_layout
23547
23548 \begin_layout Standard
23549
23550 \series bold
23551
23552 \backslash
23553 renewcommand{
23554 \backslash
23555 notesname}{Anmerkungen}
23556 \end_layout
23557
23558 \begin_layout Standard
23559 \begin_inset VSpace medskip
23560 \end_inset
23561
23562 The numbering of endnotes can be changed like the footnote numbering as
23563  described in section\InsetSpace ~
23564
23565 \begin_inset LatexCommand ref
23566 reference "sub:Footnote-Numbering"
23567
23568 \end_inset
23569
23570 ; just replace the command 
23571 \series bold
23572
23573 \backslash
23574 thefootnote
23575 \series default
23576  by 
23577 \series bold
23578
23579 \backslash
23580 theendnote
23581 \series default
23582 .
23583  To reset the endnote number use the command 
23584 \series bold
23585
23586 \backslash
23587 @addtoreset
23588 \series default
23589  as described in section\InsetSpace ~
23590
23591 \begin_inset LatexCommand ref
23592 reference "sub:Footnote-Numbering"
23593
23594 \end_inset
23595
23596  and replace the command parameter 
23597 \series bold
23598 footnote
23599 \series default
23600  by 
23601 \series bold
23602 endnote
23603 \series default
23604 .
23605 \end_layout
23606
23607 \begin_layout Standard
23608 To create only a mark for an endnote, use the command 
23609 \series bold
23610
23611 \backslash
23612 endnotemark[number]
23613 \series default
23614  similar to the command 
23615 \series bold
23616
23617 \backslash
23618 footnotemark
23619 \series default
23620 , described in section\InsetSpace ~
23621
23622 \begin_inset LatexCommand ref
23623 reference "sec:Footnotes"
23624
23625 \end_inset
23626
23627 .
23628 \end_layout
23629
23630 \begin_layout Standard
23631 \begin_inset VSpace bigskip
23632 \end_inset
23633
23634 Footnotes can also be placed in the page margin and the footnote text alignment
23635  can be changed, see the LaTeX-package 
23636 \series bold
23637 footmisc
23638 \series default
23639
23640 \begin_inset LatexCommand index
23641 name "LaTeX-packages ! footmisc"
23642
23643 \end_inset
23644
23645
23646 \begin_inset LatexCommand cite
23647 key "footmisc"
23648
23649 \end_inset
23650
23651  for more information about this.
23652 \end_layout
23653
23654 \begin_layout Standard
23655 For various further footnote formatting issues have a look at LaTeX-books,
23656  
23657 \begin_inset LatexCommand cite
23658 key "latexcompanion,latexguide,latexbook"
23659
23660 \end_inset
23661
23662 .
23663 \end_layout
23664
23665 \begin_layout Section
23666 Margin Notes
23667 \begin_inset LatexCommand index
23668 name "Notes ! Margin Notes"
23669
23670 \end_inset
23671
23672
23673 \end_layout
23674
23675 \begin_layout Standard
23676 Margin notes look and behave in LyX like footnotes.
23677  They are inserted via the menu 
23678 \family sans
23679 Insert\SpecialChar \menuseparator
23680 Marginal\InsetSpace ~
23681 Note
23682 \family default
23683  or the toolbar button 
23684 \begin_inset Graphics
23685         filename ../images/marginalnote-insert.png
23686         scale 85
23687         scaleBeforeRotation
23688
23689 \end_inset
23690
23691 .
23692  A grey 
23693 \family roman
23694 \series medium
23695 box with the
23696 \family default
23697 \series default
23698  red 
23699 \family roman
23700 \series medium
23701 label 
23702 \begin_inset Quotes eld
23703 \end_inset
23704
23705 margin
23706 \begin_inset Quotes erd
23707 \end_inset
23708
23709  appears where you can enter the text of the margin note.
23710 \end_layout
23711
23712 \begin_layout Standard
23713 At the side is an example margin note.
23714 \family roman
23715 \series medium
23716
23717 \begin_inset Marginal
23718 status open
23719
23720 \begin_layout Standard
23721 This is a margin note.
23722 \end_layout
23723
23724 \end_inset
23725
23726
23727 \end_layout
23728
23729 \begin_layout Standard
23730 Margin notes appear at the right side in single-sided documents.
23731  In double-sided documents they appear in the outer margin -- left on even
23732  pages, right on odd pages.
23733  The text of margin notes is aligned opposite to the outer margin -- right-align
23734 ed when the note appears in the left margin.
23735  The first line of the margin note is placed at the position of the text
23736  line where it is inserted in the document.
23737 \end_layout
23738
23739 \begin_layout Standard
23740 \begin_inset VSpace bigskip
23741 \end_inset
23742
23743 To place the margin note in the inner margin, add the command
23744 \end_layout
23745
23746 \begin_layout Standard
23747
23748 \series bold
23749
23750 \backslash
23751 reversemarginpar
23752 \end_layout
23753
23754 \begin_layout Standard
23755 in TeX-Code before a margin note.
23756  The new placement is valid for all following margin notes.
23757 \begin_inset ERT
23758 status collapsed
23759
23760 \begin_layout Standard
23761
23762
23763 \backslash
23764 reversemarginpar 
23765 \end_layout
23766
23767 \end_inset
23768
23769
23770 \begin_inset Marginal
23771 status open
23772
23773 \begin_layout Standard
23774 This is a margin note in the inner margin.
23775 \end_layout
23776
23777 \end_inset
23778
23779
23780 \series bold
23781
23782 \newline
23783
23784 \series default
23785
23786 \begin_inset Note Greyedout
23787 status open
23788
23789 \begin_layout Standard
23790
23791 \series bold
23792 Note:
23793 \series default
23794  There is often not enough space in the inner margin so that the notes are
23795  not correctly displayed in the output.
23796 \end_layout
23797
23798 \end_inset
23799
23800
23801 \end_layout
23802
23803 \begin_layout Standard
23804 To return to the default placement insert the command
23805 \end_layout
23806
23807 \begin_layout Standard
23808
23809 \series bold
23810
23811 \backslash
23812 normalmarginpar
23813 \end_layout
23814
23815 \begin_layout Standard
23816 in TeX-Code.
23817 \begin_inset ERT
23818 status collapsed
23819
23820 \begin_layout Standard
23821
23822
23823 \backslash
23824 normalmarginpar 
23825 \end_layout
23826
23827 \end_inset
23828
23829  
23830 \begin_inset Note Greyedout
23831 status open
23832
23833 \begin_layout Standard
23834
23835 \series bold
23836 Note:
23837 \series default
23838  The command is ignored when it is within a paragraph where also the command
23839  
23840 \series bold
23841
23842 \backslash
23843 reversemarginpar
23844 \series default
23845  is inserted.
23846 \end_layout
23847
23848 \end_inset
23849
23850
23851 \end_layout
23852
23853 \begin_layout Standard
23854 \begin_inset VSpace bigskip
23855 \end_inset
23856
23857
23858 \family roman
23859 \series medium
23860
23861 \begin_inset Marginal
23862 status open
23863
23864 \begin_layout Standard
23865 AVeryLongMarginParWord that isn't hyphenated.
23866 \end_layout
23867
23868 \end_inset
23869
23870
23871 \family default
23872 \series default
23873 Similar to the case described in section\InsetSpace ~
23874
23875 \begin_inset LatexCommand ref
23876 reference "sub:Multiple-Lines-in"
23877
23878 \end_inset
23879
23880 , long words cannot be hyphenated when they are the first word in a margin
23881  note.
23882  To avoid this, insert the command
23883 \end_layout
23884
23885 \begin_layout Standard
23886
23887 \series bold
23888
23889 \backslash
23890 hspace{0pt}
23891 \end_layout
23892
23893 \begin_layout Standard
23894 in TeX-Code before the word
23895 \family roman
23896 \series medium
23897 .
23898 \begin_inset Marginal
23899 status open
23900
23901 \begin_layout Standard
23902 \begin_inset ERT
23903 status collapsed
23904
23905 \begin_layout Standard
23906
23907
23908 \backslash
23909 hspace{0pt}
23910 \end_layout
23911
23912 \end_inset
23913
23914 AVeryLongMarginParWord that is hyphenated.
23915 \end_layout
23916
23917 \end_inset
23918
23919
23920 \end_layout
23921
23922 \begin_layout Standard
23923 \begin_inset VSpace bigskip
23924 \end_inset
23925
23926
23927 \end_layout
23928
23929 \begin_layout Standard
23930 \begin_inset Note Greyedout
23931 status open
23932
23933 \begin_layout Standard
23934
23935 \series bold
23936 Note:
23937 \series default
23938  Margin notes can normally not be used inside tables, floats, and footnotes.
23939 \end_layout
23940
23941 \end_inset
23942
23943
23944 \end_layout
23945
23946 \begin_layout Standard
23947 \begin_inset VSpace bigskip
23948 \end_inset
23949
23950
23951 \end_layout
23952
23953 \begin_layout Standard
23954 \begin_inset ERT
23955 status collapsed
23956
23957 \begin_layout Standard
23958
23959
23960 \backslash
23961 ifmarginnote
23962 \end_layout
23963
23964 \end_inset
23965
23966
23967 \begin_inset Note Note
23968 status open
23969
23970 \begin_layout Standard
23971 The following section will only be displayed when the LaTeX-package 
23972 \series bold
23973 marginnote
23974 \series default
23975  is installed.
23976 \end_layout
23977
23978 \end_inset
23979
23980
23981 \end_layout
23982
23983 \begin_layout Standard
23984 This restriction can be evaded by using the LaTeX-package 
23985 \series bold
23986 marginnote
23987 \series default
23988
23989 \begin_inset LatexCommand index
23990 name "LaTeX-packages ! marginnote"
23991
23992 \end_inset
23993
23994 .
23995  By adding these two lines to your document preamble, the command used by
23996  LyX for margin notes is redefined to use the command provided by the 
23997 \series bold
23998 marginnote
23999 \series default
24000 -package:
24001 \end_layout
24002
24003 \begin_layout Standard
24004
24005 \series bold
24006
24007 \backslash
24008 usepackage{marginnote}
24009 \newline
24010
24011 \backslash
24012 let
24013 \backslash
24014 marginpar
24015 \backslash
24016 marginnote
24017 \end_layout
24018
24019 \begin_layout Standard
24020 This is also used in this document because 
24021 \series bold
24022 marginnote
24023 \series default
24024  has another useful feature: You can set a vertical offset for the note.
24025  This is often needed when too many margin notes are too close together
24026  or for a better page layout.
24027  The offset is set in LyX as TeX-Code directly behind the margin note in
24028  the scheme
24029 \end_layout
24030
24031 \begin_layout Standard
24032
24033 \series bold
24034 [offset]
24035 \end_layout
24036
24037 \begin_layout Standard
24038 where the offset is a length with one of the units listed in Table\InsetSpace ~
24039
24040 \begin_inset LatexCommand ref
24041 reference "tab:Units"
24042
24043 \end_inset
24044
24045 .
24046  A negative value shifts the note up, a positive value shifts it down.
24047  
24048 \family roman
24049 \series medium
24050 For example the margin note beside this text line is shifted up 1.5\InsetSpace \thinspace{}
24051 cm with
24052  the TeX-Code-command 
24053 \begin_inset Quotes eld
24054 \end_inset
24055
24056
24057 \family default
24058 \series bold
24059 [-1.5cm]
24060 \family roman
24061 \series medium
24062
24063 \begin_inset Quotes erd
24064 \end_inset
24065
24066
24067 \begin_inset Marginal
24068 status open
24069
24070 \begin_layout Standard
24071 This margin note is shifted up 1.5\InsetSpace \thinspace{}
24072 cm from its original position.
24073 \end_layout
24074
24075 \end_inset
24076
24077
24078 \family default
24079 \series default
24080
24081 \begin_inset ERT
24082 status collapsed
24083
24084 \begin_layout Standard
24085
24086 [-1.5cm]
24087 \end_layout
24088
24089 \end_inset
24090
24091
24092 \end_layout
24093
24094 \begin_layout Standard
24095 \begin_inset VSpace medskip
24096 \end_inset
24097
24098 With 
24099 \series bold
24100 marginnote
24101 \series default
24102  you can also change the alignment of the text in the margin note.
24103  For example the commands
24104 \end_layout
24105
24106 \begin_layout Standard
24107
24108 \series bold
24109
24110 \backslash
24111 renewcommand*{
24112 \backslash
24113 raggedleftmarginnote}{
24114 \backslash
24115 centering}
24116 \newline
24117
24118 \backslash
24119 renewcommand*{
24120 \backslash
24121 raggedrightmarginnote}{
24122 \backslash
24123 centering}
24124 \end_layout
24125
24126 \begin_layout Standard
24127 set the alignment to centered.
24128  
24129 \series bold
24130
24131 \backslash
24132 raggedleftmarginnote
24133 \series default
24134  denotes margin notes that appear at the left side.
24135 \family roman
24136 \series medium
24137
24138 \begin_inset ERT
24139 status collapsed
24140
24141 \begin_layout Standard
24142
24143
24144 \backslash
24145 renewcommand*{
24146 \backslash
24147 raggedleftmarginnote}{
24148 \backslash
24149 centering}
24150 \end_layout
24151
24152 \begin_layout Standard
24153
24154
24155 \backslash
24156 renewcommand*{
24157 \backslash
24158 raggedrightmarginnote}{
24159 \backslash
24160 centering}
24161 \end_layout
24162
24163 \end_inset
24164
24165
24166 \begin_inset Marginal
24167 status open
24168
24169 \begin_layout Standard
24170 The text of this margin note is centered.
24171 \end_layout
24172
24173 \end_inset
24174
24175
24176 \family default
24177 \series default
24178  The default is
24179 \end_layout
24180
24181 \begin_layout Standard
24182
24183 \series bold
24184
24185 \backslash
24186 renewcommand*{
24187 \backslash
24188 raggedleftmarginnote}{
24189 \backslash
24190 raggedleft}
24191 \newline
24192
24193 \backslash
24194 renewcommand*{
24195 \backslash
24196 raggedrightmarginnote}{
24197 \backslash
24198 raggedright}
24199 \family roman
24200 \series medium
24201
24202 \begin_inset ERT
24203 status collapsed
24204
24205 \begin_layout Standard
24206
24207
24208 \backslash
24209 renewcommand*{
24210 \backslash
24211 raggedleftmarginnote}{
24212 \backslash
24213 raggedleft}
24214 \end_layout
24215
24216 \begin_layout Standard
24217
24218
24219 \backslash
24220 renewcommand*{
24221 \backslash
24222 raggedrightmarginnote}{
24223 \backslash
24224 raggedright}
24225 \end_layout
24226
24227 \end_inset
24228
24229
24230 \end_layout
24231
24232 \begin_layout Standard
24233 \begin_inset VSpace medskip
24234 \end_inset
24235
24236 For the other features of 
24237 \series bold
24238 marginnote
24239 \series default
24240  we refer to its documentation 
24241 \begin_inset LatexCommand cite
24242 key "marginnote"
24243
24244 \end_inset
24245
24246 .
24247 \end_layout
24248
24249 \begin_layout Standard
24250 \begin_inset VSpace bigskip
24251 \end_inset
24252
24253 You can adjust the layout of margin notes by changing its definition.
24254  To create for example a header for all margin notes with the underlined,
24255  sans-serif, and bold header text 
24256 \begin_inset Quotes eld
24257 \end_inset
24258
24259
24260 \family sans
24261 \series bold
24262 \bar under
24263 Attention!
24264 \family default
24265 \series default
24266 \bar default
24267
24268 \begin_inset Quotes erd
24269 \end_inset
24270
24271 , add this to your document preamble:
24272 \end_layout
24273
24274 \begin_layout Standard
24275
24276 \series bold
24277
24278 \backslash
24279 let
24280 \backslash
24281 myMarginpar
24282 \backslash
24283 marginpar
24284 \newline
24285
24286 \backslash
24287 renewcommand{
24288 \backslash
24289 marginpar}[1]{
24290 \backslash
24291 myMarginpar{%
24292 \newline
24293
24294 \begin_inset ERT
24295 status collapsed
24296
24297 \begin_layout Standard
24298
24299
24300 \backslash
24301 hphantom{ }
24302 \end_layout
24303
24304 \end_inset
24305
24306
24307 \backslash
24308 hspace{0pt}
24309 \backslash
24310 textsf{
24311 \backslash
24312 textbf{
24313 \backslash
24314 underbar{Attention!}}}%
24315 \newline
24316
24317 \begin_inset ERT
24318 status collapsed
24319
24320 \begin_layout Standard
24321
24322
24323 \backslash
24324 hphantom{ }
24325 \end_layout
24326
24327 \end_inset
24328
24329
24330 \backslash
24331 vspace{1.5mm}
24332 \backslash
24333
24334 \backslash
24335 #1}}
24336 \end_layout
24337
24338 \begin_layout Standard
24339
24340 \family roman
24341 \series medium
24342 \begin_inset ERT
24343 status collapsed
24344
24345 \begin_layout Standard
24346
24347
24348 \backslash
24349 let
24350 \backslash
24351 myMarginpar
24352 \backslash
24353 marginpar
24354 \end_layout
24355
24356 \begin_layout Standard
24357
24358
24359 \backslash
24360 renewcommand{
24361 \backslash
24362 marginpar}[1]{
24363 \backslash
24364 myMarginpar{%
24365 \end_layout
24366
24367 \begin_layout Standard
24368
24369    
24370 \backslash
24371 textsf{
24372 \backslash
24373 textbf{
24374 \backslash
24375 underbar{Attention!}}}%
24376 \end_layout
24377
24378 \begin_layout Standard
24379
24380    
24381 \backslash
24382 vspace{1.5mm}
24383 \backslash
24384
24385 \backslash
24386 #1}}
24387 \end_layout
24388
24389 \end_inset
24390
24391
24392 \begin_inset Marginal
24393 status open
24394
24395 \begin_layout Standard
24396 This is a margin note with a defined heading.
24397 \end_layout
24398
24399 \end_inset
24400
24401
24402 \family default
24403 \series default
24404
24405 \begin_inset ERT
24406 status collapsed
24407
24408 \begin_layout Standard
24409
24410 [-1.5cm]
24411 \end_layout
24412
24413 \end_inset
24414
24415
24416 \family roman
24417 \series medium
24418
24419 \begin_inset ERT
24420 status collapsed
24421
24422 \begin_layout Standard
24423
24424
24425 \backslash
24426 renewcommand{
24427 \backslash
24428 marginpar}[1]{
24429 \backslash
24430 myMarginpar{#1}}
24431 \end_layout
24432
24433 \end_inset
24434
24435
24436 \family default
24437 \series default
24438
24439 \begin_inset Note Note
24440 status collapsed
24441
24442 \begin_layout Standard
24443 The margin note format is changed only for this example.
24444 \end_layout
24445
24446 \end_inset
24447
24448
24449 \end_layout
24450
24451 \begin_layout Standard
24452 \begin_inset ERT
24453 status collapsed
24454
24455 \begin_layout Standard
24456
24457
24458 \backslash
24459 else
24460 \end_layout
24461
24462 \end_inset
24463
24464
24465 \begin_inset Note Note
24466 status open
24467
24468 \begin_layout Standard
24469 The following will be displayed when the LaTeX-package 
24470 \series bold
24471 marginnote
24472 \series default
24473  is not installed:
24474 \end_layout
24475
24476 \end_inset
24477
24478
24479 \end_layout
24480
24481 \begin_layout Standard
24482 You need to install the LaTeX-package 
24483 \series bold
24484 marginnote
24485 \series default
24486  to see the following part of this section in the output.
24487 \end_layout
24488
24489 \begin_layout Standard
24490 \begin_inset ERT
24491 status collapsed
24492
24493 \begin_layout Standard
24494
24495
24496 \backslash
24497 fi
24498 \end_layout
24499
24500 \end_inset
24501
24502
24503 \end_layout
24504
24505 \begin_layout Chapter
24506 Boxes
24507 \end_layout
24508
24509 \begin_layout Section
24510 Introduction
24511 \begin_inset LatexCommand index
24512 name "Boxes ! Introduction"
24513
24514 \end_inset
24515
24516
24517 \end_layout
24518
24519 \begin_layout Standard
24520 Boxes are used to format a block of text.
24521  Boxes can be used to write documents with multiple languages, see section\InsetSpace ~
24522
24523 \begin_inset LatexCommand ref
24524 reference "sec:Minipages"
24525
24526 \end_inset
24527
24528 , to frame texts, see section\InsetSpace ~
24529
24530 \begin_inset LatexCommand ref
24531 reference "sec:Framed-Boxes"
24532
24533 \end_inset
24534
24535 , to prevent words to be hyphenated, see section\InsetSpace ~
24536
24537 \begin_inset LatexCommand ref
24538 reference "sec:Prevent-Hyphenation"
24539
24540 \end_inset
24541
24542 , to align text, see section\InsetSpace ~
24543
24544 \begin_inset LatexCommand ref
24545 reference "sub:Vertical-Alignment"
24546
24547 \end_inset
24548
24549 , or to set the background color of texts, see section\InsetSpace ~
24550
24551 \begin_inset LatexCommand ref
24552 reference "sec:Colored-Boxes"
24553
24554 \end_inset
24555
24556 .
24557 \end_layout
24558
24559 \begin_layout Standard
24560 Boxes can be inserted with the menu 
24561 \family sans
24562 Insert\SpecialChar \menuseparator
24563 Box
24564 \family default
24565  or the toolbar button 
24566 \begin_inset Graphics
24567         filename ../images/box-insert.png
24568         scale 85
24569         scaleBeforeRotation
24570
24571 \end_inset
24572
24573 .
24574  A grey box with the label 
24575 \family sans
24576 Box (Minipage)
24577 \family default
24578
24579 \begin_inset Graphics
24580         filename clipart/BoxInsetDefaultQt4.png
24581         scale 85
24582         scaleBeforeRotation
24583
24584 \end_inset
24585
24586 , will be inserted.
24587  The box type can be specified by right-clicking on the box.
24588  The appearing box dialog offers the 
24589 \family sans
24590 Inner\InsetSpace ~
24591 Box
24592 \family default
24593  types 
24594 \family sans
24595 Parbox
24596 \family default
24597  and 
24598 \family sans
24599 Minipage
24600 \family default
24601 .
24602  The type 
24603 \family sans
24604 Minipage
24605 \family default
24606  is the default for new boxes and is explained in section\InsetSpace ~
24607
24608 \begin_inset LatexCommand ref
24609 reference "sec:Minipages"
24610
24611 \end_inset
24612
24613 ; the type 
24614 \family sans
24615 Parbox
24616 \family default
24617  is described in section\InsetSpace ~
24618
24619 \begin_inset LatexCommand ref
24620 reference "sec:Parboxes"
24621
24622 \end_inset
24623
24624 .
24625 \end_layout
24626
24627 \begin_layout Standard
24628 Boxes aren't numbered and can therefore not be referenced like floats or
24629  footnotes.
24630 \end_layout
24631
24632 \begin_layout Standard
24633 \begin_inset Note Greyedout
24634 status open
24635
24636 \begin_layout Standard
24637
24638 \series bold
24639 Note:
24640 \series default
24641  Boxes must not be the item in an 
24642 \family sans
24643 Itemize
24644 \family default
24645  or 
24646 \family sans
24647 Description
24648 \family default
24649  environment.
24650 \end_layout
24651
24652 \end_inset
24653
24654
24655 \end_layout
24656
24657 \begin_layout Standard
24658 \begin_inset Note Greyedout
24659 status open
24660
24661 \begin_layout Standard
24662
24663 \series bold
24664 Note:
24665 \series default
24666  For an unknown reason you can only set the 
24667 \family sans
24668 Inner\InsetSpace ~
24669 Box
24670 \family default
24671  type to 
24672 \family sans
24673 None
24674 \family default
24675  when you use a framed box.
24676  Boxes without an 
24677 \family sans
24678 Inner\InsetSpace ~
24679 Box
24680 \family default
24681  type and without frames are explained in section\InsetSpace ~
24682
24683 \begin_inset LatexCommand ref
24684 reference "sec:Prevent-Hyphenation"
24685
24686 \end_inset
24687
24688 .
24689 \end_layout
24690
24691 \end_inset
24692
24693
24694 \end_layout
24695
24696 \begin_layout Section
24697 Box Dialog
24698 \begin_inset LatexCommand label
24699 name "sec:Box-Dialog"
24700
24701 \end_inset
24702
24703
24704 \begin_inset LatexCommand index
24705 name "Boxes ! Box Dialog"
24706
24707 \end_inset
24708
24709
24710 \begin_inset LatexCommand index
24711 name "Boxes ! Alignment"
24712
24713 \end_inset
24714
24715
24716 \end_layout
24717
24718 \begin_layout Standard
24719 In the box dialog you can adjust the box geometry in the fields 
24720 \family sans
24721 Width
24722 \family default
24723  and 
24724 \family sans
24725 Height
24726 \family default
24727 .
24728  The available units for the geometry are explained in Table\InsetSpace ~
24729
24730 \begin_inset LatexCommand ref
24731 reference "tab:Units"
24732
24733 \end_inset
24734
24735 .
24736  The field 
24737 \family sans
24738 Heigth
24739 \family default
24740  offers the following additional sizes:
24741 \end_layout
24742
24743 \begin_layout Description
24744 Depth This is the plain text 
24745 \begin_inset Quotes eld
24746 \end_inset
24747
24748 height
24749 \begin_inset Quotes erd
24750 \end_inset
24751
24752 .
24753  It ignores the total depth when there are multiple text lines in the box:
24754 \newline
24755
24756 \newline
24757
24758 \newline
24759
24760 \begin_inset Box Boxed
24761 position "c"
24762 hor_pos "c"
24763 has_inner_box 1
24764 inner_pos "c"
24765 use_parbox 0
24766 width "12col%"
24767 special "none"
24768 height "1in"
24769 height_special "depth"
24770 status collapsed
24771
24772 \begin_layout Standard
24773 \align center
24774 Box height set to 1\InsetSpace \thinspace{}
24775 Depth
24776 \end_layout
24777
24778 \end_inset
24779
24780
24781 \newline
24782
24783 \newline
24784
24785 \end_layout
24786
24787 \begin_layout Description
24788 Height This is the heigth of the text that is inside the box.
24789  A value of e.\InsetSpace \thinspace{}
24790 g.\InsetSpace ~
24791 2 for this size will set the box heigth to 2 times the text
24792  height: 
24793 \begin_inset Box Boxed
24794 position "c"
24795 hor_pos "c"
24796 has_inner_box 1
24797 inner_pos "c"
24798 use_parbox 0
24799 width "20col%"
24800 special "none"
24801 height "2in"
24802 height_special "height"
24803 status collapsed
24804
24805 \begin_layout Standard
24806 \align center
24807 Box height set to 2\InsetSpace \thinspace{}
24808 Height
24809 \end_layout
24810
24811 \end_inset
24812
24813
24814 \end_layout
24815
24816 \begin_layout Description
24817 Total\InsetSpace ~
24818 Height This is the Height\InsetSpace \thinspace{}
24819 +\InsetSpace \thinspace{}
24820 Depth: 
24821 \begin_inset Box Boxed
24822 position "c"
24823 hor_pos "c"
24824 has_inner_box 1
24825 inner_pos "c"
24826 use_parbox 0
24827 width "20col%"
24828 special "none"
24829 height "1in"
24830 height_special "totalheight"
24831 status collapsed
24832
24833 \begin_layout Standard
24834 \align center
24835 Box height set to 1\InsetSpace \thinspace{}
24836 Total\InsetSpace ~
24837 Height
24838 \end_layout
24839
24840 \end_inset
24841
24842
24843 \end_layout
24844
24845 \begin_layout Description
24846 Width This sets the width of the box as heigth: 
24847 \begin_inset Box Boxed
24848 position "c"
24849 hor_pos "c"
24850 has_inner_box 1
24851 inner_pos "c"
24852 use_parbox 0
24853 width "12col%"
24854 special "none"
24855 height "1in"
24856 height_special "width"
24857 status collapsed
24858
24859 \begin_layout Standard
24860 \align center
24861 Box height set to 1\InsetSpace \thinspace{}
24862 Width
24863 \end_layout
24864
24865 \end_inset
24866
24867
24868 \end_layout
24869
24870 \begin_layout Standard
24871 \begin_inset VSpace bigskip
24872 \end_inset
24873
24874 When you have chosen an 
24875 \family sans
24876 Inner\InsetSpace ~
24877 Box
24878 \family default
24879 , the vertical box alignment can be:
24880 \end_layout
24881
24882 \begin_layout Description
24883 Top This is an example text line.
24884  
24885 \begin_inset Box Boxed
24886 position "t"
24887 hor_pos "c"
24888 has_inner_box 1
24889 inner_pos "c"
24890 use_parbox 0
24891 width "12col%"
24892 special "none"
24893 height "1in"
24894 height_special "totalheight"
24895 status collapsed
24896
24897 \begin_layout Standard
24898 \align center
24899 This box is top-aligned.
24900 \end_layout
24901
24902 \end_inset
24903
24904  This is an example text line.
24905 \end_layout
24906
24907 \begin_layout Description
24908 Middle This is an example text line.
24909  
24910 \begin_inset Box Boxed
24911 position "c"
24912 hor_pos "c"
24913 has_inner_box 1
24914 inner_pos "c"
24915 use_parbox 0
24916 width "12col%"
24917 special "none"
24918 height "1in"
24919 height_special "totalheight"
24920 status collapsed
24921
24922 \begin_layout Standard
24923 \align center
24924 This box is middle-aligned.
24925 \end_layout
24926
24927 \end_inset
24928
24929  This is an example text line.
24930 \end_layout
24931
24932 \begin_layout Description
24933 Bottom This is an example text line.
24934  
24935 \begin_inset Box Boxed
24936 position "b"
24937 hor_pos "c"
24938 has_inner_box 1
24939 inner_pos "c"
24940 use_parbox 0
24941 width "12col%"
24942 special "none"
24943 height "1in"
24944 height_special "totalheight"
24945 status collapsed
24946
24947 \begin_layout Standard
24948 \align center
24949 This box is bottom-aligned.
24950 \end_layout
24951
24952 \end_inset
24953
24954  This is an example text line.
24955 \end_layout
24956
24957 \begin_layout Standard
24958 The horizontal box alignment can be set via LyX's paragraph dialog when
24959  you set the box into its own paragraph.
24960 \end_layout
24961
24962 \begin_layout Standard
24963 \begin_inset VSpace bigskip
24964 \end_inset
24965
24966 When you have chosen an 
24967 \family sans
24968 Inner\InsetSpace ~
24969 Box
24970 \family default
24971 , the box content can be vertical aligned to:
24972 \end_layout
24973
24974 \begin_layout Description
24975 top This is an example text line.
24976  
24977 \begin_inset Box Boxed
24978 position "c"
24979 hor_pos "c"
24980 has_inner_box 1
24981 inner_pos "t"
24982 use_parbox 0
24983 width "12col%"
24984 special "none"
24985 height "1.5in"
24986 height_special "totalheight"
24987 status collapsed
24988
24989 \begin_layout Standard
24990 \align center
24991 This box text is top-aligned.
24992 \end_layout
24993
24994 \end_inset
24995
24996  This is an example text line.
24997 \end_layout
24998
24999 \begin_layout Description
25000 middle This is an example text line.
25001  
25002 \begin_inset Box Boxed
25003 position "c"
25004 hor_pos "c"
25005 has_inner_box 1
25006 inner_pos "c"
25007 use_parbox 0
25008 width "12col%"
25009 special "none"
25010 height "1.5in"
25011 height_special "totalheight"
25012 status collapsed
25013
25014 \begin_layout Standard
25015 \align center
25016 This box text is middle-aligned.
25017 \end_layout
25018
25019 \end_inset
25020
25021  This is an example text line.
25022 \end_layout
25023
25024 \begin_layout Description
25025 bottom This is an example text line.
25026  
25027 \begin_inset Box Boxed
25028 position "c"
25029 hor_pos "c"
25030 has_inner_box 1
25031 inner_pos "b"
25032 use_parbox 0
25033 width "12col%"
25034 special "none"
25035 height "1.5in"
25036 height_special "totalheight"
25037 status collapsed
25038
25039 \begin_layout Standard
25040 \align center
25041 This box text is bottom-aligned.
25042 \end_layout
25043
25044 \end_inset
25045
25046  This is an example text line.
25047 \end_layout
25048
25049 \begin_layout Description
25050 stretch This is an example text line.
25051  
25052 \begin_inset Box Boxed
25053 position "c"
25054 hor_pos "c"
25055 has_inner_box 1
25056 inner_pos "s"
25057 use_parbox 0
25058 width "12col%"
25059 special "none"
25060 height "1.5in"
25061 height_special "totalheight"
25062 status collapsed
25063
25064 \begin_layout Standard
25065 \align center
25066 This box
25067 \end_layout
25068
25069 \begin_layout Standard
25070 \align center
25071 text is
25072 \end_layout
25073
25074 \begin_layout Standard
25075 \align center
25076 stretched.
25077 \end_layout
25078
25079 \end_inset
25080
25081  This is an example text line.
25082 \end_layout
25083
25084 \begin_layout Standard
25085 To stretch the box content, it must consist of more than one paragraph.
25086  In the example above every text line is in an own paragraph.
25087 \end_layout
25088
25089 \begin_layout Standard
25090 \begin_inset VSpace bigskip
25091 \end_inset
25092
25093 To align the box content horizontally you can use LyX's paragraph dialog
25094  when you have chosen an 
25095 \family sans
25096 Inner\InsetSpace ~
25097 Box
25098 \family default
25099 .
25100 \end_layout
25101
25102 \begin_layout Standard
25103 \align center
25104 \begin_inset Box Boxed
25105 position "c"
25106 hor_pos "c"
25107 has_inner_box 1
25108 inner_pos "s"
25109 use_parbox 0
25110 width "15col%"
25111 special "none"
25112 height "1.25in"
25113 height_special "totalheight"
25114 status collapsed
25115
25116 \begin_layout Standard
25117 \align left
25118 This box
25119 \end_layout
25120
25121 \begin_layout Standard
25122 \align center
25123 text is
25124 \end_layout
25125
25126 \begin_layout Standard
25127 \align right
25128 stretched.
25129 \end_layout
25130
25131 \end_inset
25132
25133
25134 \end_layout
25135
25136 \begin_layout Standard
25137 If you haven't set an 
25138 \family sans
25139 Inner\InsetSpace ~
25140 Box
25141 \family default
25142 , you can align the box content horizontally in the box dialog.
25143 \end_layout
25144
25145 \begin_layout Standard
25146 \align center
25147 \begin_inset Box Boxed
25148 position "c"
25149 hor_pos "s"
25150 has_inner_box 0
25151 inner_pos "s"
25152 use_parbox 0
25153 width "90col%"
25154 special "none"
25155 height "1.25in"
25156 height_special "totalheight"
25157 status collapsed
25158
25159 \begin_layout Standard
25160 \align left
25161 This box text is horizontally stretched.
25162 \end_layout
25163
25164 \end_inset
25165
25166
25167 \end_layout
25168
25169 \begin_layout Section
25170 Framed Boxes
25171 \begin_inset LatexCommand label
25172 name "sec:Framed-Boxes"
25173
25174 \end_inset
25175
25176
25177 \begin_inset LatexCommand index
25178 name "Boxes ! Frames"
25179
25180 \end_inset
25181
25182
25183 \end_layout
25184
25185 \begin_layout Standard
25186 The frame style of the box can be specified in the box-dialog in the drop-down
25187  list 
25188 \family sans
25189 Type
25190 \family default
25191 .
25192  The following frame types are possible:
25193 \end_layout
25194
25195 \begin_layout Description
25196 Rectangular\InsetSpace ~
25197 box This draws a rectangle frame around the box.
25198  The frame line thickness has the size of 
25199 \series bold
25200
25201 \backslash
25202 fboxrule
25203 \series default
25204 .
25205  
25206 \begin_inset Box Boxed
25207 position "c"
25208 hor_pos "c"
25209 has_inner_box 1
25210 inner_pos "c"
25211 use_parbox 0
25212 width "20col%"
25213 special "none"
25214 height "1in"
25215 height_special "totalheight"
25216 status collapsed
25217
25218 \begin_layout Standard
25219 \align center
25220 Rectangular box
25221 \end_layout
25222
25223 \end_inset
25224
25225
25226 \end_layout
25227
25228 \begin_layout Description
25229 Oval\InsetSpace ~
25230 box,\InsetSpace ~
25231 thin This draws an oval frame around the box.
25232  The frame line thickness has the size 0.4\InsetSpace \thinspace{}
25233 pt.
25234  
25235 \begin_inset Box ovalbox
25236 position "c"
25237 hor_pos "c"
25238 has_inner_box 1
25239 inner_pos "c"
25240 use_parbox 0
25241 width "20col%"
25242 special "none"
25243 height "1in"
25244 height_special "totalheight"
25245 status collapsed
25246
25247 \begin_layout Standard
25248 \align center
25249 Oval box, thin
25250 \end_layout
25251
25252 \end_inset
25253
25254
25255 \end_layout
25256
25257 \begin_layout Description
25258 Oval\InsetSpace ~
25259 box,\InsetSpace ~
25260 thick This draws an oval frame around the box.
25261  The frame line thickness has the size 0.8\InsetSpace \thinspace{}
25262 pt.
25263  
25264 \begin_inset Box Ovalbox
25265 position "c"
25266 hor_pos "c"
25267 has_inner_box 1
25268 inner_pos "c"
25269 use_parbox 0
25270 width "20col%"
25271 special "none"
25272 height "1in"
25273 height_special "totalheight"
25274 status collapsed
25275
25276 \begin_layout Standard
25277 \align center
25278 Oval box, thick
25279 \end_layout
25280
25281 \end_inset
25282
25283
25284 \end_layout
25285
25286 \begin_layout Description
25287 Shadow\InsetSpace ~
25288 box This draws a rectangle frame with a shadow around the box.
25289  The frame line thickness has the size of 
25290 \series bold
25291
25292 \backslash
25293 fboxrule
25294 \series default
25295 , the shadow has a width of 4\InsetSpace \thinspace{}
25296 pt.
25297  
25298 \begin_inset Box Shadowbox
25299 position "c"
25300 hor_pos "c"
25301 has_inner_box 1
25302 inner_pos "c"
25303 use_parbox 0
25304 width "20col%"
25305 special "none"
25306 height "1in"
25307 height_special "totalheight"
25308 status collapsed
25309
25310 \begin_layout Standard
25311 \align center
25312 Shadow box
25313 \end_layout
25314
25315 \end_inset
25316
25317
25318 \end_layout
25319
25320 \begin_layout Description
25321 Double\InsetSpace ~
25322 box This draws a double-line rectangle frame around the box.
25323  The line thickness of the inner frame is 0.75\InsetSpace \thinspace{}
25324
25325 \series bold
25326
25327 \backslash
25328 fboxrule
25329 \series default
25330 , the thickness of the outer frame is 1.5\InsetSpace \thinspace{}
25331
25332 \series bold
25333
25334 \backslash
25335 fboxrule
25336 \series default
25337 .
25338  The distance between the lines is 1.5\InsetSpace \thinspace{}
25339
25340 \series bold
25341
25342 \backslash
25343 fboxrule
25344 \series default
25345 \InsetSpace \thinspace{}
25346 +\InsetSpace \thinspace{}
25347 0.5\InsetSpace \thinspace{}
25348 pt.
25349  
25350 \begin_inset Box Doublebox
25351 position "c"
25352 hor_pos "c"
25353 has_inner_box 1
25354 inner_pos "c"
25355 use_parbox 0
25356 width "20col%"
25357 special "none"
25358 height "1in"
25359 height_special "totalheight"
25360 status collapsed
25361
25362 \begin_layout Standard
25363 \align center
25364 Double box
25365 \end_layout
25366
25367 \end_inset
25368
25369
25370 \end_layout
25371
25372 \begin_layout Standard
25373 \begin_inset VSpace bigskip
25374 \end_inset
25375
25376 LyX's box label will change to the used frame style when you set a frame.
25377  To be able to use the different frame styles, the LaTeX-package 
25378 \series bold
25379 fancybox
25380 \series default
25381
25382 \begin_inset LatexCommand index
25383 name "LaTeX-packages ! fancybox"
25384
25385 \end_inset
25386
25387  must be installed.
25388 \end_layout
25389
25390 \begin_layout Standard
25391 \begin_inset VSpace bigskip
25392 \end_inset
25393
25394 The default value for the size 
25395 \series bold
25396
25397 \backslash
25398 fboxrule
25399 \series default
25400  is 0.4\InsetSpace \thinspace{}
25401 pt.
25402  It can be changed with the following command in TeX-Code to e.\InsetSpace \thinspace{}
25403 g.\InsetSpace ~
25404 2\InsetSpace \thinspace{}
25405 pt:
25406 \end_layout
25407
25408 \begin_layout Standard
25409
25410 \series bold
25411
25412 \backslash
25413 setlength{
25414 \backslash
25415 fboxrule}{2pt}
25416 \end_layout
25417
25418 \begin_layout Standard
25419 \begin_inset ERT
25420 status collapsed
25421
25422 \begin_layout Standard
25423
25424
25425 \backslash
25426 setlength{
25427 \backslash
25428 fboxrule}{2pt}
25429 \end_layout
25430
25431 \end_inset
25432
25433
25434 \begin_inset Box Boxed
25435 position "c"
25436 hor_pos "c"
25437 has_inner_box 1
25438 inner_pos "c"
25439 use_parbox 0
25440 width "25col%"
25441 special "none"
25442 height "1in"
25443 height_special "totalheight"
25444 status collapsed
25445
25446 \begin_layout Standard
25447 \align center
25448 Rectangular box with 
25449 \series bold
25450
25451 \backslash
25452 fboxrule
25453 \series default
25454 \InsetSpace \thinspace{}
25455 =\InsetSpace \thinspace{}
25456 2\InsetSpace \thinspace{}
25457 pt
25458 \end_layout
25459
25460 \end_inset
25461
25462
25463 \begin_inset ERT
25464 status collapsed
25465
25466 \begin_layout Standard
25467
25468
25469 \backslash
25470 setlength{
25471 \backslash
25472 fboxrule}{0.4pt}
25473 \end_layout
25474
25475 \end_inset
25476
25477
25478 \end_layout
25479
25480 \begin_layout Standard
25481 \begin_inset VSpace bigskip
25482 \end_inset
25483
25484 The space between the frame and the box content is for all frame styles
25485  by default 3\InsetSpace \thinspace{}
25486 pt.
25487  You can change it by setting the length 
25488 \series bold
25489
25490 \backslash
25491 fboxsep
25492 \series default
25493  to another value.
25494  For example the command
25495 \end_layout
25496
25497 \begin_layout Standard
25498
25499 \series bold
25500
25501 \backslash
25502 setlength{
25503 \backslash
25504 fboxsep}{10pt}
25505 \end_layout
25506
25507 \begin_layout Standard
25508 sets the value to 10\InsetSpace \thinspace{}
25509 pt, like for the following box:
25510 \end_layout
25511
25512 \begin_layout Standard
25513 \begin_inset ERT
25514 status collapsed
25515
25516 \begin_layout Standard
25517
25518
25519 \backslash
25520 setlength{
25521 \backslash
25522 fboxsep}{10pt}
25523 \end_layout
25524
25525 \end_inset
25526
25527
25528 \begin_inset Box Boxed
25529 position "c"
25530 hor_pos "c"
25531 has_inner_box 1
25532 inner_pos "c"
25533 use_parbox 0
25534 width "25col%"
25535 special "none"
25536 height "1in"
25537 height_special "totalheight"
25538 status collapsed
25539
25540 \begin_layout Standard
25541 \align center
25542 Rectangular box with 
25543 \series bold
25544
25545 \backslash
25546 fboxsep
25547 \series default
25548 \InsetSpace \thinspace{}
25549 =\InsetSpace \thinspace{}
25550 10\InsetSpace \thinspace{}
25551 pt
25552 \end_layout
25553
25554 \end_inset
25555
25556
25557 \begin_inset ERT
25558 status collapsed
25559
25560 \begin_layout Standard
25561
25562
25563 \backslash
25564 setlength{
25565 \backslash
25566 fboxsep}{3pt}
25567 \end_layout
25568
25569 \end_inset
25570
25571
25572 \end_layout
25573
25574 \begin_layout Standard
25575 \begin_inset VSpace bigskip
25576 \end_inset
25577
25578 The diameter of the round corners of the oval boxes can be set with the
25579  command 
25580 \series bold
25581
25582 \backslash
25583 cornersize
25584 \series default
25585 .
25586  The command
25587 \end_layout
25588
25589 \begin_layout Standard
25590
25591 \series bold
25592
25593 \backslash
25594 cornersize*{1cm}
25595 \end_layout
25596
25597 \begin_layout Standard
25598 sets the diameter to 1\InsetSpace \thinspace{}
25599 cm.
25600  The command
25601 \end_layout
25602
25603 \begin_layout Standard
25604
25605 \series bold
25606
25607 \backslash
25608 cornersize{num}
25609 \end_layout
25610
25611 \begin_layout Standard
25612 sets the diameter to 
25613 \family sans
25614 num\InsetSpace \thinspace{}
25615 ×\InsetSpace \thinspace{}
25616 minimum(width and heigth of box)
25617 \family default
25618 .
25619  The default is 
25620 \series bold
25621
25622 \backslash
25623 cornersize{0.5}
25624 \series default
25625 .
25626 \end_layout
25627
25628 \begin_layout Standard
25629 \begin_inset ERT
25630 status collapsed
25631
25632 \begin_layout Standard
25633
25634
25635 \backslash
25636 cornersize*{1.5cm}
25637 \end_layout
25638
25639 \end_inset
25640
25641
25642 \begin_inset Box Ovalbox
25643 position "c"
25644 hor_pos "c"
25645 has_inner_box 1
25646 inner_pos "c"
25647 use_parbox 0
25648 width "25col%"
25649 special "none"
25650 height "1in"
25651 height_special "totalheight"
25652 status collapsed
25653
25654 \begin_layout Standard
25655 \align center
25656 Oval box with 
25657 \series bold
25658
25659 \backslash
25660 cornersize
25661 \series default
25662 \InsetSpace \thinspace{}
25663 =\InsetSpace \thinspace{}
25664 1.5\InsetSpace \thinspace{}
25665 cm
25666 \end_layout
25667
25668 \end_inset
25669
25670
25671 \begin_inset ERT
25672 status collapsed
25673
25674 \begin_layout Standard
25675
25676
25677 \backslash
25678 cornersize{0.5}
25679 \end_layout
25680
25681 \end_inset
25682
25683
25684 \end_layout
25685
25686 \begin_layout Standard
25687 \begin_inset VSpace bigskip
25688 \end_inset
25689
25690 The size of the shadow can be adjusted by changing the length 
25691 \series bold
25692
25693 \backslash
25694 shadowsize
25695 \series default
25696 .
25697  It it set to 2\InsetSpace \thinspace{}
25698 pt for the following box by this command:
25699 \end_layout
25700
25701 \begin_layout Standard
25702
25703 \series bold
25704
25705 \backslash
25706 setlength{
25707 \backslash
25708 shadowsize}{2pt}
25709 \end_layout
25710
25711 \begin_layout Standard
25712 \begin_inset ERT
25713 status collapsed
25714
25715 \begin_layout Standard
25716
25717
25718 \backslash
25719 setlength{
25720 \backslash
25721 shadowsize}{2pt}
25722 \end_layout
25723
25724 \end_inset
25725
25726
25727 \begin_inset Box Shadowbox
25728 position "c"
25729 hor_pos "c"
25730 has_inner_box 1
25731 inner_pos "c"
25732 use_parbox 0
25733 width "25col%"
25734 special "none"
25735 height "1in"
25736 height_special "totalheight"
25737 status collapsed
25738
25739 \begin_layout Standard
25740 \align center
25741 Shadow box with 
25742 \series bold
25743
25744 \backslash
25745 shadowsize
25746 \series default
25747 \InsetSpace \thinspace{}
25748 =\InsetSpace \thinspace{}
25749 2\InsetSpace \thinspace{}
25750 pt
25751 \end_layout
25752
25753 \end_inset
25754
25755
25756 \begin_inset ERT
25757 status collapsed
25758
25759 \begin_layout Standard
25760
25761
25762 \backslash
25763 setlength{
25764 \backslash
25765 shadowsize}{4pt}
25766 \end_layout
25767
25768 \end_inset
25769
25770
25771 \end_layout
25772
25773 \begin_layout Standard
25774 \begin_inset VSpace bigskip
25775 \end_inset
25776
25777 Changed lengths and widths are valid for all boxes following the commands
25778  that change them.
25779 \end_layout
25780
25781 \begin_layout Section
25782 Minipages
25783 \begin_inset LatexCommand label
25784 name "sec:Minipages"
25785
25786 \end_inset
25787
25788
25789 \begin_inset LatexCommand index
25790 name "Boxes ! Minipages"
25791
25792 \end_inset
25793
25794
25795 \end_layout
25796
25797 \begin_layout Standard
25798 Minipages are treated by LaTeX as pages within pages and can therefore for
25799  example have their own footnotes.
25800 \end_layout
25801
25802 \begin_layout Standard
25803 Minipages are useful when you write documents with different languages.
25804 \end_layout
25805
25806 \begin_layout Standard
25807 Below are two example minipages side by side.
25808  Their width is set to 45\InsetSpace \thinspace{}
25809 col% and they are separated by a horizontal fill,
25810  that was inserted via the menu 
25811 \family sans
25812 Insert\SpecialChar \menuseparator
25813 Special\InsetSpace ~
25814 Formatting\SpecialChar \menuseparator
25815 Horizontal\InsetSpace ~
25816 Fill
25817 \family default
25818 .
25819 \end_layout
25820
25821 \begin_layout Standard
25822 \begin_inset Box Frameless
25823 position "t"
25824 hor_pos "c"
25825 has_inner_box 1
25826 inner_pos "c"
25827 use_parbox 0
25828 width "45col%"
25829 special "none"
25830 height "1in"
25831 height_special "totalheight"
25832 status open
25833
25834 \begin_layout Standard
25835
25836 \lang german
25837 Dies ist ein deutscher Text.
25838  Dies ist ein deutscher Text.
25839  Dies ist ein deutscher Text.
25840  Dies ist ein deutscher Text.
25841  Dies ist ein deutscher Text.
25842  Dies ist ein deutscher Text.
25843  Dies ist ein deutscher Text.
25844  Dies ist ein deutscher Text.
25845  Dies ist ein deutscher Text.
25846  Dies ist ein deutscher Text.
25847  Dies ist ein deutscher Text.
25848  Dies ist ein deutscher Text.
25849  Dies ist ein deutscher Text
25850 \begin_inset Foot
25851 status collapsed
25852
25853 \begin_layout Standard
25854
25855 \lang german
25856 Dies ist eine deutsche Fußnote.
25857 \end_layout
25858
25859 \end_inset
25860
25861 .
25862  Dies ist ein deutscher Text.
25863  Dies ist ein deutscher Text.
25864 \end_layout
25865
25866 \end_inset
25867
25868
25869 \hfill
25870
25871 \begin_inset Box Frameless
25872 position "t"
25873 hor_pos "c"
25874 has_inner_box 1
25875 inner_pos "c"
25876 use_parbox 0
25877 width "45col%"
25878 special "none"
25879 height "1in"
25880 height_special "totalheight"
25881 status open
25882
25883 \begin_layout Standard
25884 This is an English Text.
25885  This is an English Text.
25886  This is an English Text.
25887  This is an English Text.
25888  This is an English Text.
25889  This is an English Text.
25890  This is an English Text.
25891  This is an English Text.
25892  This is an English Text.
25893  This is an English Text.
25894  This is an English Text.
25895  This is an English Text.
25896  This is an English Text.
25897  This is an English Text.
25898  This is an English Text.
25899  This is an English Text.
25900 \begin_inset Foot
25901 status collapsed
25902
25903 \begin_layout Standard
25904 This is an English footnote.
25905 \end_layout
25906
25907 \end_inset
25908
25909  This is an English Text.
25910  
25911 \end_layout
25912
25913 \end_inset
25914
25915
25916 \end_layout
25917
25918 \begin_layout Standard
25919 \begin_inset VSpace bigskip
25920 \end_inset
25921
25922 Another application for minipages are footnotes within tables.
25923  Due to a LaTeX restriction footnotes within tables doesn't appear at the
25924  bottom of the current page.
25925  But when you put the table with the footnote to a minipage, the footnote
25926  will appear at its bottom, numbered with Latin letters.
25927  The footnote number is reset to 1 in every minipage but not outside the
25928  minipages.
25929 \end_layout
25930
25931 \begin_layout Standard
25932 The footnote of this table doesn't appear: 
25933 \begin_inset Tabular
25934 <lyxtabular version="3" rows="3" columns="4">
25935 <features>
25936 <column alignment="center" valignment="top" leftline="true" width="0pt">
25937 <column alignment="center" valignment="top" leftline="true" width="0pt">
25938 <column alignment="center" valignment="top" leftline="true" width="0pt">
25939 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
25940 <row topline="true">
25941 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25942 \begin_inset Text
25943
25944 \begin_layout Standard
25945 1
25946 \end_layout
25947
25948 \end_inset
25949 </cell>
25950 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25951 \begin_inset Text
25952
25953 \begin_layout Standard
25954 2
25955 \end_layout
25956
25957 \end_inset
25958 </cell>
25959 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25960 \begin_inset Text
25961
25962 \begin_layout Standard
25963 3
25964 \begin_inset Foot
25965 status collapsed
25966
25967 \begin_layout Standard
25968 This is a footnote within a table.
25969 \end_layout
25970
25971 \end_inset
25972
25973
25974 \end_layout
25975
25976 \end_inset
25977 </cell>
25978 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
25979 \begin_inset Text
25980
25981 \begin_layout Standard
25982 4
25983 \end_layout
25984
25985 \end_inset
25986 </cell>
25987 </row>
25988 <row topline="true">
25989 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25990 \begin_inset Text
25991
25992 \begin_layout Standard
25993 a
25994 \end_layout
25995
25996 \end_inset
25997 </cell>
25998 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
25999 \begin_inset Text
26000
26001 \begin_layout Standard
26002 b
26003 \end_layout
26004
26005 \end_inset
26006 </cell>
26007 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26008 \begin_inset Text
26009
26010 \begin_layout Standard
26011 c
26012 \end_layout
26013
26014 \end_inset
26015 </cell>
26016 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26017 \begin_inset Text
26018
26019 \begin_layout Standard
26020 d
26021 \end_layout
26022
26023 \end_inset
26024 </cell>
26025 </row>
26026 <row topline="true" bottomline="true">
26027 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26028 \begin_inset Text
26029
26030 \begin_layout Standard
26031 e
26032 \end_layout
26033
26034 \end_inset
26035 </cell>
26036 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26037 \begin_inset Text
26038
26039 \begin_layout Standard
26040 f
26041 \end_layout
26042
26043 \end_inset
26044 </cell>
26045 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26046 \begin_inset Text
26047
26048 \begin_layout Standard
26049 g
26050 \end_layout
26051
26052 \end_inset
26053 </cell>
26054 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26055 \begin_inset Text
26056
26057 \begin_layout Standard
26058 h
26059 \end_layout
26060
26061 \end_inset
26062 </cell>
26063 </row>
26064 </lyxtabular>
26065
26066 \end_inset
26067
26068
26069 \end_layout
26070
26071 \begin_layout Standard
26072 \align center
26073 \begin_inset Box Frameless
26074 position "t"
26075 hor_pos "c"
26076 has_inner_box 1
26077 inner_pos "c"
26078 use_parbox 0
26079 width "30col%"
26080 special "none"
26081 height "1in"
26082 height_special "totalheight"
26083 status open
26084
26085 \begin_layout Standard
26086 \align center
26087 \begin_inset Tabular
26088 <lyxtabular version="3" rows="3" columns="4">
26089 <features>
26090 <column alignment="center" valignment="top" leftline="true" width="0pt">
26091 <column alignment="center" valignment="top" leftline="true" width="0pt">
26092 <column alignment="center" valignment="top" leftline="true" width="0pt">
26093 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0pt">
26094 <row topline="true">
26095 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26096 \begin_inset Text
26097
26098 \begin_layout Standard
26099 1
26100 \end_layout
26101
26102 \end_inset
26103 </cell>
26104 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26105 \begin_inset Text
26106
26107 \begin_layout Standard
26108 2
26109 \end_layout
26110
26111 \end_inset
26112 </cell>
26113 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26114 \begin_inset Text
26115
26116 \begin_layout Standard
26117 3
26118 \begin_inset Foot
26119 status collapsed
26120
26121 \begin_layout Standard
26122 This is a footnote within a table.
26123 \end_layout
26124
26125 \end_inset
26126
26127
26128 \end_layout
26129
26130 \end_inset
26131 </cell>
26132 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26133 \begin_inset Text
26134
26135 \begin_layout Standard
26136 4
26137 \end_layout
26138
26139 \end_inset
26140 </cell>
26141 </row>
26142 <row topline="true">
26143 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26144 \begin_inset Text
26145
26146 \begin_layout Standard
26147 a
26148 \end_layout
26149
26150 \end_inset
26151 </cell>
26152 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26153 \begin_inset Text
26154
26155 \begin_layout Standard
26156 b
26157 \end_layout
26158
26159 \end_inset
26160 </cell>
26161 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26162 \begin_inset Text
26163
26164 \begin_layout Standard
26165 c
26166 \end_layout
26167
26168 \end_inset
26169 </cell>
26170 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26171 \begin_inset Text
26172
26173 \begin_layout Standard
26174 d
26175 \end_layout
26176
26177 \end_inset
26178 </cell>
26179 </row>
26180 <row topline="true" bottomline="true">
26181 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26182 \begin_inset Text
26183
26184 \begin_layout Standard
26185 e
26186 \end_layout
26187
26188 \end_inset
26189 </cell>
26190 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26191 \begin_inset Text
26192
26193 \begin_layout Standard
26194 f
26195 \end_layout
26196
26197 \end_inset
26198 </cell>
26199 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
26200 \begin_inset Text
26201
26202 \begin_layout Standard
26203 g
26204 \end_layout
26205
26206 \end_inset
26207 </cell>
26208 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
26209 \begin_inset Text
26210
26211 \begin_layout Standard
26212 h
26213 \end_layout
26214
26215 \end_inset
26216 </cell>
26217 </row>
26218 </lyxtabular>
26219
26220 \end_inset
26221
26222
26223 \end_layout
26224
26225 \end_inset
26226
26227
26228 \end_layout
26229
26230 \begin_layout Standard
26231 \begin_inset VSpace bigskip
26232 \end_inset
26233
26234 The document-wide paragraph settings are ignored within minipages.
26235  That means that there will be no space between paragraphs in minipages
26236  although you set it to e.\InsetSpace \thinspace{}
26237 g.\InsetSpace ~
26238
26239 \family sans
26240 MedSkip
26241 \family default
26242  in the document settings.
26243 \end_layout
26244
26245 \begin_layout Standard
26246 Minipages can also be used to set a background color for text parts, see
26247  section\InsetSpace ~
26248
26249 \begin_inset LatexCommand ref
26250 reference "sub:Color-for-Paragraphs"
26251
26252 \end_inset
26253
26254 .
26255 \end_layout
26256
26257 \begin_layout Standard
26258 \begin_inset Note Greyedout
26259 status open
26260
26261 \begin_layout Standard
26262
26263 \series bold
26264 Note:
26265 \series default
26266  You cannot have floats or margin notes inside minipages but minipages can
26267  be used inside tables, floats, and other boxes.
26268 \end_layout
26269
26270 \end_inset
26271
26272
26273 \end_layout
26274
26275 \begin_layout Section
26276 Parboxes
26277 \begin_inset LatexCommand label
26278 name "sec:Parboxes"
26279
26280 \end_inset
26281
26282
26283 \begin_inset LatexCommand index
26284 name "Boxes ! Parboxes"
26285
26286 \end_inset
26287
26288
26289 \end_layout
26290
26291 \begin_layout Standard
26292 Parboxes are very similar to minipages with the difference that they cannot
26293  have footnotes.
26294  The main difference to minipages is that minipages are in contrary to parboxes
26295  no real boxes but LaTeX-environments.
26296 \end_layout
26297
26298 \begin_layout Standard
26299 \align center
26300 \begin_inset Box Frameless
26301 position "t"
26302 hor_pos "c"
26303 has_inner_box 1
26304 inner_pos "t"
26305 use_parbox 1
26306 width "33col%"
26307 special "none"
26308 height "1in"
26309 height_special "totalheight"
26310 status collapsed
26311
26312 \begin_layout Standard
26313 This a text within a parbox.
26314  This a text within a parbox.
26315 \end_layout
26316
26317 \begin_layout Standard
26318 This footnote won't appear:
26319 \begin_inset Foot
26320 status collapsed
26321
26322 \begin_layout Standard
26323 This footnote is inside a parbox and will therefore not appear.
26324 \end_layout
26325
26326 \end_inset
26327
26328
26329 \end_layout
26330
26331 \end_inset
26332
26333
26334 \end_layout
26335
26336 \begin_layout Section
26337 Boxes for Words and Characters
26338 \begin_inset LatexCommand index
26339 name "Boxes ! for Characters"
26340
26341 \end_inset
26342
26343
26344 \end_layout
26345
26346 \begin_layout Subsection
26347 Prevent Hyphenation
26348 \begin_inset LatexCommand label
26349 name "sec:Prevent-Hyphenation"
26350
26351 \end_inset
26352
26353
26354 \begin_inset LatexCommand index
26355 name "Boxes ! to Prevent Hyphenation"
26356
26357 \end_inset
26358
26359
26360 \end_layout
26361
26362 \begin_layout Standard
26363 You can use a special kind of boxes to prevent words or text to be hyphenated.
26364 \newline
26365 Her
26366 e is an example text:
26367 \end_layout
26368
26369 \begin_layout Standard
26370 This line is an example to show how you can prevent the hyphenation of 
26371 \begin_inset Quotes eld
26372 \end_inset
26373
26374 veryverylongword
26375 \begin_inset Quotes erd
26376 \end_inset
26377
26378 .
26379 \end_layout
26380
26381 \begin_layout Standard
26382 To prevent the hyphenation of the word 
26383 \begin_inset Quotes eld
26384 \end_inset
26385
26386 veryverylongword
26387 \begin_inset Quotes erd
26388 \end_inset
26389
26390 , add the command
26391 \end_layout
26392
26393 \begin_layout Standard
26394
26395 \series bold
26396
26397 \backslash
26398 mbox{
26399 \end_layout
26400
26401 \begin_layout Standard
26402 in TeX-Code before the word.
26403  Behind the word insert a closing brace 
26404 \begin_inset Quotes eld
26405 \end_inset
26406
26407
26408 \series bold
26409 }
26410 \series default
26411
26412 \begin_inset Quotes erd
26413 \end_inset
26414
26415  in TeX-Code.
26416 \begin_inset ERT
26417 status collapsed
26418
26419 \begin_layout Standard
26420
26421
26422 \backslash
26423 pagebreak 
26424 \end_layout
26425
26426 \end_inset
26427
26428
26429 \end_layout
26430
26431 \begin_layout Standard
26432 This is the result:
26433 \end_layout
26434
26435 \begin_layout Standard
26436 This line is an example to show how you can prevent the hyphenation of 
26437 \begin_inset ERT
26438 status collapsed
26439
26440 \begin_layout Standard
26441
26442
26443 \backslash
26444 mbox{
26445 \end_layout
26446
26447 \end_inset
26448
26449
26450 \begin_inset Quotes eld
26451 \end_inset
26452
26453 veryverylongword
26454 \begin_inset Quotes erd
26455 \end_inset
26456
26457 .
26458 \begin_inset ERT
26459 status collapsed
26460
26461 \begin_layout Standard
26462
26463 }
26464 \end_layout
26465
26466 \end_inset
26467
26468
26469 \end_layout
26470
26471 \begin_layout Standard
26472 You can alternatively set the command 
26473 \begin_inset Quotes eld
26474 \end_inset
26475
26476
26477 \series bold
26478
26479 \backslash
26480 -
26481 \series default
26482
26483 \begin_inset Quotes grd
26484 \end_inset
26485
26486  as TeX-Code directly before the word:
26487 \end_layout
26488
26489 \begin_layout Standard
26490 This line is an example to show how you can prevent the hyphenation of 
26491 \begin_inset Quotes eld
26492 \end_inset
26493
26494
26495 \begin_inset ERT
26496 status collapsed
26497
26498 \begin_layout Standard
26499
26500
26501 \backslash
26502 -
26503 \end_layout
26504
26505 \end_inset
26506
26507 veryverylongword
26508 \begin_inset Quotes erd
26509 \end_inset
26510
26511 .
26512 \end_layout
26513
26514 \begin_layout Standard
26515 Of course the word now protrudes over the side margin.
26516  To avoid this, add via the menu 
26517 \family sans
26518 Insert\SpecialChar \menuseparator
26519 Special\InsetSpace ~
26520 Formatting\SpecialChar \menuseparator
26521 Line\InsetSpace ~
26522 Break
26523 \family default
26524  (shortcut 
26525 \series bold
26526 Ctrl-Return
26527 \series default
26528 ) a line break before the word:
26529 \end_layout
26530
26531 \begin_layout Standard
26532 This line is an example to show how you can prevent the hyphenation of 
26533 \newline
26534
26535 \begin_inset ERT
26536 status collapsed
26537
26538 \begin_layout Standard
26539
26540
26541 \backslash
26542 mbox{
26543 \end_layout
26544
26545 \end_inset
26546
26547
26548 \begin_inset Quotes eld
26549 \end_inset
26550
26551 veryverylongword
26552 \begin_inset Quotes erd
26553 \end_inset
26554
26555 .
26556 \begin_inset ERT
26557 status collapsed
26558
26559 \begin_layout Standard
26560
26561 }
26562 \end_layout
26563
26564 \end_inset
26565
26566
26567 \end_layout
26568
26569 \begin_layout Subsection
26570 Vertical Alignment
26571 \begin_inset LatexCommand label
26572 name "sub:Vertical-Alignment"
26573
26574 \end_inset
26575
26576
26577 \begin_inset LatexCommand index
26578 name "Boxes ! for Vertical Alignment"
26579
26580 \end_inset
26581
26582
26583 \begin_inset LatexCommand index
26584 name "Boxes ! Raiseboxes"
26585
26586 \end_inset
26587
26588
26589 \end_layout
26590
26591 \begin_layout Standard
26592 With the help of the command 
26593 \series bold
26594
26595 \backslash
26596 raisebox
26597 \series default
26598  you can align words, characters or other boxes vertically to the surrounding
26599  text.
26600  
26601 \series bold
26602
26603 \backslash
26604 raisebox
26605 \series default
26606  is used with the following scheme:
26607 \end_layout
26608
26609 \begin_layout Standard
26610
26611 \series bold
26612
26613 \backslash
26614 raisebox{lift}[height][depth]{box content}
26615 \end_layout
26616
26617 \begin_layout Standard
26618 The lift can be a positive value to raise the box or a negative value to
26619  lower the box.
26620 \end_layout
26621
26622 \begin_layout Standard
26623 To align for example the word 
26624 \begin_inset Quotes eld
26625 \end_inset
26626
26627 preventing
26628 \begin_inset Quotes erd
26629 \end_inset
26630
26631  so that the bottom of the 
26632 \begin_inset Quotes eld
26633 \end_inset
26634
26635 deepest
26636 \begin_inset Quotes erd
26637 \end_inset
26638
26639  character 
26640 \begin_inset Quotes eld
26641 \end_inset
26642
26643 p
26644 \begin_inset Quotes erd
26645 \end_inset
26646
26647  is at the baseline, insert the command
26648 \end_layout
26649
26650 \begin_layout Standard
26651
26652 \series bold
26653
26654 \backslash
26655 raisebox{
26656 \backslash
26657 depth}{
26658 \end_layout
26659
26660 \begin_layout Standard
26661 in TeX-Code before the word.
26662  Behind the word insert a closing brace 
26663 \begin_inset Quotes eld
26664 \end_inset
26665
26666
26667 \series bold
26668 }
26669 \series default
26670
26671 \begin_inset Quotes erd
26672 \end_inset
26673
26674  in TeX-Code.
26675 \newline
26676 This is the result:
26677 \end_layout
26678
26679 \begin_layout Standard
26680 This is a text line with the word 
26681 \begin_inset ERT
26682 status collapsed
26683
26684 \begin_layout Standard
26685
26686
26687 \backslash
26688 raisebox{
26689 \backslash
26690 depth}{
26691 \end_layout
26692
26693 \end_inset
26694
26695
26696 \begin_inset Quotes eld
26697 \end_inset
26698
26699 preventing
26700 \begin_inset Quotes erd
26701 \end_inset
26702
26703
26704 \begin_inset ERT
26705 status collapsed
26706
26707 \begin_layout Standard
26708
26709 }
26710 \end_layout
26711
26712 \end_inset
26713
26714  as raised word.
26715 \end_layout
26716
26717 \begin_layout Standard
26718 \begin_inset VSpace bigskip
26719 \end_inset
26720
26721 When you raise or lower characters in a line, the line distance will be
26722  spread:
26723 \end_layout
26724
26725 \begin_layout Standard
26726 This is a text line with the word 
26727 \begin_inset ERT
26728 status collapsed
26729
26730 \begin_layout Standard
26731
26732
26733 \backslash
26734 raisebox{-
26735 \backslash
26736 depth}{
26737 \end_layout
26738
26739 \end_inset
26740
26741
26742 \begin_inset Quotes eld
26743 \end_inset
26744
26745 preventing
26746 \begin_inset Quotes erd
26747 \end_inset
26748
26749
26750 \begin_inset ERT
26751 status collapsed
26752
26753 \begin_layout Standard
26754
26755 }
26756 \end_layout
26757
26758 \end_inset
26759
26760  as lowered word.
26761 \newline
26762 This is a text line with the word 
26763 \begin_inset ERT
26764 status collapsed
26765
26766 \begin_layout Standard
26767
26768
26769 \backslash
26770 raisebox{0.5cm}{
26771 \end_layout
26772
26773 \end_inset
26774
26775
26776 \begin_inset Quotes eld
26777 \end_inset
26778
26779 testing
26780 \begin_inset Quotes erd
26781 \end_inset
26782
26783
26784 \begin_inset ERT
26785 status collapsed
26786
26787 \begin_layout Standard
26788
26789 }
26790 \end_layout
26791
26792 \end_inset
26793
26794  as raised word.
26795 \end_layout
26796
26797 \begin_layout Standard
26798 If you want to prevent this for a certain reason, set the box height to
26799  a zero value.
26800  For example use
26801 \end_layout
26802
26803 \begin_layout Standard
26804
26805 \series bold
26806
26807 \backslash
26808 raisebox{-
26809 \backslash
26810 depth}[0pt]{
26811 \end_layout
26812
26813 \begin_layout Standard
26814 This is a text line with the word 
26815 \begin_inset ERT
26816 status collapsed
26817
26818 \begin_layout Standard
26819
26820
26821 \backslash
26822 raisebox{-
26823 \backslash
26824 depth}[0pt]{
26825 \end_layout
26826
26827 \end_inset
26828
26829
26830 \begin_inset Quotes eld
26831 \end_inset
26832
26833 preventing
26834 \begin_inset Quotes erd
26835 \end_inset
26836
26837
26838 \begin_inset ERT
26839 status collapsed
26840
26841 \begin_layout Standard
26842
26843 }
26844 \end_layout
26845
26846 \end_inset
26847
26848  as lowered word.
26849 \newline
26850 This is a text line with the word 
26851 \begin_inset ERT
26852 status collapsed
26853
26854 \begin_layout Standard
26855
26856
26857 \backslash
26858 raisebox{0.5cm}[0pt]{
26859 \end_layout
26860
26861 \end_inset
26862
26863
26864 \begin_inset Quotes eld
26865 \end_inset
26866
26867 testing
26868 \begin_inset Quotes erd
26869 \end_inset
26870
26871
26872 \begin_inset ERT
26873 status collapsed
26874
26875 \begin_layout Standard
26876
26877 }
26878 \end_layout
26879
26880 \end_inset
26881
26882  as raised word.
26883 \end_layout
26884
26885 \begin_layout Section
26886 Colored Boxes
26887 \begin_inset LatexCommand label
26888 name "sec:Colored-Boxes"
26889
26890 \end_inset
26891
26892
26893 \begin_inset LatexCommand index
26894 name "Boxes ! Color"
26895
26896 \end_inset
26897
26898
26899 \end_layout
26900
26901 \begin_layout Subsection
26902 Color for Text
26903 \begin_inset LatexCommand index
26904 name "Color ! for Text"
26905
26906 \end_inset
26907
26908
26909 \end_layout
26910
26911 \begin_layout Standard
26912 To color the background of text the text must be put into a so called 
26913 \begin_inset Quotes eld
26914 \end_inset
26915
26916 colorbox
26917 \begin_inset Quotes erd
26918 \end_inset
26919
26920 .
26921  This requires that the LaTeX-package 
26922 \series bold
26923 color
26924 \series default
26925
26926 \begin_inset LatexCommand index
26927 name "LaTeX-packages ! color"
26928
26929 \end_inset
26930
26931  is loaded in the document preamble with the command
26932 \end_layout
26933
26934 \begin_layout Standard
26935
26936 \series bold
26937
26938 \backslash
26939 @ifundefined{textcolor}
26940 \newline
26941
26942 \begin_inset ERT
26943 status collapsed
26944
26945 \begin_layout Standard
26946
26947
26948 \backslash
26949 hphantom{ }
26950 \end_layout
26951
26952 \end_inset
26953
26954 {
26955 \backslash
26956 usepackage{color}}{}
26957 \end_layout
26958
26959 \begin_layout Standard
26960 The package 
26961 \series bold
26962 color
26963 \series default
26964  will be loaded automatically by LyX when you color text
26965 \begin_inset Foot
26966 status collapsed
26967
26968 \begin_layout Standard
26969 To avoid that it is loaded twice the command 
26970 \series bold
26971
26972 \backslash
26973 @ifundef\SpecialChar \textcompwordmark{}
26974 ined
26975 \series default
26976  is used.
26977 \end_layout
26978
26979 \end_inset
26980
26981 .
26982 \end_layout
26983
26984 \begin_layout Standard
26985 \begin_inset VSpace medskip
26986 \end_inset
26987
26988 Colorboxes are created with the command 
26989 \series bold
26990
26991 \backslash
26992 colorbox
26993 \series default
26994 .
26995  This will be used with the following scheme:
26996 \end_layout
26997
26998 \begin_layout Standard
26999
27000 \series bold
27001
27002 \backslash
27003 colorbox{color}{box content}
27004 \end_layout
27005
27006 \begin_layout Standard
27007 The box content can also be a box and colorboxes can also be within other
27008  boxes.
27009 \end_layout
27010
27011 \begin_layout Standard
27012 The following colors are predefined:
27013 \newline
27014
27015 \family sans
27016 black
27017 \family default
27018
27019 \family sans
27020 blue
27021 \family default
27022
27023 \family sans
27024 cyan
27025 \family default
27026 \series bold
27027 ,
27028 \series default
27029  
27030 \family sans
27031 green
27032 \family default
27033
27034 \family sans
27035 magenta
27036 \family default
27037
27038 \family sans
27039 red
27040 \family default
27041
27042 \family sans
27043 white
27044 \family default
27045 , and 
27046 \family sans
27047 yellow
27048 \family default
27049 .
27050 \newline
27051 You can also define your own color as described in section\InsetSpace ~
27052
27053 \begin_inset LatexCommand ref
27054 reference "sec:Colored-Tables"
27055
27056 \end_inset
27057
27058 .
27059 \end_layout
27060
27061 \begin_layout Standard
27062 To have e.\InsetSpace \thinspace{}
27063 g.\InsetSpace ~
27064 a red background for a word, insert the command
27065 \end_layout
27066
27067 \begin_layout Standard
27068
27069 \series bold
27070
27071 \backslash
27072 colorbox{red}{
27073 \end_layout
27074
27075 \begin_layout Standard
27076 before the word in TeX-Code.
27077  Behind the word insert a closing brace 
27078 \begin_inset Quotes eld
27079 \end_inset
27080
27081
27082 \series bold
27083 }
27084 \series default
27085
27086 \begin_inset Quotes erd
27087 \end_inset
27088
27089  in TeX-Code.
27090 \newline
27091 This is the result:
27092 \end_layout
27093
27094 \begin_layout Standard
27095 This is a line where the word 
27096 \begin_inset ERT
27097 status collapsed
27098
27099 \begin_layout Standard
27100
27101
27102 \backslash
27103 colorbox{red}{
27104 \end_layout
27105
27106 \end_inset
27107
27108
27109 \begin_inset Quotes eld
27110 \end_inset
27111
27112 Attention!
27113 \begin_inset Quotes erd
27114 \end_inset
27115
27116
27117 \begin_inset ERT
27118 status collapsed
27119
27120 \begin_layout Standard
27121
27122 }
27123 \end_layout
27124
27125 \end_inset
27126
27127  has a red background.
27128 \end_layout
27129
27130 \begin_layout Standard
27131 \begin_inset VSpace bigskip
27132 \end_inset
27133
27134 If you would have the box frame in a different color, you can use the command
27135  
27136 \series bold
27137
27138 \backslash
27139 fcolorbox
27140 \series default
27141  with the following scheme:
27142 \end_layout
27143
27144 \begin_layout Standard
27145
27146 \series bold
27147
27148 \backslash
27149 fcolorbox{frame color}{box color}{box content}
27150 \end_layout
27151
27152 \begin_layout Standard
27153
27154 \series bold
27155
27156 \backslash
27157 fcolorbox
27158 \series default
27159  is an extension to 
27160 \series bold
27161
27162 \backslash
27163 colorbox
27164 \series default
27165 .
27166  The frame thickness and the space between the frame and the box content
27167  can be adjusted with the lengths 
27168 \series bold
27169
27170 \backslash
27171 fboxrule
27172 \series default
27173  and 
27174 \series bold
27175
27176 \backslash
27177 fboxsep
27178 \series default
27179 , respectively, as described in section\InsetSpace ~
27180
27181 \begin_inset LatexCommand ref
27182 reference "sec:Framed-Boxes"
27183
27184 \end_inset
27185
27186 .
27187 \end_layout
27188
27189 \begin_layout Standard
27190 For the following example the command
27191 \end_layout
27192
27193 \begin_layout Standard
27194
27195 \series bold
27196
27197 \backslash
27198 fcolorbox{cyan}{magenta}{
27199 \end_layout
27200
27201 \begin_layout Standard
27202 was used.
27203 \end_layout
27204
27205 \begin_layout Standard
27206 Here is an example where the frame line thickness was set to 1\InsetSpace \thinspace{}
27207 mm:
27208 \newline
27209
27210 \begin_inset ERT
27211 status collapsed
27212
27213 \begin_layout Standard
27214
27215
27216 \backslash
27217 fboxrule 1mm 
27218 \backslash
27219 fboxsep 1mm
27220 \end_layout
27221
27222 \end_inset
27223
27224
27225 \begin_inset ERT
27226 status collapsed
27227
27228 \begin_layout Standard
27229
27230
27231 \backslash
27232 fcolorbox{cyan}{magenta}{
27233 \end_layout
27234
27235 \end_inset
27236
27237 This is text within a colored, framed box.
27238 \begin_inset ERT
27239 status collapsed
27240
27241 \begin_layout Standard
27242
27243 }
27244 \end_layout
27245
27246 \end_inset
27247
27248
27249 \end_layout
27250
27251 \begin_layout Standard
27252 \begin_inset VSpace bigskip
27253 \end_inset
27254
27255 Of course you can also have colored text inside a colorbox:
27256 \newline
27257
27258 \begin_inset ERT
27259 status collapsed
27260
27261 \begin_layout Standard
27262
27263
27264 \backslash
27265 fcolorbox{cyan}{magenta}{
27266 \end_layout
27267
27268 \end_inset
27269
27270
27271 \color yellow
27272 This is colored text within a colored, framed box.
27273 \color none
27274
27275 \begin_inset ERT
27276 status collapsed
27277
27278 \begin_layout Standard
27279
27280 }
27281 \end_layout
27282
27283 \end_inset
27284
27285
27286 \begin_inset ERT
27287 status collapsed
27288
27289 \begin_layout Standard
27290
27291
27292 \backslash
27293 fboxrule 0.4pt 
27294 \backslash
27295 fboxsep 3pt
27296 \end_layout
27297
27298 \end_inset
27299
27300
27301 \end_layout
27302
27303 \begin_layout Standard
27304
27305 \series bold
27306 \begin_inset VSpace medskip
27307 \end_inset
27308
27309
27310 \end_layout
27311
27312 \begin_layout Standard
27313 \begin_inset Note Greyedout
27314 status open
27315
27316 \begin_layout Standard
27317
27318 \series bold
27319 Note:
27320 \series default
27321  Text in colorboxes cannot have line breaks.
27322  To color multiple text lines or paragraphs, use a box inside a colorbox
27323  as described in the following.
27324 \end_layout
27325
27326 \end_inset
27327
27328
27329 \end_layout
27330
27331 \begin_layout Subsection
27332 Color for Paragraphs
27333 \begin_inset LatexCommand label
27334 name "sub:Color-for-Paragraphs"
27335
27336 \end_inset
27337
27338
27339 \begin_inset LatexCommand index
27340 name "Color ! for Paragraphs"
27341
27342 \end_inset
27343
27344
27345 \end_layout
27346
27347 \begin_layout Standard
27348 To set the background color for more than one text line, put the text into
27349  a minipage.
27350  Before the minipage insert the 
27351 \series bold
27352
27353 \backslash
27354 colorbox
27355 \series default
27356  command
27357 \end_layout
27358
27359 \begin_layout Standard
27360
27361 \series bold
27362
27363 \backslash
27364 colorbox{color}{
27365 \end_layout
27366
27367 \begin_layout Standard
27368 in TeX-Code.
27369  Behind the minipage insert a closing brace 
27370 \begin_inset Quotes eld
27371 \end_inset
27372
27373
27374 \series bold
27375 }
27376 \series default
27377
27378 \begin_inset Quotes erd
27379 \end_inset
27380
27381  in TeX-Code.
27382 \end_layout
27383
27384 \begin_layout Standard
27385 \begin_inset ERT
27386 status collapsed
27387
27388 \begin_layout Standard
27389
27390
27391 \backslash
27392 colorbox{lightgrey}{
27393 \end_layout
27394
27395 \end_inset
27396
27397
27398 \begin_inset Box Frameless
27399 position "t"
27400 hor_pos "c"
27401 has_inner_box 1
27402 inner_pos "t"
27403 use_parbox 0
27404 width "100col%"
27405 special "none"
27406 height "1in"
27407 height_special "totalheight"
27408 status collapsed
27409
27410 \begin_layout Standard
27411 This is text with background color.
27412  This is text with background color.
27413 \end_layout
27414
27415 \begin_layout Standard
27416 \begin_inset VSpace defskip
27417 \end_inset
27418
27419 The text can have footnotes
27420 \begin_inset Foot
27421 status collapsed
27422
27423 \begin_layout Standard
27424 Another example footnote
27425 \end_layout
27426
27427 \end_inset
27428
27429  and can include tables and figures.
27430 \end_layout
27431
27432 \begin_layout Standard
27433 \align center
27434 \begin_inset Tabular
27435 <lyxtabular version="3" rows="3" columns="3">
27436 <features>
27437 <column alignment="center" valignment="top" leftline="true" width="0">
27438 <column alignment="center" valignment="top" leftline="true" width="0">
27439 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27440 <row topline="true">
27441 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27442 \begin_inset Text
27443
27444 \begin_layout Standard
27445 a
27446 \end_layout
27447
27448 \end_inset
27449 </cell>
27450 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27451 \begin_inset Text
27452
27453 \begin_layout Standard
27454 !
27455 \end_layout
27456
27457 \end_inset
27458 </cell>
27459 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27460 \begin_inset Text
27461
27462 \begin_layout Standard
27463 3
27464 \end_layout
27465
27466 \end_inset
27467 </cell>
27468 </row>
27469 <row topline="true">
27470 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27471 \begin_inset Text
27472
27473 \begin_layout Standard
27474 <
27475 \end_layout
27476
27477 \end_inset
27478 </cell>
27479 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27480 \begin_inset Text
27481
27482 \begin_layout Standard
27483 b2
27484 \begin_inset Quotes erd
27485 \end_inset
27486
27487 |
27488 \end_layout
27489
27490 \end_inset
27491 </cell>
27492 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27493 \begin_inset Text
27494
27495 \begin_layout Standard
27496 >
27497 \end_layout
27498
27499 \end_inset
27500 </cell>
27501 </row>
27502 <row topline="true" bottomline="true">
27503 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27504 \begin_inset Text
27505
27506 \begin_layout Standard
27507 1
27508 \end_layout
27509
27510 \end_inset
27511 </cell>
27512 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27513 \begin_inset Text
27514
27515 \begin_layout Standard
27516 §
27517 \end_layout
27518
27519 \end_inset
27520 </cell>
27521 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27522 \begin_inset Text
27523
27524 \begin_layout Standard
27525 c
27526 \end_layout
27527
27528 \end_inset
27529 </cell>
27530 </row>
27531 </lyxtabular>
27532
27533 \end_inset
27534
27535
27536 \end_layout
27537
27538 \end_inset
27539
27540
27541 \begin_inset ERT
27542 status collapsed
27543
27544 \begin_layout Standard
27545
27546 }
27547 \end_layout
27548
27549 \end_inset
27550
27551
27552 \end_layout
27553
27554 \begin_layout Section
27555 Rotated and Scaled Boxes
27556 \end_layout
27557
27558 \begin_layout Standard
27559 To use the the commands described in this section, the LaTeX-package 
27560 \series bold
27561 graphicx
27562 \series default
27563
27564 \begin_inset LatexCommand index
27565 name "LaTeX-packages ! graphicx"
27566
27567 \end_inset
27568
27569  needs to be loaded in the document preamble with the command
27570 \end_layout
27571
27572 \begin_layout Standard
27573
27574 \series bold
27575
27576 \backslash
27577 @ifundefined{rotatebox}
27578 \newline
27579
27580 \begin_inset ERT
27581 status collapsed
27582
27583 \begin_layout Standard
27584
27585
27586 \backslash
27587 hphantom{ }
27588 \end_layout
27589
27590 \end_inset
27591
27592 {
27593 \backslash
27594 usepackage{graphicx}}{}
27595 \end_layout
27596
27597 \begin_layout Standard
27598 \begin_inset Note Greyedout
27599 status open
27600
27601 \begin_layout Standard
27602
27603 \series bold
27604 Note:
27605 \series default
27606  Some DVI-viewers can't display rotated or scaled material.
27607 \end_layout
27608
27609 \end_inset
27610
27611
27612 \end_layout
27613
27614 \begin_layout Standard
27615 \begin_inset Note Greyedout
27616 status open
27617
27618 \begin_layout Standard
27619
27620 \series bold
27621 Note:
27622 \series default
27623  Floats mustn't be inside a rotated or scaled box.
27624 \end_layout
27625
27626 \end_inset
27627
27628
27629 \end_layout
27630
27631 \begin_layout Subsection
27632 Rotated Boxes
27633 \begin_inset LatexCommand index
27634 name "Boxes ! rotated"
27635
27636 \end_inset
27637
27638
27639 \begin_inset LatexCommand index
27640 name "Rotated material"
27641
27642 \end_inset
27643
27644
27645 \begin_inset LatexCommand index
27646 name "Figures ! rotated"
27647
27648 \end_inset
27649
27650
27651 \begin_inset LatexCommand index
27652 name "Table Customization ! Rotating"
27653
27654 \end_inset
27655
27656
27657 \end_layout
27658
27659 \begin_layout Standard
27660 To rotate material, you can put it into a rotated box.
27661  Such a box is created using the command 
27662 \series bold
27663
27664 \backslash
27665 rotatebox
27666 \series default
27667  in TeX-Code with the following scheme:
27668 \end_layout
27669
27670 \begin_layout Standard
27671
27672 \series bold
27673
27674 \backslash
27675 rotatebox[rotation origin]{rotation angle}{box content}
27676 \end_layout
27677
27678 \begin_layout Standard
27679 The rotation origin is specified in the form 
27680 \series bold
27681 origin=position
27682 \series default
27683 .
27684  The following positions are possible: 
27685 \emph on
27686 c
27687 \emph default
27688  (center), 
27689 \emph on
27690 l
27691 \emph default
27692  (left), 
27693 \emph on
27694 r
27695 \emph default
27696  (right), 
27697 \emph on
27698 b
27699 \emph default
27700  (bottom), 
27701 \emph on
27702 t
27703 \emph default
27704  (top), and also expedient combinations of the four base positions.
27705  For example 
27706 \emph on
27707 lt
27708 \emph default
27709  means, that the rotation origin is at the top left corner of the box.
27710  When no rotation origin is specified, the position 
27711 \emph on
27712 l
27713 \emph default
27714  will be used.
27715  The rotation angle is a number that can be negative that specifies the
27716  angle in degrees.
27717  The rotation direction is counterclockwise.
27718 \end_layout
27719
27720 \begin_layout Standard
27721 In the following example the command 
27722 \series bold
27723
27724 \backslash
27725 rotatebox[origin=c]{60}{
27726 \series default
27727  was inserted as TeX-Code before the text 
27728 \begin_inset Quotes eld
27729 \end_inset
27730
27731 with rotated
27732 \begin_inset Quotes erd
27733 \end_inset
27734
27735 ; after the text the box was closed by a closing brace 
27736 \series bold
27737 }
27738 \series default
27739  in TeX-Code.
27740 \end_layout
27741
27742 \begin_layout Standard
27743 This is a line 
27744 \begin_inset ERT
27745 status collapsed
27746
27747 \begin_layout Standard
27748
27749
27750 \backslash
27751 rotatebox[origin=c]{60}{
27752 \end_layout
27753
27754 \end_inset
27755
27756 with rotated
27757 \begin_inset ERT
27758 status collapsed
27759
27760 \begin_layout Standard
27761
27762 }
27763 \end_layout
27764
27765 \end_inset
27766
27767  text.
27768 \end_layout
27769
27770 \begin_layout Standard
27771 The box content can also be another box or an inline formula:
27772 \end_layout
27773
27774 \begin_layout Standard
27775 This is a line
27776 \begin_inset ERT
27777 status collapsed
27778
27779 \begin_layout Standard
27780
27781
27782 \backslash
27783 rotatebox[origin=r]{-60}{
27784 \end_layout
27785
27786 \end_inset
27787
27788
27789 \begin_inset Box Doublebox
27790 position "c"
27791 hor_pos "c"
27792 has_inner_box 0
27793 inner_pos "c"
27794 use_parbox 0
27795 width "1in"
27796 special "width"
27797 height "1in"
27798 height_special "totalheight"
27799 status collapsed
27800
27801 \begin_layout Standard
27802 with rotated
27803 \end_layout
27804
27805 \end_inset
27806
27807
27808 \begin_inset ERT
27809 status collapsed
27810
27811 \begin_layout Standard
27812
27813 }
27814 \end_layout
27815
27816 \end_inset
27817
27818  framed text 
27819 \begin_inset ERT
27820 status collapsed
27821
27822 \begin_layout Standard
27823
27824
27825 \backslash
27826 rotatebox[origin=lb]{60}{
27827 \end_layout
27828
27829 \end_inset
27830
27831
27832 \begin_inset Formula $\int A\,\mathrm{d}x=B$
27833 \end_inset
27834
27835
27836 \begin_inset ERT
27837 status collapsed
27838
27839 \begin_layout Standard
27840
27841 }
27842 \end_layout
27843
27844 \end_inset
27845
27846  and a formula.
27847 \end_layout
27848
27849 \begin_layout Standard
27850 or an image or table:
27851 \end_layout
27852
27853 \begin_layout Standard
27854 This is a line
27855 \begin_inset ERT
27856 status collapsed
27857
27858 \begin_layout Standard
27859
27860
27861 \backslash
27862 rotatebox[origin=lb]{90}{
27863 \end_layout
27864
27865 \end_inset
27866
27867
27868 \begin_inset Graphics
27869         filename clipart/platypus.eps
27870         lyxscale 50
27871         width 25col%
27872
27873 \end_inset
27874
27875
27876 \begin_inset ERT
27877 status collapsed
27878
27879 \begin_layout Standard
27880
27881 }
27882 \end_layout
27883
27884 \end_inset
27885
27886  with a rotated image 
27887 \begin_inset ERT
27888 status collapsed
27889
27890 \begin_layout Standard
27891
27892
27893 \backslash
27894 rotatebox[origin=l]{-90}{
27895 \end_layout
27896
27897 \end_inset
27898
27899
27900 \begin_inset Tabular
27901 <lyxtabular version="3" rows="2" columns="2">
27902 <features>
27903 <column alignment="center" valignment="top" leftline="true" width="0">
27904 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
27905 <row topline="true">
27906 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27907 \begin_inset Text
27908
27909 \begin_layout Standard
27910 q
27911 \end_layout
27912
27913 \end_inset
27914 </cell>
27915 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27916 \begin_inset Text
27917
27918 \begin_layout Standard
27919 w
27920 \end_layout
27921
27922 \end_inset
27923 </cell>
27924 </row>
27925 <row topline="true" bottomline="true">
27926 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
27927 \begin_inset Text
27928
27929 \begin_layout Standard
27930 e
27931 \end_layout
27932
27933 \end_inset
27934 </cell>
27935 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
27936 \begin_inset Text
27937
27938 \begin_layout Standard
27939 r
27940 \end_layout
27941
27942 \end_inset
27943 </cell>
27944 </row>
27945 </lyxtabular>
27946
27947 \end_inset
27948
27949
27950 \begin_inset ERT
27951 status collapsed
27952
27953 \begin_layout Standard
27954
27955 }
27956 \end_layout
27957
27958 \end_inset
27959
27960  and table.
27961 \end_layout
27962
27963 \begin_layout Subsection
27964 Scaled Boxes
27965 \begin_inset LatexCommand index
27966 name "Boxes ! scaled"
27967
27968 \end_inset
27969
27970
27971 \begin_inset LatexCommand index
27972 name "Scaled material"
27973
27974 \end_inset
27975
27976
27977 \begin_inset LatexCommand index
27978 name "Figures ! scaled"
27979
27980 \end_inset
27981
27982
27983 \begin_inset LatexCommand index
27984 name "Table Customization ! Scaling"
27985
27986 \end_inset
27987
27988
27989 \end_layout
27990
27991 \begin_layout Standard
27992 To scale material the commands 
27993 \series bold
27994
27995 \backslash
27996 scalebox
27997 \series default
27998  and 
27999 \series bold
28000
28001 \backslash
28002 resizebox
28003 \series default
28004  can be used as TeX-Code.
28005 \end_layout
28006
28007 \begin_layout Standard
28008
28009 \series bold
28010
28011 \backslash
28012 scalebox
28013 \series default
28014  is used with the following scheme:
28015 \end_layout
28016
28017 \begin_layout Standard
28018
28019 \series bold
28020
28021 \backslash
28022 scalebox{horizontal}[vertical]{box content}
28023 \end_layout
28024
28025 \begin_layout Standard
28026 Horizontal and vertical are the corresponding scaling factors.
28027  If no vertical scaling factor is given, the horizontal factor will also
28028  be used as vertical one.
28029 \end_layout
28030
28031 \begin_layout Standard
28032 The command 
28033 \series bold
28034
28035 \backslash
28036 scalebox{2}{Hello}
28037 \series default
28038  creates for example a double size 
28039 \begin_inset ERT
28040 status collapsed
28041
28042 \begin_layout Standard
28043
28044
28045 \backslash
28046 scalebox{2}{
28047 \end_layout
28048
28049 \end_inset
28050
28051 Hello
28052 \begin_inset ERT
28053 status collapsed
28054
28055 \begin_layout Standard
28056
28057 }
28058 \end_layout
28059
28060 \end_inset
28061
28062 , compared to the document text size.
28063 \end_layout
28064
28065 \begin_layout Standard
28066
28067 \series bold
28068
28069 \backslash
28070 scalebox{2}[1]{Hello}
28071 \series default
28072  in contrary distorts the 
28073 \begin_inset ERT
28074 status collapsed
28075
28076 \begin_layout Standard
28077
28078
28079 \backslash
28080 scalebox{2}[1]{
28081 \end_layout
28082
28083 \end_inset
28084
28085 Hello
28086 \begin_inset ERT
28087 status collapsed
28088
28089 \begin_layout Standard
28090
28091 }
28092 \end_layout
28093
28094 \end_inset
28095
28096 .
28097 \end_layout
28098
28099 \begin_layout Standard
28100 If a the scaling factor is negative, the box content will be mirrored.
28101  Therefore the command 
28102 \series bold
28103
28104 \backslash
28105 scalebox{-1}[1]{Hello}
28106 \series default
28107  can be used to create mirror writing: 
28108 \begin_inset ERT
28109 status collapsed
28110
28111 \begin_layout Standard
28112
28113
28114 \backslash
28115 scalebox{-1}[1]{
28116 \end_layout
28117
28118 \end_inset
28119
28120 Hello
28121 \begin_inset ERT
28122 status collapsed
28123
28124 \begin_layout Standard
28125
28126 }
28127 \end_layout
28128
28129 \end_inset
28130
28131
28132 \end_layout
28133
28134 \begin_layout Standard
28135
28136 \series bold
28137
28138 \backslash
28139 scalebox{1}[-1]{Hello}
28140 \series default
28141  reflects the 
28142 \begin_inset ERT
28143 status collapsed
28144
28145 \begin_layout Standard
28146
28147
28148 \backslash
28149 scalebox{1}[-1]{
28150 \end_layout
28151
28152 \end_inset
28153
28154 Hello
28155 \begin_inset ERT
28156 status collapsed
28157
28158 \begin_layout Standard
28159
28160 }
28161 \end_layout
28162
28163 \end_inset
28164
28165  at the base line.
28166 \end_layout
28167
28168 \begin_layout Standard
28169 Equivalent to 
28170 \series bold
28171
28172 \backslash
28173 scalebox{-1}[1]{box content}
28174 \series default
28175  there exists the command
28176 \newline
28177
28178 \series bold
28179
28180 \backslash
28181 reflectbox{box content}
28182 \series default
28183 .
28184 \end_layout
28185
28186 \begin_layout Standard
28187 \begin_inset VSpace bigskip
28188 \end_inset
28189
28190 The command 
28191 \series bold
28192
28193 \backslash
28194 resizebox
28195 \series default
28196  is used to scale the box to a defined width and height.
28197  The command scheme is:
28198 \end_layout
28199
28200 \begin_layout Standard
28201
28202 \series bold
28203
28204 \backslash
28205 resizebox{width}{height}{box content}
28206 \end_layout
28207
28208 \begin_layout Standard
28209 Is one of the two command arguments given as exclamation mark 
28210 \series bold
28211 !
28212 \series default
28213 , the size is set so that the aspect ratio of the box content is kept.
28214 \end_layout
28215
28216 \begin_layout Standard
28217 The command 
28218 \series bold
28219
28220 \backslash
28221 resizebox{2cm}{1cm}{Hello}
28222 \series default
28223  produces: 
28224 \begin_inset ERT
28225 status collapsed
28226
28227 \begin_layout Standard
28228
28229
28230 \backslash
28231 resizebox{2cm}{1cm}{
28232 \end_layout
28233
28234 \end_inset
28235
28236 Hello
28237 \begin_inset ERT
28238 status collapsed
28239
28240 \begin_layout Standard
28241
28242 }
28243 \end_layout
28244
28245 \end_inset
28246
28247
28248 \newline
28249 The command 
28250 \series bold
28251
28252 \backslash
28253 resizebox{2cm}{!}{Hello}
28254 \series default
28255  produces: 
28256 \begin_inset ERT
28257 status collapsed
28258
28259 \begin_layout Standard
28260
28261
28262 \backslash
28263 resizebox{2cm}{!}{
28264 \end_layout
28265
28266 \end_inset
28267
28268 Hello
28269 \begin_inset ERT
28270 status collapsed
28271
28272 \begin_layout Standard
28273
28274 }
28275 \end_layout
28276
28277 \end_inset
28278
28279
28280 \end_layout
28281
28282 \begin_layout Standard
28283 \begin_inset VSpace bigskip
28284 \end_inset
28285
28286
28287 \begin_inset Note Greyedout
28288 status open
28289
28290 \begin_layout Standard
28291
28292 \series bold
28293 Note:
28294 \series default
28295  When arguments of 
28296 \series bold
28297
28298 \backslash
28299 scalebox
28300 \series default
28301  or 
28302 \series bold
28303
28304 \backslash
28305 resizebox
28306 \series default
28307  are set to zero, no LaTeX-errors occur when exporting the document but
28308  the exported files can not or only partly be displayed.
28309 \end_layout
28310
28311 \end_inset
28312
28313
28314 \end_layout
28315
28316 \begin_layout Standard
28317 \begin_inset VSpace bigskip
28318 \end_inset
28319
28320
28321 \end_layout
28322
28323 \begin_layout Standard
28324 The boxes can be combined in any order.
28325  E.\InsetSpace \thinspace{}
28326 g.\InsetSpace ~
28327 the command
28328 \newline
28329
28330 \series bold
28331
28332 \backslash
28333 rotatebox[origin=c]{-45}{
28334 \backslash
28335 resizebox{2cm}{!}{
28336 \backslash
28337 reflectbox{Hello}}}
28338 \newline
28339
28340 \series default
28341 produces:
28342 \end_layout
28343
28344 \begin_layout Standard
28345 \align center
28346 \begin_inset ERT
28347 status collapsed
28348
28349 \begin_layout Standard
28350
28351
28352 \backslash
28353 rotatebox[origin=c]{-45}{
28354 \backslash
28355 resizebox{2cm}{!}{
28356 \backslash
28357 reflectbox{
28358 \end_layout
28359
28360 \end_inset
28361
28362 Hello
28363 \begin_inset ERT
28364 status collapsed
28365
28366 \begin_layout Standard
28367
28368 }}}
28369 \end_layout
28370
28371 \end_inset
28372
28373
28374 \end_layout
28375
28376 \begin_layout Standard
28377 \noindent
28378 Images, tables, and inline formulas are allowed as box content:
28379 \end_layout
28380
28381 \begin_layout Standard
28382 \align center
28383 \begin_inset ERT
28384 status collapsed
28385
28386 \begin_layout Standard
28387
28388
28389 \backslash
28390 rotatebox[origin=c]{-30}{
28391 \backslash
28392 resizebox{2cm}{!}{
28393 \backslash
28394 reflectbox{
28395 \end_layout
28396
28397 \end_inset
28398
28399
28400 \begin_inset Graphics
28401         filename clipart/platypus.eps
28402         lyxscale 50
28403         width 25col%
28404
28405 \end_inset
28406
28407
28408 \begin_inset ERT
28409 status collapsed
28410
28411 \begin_layout Standard
28412
28413 }}}
28414 \end_layout
28415
28416 \end_inset
28417
28418
28419 \begin_inset ERT
28420 status collapsed
28421
28422 \begin_layout Standard
28423
28424
28425 \backslash
28426 rotatebox[origin=c]{-45}{
28427 \backslash
28428 resizebox{2cm}{!}{
28429 \backslash
28430 reflectbox{
28431 \end_layout
28432
28433 \end_inset
28434
28435
28436 \begin_inset Tabular
28437 <lyxtabular version="3" rows="2" columns="2">
28438 <features>
28439 <column alignment="center" valignment="top" leftline="true" width="0">
28440 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28441 <row topline="true">
28442 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28443 \begin_inset Text
28444
28445 \begin_layout Standard
28446 q
28447 \end_layout
28448
28449 \end_inset
28450 </cell>
28451 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28452 \begin_inset Text
28453
28454 \begin_layout Standard
28455 w
28456 \end_layout
28457
28458 \end_inset
28459 </cell>
28460 </row>
28461 <row topline="true" bottomline="true">
28462 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28463 \begin_inset Text
28464
28465 \begin_layout Standard
28466 e
28467 \end_layout
28468
28469 \end_inset
28470 </cell>
28471 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28472 \begin_inset Text
28473
28474 \begin_layout Standard
28475 r
28476 \end_layout
28477
28478 \end_inset
28479 </cell>
28480 </row>
28481 </lyxtabular>
28482
28483 \end_inset
28484
28485
28486 \begin_inset ERT
28487 status collapsed
28488
28489 \begin_layout Standard
28490
28491 }}}
28492 \end_layout
28493
28494 \end_inset
28495
28496
28497 \begin_inset ERT
28498 status collapsed
28499
28500 \begin_layout Standard
28501
28502
28503 \backslash
28504 rotatebox[origin=c]{-45}{
28505 \backslash
28506 resizebox{2cm}{!}{
28507 \backslash
28508 reflectbox{
28509 \end_layout
28510
28511 \end_inset
28512
28513
28514 \begin_inset Formula $\int A\,\mathrm{d}x=B$
28515 \end_inset
28516
28517
28518 \begin_inset ERT
28519 status collapsed
28520
28521 \begin_layout Standard
28522
28523 }}}
28524 \end_layout
28525
28526 \end_inset
28527
28528
28529 \end_layout
28530
28531 \begin_layout Standard
28532 When the global formula style 
28533 \series bold
28534 fleqn
28535 \series default
28536  is used in the document
28537 \begin_inset Foot
28538 status collapsed
28539
28540 \begin_layout Standard
28541 When 
28542 \begin_inset Quotes eld
28543 \end_inset
28544
28545 fleqn
28546 \begin_inset Quotes erd
28547 \end_inset
28548
28549  is added to the document class options.
28550 \end_layout
28551
28552 \end_inset
28553
28554 , also display formulas can be scaled.
28555 \end_layout
28556
28557 \begin_layout Chapter
28558 External Stuff
28559 \begin_inset LatexCommand index
28560 name "External Stuff"
28561
28562 \end_inset
28563
28564
28565 \end_layout
28566
28567 \begin_layout Standard
28568 With the menu 
28569 \family sans
28570 Insert\SpecialChar \menuseparator
28571 File
28572 \family default
28573  you can insert external material to your document.
28574  This can be:
28575 \end_layout
28576
28577 \begin_layout Description
28578 LyX\InsetSpace ~
28579 Document Another LyX document; its content is directly inserted to your
28580  document.
28581 \end_layout
28582
28583 \begin_layout Description
28584 Plain\InsetSpace ~
28585 Text A text document; every of its text lines is inserted to your document
28586  as own paragraph.
28587 \end_layout
28588
28589 \begin_layout Description
28590 Plain\InsetSpace ~
28591 Text,\InsetSpace ~
28592 Join\InsetSpace ~
28593 Lines A text document; its text lines are inserted as they
28594  are.
28595  Empty text lines creates a new paragraph in your document.
28596 \end_layout
28597
28598 \begin_layout Description
28599 External\InsetSpace ~
28600 Material Files in various formats.
28601 \end_layout
28602
28603 \begin_layout Description
28604 Child\InsetSpace ~
28605 Document LyX or LaTeX-documents.
28606 \end_layout
28607
28608 \begin_layout Section
28609 External Material
28610 \begin_inset LatexCommand index
28611 name "External Stuff ! External Material"
28612
28613 \end_inset
28614
28615
28616 \end_layout
28617
28618 \begin_layout Standard
28619 The external material feature allows you to insert files to your document
28620  without converting them previously to a format that can be read by the
28621  document output format because LyX takes care of needed conversions.
28622  This is similar to images that can be inserted in various image formats
28623  to LyX documents.
28624 \end_layout
28625
28626 \begin_layout Standard
28627 External material can be inserted via the 
28628 \family sans
28629 External Material
28630 \family default
28631  dialog that is accessible with the menu 
28632 \family sans
28633 Insert\SpecialChar \menuseparator
28634 File\SpecialChar \menuseparator
28635 External\InsetSpace ~
28636 Material
28637 \family default
28638 .
28639  Currently the following file types (
28640 \family sans
28641 Templates
28642 \family default
28643 ) are allowed:
28644 \end_layout
28645
28646 \begin_layout Description
28647 ChessDiagram This template supports chess position diagrams made with the
28648  program 
28649 \begin_inset ERT
28650 status collapsed
28651
28652 \begin_layout Standard
28653
28654
28655 \backslash
28656 href{http://en.wikipedia.org/wiki/XBoard}{
28657 \end_layout
28658
28659 \end_inset
28660
28661
28662 \series bold
28663 XBoard
28664 \series default
28665
28666 \begin_inset ERT
28667 status collapsed
28668
28669 \begin_layout Standard
28670
28671 }
28672 \end_layout
28673
28674 \end_inset
28675
28676 .
28677 \end_layout
28678
28679 \begin_layout Description
28680 Date This inserts the date in the form 
28681 \emph on
28682 Day-Month-Year
28683 \emph default
28684 .
28685  This is a date inserted as external material: 
28686 \begin_inset External
28687         template Date
28688         filename .
28689
28690 \end_inset
28691
28692
28693 \newline
28694 The date is not shown within LyX, only in the output.
28695  There are two other methods of inserting a date: Via menu 
28696 \family sans
28697 Insert\SpecialChar \menuseparator
28698 Date
28699 \family default
28700  and with the LaTeX command 
28701 \series bold
28702
28703 \backslash
28704 today
28705 \series default
28706  as TeX-Code.
28707  The different methods are compared in Table\InsetSpace ~
28708
28709 \begin_inset LatexCommand ref
28710 reference "tab:Comparison-of-the"
28711
28712 \end_inset
28713
28714 .
28715 \end_layout
28716
28717 \begin_layout Description
28718 LilyPond This template is used for music notation typeset with the program
28719 \begin_inset ERT
28720 status collapsed
28721
28722 \begin_layout Standard
28723
28724
28725 \backslash
28726 linebreak 
28727 \end_layout
28728
28729 \end_inset
28730
28731
28732 \begin_inset ERT
28733 status collapsed
28734
28735 \begin_layout Standard
28736
28737
28738 \backslash
28739 href{http://en.wikipedia.org/wiki/LilyPond}{
28740 \end_layout
28741
28742 \end_inset
28743
28744
28745 \series bold
28746 LilyPond
28747 \series default
28748
28749 \begin_inset ERT
28750 status collapsed
28751
28752 \begin_layout Standard
28753
28754 }
28755 \end_layout
28756
28757 \end_inset
28758
28759 .
28760 \begin_inset Note Note
28761 status collapsed
28762
28763 \begin_layout Standard
28764 The command 
28765 \series bold
28766
28767 \backslash
28768 linebreak
28769 \series default
28770  breaks the line while the remaining text in the line is stretched to the
28771  page margin.
28772 \end_layout
28773
28774 \end_inset
28775
28776
28777 \end_layout
28778
28779 \begin_layout Description
28780 RasterImage This can be used for bitmap images.
28781  Nearly all popular image formats are supported.
28782  The image can be treated in the 
28783 \family sans
28784 External material
28785 \family default
28786  dialog like the images that are usually included via the 
28787 \family sans
28788 Graphics
28789 \family default
28790  dialog as described in section\InsetSpace ~
28791
28792 \begin_inset LatexCommand ref
28793 reference "sec:Graphics-Dialog"
28794
28795 \end_inset
28796
28797 .
28798  The difference is that only raster images are allowed, that means that
28799  PDF and EPS-images are not supported.
28800 \end_layout
28801
28802 \begin_layout Description
28803 XFig This template supports images created with the program 
28804 \begin_inset ERT
28805 status collapsed
28806
28807 \begin_layout Standard
28808
28809
28810 \backslash
28811 href{http://en.wikipedia.org/wiki/Xfig}{
28812 \end_layout
28813
28814 \end_inset
28815
28816
28817 \series bold
28818 Xfig
28819 \series default
28820
28821 \begin_inset ERT
28822 status collapsed
28823
28824 \begin_layout Standard
28825
28826 }
28827 \end_layout
28828
28829 \end_inset
28830
28831 .
28832 \end_layout
28833
28834 \begin_layout Standard
28835 \begin_inset Float table
28836 placement h
28837 wide false
28838 sideways false
28839 status open
28840
28841 \begin_layout Standard
28842 \begin_inset Caption
28843
28844 \begin_layout Standard
28845 \begin_inset LatexCommand label
28846 name "tab:Comparison-of-the"
28847
28848 \end_inset
28849
28850 Comparison of the date input methods.
28851 \end_layout
28852
28853 \end_inset
28854
28855
28856 \end_layout
28857
28858 \begin_layout Standard
28859 \align center
28860 \begin_inset Tabular
28861 <lyxtabular version="3" rows="4" columns="4">
28862 <features>
28863 <column alignment="center" valignment="top" leftline="true" width="0">
28864 <column alignment="center" valignment="top" leftline="true" width="0">
28865 <column alignment="center" valignment="top" leftline="true" width="0">
28866 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
28867 <row topline="true">
28868 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28869 \begin_inset Text
28870
28871 \begin_layout Standard
28872 Document format
28873 \end_layout
28874
28875 \end_inset
28876 </cell>
28877 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28878 \begin_inset Text
28879
28880 \begin_layout Standard
28881
28882 \family sans
28883 External Material\SpecialChar \menuseparator
28884 Date
28885 \end_layout
28886
28887 \end_inset
28888 </cell>
28889 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28890 \begin_inset Text
28891
28892 \begin_layout Standard
28893
28894 \family sans
28895 Insert\SpecialChar \menuseparator
28896 Date
28897 \end_layout
28898
28899 \end_inset
28900 </cell>
28901 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28902 \begin_inset Text
28903
28904 \begin_layout Standard
28905 command 
28906 \series bold
28907
28908 \backslash
28909 today
28910 \end_layout
28911
28912 \end_inset
28913 </cell>
28914 </row>
28915 <row topline="true">
28916 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28917 \begin_inset Text
28918
28919 \begin_layout Standard
28920 LyX
28921 \end_layout
28922
28923 \end_inset
28924 </cell>
28925 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28926 \begin_inset Text
28927
28928 \begin_layout Standard
28929 as inset box
28930 \end_layout
28931
28932 \end_inset
28933 </cell>
28934 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28935 \begin_inset Text
28936
28937 \begin_layout Standard
28938 as date
28939 \end_layout
28940
28941 \end_inset
28942 </cell>
28943 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28944 \begin_inset Text
28945
28946 \begin_layout Standard
28947 as TeX-Code inset box
28948 \end_layout
28949
28950 \end_inset
28951 </cell>
28952 </row>
28953 <row topline="true">
28954 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28955 \begin_inset Text
28956
28957 \begin_layout Standard
28958 LaTeX
28959 \end_layout
28960
28961 \end_inset
28962 </cell>
28963 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28964 \begin_inset Text
28965
28966 \begin_layout Standard
28967 as date
28968 \end_layout
28969
28970 \end_inset
28971 </cell>
28972 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28973 \begin_inset Text
28974
28975 \begin_layout Standard
28976 as date
28977 \end_layout
28978
28979 \end_inset
28980 </cell>
28981 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
28982 \begin_inset Text
28983
28984 \begin_layout Standard
28985 as command
28986 \end_layout
28987
28988 \end_inset
28989 </cell>
28990 </row>
28991 <row topline="true" bottomline="true">
28992 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
28993 \begin_inset Text
28994
28995 \begin_layout Standard
28996 DVI, PDF, PS
28997 \end_layout
28998
28999 \end_inset
29000 </cell>
29001 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29002 \begin_inset Text
29003
29004 \begin_layout Standard
29005 as date
29006 \end_layout
29007
29008 \end_inset
29009 </cell>
29010 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
29011 \begin_inset Text
29012
29013 \begin_layout Standard
29014 as date
29015 \end_layout
29016
29017 \end_inset
29018 </cell>
29019 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
29020 \begin_inset Text
29021
29022 \begin_layout Standard
29023 as date
29024 \end_layout
29025
29026 \end_inset
29027 </cell>
29028 </row>
29029 </lyxtabular>
29030
29031 \end_inset
29032
29033
29034 \end_layout
29035
29036 \end_inset
29037
29038
29039 \end_layout
29040
29041 \begin_layout Standard
29042 When you use the option 
29043 \family sans
29044 Draft
29045 \family default
29046  in the 
29047 \family sans
29048 File
29049 \family default
29050  tab of the 
29051 \family sans
29052 External Material
29053 \family default
29054  dialog, only the path to the inserted file is shown in the output.
29055 \newline
29056 External
29057  material is displayed in LyX either as box like this: 
29058 \begin_inset Graphics
29059         filename clipart/ExternalMaterialQt4.png
29060         scale 85
29061         scaleBeforeRotation
29062
29063 \end_inset
29064
29065  or as image, depending on the setting in the 
29066 \family sans
29067 LyX\InsetSpace ~
29068 View
29069 \family default
29070  tab of the 
29071 \family sans
29072 External Material
29073 \family default
29074  dialog.
29075 \end_layout
29076
29077 \begin_layout Standard
29078 The 
29079 \family sans
29080 \emph on
29081 Customization
29082 \family default
29083 \emph default
29084  manual explains how you can define your own templates.
29085 \end_layout
29086
29087 \begin_layout Section
29088 Child Documents
29089 \begin_inset LatexCommand label
29090 name "sec:Child-Documents"
29091
29092 \end_inset
29093
29094
29095 \begin_inset LatexCommand index
29096 name "External Stuff ! Child Documents"
29097
29098 \end_inset
29099
29100
29101 \begin_inset LatexCommand index
29102 name "Files ! Include"
29103
29104 \end_inset
29105
29106
29107 \end_layout
29108
29109 \begin_layout Standard
29110 Child documents are used when you have a long document consisting of several
29111  larger parts or sections.
29112  For maintenance it is often useful and sometimes even required to split
29113  the document in several files that can be revised separately.
29114  The different documents are then the so called child documents and a master
29115  document connects them to print the full document or parts of it.
29116 \end_layout
29117
29118 \begin_layout Standard
29119 Included documents are displayed in LyX as a box like this: 
29120 \begin_inset Graphics
29121         filename clipart/ChildDocumentQt4.png
29122         scale 85
29123         scaleBeforeRotation
29124
29125 \end_inset
29126
29127  To include child documents to a master document use the menu 
29128 \family sans
29129 Insert\SpecialChar \menuseparator
29130 File\SpecialChar \menuseparator
29131 Child\InsetSpace ~
29132 Documents
29133 \family default
29134 .
29135  A dialog pops up where you can choose between four include methods:
29136 \end_layout
29137
29138 \begin_layout Description
29139 Include You can include LyX and LaTeX-documents.
29140  When you press the 
29141 \family sans
29142 Load
29143 \family default
29144  button in the 
29145 \family sans
29146 Child Document
29147 \family default
29148  dialog, the included documents will be opened in LyX in a new file tab
29149  so that you can modify it.
29150 \newline
29151
29152 \end_layout
29153
29154 \begin_layout Standard
29155 Here is a child document inserted using 
29156 \family sans
29157 Include
29158 \family default
29159
29160 \begin_inset Include \include{DummyDocument1.lyx}
29161 preview false
29162
29163 \end_inset
29164
29165
29166 \end_layout
29167
29168 \begin_layout Standard
29169 The section numbering includes the sections of the included files in the
29170  order they are inserted in the master document.
29171  The included example document has for example a subsection that is numbered
29172  as subsection of this section.
29173  Labels of included documents can be referenced: Subsection\InsetSpace ~
29174
29175 \begin_inset LatexCommand ref
29176 reference "sub:External-Subsection-1"
29177
29178 \end_inset
29179
29180
29181 \end_layout
29182
29183 \begin_layout Standard
29184 The preamble of the child document is ignored, only the preamble of the
29185  master document is used.
29186  Included documents are inserted starting on a new page and end with a pagebreak.
29187 \end_layout
29188
29189 \begin_layout Standard
29190 With the LaTeX-command 
29191 \series bold
29192
29193 \backslash
29194 includeonly 
29195 \series default
29196 you can specify which included child documents are processed when the output
29197  is generated.
29198  This is useful when you are perhaps only working on a certain chapter of
29199  your large document as this saves compiling time.
29200  
29201 \series bold
29202
29203 \backslash
29204 includeonly
29205 \series default
29206  is inserted to the master document preamble.
29207  It takes a comma-separated list of the filenames as argument, e.g.
29208 \end_layout
29209
29210 \begin_layout Standard
29211
29212 \series bold
29213
29214 \backslash
29215 includeonly{chapter1,chapter5}
29216 \end_layout
29217
29218 \begin_layout Standard
29219 will only process the included files named 
29220 \begin_inset Quotes eld
29221 \end_inset
29222
29223 chapter1.lyx
29224 \begin_inset Quotes erd
29225 \end_inset
29226
29227  (or 
29228 \begin_inset Quotes eld
29229 \end_inset
29230
29231 chapter1.tex
29232 \begin_inset Quotes erd
29233 \end_inset
29234
29235 ) and 
29236 \begin_inset Quotes eld
29237 \end_inset
29238
29239 chapter5.lyx
29240 \begin_inset Quotes erd
29241 \end_inset
29242
29243  .
29244 \end_layout
29245
29246 \begin_layout Standard
29247 \begin_inset Note Greyedout
29248 status open
29249
29250 \begin_layout Standard
29251
29252 \series bold
29253 Note:
29254 \series default
29255  When you have included a LyX- or LaTeX-file, you are warned when you export/vie
29256 w the document in case that the child document uses another document class
29257  than the master document as this will lead to unexpected outputs.
29258 \end_layout
29259
29260 \end_inset
29261
29262
29263 \end_layout
29264
29265 \begin_layout Description
29266 Input This method is very similar to the Include method.
29267  The differences are:
29268 \end_layout
29269
29270 \begin_deeper
29271 \begin_layout Itemize
29272 Input files don't start with a new page and don't end with a pagebreak.
29273 \end_layout
29274
29275 \begin_layout Itemize
29276 Input files can be previewed in LyX when 
29277 \family sans
29278 Instant\InsetSpace ~
29279 Preview
29280 \family default
29281  is enabled in LyX's preferences under 
29282 \family sans
29283 Look\InsetSpace ~
29284 and\InsetSpace ~
29285 feel\SpecialChar \menuseparator
29286 Graphics
29287 \family default
29288 .
29289 \end_layout
29290
29291 \begin_layout Itemize
29292 The LaTeX-command 
29293 \series bold
29294
29295 \backslash
29296 includeonly
29297 \series default
29298  cannot be used.
29299 \end_layout
29300
29301 \end_deeper
29302 \begin_layout Standard
29303 Here is a child document inserted using 
29304 \family sans
29305 Input
29306 \family default
29307
29308 \begin_inset Include \input{DummyDocument2.lyx}
29309 preview false
29310
29311 \end_inset
29312
29313
29314 \end_layout
29315
29316 \begin_layout Description
29317 Verbatim With this method every text file can be included.
29318  The file is shown in the output with its source code, no command used in
29319  the text is invoked.
29320  You can use the option 
29321 \family sans
29322 Mark spaces in output
29323 \family default
29324  that displays the character 
29325 \begin_inset Quotes eld
29326 \end_inset
29327
29328
29329 \begin_inset ERT
29330 status collapsed
29331
29332 \begin_layout Standard
29333
29334
29335 \backslash
29336 textvisiblespace 
29337 \end_layout
29338
29339 \end_inset
29340
29341
29342 \begin_inset Quotes erd
29343 \end_inset
29344
29345  for every space character in the source code.
29346  The difference to the method via the menu 
29347 \family sans
29348 Insert\SpecialChar \menuseparator
29349 File\SpecialChar \menuseparator
29350 Plain\InsetSpace ~
29351 Text
29352 \family default
29353  is that the document content is not shown in LyX.
29354 \end_layout
29355
29356 \begin_layout Standard
29357 Here is a child document inserted as Verbatim: 
29358 \begin_inset Include \verbatiminput{DummyTextDocument.txt}
29359 preview false
29360
29361 \end_inset
29362
29363
29364 \begin_inset VSpace bigskip
29365 \end_inset
29366
29367 Here is a child document inserted as Verbatim using the 
29368 \family sans
29369 Mark spaces in output
29370 \family default
29371  option: 
29372 \begin_inset Include \verbatiminput*{DummyTextDocument.txt}
29373 preview false
29374
29375 \end_inset
29376
29377
29378 \end_layout
29379
29380 \begin_layout Standard
29381 \begin_inset VSpace bigskip
29382 \end_inset
29383
29384
29385 \end_layout
29386
29387 \begin_layout Standard
29388 \begin_inset Note Greyedout
29389 status open
29390
29391 \begin_layout Standard
29392
29393 \series bold
29394 Note:
29395 \series default
29396  As you can see in the examples above, the text of the documents included
29397  as 
29398 \family sans
29399 verbatim
29400 \family default
29401  is not broken at the end of the document lines.
29402 \end_layout
29403
29404 \end_inset
29405
29406
29407 \end_layout
29408
29409 \begin_layout Description
29410 Listings This type is described in chapter\InsetSpace ~
29411
29412 \begin_inset LatexCommand ref
29413 reference "cha:Program-Code-Listings"
29414
29415 \end_inset
29416
29417 .
29418 \end_layout
29419
29420 \begin_layout Standard
29421 \begin_inset Note Greyedout
29422 status open
29423
29424 \begin_layout Standard
29425
29426 \series bold
29427 Note:
29428 \series default
29429  Including the same document twice in a document using different methods
29430  could cause LaTeX-problems.
29431 \end_layout
29432
29433 \end_inset
29434
29435
29436 \end_layout
29437
29438 \begin_layout Chapter
29439 Program Code Listings
29440 \begin_inset LatexCommand label
29441 name "cha:Program-Code-Listings"
29442
29443 \end_inset
29444
29445
29446 \begin_inset LatexCommand index
29447 name "Listings"
29448
29449 \end_inset
29450
29451
29452 \begin_inset LatexCommand index
29453 name "Program Code"
29454
29455 \end_inset
29456
29457
29458 \begin_inset LatexCommand index
29459 name "Floats ! Listings"
29460
29461 \end_inset
29462
29463
29464 \end_layout
29465
29466 \begin_layout Standard
29467 To include and typeset program code you can use the 
29468 \family sans
29469 Listings
29470 \family default
29471  inset that can be inserted via the menu 
29472 \family sans
29473 Insert\SpecialChar \menuseparator
29474 Program Listing
29475 \family default
29476 .
29477  The LaTeX-package 
29478 \series bold
29479 listings
29480 \series default
29481
29482 \begin_inset LatexCommand index
29483 name "LaTeX-packages ! listings"
29484
29485 \end_inset
29486
29487  provides a powerful and flexible way to insert program source code to your
29488  document.
29489 \end_layout
29490
29491 \begin_layout Standard
29492 When right-clicking on a listings inset a dialog pops up where you can set
29493  the listings format.
29494 \end_layout
29495
29496 \begin_layout Standard
29497 By default, a listing starts a new paragraph in the output.
29498  The placement option 
29499 \family sans
29500 Inline\InsetSpace ~
29501 listing
29502 \family default
29503  prints the listing inline like this: 
29504 \begin_inset listings
29505 lstparams "language={C++}"
29506 inline true
29507 status open
29508
29509 \begin_layout Standard
29510
29511 int a=5;
29512 \end_layout
29513
29514 \end_inset
29515
29516
29517 \newline
29518 The option 
29519 \family sans
29520 Float
29521 \family default
29522  creates a listings float where you can specify the placement options 
29523 \begin_inset Quotes eld
29524 \end_inset
29525
29526
29527 \family sans
29528 h
29529 \family default
29530
29531 \begin_inset Quotes erd
29532 \end_inset
29533
29534
29535 \begin_inset Quotes eld
29536 \end_inset
29537
29538
29539 \family sans
29540 t
29541 \family default
29542
29543 \begin_inset Quotes erd
29544 \end_inset
29545
29546
29547 \begin_inset Quotes eld
29548 \end_inset
29549
29550
29551 \family sans
29552 b
29553 \family default
29554
29555 \begin_inset Quotes erd
29556 \end_inset
29557
29558 , and 
29559 \begin_inset Quotes eld
29560 \end_inset
29561
29562
29563 \family sans
29564 p
29565 \family default
29566
29567 \begin_inset Quotes erd
29568 \end_inset
29569
29570  corresponding to the float placement options described in section\InsetSpace ~
29571
29572 \begin_inset LatexCommand ref
29573 reference "sec:Float-Placement"
29574
29575 \end_inset
29576
29577 .
29578  The placement options can be mixed and are inserted without any separation,
29579  e.\InsetSpace \thinspace{}
29580 g.\InsetSpace ~
29581
29582 \begin_inset Quotes eld
29583 \end_inset
29584
29585
29586 \family sans
29587 htbp
29588 \family default
29589
29590 \begin_inset Quotes erd
29591 \end_inset
29592
29593 .
29594  The option 
29595 \begin_inset Quotes eld
29596 \end_inset
29597
29598 h
29599 \begin_inset Quotes erd
29600 \end_inset
29601
29602  has sometimes no effect, but you don't need to use the 
29603 \family sans
29604 Float
29605 \family default
29606  option in this case as also non-float listings can have captions and be
29607  referenced.
29608 \end_layout
29609
29610 \begin_layout Standard
29611 You can add captions to listings with the menu 
29612 \family sans
29613 Insert\SpecialChar \menuseparator
29614 Caption
29615 \family default
29616 .
29617  Listings can be referenced like floats: Listing\InsetSpace ~
29618
29619 \begin_inset LatexCommand ref
29620 reference "lst:Example-Listing"
29621
29622 \end_inset
29623
29624
29625 \end_layout
29626
29627 \begin_layout Standard
29628 \begin_inset listings
29629 lstparams "language=Python"
29630 inline false
29631 status open
29632
29633 \begin_layout Standard
29634
29635 \begin_inset Caption
29636
29637 \begin_layout Standard
29638 \begin_inset LatexCommand label
29639 name "lst:Example-Listing"
29640
29641 \end_inset
29642
29643 Example Listing float
29644 \end_layout
29645
29646 \end_inset
29647
29648 # Example listing float
29649 \end_layout
29650
29651 \begin_layout Standard
29652
29653 def func(param):
29654 \end_layout
29655
29656 \begin_layout Standard
29657
29658     'this is a python function'
29659 \end_layout
29660
29661 \begin_layout Standard
29662
29663     pass
29664 \end_layout
29665
29666 \end_inset
29667
29668
29669 \end_layout
29670
29671 \begin_layout Standard
29672 When you have set a programming language in the listings dialog, the keywords
29673  of this language will be recognized and specially typeset in the output.
29674  In the example listings the Python keyword 
29675 \begin_inset Quotes eld
29676 \end_inset
29677
29678 def
29679 \begin_inset Quotes erd
29680 \end_inset
29681
29682  is recognized and printed bold in the output.
29683 \end_layout
29684
29685 \begin_layout Standard
29686 \begin_inset Note Greyedout
29687 status open
29688
29689 \begin_layout Standard
29690
29691 \series bold
29692 Note:
29693 \series default
29694  If you don't get bold keywords when using typewriter fonts, your typewriter
29695  font probably doesn't provide a bold shape.
29696  In this case select a different one in the menu 
29697 \family sans
29698 Document\SpecialChar \menuseparator
29699 Settings\SpecialChar \menuseparator
29700 Fonts
29701 \family default
29702 .
29703  (The fonts 
29704 \emph on
29705 LuxiMono, BeraMono
29706 \emph default
29707  and 
29708 \emph on
29709 Courier
29710 \emph default
29711  provide bold shapes.)
29712 \end_layout
29713
29714 \end_inset
29715
29716
29717 \end_layout
29718
29719 \begin_layout Standard
29720 In section 
29721 \family sans
29722 Line\InsetSpace ~
29723 numbering
29724 \family default
29725  of the listings dialog you can specify the line numbering style.
29726  You can insert a number to specify which lines are numbered to the field
29727  
29728 \family sans
29729 Step
29730 \family default
29731 .
29732  When you insert e.g.
29733  
29734 \begin_inset Quotes eld
29735 \end_inset
29736
29737 3
29738 \begin_inset Quotes erd
29739 \end_inset
29740
29741 , only every 3rd line will be numbered.
29742 \end_layout
29743
29744 \begin_layout Standard
29745 You can furthermore specify a range of lines, only these will then appear
29746  in the output.
29747  The option 
29748 \family sans
29749 Extended\InsetSpace ~
29750 chars
29751 \family default
29752  should be used when you use national characters like the German umlauts
29753  in the listing.
29754 \newline
29755 Here is an example listing with left line numbering, step
29756  
29757 \begin_inset Quotes eld
29758 \end_inset
29759
29760 3
29761 \begin_inset Quotes erd
29762 \end_inset
29763
29764 , language 
29765 \begin_inset Quotes eld
29766 \end_inset
29767
29768 Python
29769 \begin_inset Quotes erd
29770 \end_inset
29771
29772 , options 
29773 \begin_inset Quotes eld
29774 \end_inset
29775
29776 Extended\InsetSpace ~
29777 chars
29778 \begin_inset Quotes erd
29779 \end_inset
29780
29781  and 
29782 \begin_inset Quotes eld
29783 \end_inset
29784
29785 Space\InsetSpace ~
29786 as\InsetSpace ~
29787 Symbol
29788 \begin_inset Quotes erd
29789 \end_inset
29790
29791 , range lines 3\InsetSpace \thinspace{}
29792 -\InsetSpace \thinspace{}
29793 8:
29794 \end_layout
29795
29796 \begin_layout Standard
29797 \begin_inset listings
29798 lstparams "extendedchars=true,firstline=3,language=Python,lastline=8,numbers=left,showspaces=true,stepnumber=3"
29799 inline false
29800 status open
29801
29802 \begin_layout Standard
29803
29804 def func(param):
29805 \end_layout
29806
29807 \begin_layout Standard
29808
29809     'this is a python function'
29810 \end_layout
29811
29812 \begin_layout Standard
29813
29814     pass
29815 \end_layout
29816
29817 \begin_layout Standard
29818
29819 def func(param):
29820 \end_layout
29821
29822 \begin_layout Standard
29823
29824 'This is a German word: Tschüß'
29825 \end_layout
29826
29827 \begin_layout Standard
29828
29829 pass
29830 \end_layout
29831
29832 \begin_layout Standard
29833
29834 def func(param):
29835 \end_layout
29836
29837 \begin_layout Standard
29838
29839 'this is a python function'
29840 \end_layout
29841
29842 \begin_layout Standard
29843
29844 pass
29845 \end_layout
29846
29847 \end_inset
29848
29849
29850 \end_layout
29851
29852 \begin_layout Standard
29853 \begin_inset Note Greyedout
29854 status open
29855
29856 \begin_layout Standard
29857
29858 \series bold
29859 Note:
29860 \series default
29861  Due to a bug in the 
29862 \series bold
29863 listings
29864 \series default
29865  package the line numbering is shifted by a line by every previous listing.
29866  That's the reason why the lines 2 and 5 are numbered in the above listing
29867  and not the lines 3 and 6.
29868 \end_layout
29869
29870 \end_inset
29871
29872
29873 \end_layout
29874
29875 \begin_layout Standard
29876 \begin_inset VSpace bigskip
29877 \end_inset
29878
29879
29880 \end_layout
29881
29882 \begin_layout Standard
29883 It is also possible to print lines from a file as listing.
29884  To do this, use the menu 
29885 \family sans
29886 Insert\SpecialChar \menuseparator
29887 File\SpecialChar \menuseparator
29888 Child Document
29889 \family default
29890  and choose the type 
29891 \family sans
29892 Listings
29893 \family default
29894 .
29895 \begin_inset Foot
29896 status collapsed
29897
29898 \begin_layout Standard
29899 The other child document types are described in section\InsetSpace ~
29900
29901 \begin_inset LatexCommand ref
29902 reference "sec:Child-Documents"
29903
29904 \end_inset
29905
29906 .
29907 \end_layout
29908
29909 \end_inset
29910
29911  In the child document dialog you can specify the listing parameters in
29912  a text box.
29913  To show a list of all available parameters, type in a question mark 
29914 \begin_inset Quotes eld
29915 \end_inset
29916
29917 ?
29918 \begin_inset Quotes erd
29919 \end_inset
29920
29921  in the text box.
29922 \end_layout
29923
29924 \begin_layout Standard
29925 To reference child document listings, write a label text into the corresponding
29926  field of the child document dialog.
29927  The label can then be referenced using the menu 
29928 \family sans
29929 Insert\SpecialChar \menuseparator
29930 Cross-Reference
29931 \family default
29932 .
29933 \end_layout
29934
29935 \begin_layout Standard
29936 Listing\InsetSpace ~
29937
29938 \begin_inset LatexCommand ref
29939 reference "lst:file-listing"
29940
29941 \end_inset
29942
29943  is an example for a listing of a file; there the lines 10\InsetSpace \thinspace{}
29944 -\InsetSpace \thinspace{}
29945 15 of this LyX
29946  file are listed.
29947 \end_layout
29948
29949 \begin_layout Standard
29950 \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]
29951 preview false
29952
29953 \end_inset
29954
29955
29956 \end_layout
29957
29958 \begin_layout Standard
29959 \begin_inset VSpace bigskip
29960 \end_inset
29961
29962
29963 \end_layout
29964
29965 \begin_layout Standard
29966 Global listings settings can be set in the 
29967 \family sans
29968 Document\SpecialChar \menuseparator
29969 Settings\SpecialChar \menuseparator
29970 Text Layout
29971 \family default
29972  dialog.
29973  To get there a list of available options, type in a question mark 
29974 \begin_inset Quotes eld
29975 \end_inset
29976
29977 ?
29978 \begin_inset Quotes erd
29979 \end_inset
29980
29981  in the 
29982 \family sans
29983 Listings\InsetSpace ~
29984 settings
29985 \family default
29986  field.
29987 \end_layout
29988
29989 \begin_layout Standard
29990 For more information about the 
29991 \series bold
29992 listings
29993 \series default
29994  package, we refer to its documentation 
29995 \begin_inset LatexCommand cite
29996 key "listings"
29997
29998 \end_inset
29999
30000 .
30001 \end_layout
30002
30003 \begin_layout Standard
30004
30005 \newpage
30006
30007 \end_layout
30008
30009 \begin_layout Chapter
30010 \start_of_appendix
30011 Units available in LyX
30012 \begin_inset LatexCommand index
30013 name "Units"
30014
30015 \end_inset
30016
30017
30018 \begin_inset LatexCommand label
30019 name "cha:Units-available-in"
30020
30021 \end_inset
30022
30023
30024 \end_layout
30025
30026 \begin_layout Standard
30027 To understand the units described in this documentation, Table\InsetSpace ~
30028
30029 \begin_inset LatexCommand ref
30030 reference "tab:Units"
30031
30032 \end_inset
30033
30034  explains all units available in LyX.
30035 \end_layout
30036
30037 \begin_layout Standard
30038 \begin_inset Float table
30039 placement h
30040 wide false
30041 sideways false
30042 status open
30043
30044 \begin_layout Standard
30045 \begin_inset Caption
30046
30047 \begin_layout Standard
30048 \begin_inset LatexCommand label
30049 name "tab:Units"
30050
30051 \end_inset
30052
30053 Units
30054 \end_layout
30055
30056 \end_inset
30057
30058
30059 \end_layout
30060
30061 \begin_layout Standard
30062 \begin_inset VSpace medskip
30063 \end_inset
30064
30065
30066 \end_layout
30067
30068 \begin_layout Standard
30069 \align center
30070 \begin_inset Tabular
30071 <lyxtabular version="3" rows="20" columns="2">
30072 <features>
30073 <column alignment="center" valignment="top" leftline="true" width="0">
30074 <column alignment="center" valignment="top" leftline="true" rightline="true" width="0">
30075 <row topline="true" bottomline="true">
30076 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30077 \begin_inset Text
30078
30079 \begin_layout Standard
30080 unit
30081 \end_layout
30082
30083 \end_inset
30084 </cell>
30085 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30086 \begin_inset Text
30087
30088 \begin_layout Standard
30089 name/description
30090 \end_layout
30091
30092 \end_inset
30093 </cell>
30094 </row>
30095 <row topline="true">
30096 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30097 \begin_inset Text
30098
30099 \begin_layout Standard
30100 mm
30101 \end_layout
30102
30103 \end_inset
30104 </cell>
30105 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30106 \begin_inset Text
30107
30108 \begin_layout Standard
30109 millimeter
30110 \end_layout
30111
30112 \end_inset
30113 </cell>
30114 </row>
30115 <row topline="true">
30116 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30117 \begin_inset Text
30118
30119 \begin_layout Standard
30120 cm
30121 \end_layout
30122
30123 \end_inset
30124 </cell>
30125 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30126 \begin_inset Text
30127
30128 \begin_layout Standard
30129 centimeter
30130 \end_layout
30131
30132 \end_inset
30133 </cell>
30134 </row>
30135 <row topline="true">
30136 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30137 \begin_inset Text
30138
30139 \begin_layout Standard
30140 in
30141 \end_layout
30142
30143 \end_inset
30144 </cell>
30145 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30146 \begin_inset Text
30147
30148 \begin_layout Standard
30149 inch
30150 \end_layout
30151
30152 \end_inset
30153 </cell>
30154 </row>
30155 <row topline="true">
30156 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30157 \begin_inset Text
30158
30159 \begin_layout Standard
30160 pt
30161 \end_layout
30162
30163 \end_inset
30164 </cell>
30165 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30166 \begin_inset Text
30167
30168 \begin_layout Standard
30169 point (72.27\InsetSpace \thinspace{}
30170 pt = 1\InsetSpace \thinspace{}
30171 in)
30172 \end_layout
30173
30174 \end_inset
30175 </cell>
30176 </row>
30177 <row topline="true">
30178 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30179 \begin_inset Text
30180
30181 \begin_layout Standard
30182 pc
30183 \end_layout
30184
30185 \end_inset
30186 </cell>
30187 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30188 \begin_inset Text
30189
30190 \begin_layout Standard
30191 pica (1\InsetSpace \thinspace{}
30192 pc = 12\InsetSpace \thinspace{}
30193 pt)
30194 \end_layout
30195
30196 \end_inset
30197 </cell>
30198 </row>
30199 <row topline="true">
30200 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30201 \begin_inset Text
30202
30203 \begin_layout Standard
30204 sp
30205 \end_layout
30206
30207 \end_inset
30208 </cell>
30209 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30210 \begin_inset Text
30211
30212 \begin_layout Standard
30213 scaled point (65536\InsetSpace \thinspace{}
30214 sp = 1\InsetSpace \thinspace{}
30215 pt)
30216 \end_layout
30217
30218 \end_inset
30219 </cell>
30220 </row>
30221 <row topline="true">
30222 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30223 \begin_inset Text
30224
30225 \begin_layout Standard
30226 bp
30227 \end_layout
30228
30229 \end_inset
30230 </cell>
30231 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30232 \begin_inset Text
30233
30234 \begin_layout Standard
30235 big point (72\InsetSpace \thinspace{}
30236 bp = 1\InsetSpace \thinspace{}
30237 in)
30238 \end_layout
30239
30240 \end_inset
30241 </cell>
30242 </row>
30243 <row topline="true">
30244 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30245 \begin_inset Text
30246
30247 \begin_layout Standard
30248 dd
30249 \end_layout
30250
30251 \end_inset
30252 </cell>
30253 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30254 \begin_inset Text
30255
30256 \begin_layout Standard
30257 didot (1\InsetSpace \thinspace{}
30258 dd 
30259 \begin_inset Formula $\approx$
30260 \end_inset
30261
30262  0.376\InsetSpace \thinspace{}
30263 mm)
30264 \end_layout
30265
30266 \end_inset
30267 </cell>
30268 </row>
30269 <row topline="true">
30270 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30271 \begin_inset Text
30272
30273 \begin_layout Standard
30274 cc
30275 \end_layout
30276
30277 \end_inset
30278 </cell>
30279 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30280 \begin_inset Text
30281
30282 \begin_layout Standard
30283 cicero (1\InsetSpace \thinspace{}
30284 cc = 12\InsetSpace \thinspace{}
30285 dd)
30286 \end_layout
30287
30288 \end_inset
30289 </cell>
30290 </row>
30291 <row topline="true">
30292 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30293 \begin_inset Text
30294
30295 \begin_layout Standard
30296 Scale%
30297 \end_layout
30298
30299 \end_inset
30300 </cell>
30301 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30302 \begin_inset Text
30303
30304 \begin_layout Standard
30305 % of original image width
30306 \end_layout
30307
30308 \end_inset
30309 </cell>
30310 </row>
30311 <row topline="true">
30312 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30313 \begin_inset Text
30314
30315 \begin_layout Standard
30316 text%
30317 \end_layout
30318
30319 \end_inset
30320 </cell>
30321 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30322 \begin_inset Text
30323
30324 \begin_layout Standard
30325 % of text width
30326 \end_layout
30327
30328 \end_inset
30329 </cell>
30330 </row>
30331 <row topline="true">
30332 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30333 \begin_inset Text
30334
30335 \begin_layout Standard
30336 col%
30337 \end_layout
30338
30339 \end_inset
30340 </cell>
30341 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30342 \begin_inset Text
30343
30344 \begin_layout Standard
30345 % of column width
30346 \end_layout
30347
30348 \end_inset
30349 </cell>
30350 </row>
30351 <row topline="true">
30352 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30353 \begin_inset Text
30354
30355 \begin_layout Standard
30356 page%
30357 \end_layout
30358
30359 \end_inset
30360 </cell>
30361 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30362 \begin_inset Text
30363
30364 \begin_layout Standard
30365 % of paper width
30366 \end_layout
30367
30368 \end_inset
30369 </cell>
30370 </row>
30371 <row topline="true">
30372 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30373 \begin_inset Text
30374
30375 \begin_layout Standard
30376 line%
30377 \end_layout
30378
30379 \end_inset
30380 </cell>
30381 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30382 \begin_inset Text
30383
30384 \begin_layout Standard
30385 % of line width
30386 \end_layout
30387
30388 \end_inset
30389 </cell>
30390 </row>
30391 <row topline="true">
30392 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30393 \begin_inset Text
30394
30395 \begin_layout Standard
30396 theight%
30397 \end_layout
30398
30399 \end_inset
30400 </cell>
30401 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30402 \begin_inset Text
30403
30404 \begin_layout Standard
30405 % of text height
30406 \end_layout
30407
30408 \end_inset
30409 </cell>
30410 </row>
30411 <row topline="true">
30412 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30413 \begin_inset Text
30414
30415 \begin_layout Standard
30416 pheight%
30417 \end_layout
30418
30419 \end_inset
30420 </cell>
30421 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30422 \begin_inset Text
30423
30424 \begin_layout Standard
30425 % of paper height
30426 \end_layout
30427
30428 \end_inset
30429 </cell>
30430 </row>
30431 <row topline="true">
30432 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30433 \begin_inset Text
30434
30435 \begin_layout Standard
30436 ex
30437 \end_layout
30438
30439 \end_inset
30440 </cell>
30441 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30442 \begin_inset Text
30443
30444 \begin_layout Standard
30445 height of letter 
30446 \emph on
30447 x
30448 \emph default
30449  in current font
30450 \end_layout
30451
30452 \end_inset
30453 </cell>
30454 </row>
30455 <row topline="true">
30456 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30457 \begin_inset Text
30458
30459 \begin_layout Standard
30460 em
30461 \end_layout
30462
30463 \end_inset
30464 </cell>
30465 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30466 \begin_inset Text
30467
30468 \begin_layout Standard
30469 width of letter 
30470 \emph on
30471 M
30472 \emph default
30473  in current font
30474 \end_layout
30475
30476 \end_inset
30477 </cell>
30478 </row>
30479 <row topline="true" bottomline="true">
30480 <cell alignment="center" valignment="top" topline="true" leftline="true" usebox="none">
30481 \begin_inset Text
30482
30483 \begin_layout Standard
30484 mu
30485 \end_layout
30486
30487 \end_inset
30488 </cell>
30489 <cell alignment="center" valignment="top" topline="true" leftline="true" rightline="true" usebox="none">
30490 \begin_inset Text
30491
30492 \begin_layout Standard
30493 math unit (1\InsetSpace \thinspace{}
30494 mu = 1/18\InsetSpace \thinspace{}
30495 em)
30496 \end_layout
30497
30498 \end_inset
30499 </cell>
30500 </row>
30501 </lyxtabular>
30502
30503 \end_inset
30504
30505
30506 \end_layout
30507
30508 \end_inset
30509
30510
30511 \end_layout
30512
30513 \begin_layout Chapter
30514 Output File Formats with Graphics
30515 \begin_inset LatexCommand label
30516 name "cha:Output-File-Formats"
30517
30518 \end_inset
30519
30520
30521 \end_layout
30522
30523 \begin_layout Section
30524 DVI
30525 \begin_inset LatexCommand index
30526 name "File Formats ! DVI"
30527
30528 \end_inset
30529
30530
30531 \begin_inset LatexCommand index
30532 name "DVI|see{File Formats}"
30533
30534 \end_inset
30535
30536
30537 \end_layout
30538
30539 \begin_layout Standard
30540 This file type has the extension 
30541 \begin_inset Quotes eld
30542 \end_inset
30543
30544
30545 \family typewriter
30546 .dvi
30547 \family default
30548
30549 \begin_inset Quotes erd
30550 \end_inset
30551
30552 .
30553  It is called 
30554 \begin_inset Quotes eld
30555 \end_inset
30556
30557 device-independent
30558 \begin_inset Quotes erd
30559 \end_inset
30560
30561  (DVI), because it is completely portable; you can move them from one machine
30562  to another without needing to do any sort of conversion.
30563  At the time when this file-format was developed, this was no matter of
30564  course.
30565  DVIs are used for quick previews and as pre-stage for other output formats,
30566  like PostScript.
30567 \end_layout
30568
30569 \begin_layout Standard
30570 \begin_inset Note Greyedout
30571 status open
30572
30573 \begin_layout Standard
30574
30575 \series bold
30576 Note:
30577 \series default
30578  DVI-files doesn't contain images, they will only be a linked.
30579 \end_layout
30580
30581 \end_inset
30582
30583  So don't forget this, if you move your 
30584 \family typewriter
30585 .dvi
30586 \family default
30587  file to another computer.
30588  This property can also slow down your computer when you view the DVI.
30589  Because the DVI-viewer has to convert the image in the background to make
30590  it visible when you scroll in the DVI.
30591  So we recommend to use PDF for files with many images.
30592 \end_layout
30593
30594 \begin_layout Standard
30595 You can export your document to DVI by using the menu 
30596 \family sans
30597 File\SpecialChar \menuseparator
30598 Export\SpecialChar \menuseparator
30599 DVI
30600 \family default
30601 .
30602  You can view your document as DVI via the 
30603 \family sans
30604 View
30605 \family default
30606  menu or by using the toolbar button 
30607 \begin_inset Graphics
30608         filename ../images/buffer-view_dvi.png
30609         scale 85
30610         scaleBeforeRotation
30611
30612 \end_inset
30613
30614 .
30615 \end_layout
30616
30617 \begin_layout Section
30618 PostScript
30619 \begin_inset LatexCommand label
30620 name "sec:PostScript"
30621
30622 \end_inset
30623
30624
30625 \begin_inset LatexCommand index
30626 name "File Formats ! PostScript"
30627
30628 \end_inset
30629
30630
30631 \begin_inset LatexCommand index
30632 name "PostScript|see{File Formats}"
30633
30634 \end_inset
30635
30636
30637 \end_layout
30638
30639 \begin_layout Standard
30640 This file type has the extension 
30641 \begin_inset Quotes eld
30642 \end_inset
30643
30644
30645 \family typewriter
30646 .ps
30647 \family default
30648
30649 \begin_inset Quotes erd
30650 \end_inset
30651
30652 .
30653  PostScript was developed by the company 
30654 \family typewriter
30655 Adobe
30656 \family default
30657  as printer language.
30658  The file contains therefore commands that the printer uses to print the
30659  file.
30660  PostScript can be seen as 
30661 \begin_inset Quotes eld
30662 \end_inset
30663
30664 programming language
30665 \begin_inset Quotes erd
30666 \end_inset
30667
30668 ; you can calculate with it and draw diagrams and images
30669 \begin_inset Foot
30670 status collapsed
30671
30672 \begin_layout Standard
30673 If you are interested to learn more about this, have a look at the LaTeX-package
30674  
30675 \series bold
30676 PSTricks
30677 \series default
30678  
30679 \begin_inset LatexCommand cite
30680 key "pstricks"
30681
30682 \end_inset
30683
30684 .
30685 \end_layout
30686
30687 \end_inset
30688
30689 .
30690  Due to this ability, the files are often bigger than PDFs.
30691 \end_layout
30692
30693 \begin_layout Standard
30694 PostScript can only contain images in the format 
30695 \begin_inset Quotes eld
30696 \end_inset
30697
30698 Encapsulated PostScript
30699 \begin_inset Quotes erd
30700 \end_inset
30701
30702  (EPS, file extension 
30703 \begin_inset Quotes eld
30704 \end_inset
30705
30706
30707 \family typewriter
30708 .eps
30709 \family default
30710
30711 \begin_inset Quotes erd
30712 \end_inset
30713
30714 ).
30715  As LyX allows you to use any known image format in your document, it has
30716  to convert images in the background to EPS.
30717  If you have e.g 50 images in your document, LyX has to do 50 conversions
30718  whenever you view or export your document.
30719  This will slow down your work flow with LyX drastically.
30720  So if you plan to use PostScript, you can insert your images directly as
30721  EPS to avoid this problem.
30722 \end_layout
30723
30724 \begin_layout Standard
30725 You can export your document to PostScript using the menu 
30726 \family sans
30727 File\SpecialChar \menuseparator
30728 Export\SpecialChar \menuseparator
30729 Postscript
30730 \family default
30731 .
30732  You can view your document as PostScript via the 
30733 \family sans
30734 View
30735 \family default
30736  menu or by using the toolbar button 
30737 \begin_inset Graphics
30738         filename ../images/buffer-view_ps.png
30739         scale 85
30740         scaleBeforeRotation
30741
30742 \end_inset
30743
30744 .
30745 \end_layout
30746
30747 \begin_layout Section
30748 PDF
30749 \begin_inset LatexCommand label
30750 name "sec:PDF"
30751
30752 \end_inset
30753
30754
30755 \begin_inset LatexCommand index
30756 name "File Formats ! PDF"
30757
30758 \end_inset
30759
30760
30761 \begin_inset LatexCommand index
30762 name "PDF"
30763
30764 \end_inset
30765
30766
30767 \end_layout
30768
30769 \begin_layout Standard
30770 This file type has the extension 
30771 \begin_inset Quotes eld
30772 \end_inset
30773
30774
30775 \family typewriter
30776 .pdf
30777 \family default
30778
30779 \begin_inset Quotes erd
30780 \end_inset
30781
30782 .
30783  The 
30784 \begin_inset Quotes eld
30785 \end_inset
30786
30787 Portable Document Format
30788 \begin_inset Quotes erd
30789 \end_inset
30790
30791  (PDF) is developed by 
30792 \family typewriter
30793 Adobe
30794 \family default
30795  as derivative from PostScript.
30796  It is more compressed and it uses much less commands than PostScript.
30797  As the name 
30798 \begin_inset Quotes eld
30799 \end_inset
30800
30801 portable
30802 \begin_inset Quotes erd
30803 \end_inset
30804
30805  implies, it can be processed at any computer system and the printed output
30806  looks exactly the same.
30807 \end_layout
30808
30809 \begin_layout Standard
30810 PDF can contain images in its own PDF format, in the format 
30811 \begin_inset Quotes eld
30812 \end_inset
30813
30814 Joint Photographic Experts Group
30815 \begin_inset Quotes erd
30816 \end_inset
30817
30818  (JPG, file extension 
30819 \begin_inset Quotes eld
30820 \end_inset
30821
30822
30823 \family typewriter
30824 .jpg
30825 \family default
30826
30827 \begin_inset Quotes erd
30828 \end_inset
30829
30830  or 
30831 \begin_inset Quotes eld
30832 \end_inset
30833
30834
30835 \family typewriter
30836 .jpeg
30837 \family default
30838
30839 \begin_inset Quotes erd
30840 \end_inset
30841
30842 ), and in the format 
30843 \begin_inset Quotes eld
30844 \end_inset
30845
30846 Portable Network Graphics
30847 \begin_inset Quotes erd
30848 \end_inset
30849
30850  (PNG, file extension 
30851 \begin_inset Quotes eld
30852 \end_inset
30853
30854
30855 \family typewriter
30856 .png
30857 \family default
30858
30859 \begin_inset Quotes erd
30860 \end_inset
30861
30862 ).
30863  Nevertheless you can use any other image format, because LyX converts them
30864  in the background to one of these formats.
30865  But as described in the section about PostScript, the image conversion
30866  will slow down your work flow.
30867  So it is recommended to use images in one of the three mentioned formats.
30868 \end_layout
30869
30870 \begin_layout Standard
30871 You can export your document to PDF via the menu 
30872 \family sans
30873 File\SpecialChar \menuseparator
30874 Export
30875 \family default
30876  in three different ways:
30877 \end_layout
30878
30879 \begin_layout Description
30880 PDF\InsetSpace ~
30881 (ps2pdf) This uses the program 
30882 \family typewriter
30883 ps2pdf
30884 \family default
30885  that creates a PDF from a PostScript-version of your file.
30886  The PostScript-version is produced by the program 
30887 \family typewriter
30888 dvips
30889 \family default
30890  which uses a DVI-version as intermediate step.
30891  So this export variant consist of three conversions.
30892 \end_layout
30893
30894 \begin_layout Description
30895 PDF\InsetSpace ~
30896 (dvipdfm) This uses the program 
30897 \family typewriter
30898 dvipdfm
30899 \family default
30900  that converts your file in the background to DVI and in a second step to
30901  PDF.
30902 \end_layout
30903
30904 \begin_layout Description
30905 PDF\InsetSpace ~
30906 (pdflatex) This uses the program 
30907 \family typewriter
30908 pdftex
30909 \family default
30910  that converts your file directly to PDF.
30911 \end_layout
30912
30913 \begin_layout Standard
30914 It is recommended to use 
30915 \family sans
30916 PDF\InsetSpace ~
30917 (pdflatex)
30918 \family default
30919  because 
30920 \family typewriter
30921 pdftex
30922 \family default
30923  supports all features of actual PDF-versions, is quick and works stable
30924  without problems.
30925  The program 
30926 \family typewriter
30927 dvipdfm
30928 \family default
30929  is not under development and therefore a bit outdated.
30930 \end_layout
30931
30932 \begin_layout Standard
30933 You can view your document as PDF via the 
30934 \family sans
30935 View
30936 \family default
30937  menu or by using the toolbar button 
30938 \begin_inset Graphics
30939         filename ../images/buffer-view_pdf2.png
30940         scale 85
30941         scaleBeforeRotation
30942
30943 \end_inset
30944
30945  
30946 \family sans
30947 (
30948 \family default
30949 that uses 
30950 \family sans
30951 PDF\InsetSpace ~
30952 (pdflatex)
30953 \family default
30954 ).
30955 \end_layout
30956
30957 \begin_layout Chapter
30958 Explanation of Equation\InsetSpace ~
30959
30960 \begin_inset LatexCommand eqref
30961 reference "eq:Wgn"
30962
30963 \end_inset
30964
30965
30966 \begin_inset LatexCommand label
30967 name "cha:Explanation-of-Equation"
30968
30969 \end_inset
30970
30971
30972 \end_layout
30973
30974 \begin_layout Standard
30975 The total width of 
30976 \emph on
30977 n
30978 \emph default
30979  table cells 
30980 \begin_inset Formula $W_{\mathrm{tot\, n}}$
30981 \end_inset
30982
30983  can be calculated to
30984 \end_layout
30985
30986 \begin_layout Standard
30987 \begin_inset Formula \begin{equation}
30988 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}
30989
30990 \end_inset
30991
30992
30993 \end_layout
30994
30995 \begin_layout Standard
30996 Where 
30997 \begin_inset Formula $W_{g\, n}$
30998 \end_inset
30999
31000  is the given width of all cells.
31001  
31002 \series bold
31003
31004 \backslash
31005 tabcolsep
31006 \series default
31007  is the LaTeX-length between the cell text and the cell border, its default
31008  value is 6\InsetSpace \thinspace{}
31009 pt.
31010  
31011 \series bold
31012
31013 \backslash
31014 arrayrulewidth
31015 \series default
31016  is the thickness of the cell border line, the default is 0.4\InsetSpace \thinspace{}
31017 pt.
31018 \end_layout
31019
31020 \begin_layout Standard
31021 Following equation\InsetSpace ~
31022
31023 \begin_inset LatexCommand eqref
31024 reference "eq:Wtot_n"
31025
31026 \end_inset
31027
31028 , the total width of a multicolumn 
31029 \begin_inset Formula $W_{\mathrm{tot\, mult}}$
31030 \end_inset
31031
31032  is
31033 \end_layout
31034
31035 \begin_layout Standard
31036 \begin_inset Formula \begin{equation}
31037 W_{\mathrm{tot\, mult}}=W_{g\,\mathrm{mult}}+2\cdot\backslash\mbox{tabcolsep}+2\cdot\backslash\mbox{arrayrulewidth}\label{eq:Wtot_mult}\end{equation}
31038
31039 \end_inset
31040
31041
31042 \end_layout
31043
31044 \begin_layout Standard
31045 By setting equation\InsetSpace ~
31046
31047 \begin_inset LatexCommand eqref
31048 reference "eq:Wtot_n"
31049
31050 \end_inset
31051
31052  and 
31053 \begin_inset LatexCommand eqref
31054 reference "eq:Wtot_mult"
31055
31056 \end_inset
31057
31058  equal we can calculate the needed given width 
31059 \begin_inset Formula $W_{g\, n}$
31060 \end_inset
31061
31062  when 
31063 \emph on
31064 n
31065 \emph default
31066  columns are spanned, so that each column has a total width of 
31067 \begin_inset Formula $W_{\mathrm{tot\, mult}}/n$
31068 \end_inset
31069
31070 :
31071 \end_layout
31072
31073 \begin_layout Standard
31074 \begin_inset Formula \begin{equation}
31075 W_{g\, n}=(W_{g\,\mathrm{mult}}+(1-n)\cdot(2\cdot\backslash\mbox{tabcolsep}+\backslash\mbox{arrayrulewidth}))/n\end{equation}
31076
31077 \end_inset
31078
31079
31080 \end_layout
31081
31082 \begin_layout Bibliography
31083 \begin_inset LatexCommand bibitem
31084 key "latexcompanion"
31085
31086 \end_inset
31087
31088 Frank Mittelbach and Michel Goossens: 
31089 \emph on
31090 The LaTeX Companion Second Edition.
31091
31092 \emph default
31093  Addison-Wesley, 2004
31094 \end_layout
31095
31096 \begin_layout Bibliography
31097 \begin_inset LatexCommand bibitem
31098 key "latexguide"
31099
31100 \end_inset
31101
31102 Helmut Kopka and Patrick W.
31103  Daly: 
31104 \emph on
31105 A Guide to LaTeX Fourth Edition.
31106
31107 \emph default
31108  Addison-Wesley, 2003
31109 \end_layout
31110
31111 \begin_layout Bibliography
31112 \begin_inset LatexCommand bibitem
31113 key "latexbook"
31114
31115 \end_inset
31116
31117 Leslie Lamport: 
31118 \emph on
31119 LaTeX: A Document Preparation System.
31120
31121 \emph default
31122  Addison-Wesley, second edition, 1994
31123 \end_layout
31124
31125 \begin_layout Bibliography
31126 \begin_inset LatexCommand bibitem
31127 key "booktabs"
31128
31129 \end_inset
31130
31131
31132 \begin_inset ERT
31133 status collapsed
31134
31135 \begin_layout Standard
31136
31137
31138 \backslash
31139 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/booktabs/booktabs.pdf}
31140 {
31141 \end_layout
31142
31143 \end_inset
31144
31145 Documentation
31146 \begin_inset ERT
31147 status collapsed
31148
31149 \begin_layout Standard
31150
31151 }
31152 \end_layout
31153
31154 \end_inset
31155
31156  of the LaTeX-package 
31157 \series bold
31158 booktabs
31159 \series default
31160
31161 \begin_inset LatexCommand index
31162 name "LaTeX-packages ! booktabs"
31163
31164 \end_inset
31165
31166
31167 \end_layout
31168
31169 \begin_layout Bibliography
31170 \begin_inset LatexCommand bibitem
31171 key "caption"
31172
31173 \end_inset
31174
31175
31176 \begin_inset ERT
31177 status collapsed
31178
31179 \begin_layout Standard
31180
31181
31182 \backslash
31183 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/caption.pdf}{
31184 \end_layout
31185
31186 \end_inset
31187
31188 Documentation
31189 \begin_inset ERT
31190 status collapsed
31191
31192 \begin_layout Standard
31193
31194 }
31195 \end_layout
31196
31197 \end_inset
31198
31199  of the LaTeX-package 
31200 \series bold
31201 caption
31202 \series default
31203
31204 \begin_inset LatexCommand index
31205 name "LaTeX-packages ! caption"
31206
31207 \end_inset
31208
31209
31210 \end_layout
31211
31212 \begin_layout Bibliography
31213 \begin_inset LatexCommand bibitem
31214 key "caption-de"
31215
31216 \end_inset
31217
31218 German 
31219 \begin_inset ERT
31220 status collapsed
31221
31222 \begin_layout Standard
31223
31224
31225 \backslash
31226 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/caption/anleitung.pdf}
31227 {
31228 \end_layout
31229
31230 \end_inset
31231
31232 documentation
31233 \begin_inset ERT
31234 status collapsed
31235
31236 \begin_layout Standard
31237
31238 }
31239 \end_layout
31240
31241 \end_inset
31242
31243  of the LaTeX-package 
31244 \series bold
31245 caption
31246 \end_layout
31247
31248 \begin_layout Bibliography
31249 \begin_inset LatexCommand bibitem
31250 key "endfloat"
31251
31252 \end_inset
31253
31254
31255 \begin_inset ERT
31256 status collapsed
31257
31258 \begin_layout Standard
31259
31260
31261 \backslash
31262 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/endfloat/endfloat.pdf}
31263 {
31264 \end_layout
31265
31266 \end_inset
31267
31268 Documentation
31269 \begin_inset ERT
31270 status collapsed
31271
31272 \begin_layout Standard
31273
31274 }
31275 \end_layout
31276
31277 \end_inset
31278
31279  of the LaTeX-package 
31280 \series bold
31281 endfloat
31282 \series default
31283
31284 \begin_inset LatexCommand index
31285 name "LaTeX-packages ! endfloat"
31286
31287 \end_inset
31288
31289
31290 \end_layout
31291
31292 \begin_layout Bibliography
31293 \begin_inset LatexCommand bibitem
31294 key "wrapfig"
31295
31296 \end_inset
31297
31298
31299 \begin_inset ERT
31300 status collapsed
31301
31302 \begin_layout Standard
31303
31304
31305 \backslash
31306 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/wrapfig/wrapfig.sty}{
31307 \end_layout
31308
31309 \end_inset
31310
31311 Documentation
31312 \begin_inset ERT
31313 status collapsed
31314
31315 \begin_layout Standard
31316
31317 }
31318 \end_layout
31319
31320 \end_inset
31321
31322  of the LaTeX-package 
31323 \series bold
31324 wrapfig
31325 \series default
31326
31327 \begin_inset LatexCommand index
31328 name "LaTeX-packages ! wrapfig\\vspace{4mm}"
31329
31330 \end_inset
31331
31332
31333 \end_layout
31334
31335 \begin_layout Bibliography
31336 \begin_inset LatexCommand bibitem
31337 key "footmisc"
31338
31339 \end_inset
31340
31341
31342 \begin_inset ERT
31343 status collapsed
31344
31345 \begin_layout Standard
31346
31347
31348 \backslash
31349 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/footmisc/footmisc.pdf}
31350 {
31351 \end_layout
31352
31353 \end_inset
31354
31355 Documentation
31356 \begin_inset ERT
31357 status collapsed
31358
31359 \begin_layout Standard
31360
31361 }
31362 \end_layout
31363
31364 \end_inset
31365
31366  of the LaTeX-package 
31367 \series bold
31368 footmisc
31369 \series default
31370
31371 \begin_inset LatexCommand index
31372 name "LaTeX-packages ! footmisc"
31373
31374 \end_inset
31375
31376
31377 \end_layout
31378
31379 \begin_layout Bibliography
31380 \begin_inset LatexCommand bibitem
31381 key "hypcap"
31382
31383 \end_inset
31384
31385
31386 \begin_inset ERT
31387 status collapsed
31388
31389 \begin_layout Standard
31390
31391
31392 \backslash
31393 href{http://www.ctan.org/tex-archive/macros/latex/contrib/oberdiek/hypcap.pdf}{
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 hypcap
31412 \series default
31413
31414 \begin_inset LatexCommand index
31415 name "LaTeX-packages ! hyperref"
31416
31417 \end_inset
31418
31419
31420 \end_layout
31421
31422 \begin_layout Bibliography
31423 \begin_inset LatexCommand bibitem
31424 key "hyperref"
31425
31426 \end_inset
31427
31428
31429 \begin_inset ERT
31430 status collapsed
31431
31432 \begin_layout Standard
31433
31434
31435 \backslash
31436 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/hyperref/hyperref.pdf}
31437 {
31438 \end_layout
31439
31440 \end_inset
31441
31442 Documentation
31443 \begin_inset ERT
31444 status collapsed
31445
31446 \begin_layout Standard
31447
31448 }
31449 \end_layout
31450
31451 \end_inset
31452
31453  of the LaTeX-package 
31454 \series bold
31455 hyperref
31456 \series default
31457
31458 \begin_inset LatexCommand index
31459 name "LaTeX-packages ! hyperref"
31460
31461 \end_inset
31462
31463
31464 \end_layout
31465
31466 \begin_layout Bibliography
31467 \begin_inset LatexCommand bibitem
31468 key "koma-script"
31469
31470 \end_inset
31471
31472
31473 \begin_inset ERT
31474 status collapsed
31475
31476 \begin_layout Standard
31477
31478
31479 \backslash
31480 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/koma-script/scrguien.p
31481 df}{
31482 \end_layout
31483
31484 \end_inset
31485
31486 Documentation
31487 \begin_inset ERT
31488 status collapsed
31489
31490 \begin_layout Standard
31491
31492 }
31493 \end_layout
31494
31495 \end_inset
31496
31497  of the LaTeX-package 
31498 \series bold
31499 koma-script
31500 \series default
31501
31502 \begin_inset LatexCommand index
31503 name "LaTeX-packages ! koma-script"
31504
31505 \end_inset
31506
31507
31508 \end_layout
31509
31510 \begin_layout Bibliography
31511 \begin_inset LatexCommand bibitem
31512 key "listings"
31513
31514 \end_inset
31515
31516
31517 \begin_inset ERT
31518 status collapsed
31519
31520 \begin_layout Standard
31521
31522
31523 \backslash
31524 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/listings/listings.pdf}
31525 {
31526 \end_layout
31527
31528 \end_inset
31529
31530 Documentation
31531 \begin_inset ERT
31532 status collapsed
31533
31534 \begin_layout Standard
31535
31536 }
31537 \end_layout
31538
31539 \end_inset
31540
31541  of the LaTeX-package 
31542 \series bold
31543 listings
31544 \series default
31545
31546 \begin_inset LatexCommand index
31547 name "LaTeX-packages ! listings"
31548
31549 \end_inset
31550
31551
31552 \end_layout
31553
31554 \begin_layout Bibliography
31555 \begin_inset LatexCommand bibitem
31556 key "marginnote"
31557
31558 \end_inset
31559
31560
31561 \begin_inset ERT
31562 status collapsed
31563
31564 \begin_layout Standard
31565
31566
31567 \backslash
31568 href{ftp://tug.ctan.org/pub/tex-archive/macros/latex/contrib/marginnote/marginnote.
31569 pdf}{
31570 \end_layout
31571
31572 \end_inset
31573
31574 Documentation
31575 \begin_inset ERT
31576 status collapsed
31577
31578 \begin_layout Standard
31579
31580 }
31581 \end_layout
31582
31583 \end_inset
31584
31585  of the LaTeX-package 
31586 \series bold
31587 marginnote
31588 \series default
31589
31590 \begin_inset LatexCommand index
31591 name "LaTeX-packages ! marginnote"
31592
31593 \end_inset
31594
31595
31596 \end_layout
31597
31598 \begin_layout Bibliography
31599 \begin_inset LatexCommand bibitem
31600 key "pstricks"
31601
31602 \end_inset
31603
31604
31605 \begin_inset ERT
31606 status collapsed
31607
31608 \begin_layout Standard
31609
31610
31611 \backslash
31612 href{http://tug.org/PSTricks/main.cgi/}{
31613 \end_layout
31614
31615 \end_inset
31616
31617 Web page
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 PSTricks
31631 \series default
31632
31633 \begin_inset LatexCommand index
31634 name "LaTeX-packages ! PSTricks"
31635
31636 \end_inset
31637
31638
31639 \end_layout
31640
31641 \begin_layout Bibliography
31642 \begin_inset LatexCommand bibitem
31643 key "sidecap"
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/sidecap/sidecap.pdf}{
31656 \end_layout
31657
31658 \end_inset
31659
31660 Documentation
31661 \begin_inset ERT
31662 status collapsed
31663
31664 \begin_layout Standard
31665
31666 }
31667 \end_layout
31668
31669 \end_inset
31670
31671  of the LaTeX-package 
31672 \series bold
31673 sidecap
31674 \series default
31675
31676 \begin_inset LatexCommand index
31677 name "LaTeX-packages ! sidecap"
31678
31679 \end_inset
31680
31681
31682 \end_layout
31683
31684 \begin_layout Bibliography
31685 \begin_inset LatexCommand bibitem
31686 key "NewInLyX15"
31687
31688 \end_inset
31689
31690
31691 \begin_inset ERT
31692 status collapsed
31693
31694 \begin_layout Standard
31695
31696
31697 \backslash
31698 href{http://wiki.lyx.org/LyX/NewInLyX15}{
31699 \end_layout
31700
31701 \end_inset
31702
31703 Wiki page
31704 \begin_inset ERT
31705 status collapsed
31706
31707 \begin_layout Standard
31708
31709 }
31710 \end_layout
31711
31712 \end_inset
31713
31714  about new features in 
31715 \family sans
31716 LyX 1.5.0
31717 \family default
31718 .
31719 \end_layout
31720
31721 \begin_layout Standard
31722 \begin_inset LatexCommand printindex
31723
31724 \end_inset
31725
31726
31727 \end_layout
31728
31729 \begin_layout Standard
31730 \begin_inset FloatList figure
31731
31732 \end_inset
31733
31734
31735 \end_layout
31736
31737 \begin_layout Standard
31738 \begin_inset FloatList table
31739
31740 \end_inset
31741
31742
31743 \end_layout
31744
31745 \begin_layout Standard
31746 \begin_inset ERT
31747 status collapsed
31748
31749 \begin_layout Standard
31750
31751
31752 \backslash
31753 listof{Xalgorithm}{List of Algorithms}
31754 \end_layout
31755
31756 \end_inset
31757
31758
31759 \begin_inset Note Note
31760 status collapsed
31761
31762 \begin_layout Standard
31763 see section\InsetSpace ~
31764
31765 \begin_inset LatexCommand ref
31766 reference "sub:Algorithm-Floats"
31767
31768 \end_inset
31769
31770  for a description
31771 \end_layout
31772
31773 \end_inset
31774
31775
31776 \end_layout
31777
31778 \end_body
31779 \end_document